Home
last modified time | relevance | path

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

/openbmc/qemu/bsd-user/
H A Dbsd-mem.c46 abi_long target_to_host_shmid_ds(struct shmid_ds *host_sd, in target_to_host_shmid_ds() argument
55 target_to_host_ipc_perm__locked(&(host_sd->shm_perm), in target_to_host_shmid_ds()
58 __get_user(host_sd->shm_segsz, &target_sd->shm_segsz); in target_to_host_shmid_ds()
59 __get_user(host_sd->shm_lpid, &target_sd->shm_lpid); in target_to_host_shmid_ds()
60 __get_user(host_sd->shm_cpid, &target_sd->shm_cpid); in target_to_host_shmid_ds()
61 __get_user(host_sd->shm_nattch, &target_sd->shm_nattch); in target_to_host_shmid_ds()
62 __get_user(host_sd->shm_atime, &target_sd->shm_atime); in target_to_host_shmid_ds()
63 __get_user(host_sd->shm_dtime, &target_sd->shm_dtime); in target_to_host_shmid_ds()
64 __get_user(host_sd->shm_ctime, &target_sd->shm_ctime); in target_to_host_shmid_ds()
83 struct shmid_ds *host_sd) in host_to_target_shmid_ds() argument
[all …]
H A Dqemu-bsd.h53 abi_long target_to_host_shmid_ds(struct shmid_ds *host_sd,
56 struct shmid_ds *host_sd);
/openbmc/qemu/linux-user/
H A Dsyscall.c3827 static inline abi_long target_to_host_semid_ds(struct semid_ds *host_sd, in target_to_host_semid_ds() argument
3834 if (target_to_host_ipc_perm(&(host_sd->sem_perm),target_addr)) in target_to_host_semid_ds()
3836 host_sd->sem_nsems = tswapal(target_sd->sem_nsems); in target_to_host_semid_ds()
3837 host_sd->sem_otime = tswapal(target_sd->sem_otime); in target_to_host_semid_ds()
3838 host_sd->sem_ctime = tswapal(target_sd->sem_ctime); in target_to_host_semid_ds()
3844 struct semid_ds *host_sd) in host_to_target_semid_ds() argument
3850 if (host_to_target_ipc_perm(target_addr,&(host_sd->sem_perm))) in host_to_target_semid_ds()
3852 target_sd->sem_nsems = tswapal(host_sd->sem_nsems); in host_to_target_semid_ds()
3853 target_sd->sem_otime = tswapal(host_sd->sem_otime); in host_to_target_semid_ds()
3854 target_sd->sem_ctime = tswapal(host_sd->sem_ctime); in host_to_target_semid_ds()
[all …]