Searched refs:target_sd (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/bsd-user/ |
H A D | bsd-mem.c | 49 struct target_shmid_ds *target_sd; in target_to_host_shmid_ds() local 51 if (!lock_user_struct(VERIFY_READ, target_sd, target_addr, 1)) { in target_to_host_shmid_ds() 56 &(target_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() [all …]
|
/openbmc/linux/fs/configfs/ |
H A D | symlink.c | 81 struct configfs_dirent *target_sd = item->ci_dentry->d_fsdata; in create_link() local 85 if (!configfs_dirent_is_ready(target_sd)) in create_link() 92 configfs_get(target_sd); in create_link() 94 if (target_sd->s_type & CONFIGFS_USET_DROPPING) { in create_link() 96 configfs_put(target_sd); in create_link() 100 target_sd->s_links++; in create_link() 104 ret = configfs_create_link(target_sd, parent_item->ci_dentry, in create_link() 108 target_sd->s_links--; in create_link() 110 configfs_put(target_sd); in create_link() 222 struct configfs_dirent *sd = dentry->d_fsdata, *target_sd; in configfs_unlink() local [all …]
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 3773 struct target_semid64_ds *target_sd; in target_to_host_ipc_perm() local 3775 if (!lock_user_struct(VERIFY_READ, target_sd, target_addr, 1)) in target_to_host_ipc_perm() 3777 target_ip = &(target_sd->sem_perm); in target_to_host_ipc_perm() 3793 unlock_user_struct(target_sd, target_addr, 0); in target_to_host_ipc_perm() 3801 struct target_semid64_ds *target_sd; in host_to_target_ipc_perm() local 3803 if (!lock_user_struct(VERIFY_WRITE, target_sd, target_addr, 0)) in host_to_target_ipc_perm() 3805 target_ip = &(target_sd->sem_perm); in host_to_target_ipc_perm() 3821 unlock_user_struct(target_sd, target_addr, 1); in host_to_target_ipc_perm() 3828 struct target_semid64_ds *target_sd; in target_to_host_semid_ds() local 3830 if (!lock_user_struct(VERIFY_READ, target_sd, target_addr, 1)) in target_to_host_semid_ds() [all …]
|