Lines Matching defs:target_sd
3805 struct target_semid64_ds *target_sd;
3807 if (!lock_user_struct(VERIFY_READ, target_sd, target_addr, 1))
3809 target_ip = &(target_sd->sem_perm);
3825 unlock_user_struct(target_sd, target_addr, 0);
3833 struct target_semid64_ds *target_sd;
3835 if (!lock_user_struct(VERIFY_WRITE, target_sd, target_addr, 0))
3837 target_ip = &(target_sd->sem_perm);
3853 unlock_user_struct(target_sd, target_addr, 1);
3860 struct target_semid64_ds *target_sd;
3862 if (!lock_user_struct(VERIFY_READ, target_sd, target_addr, 1))
3866 host_sd->sem_nsems = tswapal(target_sd->sem_nsems);
3867 host_sd->sem_otime = tswapal(target_sd->sem_otime);
3868 host_sd->sem_ctime = tswapal(target_sd->sem_ctime);
3869 unlock_user_struct(target_sd, target_addr, 0);
3876 struct target_semid64_ds *target_sd;
3878 if (!lock_user_struct(VERIFY_WRITE, target_sd, target_addr, 0))
3882 target_sd->sem_nsems = tswapal(host_sd->sem_nsems);
3883 target_sd->sem_otime = tswapal(host_sd->sem_otime);
3884 target_sd->sem_ctime = tswapal(host_sd->sem_ctime);
3885 unlock_user_struct(target_sd, target_addr, 1);
4407 struct target_shmid_ds *target_sd;
4409 if (!lock_user_struct(VERIFY_READ, target_sd, target_addr, 1))
4413 __get_user(host_sd->shm_segsz, &target_sd->shm_segsz);
4414 __get_user(host_sd->shm_atime, &target_sd->shm_atime);
4415 __get_user(host_sd->shm_dtime, &target_sd->shm_dtime);
4416 __get_user(host_sd->shm_ctime, &target_sd->shm_ctime);
4417 __get_user(host_sd->shm_cpid, &target_sd->shm_cpid);
4418 __get_user(host_sd->shm_lpid, &target_sd->shm_lpid);
4419 __get_user(host_sd->shm_nattch, &target_sd->shm_nattch);
4420 unlock_user_struct(target_sd, target_addr, 0);
4427 struct target_shmid_ds *target_sd;
4429 if (!lock_user_struct(VERIFY_WRITE, target_sd, target_addr, 0))
4433 __put_user(host_sd->shm_segsz, &target_sd->shm_segsz);
4434 __put_user(host_sd->shm_atime, &target_sd->shm_atime);
4435 __put_user(host_sd->shm_dtime, &target_sd->shm_dtime);
4436 __put_user(host_sd->shm_ctime, &target_sd->shm_ctime);
4437 __put_user(host_sd->shm_cpid, &target_sd->shm_cpid);
4438 __put_user(host_sd->shm_lpid, &target_sd->shm_lpid);
4439 __put_user(host_sd->shm_nattch, &target_sd->shm_nattch);
4440 unlock_user_struct(target_sd, target_addr, 1);