Home
last modified time | relevance | path

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

/openbmc/qemu/linux-user/
H A Dsyscall.c4087 struct target_sembuf { struct
4097 struct target_sembuf *target_sembuf; in target_to_host_sembuf() argument
4100 target_sembuf = lock_user(VERIFY_READ, target_addr, in target_to_host_sembuf()
4101 nsops*sizeof(struct target_sembuf), 1); in target_to_host_sembuf()
4102 if (!target_sembuf) in target_to_host_sembuf()
4106 __get_user(host_sembuf[i].sem_num, &target_sembuf[i].sem_num); in target_to_host_sembuf()
4107 __get_user(host_sembuf[i].sem_op, &target_sembuf[i].sem_op); in target_to_host_sembuf()
4108 __get_user(host_sembuf[i].sem_flg, &target_sembuf[i].sem_flg); in target_to_host_sembuf()
4111 unlock_user(target_sembuf, target_addr, 0); in target_to_host_sembuf()