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.c4041 struct target_sembuf { struct
4051 struct target_sembuf *target_sembuf; in target_to_host_sembuf() argument
4054 target_sembuf = lock_user(VERIFY_READ, target_addr, in target_to_host_sembuf()
4055 nsops*sizeof(struct target_sembuf), 1); in target_to_host_sembuf()
4056 if (!target_sembuf) in target_to_host_sembuf()
4060 __get_user(host_sembuf[i].sem_num, &target_sembuf[i].sem_num); in target_to_host_sembuf()
4061 __get_user(host_sembuf[i].sem_op, &target_sembuf[i].sem_op); in target_to_host_sembuf()
4062 __get_user(host_sembuf[i].sem_flg, &target_sembuf[i].sem_flg); in target_to_host_sembuf()
4065 unlock_user(target_sembuf, target_addr, 0); in target_to_host_sembuf()