Home
last modified time | relevance | path

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

/qemu/linux-user/
H A Dsyscall.c4013 struct target_sembuf { struct
4023 struct target_sembuf *target_sembuf; in target_to_host_sembuf() argument
4026 target_sembuf = lock_user(VERIFY_READ, target_addr, in target_to_host_sembuf()
4027 nsops*sizeof(struct target_sembuf), 1); in target_to_host_sembuf()
4028 if (!target_sembuf) in target_to_host_sembuf()
4032 __get_user(host_sembuf[i].sem_num, &target_sembuf[i].sem_num); in target_to_host_sembuf()
4033 __get_user(host_sembuf[i].sem_op, &target_sembuf[i].sem_op); in target_to_host_sembuf()
4034 __get_user(host_sembuf[i].sem_flg, &target_sembuf[i].sem_flg); in target_to_host_sembuf()
4037 unlock_user(target_sembuf, target_addr, 0); in target_to_host_sembuf()