Home
last modified time | relevance | path

Searched refs:target_fds (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/linux-user/
H A Dstrace.c614 abi_long *target_fds; in print_fdset() local
616 target_fds = lock_user(VERIFY_READ, in print_fdset()
618 sizeof(*target_fds)*(n / TARGET_ABI_BITS + 1), in print_fdset()
621 if (!target_fds) in print_fdset()
625 if ((tswapal(target_fds[i / TARGET_ABI_BITS]) >> in print_fdset()
631 unlock_user(target_fds, target_fds_addr, 0); in print_fdset()
H A Dsyscall.c869 abi_ulong b, *target_fds; in copy_from_user_fdset() local
872 if (!(target_fds = lock_user(VERIFY_READ, in copy_from_user_fdset()
882 __get_user(b, &target_fds[i]); in copy_from_user_fdset()
891 unlock_user(target_fds, target_fds_addr, 0); in copy_from_user_fdset()
916 abi_ulong *target_fds; in copy_to_user_fdset() local
919 if (!(target_fds = lock_user(VERIFY_WRITE, in copy_to_user_fdset()
932 __put_user(v, &target_fds[i]); in copy_to_user_fdset()
935 unlock_user(target_fds, target_fds_addr, sizeof(abi_ulong) * nw); in copy_to_user_fdset()