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.c4043 struct target_sembuf { struct
4053 struct target_sembuf *target_sembuf; in target_to_host_sembuf() argument
4056 target_sembuf = lock_user(VERIFY_READ, target_addr, in target_to_host_sembuf()
4057 nsops*sizeof(struct target_sembuf), 1); in target_to_host_sembuf()
4058 if (!target_sembuf) in target_to_host_sembuf()
4062 __get_user(host_sembuf[i].sem_num, &target_sembuf[i].sem_num); in target_to_host_sembuf()
4063 __get_user(host_sembuf[i].sem_op, &target_sembuf[i].sem_op); in target_to_host_sembuf()
4064 __get_user(host_sembuf[i].sem_flg, &target_sembuf[i].sem_flg); in target_to_host_sembuf()
4067 unlock_user(target_sembuf, target_addr, 0); in target_to_host_sembuf()