Searched refs:uc (Results 1 - 25 of 72) sorted by relevance

123

/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/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/libbsm/common/
H A Dadt_ucred.h39 extern au_id_t ucred_getauid(const ucred_t *uc);
40 extern au_asid_t ucred_getasid(const ucred_t *uc);
41 extern const au_mask32_t *ucred_getamask(const ucred_t *uc);
42 extern const au_tid64_addr_t *ucred_getatid(const ucred_t *uc);
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Ucred/
H A DUcred.xs40 #define RETUCRED(uc) \
43 (void*)(uc)); \
59 ucred_geteuid(uc)
60 Sun::Solaris::Ucred::Ucred *uc;
63 ucred_getruid(uc)
64 Sun::Solaris::Ucred::Ucred *uc;
67 ucred_getsuid(uc)
68 Sun::Solaris::Ucred::Ucred *uc;
71 ucred_getegid(uc)
72 Sun::Solaris::Ucred::Ucred *uc;
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Ducred.c85 ucred_free(ucred_t *uc) argument
87 free(uc);
94 ucred_t *uc; local
96 uc = _ucred_alloc();
98 if (uc == NULL)
101 if (syscall(SYS_ucredsys, UCREDSYS_UCREDGET, pid, uc) != 0) {
102 ucred_free(uc);
106 return (uc);
110 ucred_geteuid(const ucred_t *uc) argument
113 const prcred_t *cr = UCCRED(uc);
124 ucred_getruid(const ucred_t *uc) argument
138 ucred_getsuid(const ucred_t *uc) argument
152 ucred_getegid(const ucred_t *uc) argument
166 ucred_getrgid(const ucred_t *uc) argument
180 ucred_getsgid(const ucred_t *uc) argument
194 ucred_getgroups(const ucred_t *uc, const gid_t **grps) argument
213 ucred_getprivset(const ucred_t *uc, priv_ptype_t set) argument
232 ucred_getpid(const ucred_t *uc) argument
242 ucred_getprojid(const ucred_t *uc) argument
252 ucred_getzoneid(const ucred_t *uc) argument
264 ucred_getlabel(const ucred_t *uc) argument
281 ucred_getpflags(const ucred_t *uc, uint_t flag) argument
317 ucred_getauid(const ucred_t *uc) argument
329 ucred_getasid(const ucred_t *uc) argument
341 ucred_getatid(const ucred_t *uc) argument
355 ucred_getamask(const ucred_t *uc) argument
[all...]
/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/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/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/cmd/perl/5.8.4/distrib/t/op/
H A Dlc.t23 is(uc($a) , "HELLO\.\* WORLD", 'uc');
35 is(uc($b) , "HELLO\.\* WORLD", 'uc');
53 is(uc($a) , "\x{100}\x{100}AA", 'uc');
65 is(uc($b) , "\x{100}\x{100}AA", 'uc');
129 is(uc("\x{1C5}") , "\x{1C4}", "U+01C5 uc i
[all...]
/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...]
H A Dsvc_dg.c689 struct cl_cache *uc; local
707 uc = malloc(sizeof (struct cl_cache));
708 if (uc == NULL) {
714 uc->uc_size = size;
715 uc->uc_nextvictim = 0;
716 uc->uc_entries = calloc(size * SPARSENESS, sizeof (cache_ptr));
717 if (uc->uc_entries == NULL) {
719 free(uc);
723 uc->uc_fifo = calloc(size, sizeof (cache_ptr));
724 if (uc
756 struct cl_cache *uc; local
871 struct cl_cache *uc; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/comp/
H A Dbproto.t33 uc($bar,$bar);
40 uc $bar,$bar;
/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/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/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];
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_statconcise.c504 mdc_unit_t uc; local
509 uc = mt->c;
513 uc.un_total_blocks, 't');
665 mdc_unit_t uc; local
676 uc = mr->c;
680 uc.un_total_blocks, 'r');
798 mdc_unit_t uc; local
806 uc = mm->c;
810 uc.un_total_blocks, 'm');
874 mdc_unit_t uc; local
995 mdc_unit_t uc; local
1056 mdc_unit_t uc; local
1239 mdc_unit_t uc; local
[all...]

Completed in 119 milliseconds

123