Home
last modified time | relevance | path

Searched refs:uap (Results 1 – 25 of 76) sorted by relevance

1234

/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_i386.c149 __fex_get_x86_exc(siginfo_t *sip, ucontext_t *uap) in __fex_get_x86_exc() argument
153 sw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.status; in __fex_get_x86_exc()
155 cw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.cw; in __fex_get_x86_exc()
157 cw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.state[CW]; in __fex_get_x86_exc()
238 __fex_get_invalid_type(siginfo_t *sip, ucontext_t *uap) in __fex_get_invalid_type() argument
246 op = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.fop >> 16; in __fex_get_invalid_type()
247 ea = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.rdp; in __fex_get_invalid_type()
249 op = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.state[OP] >> 16; in __fex_get_invalid_type()
250 ea = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.state[EA]; in __fex_get_invalid_type()
266 t1 = my_fp_classl(&fpreg(uap, 0)); in __fex_get_invalid_type()
[all …]
H A D__fex_hdlr.c228 ucontext_t *uap = arg; in __fex_hdlr() local
253 if ((int)(e = __fex_get_invalid_type(sip, uap)) < 0) in __fex_hdlr()
271 i = ((int)uap->uc_mcontext.fpregs.fpu_fsr >> 5) & 0x1f; in __fex_hdlr()
272 __fex_mklog(uap, (char *)sip->si_addr, i, e, mode, (void *)handler); in __fex_hdlr()
280 handler(sig, sip, uap); in __fex_hdlr()
292 gsr = uap->uc_mcontext.asrs[3]; in __fex_hdlr()
295 if (uap->uc_mcontext.xrs.xrs_id == XRS_ID) in __fex_hdlr()
296 gsr = (*(unsigned long long*)((prxregset_t*)uap->uc_mcontext. in __fex_hdlr()
309 __fex_get_op(sip, uap, &info); in __fex_hdlr()
341 __fex_st_result(sip, uap, &info); in __fex_hdlr()
[all …]
H A D__fex_sse.c64 __fex_parse_sse(ucontext_t *uap, sseinst_t *inst) in __fex_parse_sse() argument
71 ip = (unsigned char *)uap->uc_mcontext.gregs[REG_PC]; in __fex_parse_sse()
202 inst->op1 = (sseoperand_t *)&uap->uc_mcontext.gregs[regno(r)]; in __fex_parse_sse()
207 inst->op1 = (sseoperand_t *)&uap->uc_mcontext.fpregs.fp_reg_set. in __fex_parse_sse()
211 (char *)&uap->uc_mcontext.fpregs.fp_reg_set. in __fex_parse_sse()
217 inst->op1 = (sseoperand_t *)&uap->uc_mcontext.fpregs. in __fex_parse_sse()
226 inst->op2 = (sseoperand_t *)&uap->uc_mcontext. in __fex_parse_sse()
231 inst->op2 = (sseoperand_t *)&uap->uc_mcontext.fpregs. in __fex_parse_sse()
235 (char *)&uap->uc_mcontext.fpregs.fp_reg_set. in __fex_parse_sse()
241 inst->op2 = (sseoperand_t *)&uap->uc_mcontext.fpregs. in __fex_parse_sse()
[all …]
H A Dfex_log.c284 __fex_mklog(ucontext_t *uap, char *addr, int f, enum fex_exception e, in __fex_mklog() argument
300 stk = (char*)uap->uc_mcontext.gregs[REG_PC]; in __fex_mklog()
301 fp = FRAMEP(uap->uc_mcontext.gregs[REG_SP]); in __fex_mklog()
303 stk = (char*)uap->uc_mcontext.gregs[REG_PC]; in __fex_mklog()
304 fp = FRAMEP(uap->uc_mcontext.gregs[REG_RBP]); in __fex_mklog()
306 stk = (char*)uap->uc_mcontext.gregs[PC]; in __fex_mklog()
307 fp = FRAMEP(uap->uc_mcontext.gregs[EBP]); in __fex_mklog()
H A D__fex_sparc.c49 #define FPreg(X) &uap->uc_mcontext.fpregs.fpu_fr.fpu_regs[X]
51 #define FPREG(X) &uap->uc_mcontext.fpregs.fpu_fr.fpu_dregs[(X>>1)| \
58 #define FPxreg(X) &((prxregset_t*)uap->uc_mcontext.xrs.xrs_ptr)->pr_un.pr_v8p.pr_xfr.pr_regs[X]
60 #define FPreg(X) &uap->uc_mcontext.fpregs.fpu_fr.fpu_regs[X]
94 __fex_get_invalid_type(siginfo_t *sip, ucontext_t *uap) in __fex_get_invalid_type() argument
100 instr = uap->uc_mcontext.fpregs.fpu_q->FQu.fpq.fpq_instr; in __fex_get_invalid_type()
187 __fex_get_op(siginfo_t *sip, ucontext_t *uap, fex_info_t *info) in __fex_get_op() argument
194 instr = uap->uc_mcontext.fpregs.fpu_q->FQu.fpq.fpq_instr; in __fex_get_op()
476 __fex_st_result(siginfo_t *sip, ucontext_t *uap, fex_info_t *info) in __fex_st_result() argument
484 instr = uap->uc_mcontext.fpregs.fpu_q->FQu.fpq.fpq_instr; in __fex_st_result()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dmount.c71 struct mounta *uap; in mount() local
78 uap = &native; in mount()
79 uap->spec = (char *)*lp++; in mount()
80 uap->dir = (char *)*lp++; in mount()
81 uap->flags = (int)*lp++; in mount()
82 uap->fstype = (char *)*lp++; in mount()
83 uap->dataptr = (char *)*lp++; in mount()
84 uap->datalen = (int)*lp++; in mount()
85 uap->optptr = (char *)*lp++; in mount()
86 uap->optlen = (int)*lp++; in mount()
[all …]
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c746 } *uap = (struct a *)ttolwp(curthread)->lwp_ap; in aus_exit() local
748 rval = (uint32_t)uap->rval; in aus_exit()
763 } *uap = (struct a *)clwp->lwp_ap; in aus_acct() local
765 fname = (uintptr_t)uap->fname; in aus_acct()
783 } *uap = (struct a *)clwp->lwp_ap; in aus_chown() local
785 uid = (uint32_t)uap->uid; in aus_chown()
786 gid = (uint32_t)uap->gid; in aus_chown()
807 } *uap = (struct a *)clwp->lwp_ap; in aus_fchown() local
809 fd = (uint32_t)uap->fd; in aus_fchown()
810 uid = (uint32_t)uap->uid; in aus_fchown()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_timers.c50 void * uap; member
163 void *uap, in evSetTimer() argument
173 ctx, func, uap, in evSetTimer()
201 id->uap = uap; in evSetTimer()
281 void *uap, in evResetTimer() argument
313 timer->uap = uap; in evResetTimer()
340 void *uap, in evSetIdleTimer() argument
350 tt->uap = uap; in evSetIdleTimer()
369 idle_timer *tt = del->uap; in evClearIdleTimer()
379 void *uap, in evResetIdleTimer() argument
[all …]
H A Dev_connects.c51 static void listener(evContext ctx, void *uap, int fd, int evmask);
52 static void connector(evContext ctx, void *uap, int fd, int evmask);
58 evConnFunc func, void *uap, evConnID *id) in evListen() argument
93 new->uap = uap; in evListen()
107 evConnFunc func, void *uap, evConnID *id) in evConnect() argument
137 new->uap = uap; in evConnect()
274 listener(evContext opaqueCtx, void *uap, int fd, int evmask) { in listener() argument
276 evConn *conn = uap; in listener()
306 (*conn->func)(opaqueCtx, conn->uap, new, &la.sa, lalen, &ra.sa, ralen); in listener()
310 connector(evContext opaqueCtx, void *uap, int fd, int evmask) { in connector() argument
[all …]
H A Dctl_clnt.c74 void * uap; member
83 void * uap; member
143 ctl_clntdone donefunc, void *uap, in ctl_client() argument
163 ctx->uap = uap; in ctl_client()
231 ctl_clntdone donefunc, void *uap) in ctl_command() argument
251 tran = new_tran(ctx, donefunc, uap, 1); in ctl_command()
269 new_tran(struct ctl_cctx *ctx, ctl_clntdone donefunc, void *uap, int w) { in new_tran() argument
277 new->uap = uap; in new_tran()
374 (*this->donefunc)(ctx, this->uap, NULL, 0); in destroy()
398 conn_done(evContext ev, void *uap, int fd, in conn_done() argument
[all …]
H A Dev_streams.c39 static void writable(evContext opaqueCtx, void *uap, int fd, int evmask);
40 static void readable(evContext opaqueCtx, void *uap, int fd, int evmask);
54 evStreamFunc func, void *uap, evStreamID *id) in evWrite() argument
62 new->uap = uap; in evWrite()
88 evStreamFunc func, void *uap, evStreamID *id) in evRead() argument
96 new->uap = uap; in evRead()
256 writable(evContext opaqueCtx, void *uap, int fd, int evmask) { in writable() argument
257 evStream *str = uap; in writable()
279 readable(evContext opaqueCtx, void *uap, int fd, int evmask) { in readable() argument
280 evStream *str = uap; in readable()
H A Dev_waits.c48 evWaitFunc func, void *uap, evWaitID *id) in evWaitFor() argument
56 new->uap = uap; in evWaitFor()
160 evDefer(evContext opaqueCtx, evWaitFunc func, void *uap) { in evDefer() argument
166 new->uap = uap; in evDefer()
H A Dctl_srvr.c95 void * uap; member
298 void *uap, const char *body, size_t bodylen) in ctl_response() argument
314 sess->uap = uap; in ctl_response()
396 ctl_accept(evContext lev, void *uap, int fd, in ctl_accept() argument
401 struct ctl_sctx *ctx = uap; in ctl_accept()
561 ctl_readable(evContext lev, void *uap, int fd, int evmask) { in ctl_readable() argument
563 struct ctl_sess *sess = uap; in ctl_readable()
620 ctl_wrtimeout(evContext lev, void *uap, in ctl_wrtimeout() argument
625 struct ctl_sess *sess = uap; in ctl_wrtimeout()
647 ctl_rdtimeout(evContext lev, void *uap, in ctl_rdtimeout() argument
[all …]
H A Deventlib_p.h78 void * uap; member
114 void * uap; member
126 void * uap; member
145 void * uap; member
154 void * uap; member
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhrtimers.c87 hrtcntl(uap, rvp) in hrtcntl() argument
88 register struct hrtcntla *uap; in hrtcntl()
94 switch (uap->cmd) {
98 if (uap->clk != CLK_STD) {
103 if (copyin((caddr_t)uap->hrtp,
115 (caddr_t)uap->hrtp, sizeof (hrtimes_t)))
132 hrtalarm(uap, rvp) in hrtalarm() argument
133 register struct hrtalarma *uap; in hrtalarm()
150 if (uap->cmds <= 0)
154 hrcmdp = uap->cmdp;
[all …]
/illumos-gate/usr/src/lib/librpcsvc/common/
H A Drusers_simple.c41 rusers3(host, uap) in rusers3() argument
43 utmp_array *uap;
49 xdr_utmp_array, (char *) uap, (char *) NULL) != 0) {
63 uap->utmp_array_val = (rusers_utmp *)malloc(up.uia_cnt
65 if (uap->utmp_array_val == NULL) {
69 uap->utmp_array_len = up.uia_cnt;
70 for (rutp = uap->utmp_array_val, i = 0;
82 while (--rutp >= uap->utmp_array_val) {
87 free(uap->utmp_array_val);
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drusers.c365 utmp_array *uap; in collectnames_3() local
370 uap = (utmp_array *)resultsp; in collectnames_3()
371 if (uap->utmp_array_len < 1 && !aflag) in collectnames_3()
410 return (print_info_3(uap, host)); in collectnames_3()
414 print_info_3(utmp_array *uap, const char *name) in print_info_3() argument
419 cnt = uap->utmp_array_len; in print_info_3()
430 putline_3(host, &uap->utmp_array_val[i]); in print_info_3()
435 uap->utmp_array_val[i].ut_user); in print_info_3()
464 strdup(uap->utmp_array_val[i].ut_user); in print_info_3()
466 strdup(uap->utmp_array_val[i].ut_line); in print_info_3()
[all …]
H A Drpc.rusersd.c76 static void free_ua_entry(rusers_utmp *uap);
383 free_ua_entry(rusers_utmp *uap) in free_ua_entry() argument
385 if (uap == NULL) in free_ua_entry()
387 if (uap->ut_user) in free_ua_entry()
388 free(uap->ut_user); in free_ua_entry()
389 if (uap->ut_line) in free_ua_entry()
390 free(uap->ut_line); in free_ua_entry()
391 if (uap->ut_host) in free_ua_entry()
392 free(uap->ut_host); in free_ua_entry()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c350 auto_mount(vfs_t *vfsp, vnode_t *vp, struct mounta *uap, cred_t *cr) in auto_mount() argument
358 char *data = uap->dataptr; in auto_mount()
359 char datalen = uap->datalen; in auto_mount()
403 if (uap->flags & MS_SYSSPACE) { in auto_mount()
439 if (uap->flags & MS_REMOUNT) { in auto_mount()
454 if (uap->flags & MS_SYSSPACE) in auto_mount()
476 if (uap->flags & MS_SYSSPACE) in auto_mount()
525 if (uap->flags & MS_SYSSPACE) in auto_mount()
538 if (uap->flags & MS_SYSSPACE) in auto_mount()
553 if (uap->flags & MS_SYSSPACE) in auto_mount()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Daio.c303 ulong_t *uap, in kaio() argument
313 off = ((u_offset_t)uap[5] << 32) | (u_offset_t)uap[4]; in kaio()
315 off = ((u_offset_t)uap[4] << 32) | (u_offset_t)uap[5]; in kaio()
318 switch (uap[0] & ~AIO_POLL_BIT) { in kaio()
323 return (arw((int)uap[0], (int)uap[1], (char *)uap[2], in kaio()
324 (int)uap[3], off, (aio_result_t *)uap[6], FREAD)); in kaio()
326 return (arw((int)uap[0], (int)uap[1], (char *)uap[2], in kaio()
327 (int)uap[3], off, (aio_result_t *)uap[6], FWRITE)); in kaio()
329 error = aiowait((struct timeval *)uap[1], (int)uap[2], in kaio()
333 error = aiowaitn((void *)uap[1], (uint_t)uap[2], in kaio()
[all …]
H A Dmain.c150 uintptr_t uap; in exec_init() local
257 uap = P2ALIGN(ucp, wlen); in exec_init()
259 uap -= wlen; in exec_init()
261 uap -= (argc + 1) * wlen; in exec_init()
262 error |= copyout(argv, (caddr_t)uap, argvlen); in exec_init()
280 lwp->lwp_arg[1] = uap; in exec_init()
295 (const char **)uap, NULL, NULL, brand_action); in exec_init()
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vfsops.c196 sdev_mount(struct vfs *vfsp, struct vnode *mvp, struct mounta *uap, in sdev_mount() argument
223 if ((uap->flags & MS_OVERLAY) == 0 && in sdev_mount()
224 (uap->flags & MS_REMOUNT) == 0 && in sdev_mount()
233 if ((uap->flags & MS_DATA) && in sdev_mount()
234 (uap->datalen != 0 && uap->dataptr != NULL)) { in sdev_mount()
236 if (error = sdev_copyin_mountargs(uap, args)) in sdev_mount()
283 if (uap->flags & MS_REMOUNT) { in sdev_mount()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vfs.c190 fsop_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in fsop_mount() argument
192 return (*(vfsp)->vfs_op->vfs_mount)(vfsp, mvp, uap, cr); in fsop_mount()
534 fake_domount(char *fsname, struct mounta *uap, struct vfs **vfspp) in fake_domount() argument
544 char *opts = uap->optptr; in fake_domount()
546 int optlen = uap->optlen; in fake_domount()
587 if (uap->flags & MS_OPTIONSTR) { in fake_domount()
595 if ((uap->flags & MS_SYSSPACE) == 0) { in fake_domount()
611 if (uap->flags & MS_REMOUNT) in fake_domount()
613 if (uap->flags & MS_RDONLY) in fake_domount()
615 if (uap->flags & MS_NOSUID) in fake_domount()
[all …]
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c224 fsop_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in fsop_mount() argument
226 return (*(vfsp)->vfs_op->vfs_mount)(vfsp, mvp, uap, cr); in fsop_mount()
980 mntopts_t *mntopts, struct mounta *uap) in lofi_add() argument
982 int fromspace = (uap->flags & MS_SYSSPACE) ? in lofi_add()
1004 if (pn_get(uap->spec, fromspace, &pn) != 0) in lofi_add()
1007 if (lookupname(uap->spec, fromspace, FOLLOW, NULL, &vp) != 0) in lofi_add()
1015 if ((uap->flags & (MS_REMOUNT|MS_GLOBAL)) || in lofi_add()
1109 domount(char *fsname, struct mounta *uap, vnode_t *vp, struct cred *credp, in domount() argument
1121 char *opts = uap->optptr; in domount()
1123 int optlen = uap->optlen; in domount()
[all …]
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vfsops.c65 bootfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in bootfs_mount() argument
78 if (uap->flags & MS_REMOUNT) in bootfs_mount()
82 if ((uap->flags & MS_OVERLAY) == 0 && in bootfs_mount()
100 ret = pn_get(uap->dir, in bootfs_mount()
101 (uap->flags & MS_SYSSPACE) ? UIO_SYSSPACE : UIO_USERSPACE, &dpn); in bootfs_mount()

1234