Searched defs:uc (Results 1 - 25 of 46) sorted by relevance

12

/osnet-11/usr/src/lib/libc/sparc/gen/
H A D_xregs_clrptr.c38 _xregs_clrptr(ucontext_t *uc) argument
41 uc->uc_mcontext.xrs.xrs_id = 0;
42 uc->uc_mcontext.xrs.xrs_ptr = NULL;
H A Dsiglongjmp.c48 ucontext_t uc; local
49 greg_t *reg = uc.uc_mcontext.gregs;
62 (void) memset(&uc, 0, sizeof (uc));
63 uc.uc_flags = UC_STACK | UC_CPU;
65 uc.uc_stack = bp->sjs_stack;
66 uc.uc_link = bp->sjs_uclink;
72 uc.uc_flags |= UC_SIGMASK;
73 uc.uc_sigmask = bp->sjs_sigmask;
98 (void) setcontext(&uc);
[all...]
H A Dmakectxt.c163 ucontext_t uc; local
165 (void) getcontext(&uc);
166 (void) setcontext(uc.uc_link);
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A D_xregs_clrptr.c38 _xregs_clrptr(ucontext_t *uc) argument
40 uc->uc_mcontext.xrs.xrs_id = 0;
41 uc->uc_mcontext.xrs.xrs_ptr = NULL;
H A Dsiglongjmp.c45 ucontext_t uc; local
46 greg_t *reg = uc.uc_mcontext.gregs;
59 (void) memset(&uc, 0, sizeof (uc));
60 uc.uc_flags = UC_STACK | UC_CPU;
62 uc.uc_stack = bp->sjs_stack;
63 uc.uc_link = bp->sjs_uclink;
71 uc.uc_flags |= UC_SIGMASK;
72 uc.uc_sigmask = bp->sjs_sigmask;
97 (void) setcontext(&uc);
[all...]
H A Dmakectxt.c163 ucontext_t uc; local
165 (void) getcontext(&uc);
166 (void) setcontext(uc.uc_link);
/osnet-11/usr/src/lib/libc/port/sys/
H A Dgetpeerucred.c41 ucred_t *uc = *ucp; local
43 if (uc == NULL) {
44 uc = _ucred_alloc();
45 if (uc == NULL)
49 if (syscall(SYS_ucredsys, UCREDSYS_GETPEERUCRED, fd, uc) != 0) {
51 ucred_free(uc);
54 *ucp = uc;
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwadd_wch.c60 cchar_t uc; local
88 uc._n = 1;
89 uc._at = cc->_at;
90 uc._co = cc->_co;
96 uc._wc[0] = *p;
97 if (__m_cc_add(w, y, x, &uc, 0, &y, &x) == ERR)
H A Dwins_wch.c103 cchar_t uc; local
143 uc._n = 1;
144 uc._at = cc->_at;
145 uc._co = cc->_co;
151 uc._wc[0] = *p;
152 if ((width = __m_cc_ins(w, y, x, &uc)) < 0)
/osnet-11/usr/src/lib/libast/common/features/
H A Dlimits.c89 unsigned char uc; local
105 uc = 0;
106 uc = ~uc;
108 while (uc >>= 1) val++;
118 uc = 0;
119 uc = ~uc;
132 val = uc;
141 val = (unsigned char)(uc >>
[all...]
/osnet-11/usr/src/lib/libc/amd64/gen/
H A Dmakectxt.c120 ucontext_t uc; local
122 (void) getcontext(&uc);
123 (void) setcontext(uc.uc_link);
/osnet-11/usr/src/lib/libc/i386/gen/
H A Dmakectxt.c85 ucontext_t uc; local
87 (void) getcontext(&uc);
88 (void) setcontext(uc.uc_link);
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwadd_wch.c76 cchar_t uc; local
108 uc._n = 1;
109 uc._at = cc->_at;
110 uc._co = cc->_co;
116 uc._wc[0] = *p;
117 if (__m_cc_add(w, y, x, &uc, 0, &y, &x) == ERR)
H A Dwins_wch.c107 cchar_t uc; local
143 uc._n = 1;
144 uc._at = cc->_at;
145 uc._co = cc->_co;
151 uc._wc[0] = *p;
152 if ((width = __m_cc_ins(w, y, x, &uc)) < 0)
/osnet-11/usr/src/lib/libproc/common/
H A DPstack.c199 ucontext_t uc; local
222 uc.uc_link = (ucontext_t *)(uintptr_t)u32.uc_link;
225 if (Pread(P, &uc, sizeof (uc), addr) != sizeof (uc))
232 addr = (uintptr_t)uc.uc_link;
H A Dpr_getsockname.c180 ucred_t *uc = *ucp; local
185 if (uc == NULL) {
186 uc = _ucred_alloc();
187 if (uc == NULL)
207 adp->arg_object = uc;
217 ucred_free(uc);
221 *ucp = uc;
/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_alloc.c286 size_t uc = ucred_size(); local
287 if (uc < 1024/2)
290 infalloc = uc + 1024/2;
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_ssnsetup.c335 int err, uc; local
356 uc = ctx->ct_hflags2 & SMB_FLAGS2_UNICODE;
407 smbfs_mb_put_string(mbp, ctx->ct_user, uc);
408 smbfs_mb_put_string(mbp, ctx->ct_domain, uc);
410 smbfs_mb_put_string(mbp, NativeOS, uc);
411 smbfs_mb_put_string(mbp, LanMan, uc);
435 uc = rqp->rq_hflags2 & SMB_FLAGS2_UNICODE;
491 (void) smbfs_md_get_string(mbp, &ctx->ct_srv_OS, uc);
492 (void) smbfs_md_get_string(mbp, &ctx->ct_srv_LM, uc);
/osnet-11/usr/src/lib/libproc/amd64/
H A DPisadep.c208 ucontext_32_to_prgregs(const ucontext32_t *uc, prgregset_t dst) argument
210 const greg32_t *src = &uc->uc_mcontext.gregs[0];
268 ucontext32_t uc; local
341 Pread(P, &uc, sizeof (uc), uc_addr) == sizeof (uc)) {
347 ucontext_32_to_prgregs(&uc, gregs);
392 ucontext_t uc; local
474 Pread(P, &uc, sizeof (uc), uc_add
[all...]
/osnet-11/usr/src/lib/libproc/i386/
H A DPisadep.c206 ucontext_t uc; local
278 Pread(P, &uc, sizeof (uc), uc_addr) == sizeof (uc)) {
284 ucontext_n_to_prgregs(&uc, gregs);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dti_opts.c118 find_ucred_opt(const SVCXPRT *trans, ucred_t *uc, bool_t checkzone) argument
127 if (getpeerucred(trans->xp_fd, &uc) == 0)
142 (void) memcpy(uc, &opth[1], opth->len);
170 (void) memcpy(uc, &opt[1],
176 if (getpeerucred(trans->xp_fd, &uc) != 0)
186 return (ucred_getzoneid(uc) == myzone ? 0 : -1);
195 ucred_t *uc = alloca(ucred_size()); local
200 err = __svc_get_door_ucred(trans, uc) == FALSE;
202 err = find_ucred_opt(trans, uc, B_TRUE);
206 *uid_out = ucred_geteuid(uc);
216 ucred_t *uc = alloca(ucred_size()); local
240 svc_getcallerucred(const SVCXPRT *trans, ucred_t **uc) argument
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dunistr.c638 * @uc: destination buffer where to store the built table
642 * stores it in the caller supplied buffer @uc of size @uc_len.
648 void ntfs_upcase_table_build(ntfschar *uc, u32 uc_len) argument
707 memset(uc, 0, uc_len);
711 uc[i] = cpu_to_le16(i);
715 uc[i] = cpu_to_le16(le16_to_cpu(uc[i]) + add[r][2]);
720 uc[i + 1] = cpu_to_le16(le16_to_cpu(uc[i + 1]) - 1);
723 uc[se
[all...]
/osnet-11/usr/src/lib/fm/libfmd_snmp/common/
H A Dmodule.c283 sunFmModule_update_ctx_t uc; local
285 uc.uc_host = NULL;
286 uc.uc_prog = FMD_ADM_PROGRAM;
287 uc.uc_version = FMD_ADM_VERSION;
289 uc.uc_index = 0;
290 uc.uc_type = UCT_ALL;
299 (void) modinfo_update(&uc);
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfscluster.c283 u64 uc = 0, mc = 0, fc = 0; local
316 uc += rl[z].length;
332 fc = vol->nr_clusters-mc-uc;
335 uc <<= cb;
350 n = uc;
351 o = uc >> sb;
352 p = uc >> cb;
353 q = uc * 100 / b / e;
/osnet-11/usr/src/lib/libc/i386/threads/
H A Dmachdep.c96 ucontext_t uc; local
99 uc.uc_flags = UC_CPU;
100 (void) __getcontext(&uc);
101 fs = uc.uc_mcontext.gregs[FS];
102 es = uc.uc_mcontext.gregs[ES];
103 ds = uc.uc_mcontext.gregs[DS];
104 cs = uc.uc_mcontext.gregs[CS];
105 ss = uc.uc_mcontext.gregs[SS];

Completed in 65 milliseconds

12