Home
last modified time | relevance | path

Searched refs:uaddr (Results 1 – 25 of 93) sorted by relevance

1234

/freebsd/sys/cddl/dev/dtrace/arm/
H A Ddtrace_isa.c167 dtrace_copycheck(uintptr_t uaddr, uintptr_t kaddr, size_t size) in dtrace_copycheck()
170 if (uaddr + size > VM_MAXUSER_ADDRESS || uaddr + size < uaddr) { in dtrace_copycheck()
172 cpu_core[curcpu].cpuc_dtrace_illval = uaddr; in dtrace_copycheck()
180 dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size, in dtrace_copyin()
183 if (dtrace_copycheck(uaddr, kaddr, size)) in dtrace_copyin()
184 dtrace_copy(uaddr, kaddr, size); in dtrace_copyin()
188 dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size, in dtrace_copyout()
191 if (dtrace_copycheck(uaddr, kadd in dtrace_copyout()
166 dtrace_copycheck(uintptr_t uaddr,uintptr_t kaddr,size_t size) dtrace_copycheck() argument
179 dtrace_copyin(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) dtrace_copyin() argument
187 dtrace_copyout(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) dtrace_copyout() argument
195 dtrace_copyinstr(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) dtrace_copyinstr() argument
203 dtrace_copyoutstr(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) dtrace_copyoutstr() argument
211 dtrace_fuword8(void * uaddr) dtrace_fuword8() argument
222 dtrace_fuword16(void * uaddr) dtrace_fuword16() argument
233 dtrace_fuword32(void * uaddr) dtrace_fuword32() argument
244 dtrace_fuword64(void * uaddr) dtrace_fuword64() argument
[all...]
/freebsd/sys/cddl/dev/dtrace/aarch64/
H A Ddtrace_isa.c324 dtrace_copycheck(uintptr_t uaddr, uintptr_t kaddr, size_t size) in dtrace_copycheck()
327 if (uaddr + size > VM_MAXUSER_ADDRESS || uaddr + size < uaddr) { in dtrace_copycheck()
329 cpu_core[curcpu].cpuc_dtrace_illval = uaddr; in dtrace_copycheck()
337 dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size, in dtrace_copyin()
341 if (dtrace_copycheck(uaddr, kaddr, size))
342 dtrace_copy(uaddr, kaddr, size);
346 dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size, in dtrace_copyout()
350 if (dtrace_copycheck(uaddr, kadd in dtrace_copyout()
321 dtrace_copycheck(uintptr_t uaddr,uintptr_t kaddr,size_t size) dtrace_copycheck() argument
334 dtrace_copyin(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) dtrace_copyin() argument
343 dtrace_copyout(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) dtrace_copyout() argument
352 dtrace_copyinstr(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) dtrace_copyinstr() argument
361 dtrace_copyoutstr(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) dtrace_copyoutstr() argument
370 dtrace_fuword8(void * uaddr) dtrace_fuword8() argument
383 dtrace_fuword16(void * uaddr) dtrace_fuword16() argument
396 dtrace_fuword32(void * uaddr) dtrace_fuword32() argument
409 dtrace_fuword64(void * uaddr) dtrace_fuword64() argument
[all...]
/freebsd/sys/cddl/dev/dtrace/riscv/
H A Ddtrace_isa.c352 dtrace_copycheck(uintptr_t uaddr, uintptr_t kaddr, size_t size) in dtrace_copycheck()
355 if (uaddr + size > VM_MAXUSER_ADDRESS || uaddr + size < uaddr) { in dtrace_copycheck()
357 cpu_core[curcpu].cpuc_dtrace_illval = uaddr; in dtrace_copycheck()
365 dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size, in dtrace_copyin()
369 if (dtrace_copycheck(uaddr, kaddr, size)) in dtrace_copyin()
370 dtrace_copy(uaddr, kaddr, size); in dtrace_copyin()
374 dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size, in dtrace_copyout()
378 if (dtrace_copycheck(uaddr, kadd in dtrace_copyout()
351 dtrace_copycheck(uintptr_t uaddr,uintptr_t kaddr,size_t size) dtrace_copycheck() argument
364 dtrace_copyin(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) dtrace_copyin() argument
373 dtrace_copyout(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) dtrace_copyout() argument
382 dtrace_copyinstr(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) dtrace_copyinstr() argument
391 dtrace_copyoutstr(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) dtrace_copyoutstr() argument
400 dtrace_fuword8(void * uaddr) dtrace_fuword8() argument
413 dtrace_fuword16(void * uaddr) dtrace_fuword16() argument
426 dtrace_fuword32(void * uaddr) dtrace_fuword32() argument
439 dtrace_fuword64(void * uaddr) dtrace_fuword64() argument
[all...]
/freebsd/tools/tools/usbtest/
H A Dusbtest.h39 struct uaddr { struct
46 extern void usb_get_string_desc_test(struct uaddr); argument
47 extern void usb_port_reset_test(struct uaddr, uint32_t);
48 extern void usb_set_config_test(struct uaddr, uint32_t);
49 extern void usb_get_descriptor_test(struct uaddr, uint32_t);
50 extern void usb_control_ep_error_test(struct uaddr);
51 extern void usb_set_and_clear_stall_test(struct uaddr);
52 extern void usb_set_alt_interface_test(struct uaddr);
54 extern void usb_suspend_resume_test(struct uaddr, uint32_t);
57 extern void show_host_msc_test(uint8_t, struct uaddr, uint32_t);
[all …]
H A Dusb_control_ep_test.c77 usb_control_ep_error_test(struct uaddr uaddr) in usb_control_ep_error_test() argument
88 pdev = find_usb_device(uaddr); in usb_control_ep_error_test()
163 usb_get_string_desc_test(struct uaddr uaddr) in usb_get_string_desc_test() argument
172 pdev = find_usb_device(uaddr); in usb_get_string_desc_test()
192 "VID=0x%04x PID=0x%04x\n", uaddr.vid, uaddr.pid); in usb_get_string_desc_test()
238 usb_port_reset_test(struct uaddr uaddr, uint32_t duration) in usb_port_reset_test() argument
254 pdev = find_usb_device(uaddr); in usb_port_reset_test()
308 usb_set_config_test(struct uaddr uaddr, uint32_t duration) in usb_set_config_test() argument
317 pdev = find_usb_device(uaddr); in usb_set_config_test()
331 "VID=0x%04x PID=0x%04x\n", uaddr.vid, uaddr.pid); in usb_set_config_test()
[all …]
H A Dusbtest.c690 struct uaddr uaddr = {}; in show_host_select() local
719 uaddr.vid, uaddr.pid, uaddr.bus, uaddr.addr, in show_host_select()
727 show_host_device_selection(level + 1, &uaddr); in show_host_select()
731 uaddr.vid = get_integer() & 0xFFFF; in show_host_select()
732 uaddr.pid = get_integer() & 0xFFFF; in show_host_select()
733 uaddr.bus = 0; in show_host_select()
734 uaddr.addr = 0; in show_host_select()
740 show_host_msc_test(level + 1, uaddr, duration); in show_host_select()
743 show_host_modem_test(level + 1, uaddr, duration); in show_host_select()
746 usb_get_string_desc_test(uaddr); in show_host_select()
[all …]
H A Dusb_msc_test.c859 show_host_device_selection(uint8_t level, struct uaddr *puaddr) in show_host_device_selection()
865 struct uaddr uaddr[USB_DEVICES_MAX]; in show_host_device_selection() local
888 uaddr[index].vid = ddesc->idVendor; in show_host_device_selection()
889 uaddr[index].pid = ddesc->idProduct; in show_host_device_selection()
890 uaddr[index].bus = libusb20_dev_get_bus_number(pdev); in show_host_device_selection()
891 uaddr[index].addr = libusb20_dev_get_address(pdev); in show_host_device_selection()
912 *puaddr = uaddr[sel]; in show_host_device_selection()
917 find_usb_device(struct uaddr uaddr) in find_usb_device() argument
930 if ((uaddr.vid == ddesc->idVendor) && in find_usb_device()
931 (uaddr.pid == ddesc->idProduct) && in find_usb_device()
[all …]
/freebsd/sys/cddl/dev/dtrace/powerpc/
H A Ddtrace_isa.c560 dtrace_copycheck(uintptr_t uaddr, uintptr_t kaddr, size_t size)
564 if (uaddr + size > VM_MAXUSER_ADDRESS || uaddr + size < uaddr) {
566 cpu_core[curcpu].cpuc_dtrace_illval = uaddr;
574 dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size,
577 if (dtrace_copycheck(uaddr, kaddr, size))
578 if (copyin((const void *)uaddr, (void *)kaddr, size)) {
580 cpu_core[curcpu].cpuc_dtrace_illval = (uintptr_t)uaddr;
585 dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_
558 dtrace_copycheck(uintptr_t uaddr,uintptr_t kaddr,size_t size) global() argument
572 dtrace_copyin(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) global() argument
583 dtrace_copyout(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) global() argument
595 dtrace_copyinstr(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) global() argument
618 dtrace_copyoutstr(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) global() argument
636 dtrace_fuword8(void * uaddr) global() argument
647 dtrace_fuword16(void * uaddr) global() argument
661 dtrace_fuword32(void * uaddr) global() argument
672 dtrace_fuword64(void * uaddr) global() argument
686 dtrace_fulword(void * uaddr) global() argument
[all...]
/freebsd/sys/compat/linux/
H A Dlinux_futex.c67 uint32_t *uaddr; member
93 futex_key_get(const void *uaddr, int type, int share, struct umtx_key *key) in futex_key_get() argument
97 if (!__is_aligned(uaddr, sizeof(uint32_t))) in futex_key_get()
99 return (umtx_key_get(uaddr, type, share, key)); in futex_key_get()
103 futex_wake(struct thread *td, uint32_t *uaddr, int val, bool shared) in futex_wake() argument
109 args.uaddr = uaddr; in futex_wake()
118 futex_wake_pi(struct thread *td, uint32_t *uaddr, bool shared) in futex_wake_pi() argument
124 args.uaddr = uaddr; in futex_wake_pi()
131 futex_atomic_op(struct thread *td, int encoded_op, uint32_t *uaddr, in futex_atomic_op() argument
145 ret = futex_xchgl(oparg, uaddr, &oldval); in futex_atomic_op()
[all …]
H A Dlinux_futex.h91 int futex_xchgl(int oparg, uint32_t *uaddr, int *oldval);
92 int futex_addl(int oparg, uint32_t *uaddr, int *oldval);
93 int futex_orl(int oparg, uint32_t *uaddr, int *oldval);
94 int futex_andl(int oparg, uint32_t *uaddr, int *oldval);
95 int futex_xorl(int oparg, uint32_t *uaddr, int *oldval);
96 int futex_wake(struct thread *td, uint32_t *uaddr, int val, bool shared);
H A Dlinux_ipc.c296 linux_msqid_pullup(l_int ver, struct l_msqid64_ds *linux_msqid64, caddr_t uaddr) in linux_msqid_pullup() argument
302 return (copyin(uaddr, linux_msqid64, sizeof(*linux_msqid64))); in linux_msqid_pullup()
304 error = copyin(uaddr, &linux_msqid, sizeof(linux_msqid)); in linux_msqid_pullup()
320 linux_msqid_pushdown(l_int ver, struct l_msqid64_ds *linux_msqid64, caddr_t uaddr) in linux_msqid_pushdown() argument
326 return (copyout(linux_msqid64, uaddr, sizeof(*linux_msqid64))); in linux_msqid_pushdown()
360 return (copyout(&linux_msqid, uaddr, sizeof(linux_msqid))); in linux_msqid_pushdown()
364 linux_semid_pullup(l_int ver, struct l_semid64_ds *linux_semid64, caddr_t uaddr) in linux_semid_pullup() argument
370 return (copyin(uaddr, linux_semid64, sizeof(*linux_semid64))); in linux_semid_pullup()
371 error = copyin(uaddr, &linux_semid, sizeof(linux_semid)); in linux_semid_pullup()
383 linux_semid_pushdown(l_int ver, struct l_semid64_ds *linux_semid64, caddr_t uaddr) in linux_semid_pushdown() argument
[all …]
/freebsd/sys/cddl/dev/dtrace/i386/
H A Ddtrace_isa.c587 dtrace_copycheck(uintptr_t uaddr, uintptr_t kaddr, size_t size) in dtrace_copycheck()
591 if (uaddr + size >= kernelbase || uaddr + size < uaddr) { in dtrace_copycheck()
593 cpu_core[curcpu].cpuc_dtrace_illval = uaddr; in dtrace_copycheck()
601 dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size, in dtrace_copyin()
604 if (dtrace_copycheck(uaddr, kaddr, size)) in dtrace_copyin()
605 dtrace_copy(uaddr, kaddr, size); in dtrace_copyin()
609 dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size, in dtrace_copyout()
612 if (dtrace_copycheck(uaddr, kadd in dtrace_copyout()
586 dtrace_copycheck(uintptr_t uaddr,uintptr_t kaddr,size_t size) dtrace_copycheck() argument
600 dtrace_copyin(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) dtrace_copyin() argument
608 dtrace_copyout(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) dtrace_copyout() argument
616 dtrace_copyinstr(uintptr_t uaddr,uintptr_t kaddr,size_t size,volatile uint16_t * flags) dtrace_copyinstr() argument
624 dtrace_copyoutstr(uintptr_t kaddr,uintptr_t uaddr,size_t size,volatile uint16_t * flags) dtrace_copyoutstr() argument
632 dtrace_fuword8(void * uaddr) dtrace_fuword8() argument
643 dtrace_fuword16(void * uaddr) dtrace_fuword16() argument
654 dtrace_fuword32(void * uaddr) dtrace_fuword32() argument
665 dtrace_fuword64(void * uaddr) dtrace_fuword64() argument
[all...]
/freebsd/sys/cddl/dev/dtrace/amd64/
H A Ddtrace_isa.c571 dtrace_copycheck(uintptr_t uaddr, uintptr_t kaddr, size_t size) in dtrace_copycheck() argument
575 if (uaddr + size > VM_MAXUSER_ADDRESS || uaddr + size < uaddr) { in dtrace_copycheck()
577 cpu_core[curcpu].cpuc_dtrace_illval = uaddr; in dtrace_copycheck()
585 dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size, in dtrace_copyin() argument
588 if (dtrace_copycheck(uaddr, kaddr, size)) { in dtrace_copyin()
589 dtrace_copy(uaddr, kaddr, size); in dtrace_copyin()
595 dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size, in dtrace_copyout() argument
598 if (dtrace_copycheck(uaddr, kaddr, size)) { in dtrace_copyout()
600 dtrace_copy(kaddr, uaddr, size); in dtrace_copyout()
605 dtrace_copyinstr(uintptr_t uaddr, uintptr_t kaddr, size_t size, in dtrace_copyinstr() argument
[all …]
/freebsd/sys/i386/linux/
H A Dlinux_copyout.c63 futex_xchgl(int oparg, uint32_t *uaddr, int *oldval) in futex_xchgl() argument
69 if (cp_slow0((vm_offset_t)uaddr, sizeof(uint32_t), true, in futex_xchgl()
85 futex_addl(int oparg, uint32_t *uaddr, int *oldval) in futex_addl() argument
91 if (cp_slow0((vm_offset_t)uaddr, sizeof(uint32_t), true, in futex_addl()
111 futex_orl(int oparg, uint32_t *uaddr, int *oldval) in futex_orl() argument
117 if (cp_slow0((vm_offset_t)uaddr, sizeof(uint32_t), true, in futex_orl()
137 futex_andl(int oparg, uint32_t *uaddr, int *oldval) in futex_andl() argument
143 if (cp_slow0((vm_offset_t)uaddr, sizeof(uint32_t), true, in futex_andl()
163 futex_xorl(int oparg, uint32_t *uaddr, int *oldval) in futex_xorl() argument
169 if (cp_slow0((vm_offset_t)uaddr, sizeof(uint32_t), true, in futex_xorl()
/freebsd/usr.sbin/rpcbind/
H A Drpcb_svc_com.c87 char *uaddr; member
306 static char *uaddr; in rpcbproc_getaddr_com() local
310 if (uaddr != NULL && uaddr != nullstring) { in rpcbproc_getaddr_com()
311 free(uaddr); in rpcbproc_getaddr_com()
312 uaddr = NULL; in rpcbproc_getaddr_com()
320 if (!(uaddr = mergeaddr(transp, transp->xp_netid, in rpcbproc_getaddr_com()
323 uaddr = strdup(fnd->rpcb_map.r_addr); in rpcbproc_getaddr_com()
324 } else if (!uaddr[0]) { in rpcbproc_getaddr_com()
329 uaddr = nullstring; in rpcbproc_getaddr_com()
332 uaddr = nullstring; in rpcbproc_getaddr_com()
[all …]
H A Dcheck_bound.c66 static bool_t check_bound(struct fdlist *, char *uaddr);
74 check_bound(struct fdlist *fdl, char *uaddr) in check_bound() argument
83 na = uaddr2taddr(fdl->nconf, uaddr); in check_bound()
134 is_bound(char *netid, char *uaddr) in is_bound() argument
143 return (check_bound(fdl, uaddr)); in is_bound()
152 mergeaddr(SVCXPRT *xprt, char *netid, char *uaddr, char *saddr) in mergeaddr() argument
163 if (check_bound(fdl, uaddr) == FALSE) in mergeaddr()
203 s_uaddr = uaddr; in mergeaddr()
211 uaddr, m_uaddr); in mergeaddr()
H A Drpcb_svc_4.c265 char *uaddr; in rpcbproc_getaddr_4_local() local
267 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid), in rpcbproc_getaddr_4_local()
271 regp->r_netid, uaddr); in rpcbproc_getaddr_4_local()
272 free(uaddr); in rpcbproc_getaddr_4_local()
295 char *uaddr; in rpcbproc_getversaddr_4_local() local
297 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid), in rpcbproc_getversaddr_4_local()
302 regp->r_netid, uaddr); in rpcbproc_getversaddr_4_local()
303 free(uaddr); in rpcbproc_getversaddr_4_local()
/freebsd/lib/libc/rpc/
H A Dauth_time.c80 static int uaddr_to_sockaddr(char *uaddr, struct sockaddr_in *sin) in uaddr_to_sockaddr() argument
86 i = sscanf(uaddr, "%lu.%lu.%lu.%lu.%lu.%lu", &a[0], &a[1], &a[2], in uaddr_to_sockaddr()
115 free(eps[i].uaddr); in free_eps()
173 ep->uaddr = strdup(hname); in get_server()
176 if (ep->uaddr == NULL || ep->family == NULL || ep->proto == NULL) { in get_server()
188 ep->uaddr = strdup(hname); in get_server()
191 if (ep->uaddr == NULL || ep->family == NULL || ep->proto == NULL) { in get_server()
236 char **uaddr, struct sockaddr_in *netid) in __rpc_get_time_offset() argument
266 if (*uaddr == NULL) { in __rpc_get_time_offset()
295 useua = ep[tcp_ep].uaddr; in __rpc_get_time_offset()
[all …]
/freebsd/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_proc.c31 uread(proc_t *p, void *kaddr, size_t len, uintptr_t uaddr) in uread() argument
35 n = proc_readmem(curthread, p, uaddr, kaddr, len); in uread()
42 uwrite(proc_t *p, void *kaddr, size_t len, uintptr_t uaddr) in uwrite() argument
46 n = proc_writemem(curthread, p, uaddr, kaddr, len); in uwrite()
/freebsd/usr.sbin/ypserv/
H A Dyp_dnslookup.c468 u_char *uaddr = (u_char *)abuf; in yp_async_lookup_addr() local
488 if (inet_aton(addr, (struct in_addr *)uaddr) != 1) in yp_async_lookup_addr()
491 (uaddr[3] & 0xff), (uaddr[2] & 0xff), in yp_async_lookup_addr()
492 (uaddr[1] & 0xff), (uaddr[0] & 0xff)); in yp_async_lookup_addr()
496 if (inet_pton(af, addr, uaddr) != 1) in yp_async_lookup_addr()
500 qp += (size_t)sprintf(qp, "%x.%x.", uaddr[n] & 0xf, in yp_async_lookup_addr()
501 (uaddr[n] >> 4) & 0xf); in yp_async_lookup_addr()
533 memcpy(q->addr, uaddr, len); in yp_async_lookup_addr()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_rpcb_pxy.c747 char uaddr[24]; in ipf_p_rpcb_modreq() local
757 bzero(uaddr, sizeof(uaddr)); /* Just in case we need padding. */ in ipf_p_rpcb_modreq()
758 (void) snprintf(uaddr, sizeof(uaddr), in ipf_p_rpcb_modreq()
761 len = strlen(uaddr); in ipf_p_rpcb_modreq()
774 COPYBACK(m, off, xlen, uaddr); in ipf_p_rpcb_modreq()
1262 char uaddr[24]; in ipf_p_rpcb_modv3() local
1271 bzero(uaddr, sizeof(uaddr)); /* Just in case we need padding. */ in ipf_p_rpcb_modv3()
1272 (void) snprintf(uaddr, sizeof(uaddr), in ipf_p_rpcb_modv3()
1275 len = strlen(uaddr); in ipf_p_rpcb_modv3()
1288 COPYBACK(m, off, xlen, uaddr); in ipf_p_rpcb_modv3()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Duaccess.h64 extern int linux_copyin(const void *uaddr, void *kaddr, size_t len);
65 extern int linux_copyout(const void *kaddr, void *uaddr, size_t len);
66 extern size_t linux_clear_user(void *uaddr, size_t len);
67 extern int linux_access_ok(const void *uaddr, size_t len);
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dkmod_core.c130 void *uaddr; in zfsdev_ioctl() local
143 uaddr = (void *)(uintptr_t)zp->zfs_cmd; in zfsdev_ioctl()
156 if (copyin(uaddr, zcl, sizeof (zfs_cmd_legacy_t))) { in zfsdev_ioctl()
163 if (copyin(uaddr, zc, sizeof (zfs_cmd_t))) { in zfsdev_ioctl()
171 rc = copyout(zcl, uaddr, sizeof (*zcl)); in zfsdev_ioctl()
175 rc = copyout(zc, uaddr, sizeof (*zc)); in zfsdev_ioctl()
/freebsd/sys/dev/smbus/
H A Dsmb.c176 smbcopyincmd32(struct smbcmd32 *uaddr, struct smbcmd *kaddr) in smbcopyincmd32() argument
178 CP(*uaddr, *kaddr, cmd); in smbcopyincmd32()
179 CP(*uaddr, *kaddr, op); in smbcopyincmd32()
180 CP(*uaddr, *kaddr, wdata.word); in smbcopyincmd32()
181 CP(*uaddr, *kaddr, slave); in smbcopyincmd32()
182 PTRIN_CP(*uaddr, *kaddr, wbuf); in smbcopyincmd32()
183 CP(*uaddr, *kaddr, wcount); in smbcopyincmd32()
184 PTRIN_CP(*uaddr, *kaddr, rbuf); in smbcopyincmd32()
185 CP(*uaddr, *kaddr, rcount); in smbcopyincmd32()
/freebsd/sys/amd64/linux/
H A Dlinux_machdep.c175 int futex_xchgl_nosmap(int oparg, uint32_t *uaddr, int *oldval);
176 int futex_xchgl_smap(int oparg, uint32_t *uaddr, int *oldval);
184 int futex_addl_nosmap(int oparg, uint32_t *uaddr, int *oldval);
185 int futex_addl_smap(int oparg, uint32_t *uaddr, int *oldval);
193 int futex_orl_nosmap(int oparg, uint32_t *uaddr, int *oldval);
194 int futex_orl_smap(int oparg, uint32_t *uaddr, int *oldval);
202 int futex_andl_nosmap(int oparg, uint32_t *uaddr, int *oldval);
203 int futex_andl_smap(int oparg, uint32_t *uaddr, int *oldval);
211 int futex_xorl_nosmap(int oparg, uint32_t *uaddr, int *oldval);
212 int futex_xorl_smap(int oparg, uint32_t *uaddr, int *oldval);

1234