Home
last modified time | relevance | path

Searched refs:v (Results 1 – 5 of 5) sorted by relevance

/ipc/
Dcompat.c41 struct compat_ipc64_perm v; in get_compat_ipc64_perm() local
42 if (copy_from_user(&v, from, sizeof(v))) in get_compat_ipc64_perm()
44 to->uid = v.uid; in get_compat_ipc64_perm()
45 to->gid = v.gid; in get_compat_ipc64_perm()
46 to->mode = v.mode; in get_compat_ipc64_perm()
53 struct compat_ipc_perm v; in get_compat_ipc_perm() local
54 if (copy_from_user(&v, from, sizeof(v))) in get_compat_ipc_perm()
56 to->uid = v.uid; in get_compat_ipc_perm()
57 to->gid = v.gid; in get_compat_ipc_perm()
58 to->mode = v.mode; in get_compat_ipc_perm()
Dmsg.c673 struct compat_msqid64_ds v; in copy_compat_msqid_to_user() local
674 memset(&v, 0, sizeof(v)); in copy_compat_msqid_to_user()
675 to_compat_ipc64_perm(&v.msg_perm, &in->msg_perm); in copy_compat_msqid_to_user()
676 v.msg_stime = lower_32_bits(in->msg_stime); in copy_compat_msqid_to_user()
677 v.msg_stime_high = upper_32_bits(in->msg_stime); in copy_compat_msqid_to_user()
678 v.msg_rtime = lower_32_bits(in->msg_rtime); in copy_compat_msqid_to_user()
679 v.msg_rtime_high = upper_32_bits(in->msg_rtime); in copy_compat_msqid_to_user()
680 v.msg_ctime = lower_32_bits(in->msg_ctime); in copy_compat_msqid_to_user()
681 v.msg_ctime_high = upper_32_bits(in->msg_ctime); in copy_compat_msqid_to_user()
682 v.msg_cbytes = in->msg_cbytes; in copy_compat_msqid_to_user()
[all …]
Dshm.c1292 struct compat_shmid64_ds v; in copy_compat_shmid_to_user() local
1293 memset(&v, 0, sizeof(v)); in copy_compat_shmid_to_user()
1294 to_compat_ipc64_perm(&v.shm_perm, &in->shm_perm); in copy_compat_shmid_to_user()
1295 v.shm_atime = lower_32_bits(in->shm_atime); in copy_compat_shmid_to_user()
1296 v.shm_atime_high = upper_32_bits(in->shm_atime); in copy_compat_shmid_to_user()
1297 v.shm_dtime = lower_32_bits(in->shm_dtime); in copy_compat_shmid_to_user()
1298 v.shm_dtime_high = upper_32_bits(in->shm_dtime); in copy_compat_shmid_to_user()
1299 v.shm_ctime = lower_32_bits(in->shm_ctime); in copy_compat_shmid_to_user()
1300 v.shm_ctime_high = upper_32_bits(in->shm_ctime); in copy_compat_shmid_to_user()
1301 v.shm_segsz = in->shm_segsz; in copy_compat_shmid_to_user()
[all …]
Dsem.c1736 struct compat_semid64_ds v; in copy_compat_semid_to_user() local
1737 memset(&v, 0, sizeof(v)); in copy_compat_semid_to_user()
1738 to_compat_ipc64_perm(&v.sem_perm, &in->sem_perm); in copy_compat_semid_to_user()
1739 v.sem_otime = lower_32_bits(in->sem_otime); in copy_compat_semid_to_user()
1740 v.sem_otime_high = upper_32_bits(in->sem_otime); in copy_compat_semid_to_user()
1741 v.sem_ctime = lower_32_bits(in->sem_ctime); in copy_compat_semid_to_user()
1742 v.sem_ctime_high = upper_32_bits(in->sem_ctime); in copy_compat_semid_to_user()
1743 v.sem_nsems = in->sem_nsems; in copy_compat_semid_to_user()
1744 return copy_to_user(buf, &v, sizeof(v)); in copy_compat_semid_to_user()
1746 struct compat_semid_ds v; in copy_compat_semid_to_user() local
[all …]
Dmqueue.c1432 struct compat_mq_attr v; in get_compat_mq_attr() local
1434 if (copy_from_user(&v, uattr, sizeof(*uattr))) in get_compat_mq_attr()
1438 attr->mq_flags = v.mq_flags; in get_compat_mq_attr()
1439 attr->mq_maxmsg = v.mq_maxmsg; in get_compat_mq_attr()
1440 attr->mq_msgsize = v.mq_msgsize; in get_compat_mq_attr()
1441 attr->mq_curmsgs = v.mq_curmsgs; in get_compat_mq_attr()
1448 struct compat_mq_attr v; in put_compat_mq_attr() local
1450 memset(&v, 0, sizeof(v)); in put_compat_mq_attr()
1451 v.mq_flags = attr->mq_flags; in put_compat_mq_attr()
1452 v.mq_maxmsg = attr->mq_maxmsg; in put_compat_mq_attr()
[all …]