Home
last modified time | relevance | path

Searched refs:sy_arg_bytes (Results 1 – 3 of 3) sorted by relevance

/xnu-8020.140.41/bsd/dev/arm/
H A Dsystemcalls.c382 if (callp->sy_arg_bytes > sizeof(uthread->uu_arg)) { in arm_get_u32_syscall_args()
388 if (munger == NULL || (callp->sy_arg_bytes == 0)) { in arm_get_u32_syscall_args()
409 assert((unsigned) callp->sy_arg_bytes <= sizeof(uthread->uu_arg)); in arm_get_u32_syscall_args()
411 if (callp->sy_arg_bytes <= (sizeof(uint32_t) * regparams)) { in arm_get_u32_syscall_args()
415 memcpy(&uthread->uu_arg[0], &regs->r[flavor], callp->sy_arg_bytes); in arm_get_u32_syscall_args()
416 } else if (callp->sy_arg_bytes <= sizeof(uthread->uu_arg)) { in arm_get_u32_syscall_args()
424 (callp->sy_arg_bytes - (sizeof(uint32_t) * regparams))) != 0) { in arm_get_u32_syscall_args()
549 assert((unsigned) callp->sy_arg_bytes <= sizeof(uthread->uu_arg)); in arm_get_u32_syscall_args()
551 if (callp->sy_arg_bytes <= (sizeof(uint32_t) * regparams)) { in arm_get_u32_syscall_args()
555 memcpy(&uthread->uu_arg[0], &regs->r[flavor], callp->sy_arg_bytes); in arm_get_u32_syscall_args()
[all …]
/xnu-8020.140.41/bsd/sys/
H A Dsysent.h52 uint16_t sy_arg_bytes; /* Total size of arguments in bytes for member
/xnu-8020.140.41/bsd/dev/i386/
H A Dsystemcalls.c135 if (callp->sy_arg_bytes != 0) { in unix_syscall()
143 assert((unsigned) callp->sy_arg_bytes <= sizeof(uthread->uu_arg)); in unix_syscall()
144 nargs = callp->sy_arg_bytes; in unix_syscall()