/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_lex.c | 354 unsigned int uc; local 420 uc = pch->buf[0]; 422 if (uc == '\n') { 427 if (uc == '"') 429 if (uc == '\\') 446 uc = pch->buf[0]; 448 if (isalpha(uc) || (uc == '_')) { 452 buf[buf_pos++] = (char)uc; 456 (isalpha(uc [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wins_wch.c | 107 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)
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | ti_opts.c | 121 find_ucred_opt(const SVCXPRT *trans, ucred_t *uc, bool_t checkzone) argument 130 if (getpeerucred(trans->xp_fd, &uc) == 0) 146 (void) memcpy(uc, &opth[1], opth->len); 174 (void) memcpy(uc, &opt[1], 180 if (getpeerucred(trans->xp_fd, &uc) != 0) 190 return (ucred_getzoneid(uc) == myzone ? 0 : -1); 199 ucred_t *uc = alloca(ucred_size()); local 204 err = __svc_get_door_ucred(trans, uc) == FALSE; 206 err = find_ucred_opt(trans, uc, B_TRUE); 210 *uid_out = ucred_geteuid(uc); 220 ucred_t *uc = alloca(ucred_size()); local 244 svc_getcallerucred(const SVCXPRT *trans, ucred_t **uc) argument [all...] |
H A D | svc_dg.c | 691 struct cl_cache *uc; local 709 uc = malloc(sizeof (struct cl_cache)); 710 if (uc == NULL) { 716 uc->uc_size = size; 717 uc->uc_nextvictim = 0; 718 uc->uc_entries = calloc(size * SPARSENESS, sizeof (cache_ptr)); 719 if (uc->uc_entries == NULL) { 721 free(uc); 725 uc->uc_fifo = calloc(size, sizeof (cache_ptr)); 726 if (uc 758 struct cl_cache *uc; local 873 struct cl_cache *uc; local [all...] |
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | xregs.c | 54 xregs_clrptr(klwp_id_t lwp, ucontext_t *uc) argument 56 uc->uc_mcontext.xrs.xrs_id = 0; 57 uc->uc_mcontext.xrs.xrs_ptr = NULL; 66 xregs_hasptr(klwp_id_t lwp, ucontext_t *uc) argument 68 return (uc->uc_mcontext.xrs.xrs_id == XRS_ID); 76 xregs_getptr(klwp_id_t lwp, ucontext_t *uc) argument 78 if (uc->uc_mcontext.xrs.xrs_id == XRS_ID) 79 return (uc->uc_mcontext.xrs.xrs_ptr); 88 xregs_setptr(klwp_id_t lwp, ucontext_t *uc, caddr_t xrp) argument 90 uc 98 xregs_clrptr32(klwp_id_t lwp, ucontext32_t *uc) argument 106 xregs_hasptr32(klwp_id_t lwp, ucontext32_t *uc) argument 113 xregs_getptr32(klwp_id_t lwp, ucontext32_t *uc) argument 122 xregs_setptr32(klwp_id_t lwp, ucontext32_t *uc, caddr32_t xrp) argument [all...] |
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | tx.c | 108 ucred_t *uc = NULL; local 121 if (getpeerucred(fd, &uc) == -1) 124 sl = ucred_getlabel(uc); 139 ucred_free(uc);
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | makectxt.c | 120 ucontext_t uc; local 122 (void) getcontext(&uc); 123 (void) setcontext(uc.uc_link);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_create.c | 71 ucontext_t uc; local 90 if (copyin(ucp, &uc, sizeof (ucontext_t))) 92 sigutok(&uc.uc_sigmask, &sigmask); 98 thrptr = (uint32_t)uc.uc_mcontext.gregs[ESP]; 107 ucontext_32ton(&uc32, &uc, NULL, NULL); 109 ucontext_32ton(&uc32, &uc); 137 lwp_load(lwp, uc.uc_mcontext.gregs, thrptr);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | term.c | 402 int sz, uc; local 448 uc = mchars_num2uc(seq + 1, sz - 1); 451 uc = mchars_num2char(seq, sz); 452 if (uc < 0) 461 uc = mchars_spec2cp(seq, sz); 462 if (uc > 0) 463 encode1(p, uc); 520 cp = ascii_uc2str(uc); 523 if ((uc < 0x20 && uc ! 663 int ssz, skip, uc; local [all...] |
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd.h | 396 zyd_res zyd_usb_open_pipes(struct zyd_usb *uc); 397 void zyd_usb_close_pipes(struct zyd_usb *uc); 398 zyd_res zyd_usb_cmd_in_start_polling(struct zyd_usb *uc); 399 void zyd_usb_cmd_in_stop_polling(struct zyd_usb *uc); 400 zyd_res zyd_usb_data_in_enable(struct zyd_usb *uc); 401 void zyd_usb_data_in_disable(struct zyd_usb *uc); 402 zyd_res zyd_usb_cmd_send(struct zyd_usb *uc, uint16_t code, 404 zyd_res zyd_usb_ioread_req(struct zyd_usb *uc, const void *in_data, 406 zyd_res zyd_usb_send_packet(struct zyd_usb *uc, mblk_t *mp); 408 zyd_res zyd_usb_loadfirmware(struct zyd_usb *uc, uint8_ [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wins_wch.c | 103 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)
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pstack.c | 177 ucontext_t uc; local 200 uc.uc_link = (ucontext_t *)(uintptr_t)u32.uc_link; 203 if (Pread(P, &uc, sizeof (uc), addr) != sizeof (uc)) 210 addr = (uintptr_t)uc.uc_link;
|
H A D | pr_getsockname.c | 182 ucred_t *uc = *ucp; local 187 if (uc == NULL) { 188 uc = _ucred_alloc(); 189 if (uc == NULL) 209 adp->arg_object = uc; 219 ucred_free(uc); 223 *ucp = uc;
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | kmem.c | 89 umem_cache_t *uc; local 100 uc = umem_cache_create(name, bufsize, align, 103 return ((kmem_cache_t *)uc);
|
/illumos-gate/usr/src/lib/libc/i386/threads/ |
H A D | machdep.c | 97 ucontext_t uc; local 100 uc.uc_flags = UC_CPU; 101 (void) __getcontext(&uc); 102 fs = uc.uc_mcontext.gregs[FS]; 103 es = uc.uc_mcontext.gregs[ES]; 104 ds = uc.uc_mcontext.gregs[DS]; 105 cs = uc.uc_mcontext.gregs[CS]; 106 ss = uc.uc_mcontext.gregs[SS];
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_door.c | 368 ucred_t *uc = NULL; local 385 if (door_ucred(&uc) != 0) { 391 if (check_auth(uc, HP_MODIFY_AUTH) != 0) { 393 audit_changestate(uc, HP_MODIFY_AUTH, path, connection, 395 ucred_free(uc); 404 audit_changestate(uc, HP_MODIFY_AUTH, path, connection, state, 408 ucred_free(uc); 465 ucred_t *uc = NULL; local 473 if ((cmd == HP_CMD_SETPRIVATE) && (door_ucred(&uc) != 0)) { 488 (check_auth(uc, HP_MODIFY_AUT [all...] |
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_stats.c | 121 ucred_t *uc = NULL; local 125 if (door_ucred(&uc) != 0) 128 if (((uid = ucred_getsuid(uc)) == (uid_t)-1) || 131 ucred_free(uc); 135 ucred_free(uc);
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_frontend.c | 308 ucred_t *uc = NULL; local 312 if (door_ucred(&uc) != 0) { 318 id = ucred_geteuid(uc); 319 ucred_free(uc); 334 ucred_t *uc = NULL; local 339 if (door_ucred(&uc) != 0) { 345 if (ucred_geteuid(uc) == 0) { 346 ucred_free(uc); 350 eset = ucred_getprivset(uc, PRIV_EFFECTIVE); 372 ucred_free(uc); 382 ucred_t *uc = NULL; local 433 ucred_t *uc = NULL; local [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_statconcise.c | 502 mdc_unit_t uc; local 507 uc = mt->c; 511 uc.un_total_blocks, 't'); 663 mdc_unit_t uc; local 674 uc = mr->c; 678 uc.un_total_blocks, 'r'); 796 mdc_unit_t uc; local 804 uc = mm->c; 808 uc.un_total_blocks, 'm'); 872 mdc_unit_t uc; local 993 mdc_unit_t uc; local 1054 mdc_unit_t uc; local 1237 mdc_unit_t uc; local [all...] |
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | sendsig.c | 140 ucontext_t *uc; local 175 minstacksz = sizeof (struct sigframe) + SA(sizeof (*uc)); 289 uc = (ucontext_t *)(sp + sizeof (struct sigframe)); 295 copyout_noerr(tuc, uc, sizeof (*tuc)); 299 lwp->lwp_oldcontext = (uintptr_t)uc; 336 rp->r_rdx = (uintptr_t)uc; 402 ucontext32_t *uc; local 409 minstacksz = SA32(sizeof (struct sigframe32)) + SA32(sizeof (*uc)); 510 uc = (ucontext32_t *)fp; 516 copyout_noerr(tuc, uc, sizeo 625 ucontext_t *uc; local [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ssnsetup.c | 294 int err, uc; local 300 uc = ctx->ct_hflags2 & SMB_FLAGS2_UNICODE; 351 mb_put_string(mbp, ctx->ct_user, uc); 352 mb_put_string(mbp, ctx->ct_domain, uc); 354 mb_put_string(mbp, NativeOS, uc); 355 mb_put_string(mbp, LanMan, uc); 378 uc = rqp->rq_hflags2 & SMB_FLAGS2_UNICODE; 431 err = md_get_string(mbp, &ctx->ct_srv_OS, uc); 433 err = md_get_string(mbp, &ctx->ct_srv_LM, uc);
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | makectxt.c | 163 ucontext_t uc; local 165 (void) getcontext(&uc); 166 (void) setcontext(uc.uc_link);
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | makectxt.c | 163 ucontext_t uc; local 165 (void) getcontext(&uc); 166 (void) setcontext(uc.uc_link);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/ |
H A D | libc.c | 118 ucontext_t uc; local 123 if (mdb_vread(&uc, sizeof (uc), addr) != sizeof (uc)) { 128 mdb_printf(" flags = 0x%lx <%b>\n", uc.uc_flags, 129 (uint_t)uc.uc_flags, uc_flags_bits); 130 mdb_printf(" link = 0x%p\n", uc.uc_link); 132 uc.uc_sigmask.__sigbits[0], uc.uc_sigmask.__sigbits[1], 133 uc 325 ucontext_t uc; local 379 ucontext_t uc; local [all...] |
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_change.c | 220 ucred_t *uc = NULL; local 223 if (door_ucred(&uc) == -1 && errno == EINVAL) { 228 if (uc) 229 ucred_free(uc); 649 ucred_t *uc = NULL; local 651 if (door_ucred(&uc) != 0) { 656 euid = ucred_geteuid(uc); 657 pid = *pidp = ucred_getpid(uc); 664 ucred_getruid(uc), euid); 670 ucred_getruid(uc), eui [all...] |