Searched refs:target_fds (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/linux-user/ |
H A D | strace.c | 618 abi_long *target_fds; in print_fdset() local 620 target_fds = lock_user(VERIFY_READ, in print_fdset() 622 sizeof(*target_fds)*(n / TARGET_ABI_BITS + 1), in print_fdset() 625 if (!target_fds) in print_fdset() 629 if ((tswapal(target_fds[i / TARGET_ABI_BITS]) >> in print_fdset() 635 unlock_user(target_fds, target_fds_addr, 0); in print_fdset()
|
H A D | syscall.c | 899 abi_ulong b, *target_fds; in copy_from_user_fdset() local 902 if (!(target_fds = lock_user(VERIFY_READ, in copy_from_user_fdset() 912 __get_user(b, &target_fds[i]); in copy_from_user_fdset() 921 unlock_user(target_fds, target_fds_addr, 0); in copy_from_user_fdset() 946 abi_ulong *target_fds; in copy_to_user_fdset() local 949 if (!(target_fds = lock_user(VERIFY_WRITE, in copy_to_user_fdset() 962 __put_user(v, &target_fds[i]); in copy_to_user_fdset() 965 unlock_user(target_fds, target_fds_addr, sizeof(abi_ulong) * nw); in copy_to_user_fdset()
|