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.c695 struct compat_msqid64_ds v; in copy_compat_msqid_to_user() local
696 memset(&v, 0, sizeof(v)); in copy_compat_msqid_to_user()
697 to_compat_ipc64_perm(&v.msg_perm, &in->msg_perm); in copy_compat_msqid_to_user()
698 v.msg_stime = lower_32_bits(in->msg_stime); in copy_compat_msqid_to_user()
699 v.msg_stime_high = upper_32_bits(in->msg_stime); in copy_compat_msqid_to_user()
700 v.msg_rtime = lower_32_bits(in->msg_rtime); in copy_compat_msqid_to_user()
701 v.msg_rtime_high = upper_32_bits(in->msg_rtime); in copy_compat_msqid_to_user()
702 v.msg_ctime = lower_32_bits(in->msg_ctime); in copy_compat_msqid_to_user()
703 v.msg_ctime_high = upper_32_bits(in->msg_ctime); in copy_compat_msqid_to_user()
704 v.msg_cbytes = in->msg_cbytes; in copy_compat_msqid_to_user()
[all …]
Dshm.c1387 struct compat_shmid64_ds v; in copy_compat_shmid_to_user() local
1388 memset(&v, 0, sizeof(v)); in copy_compat_shmid_to_user()
1389 to_compat_ipc64_perm(&v.shm_perm, &in->shm_perm); in copy_compat_shmid_to_user()
1390 v.shm_atime = lower_32_bits(in->shm_atime); in copy_compat_shmid_to_user()
1391 v.shm_atime_high = upper_32_bits(in->shm_atime); in copy_compat_shmid_to_user()
1392 v.shm_dtime = lower_32_bits(in->shm_dtime); in copy_compat_shmid_to_user()
1393 v.shm_dtime_high = upper_32_bits(in->shm_dtime); in copy_compat_shmid_to_user()
1394 v.shm_ctime = lower_32_bits(in->shm_ctime); in copy_compat_shmid_to_user()
1395 v.shm_ctime_high = upper_32_bits(in->shm_ctime); in copy_compat_shmid_to_user()
1396 v.shm_segsz = in->shm_segsz; in copy_compat_shmid_to_user()
[all …]
Dsem.c1753 struct compat_semid64_ds v; in copy_compat_semid_to_user() local
1754 memset(&v, 0, sizeof(v)); in copy_compat_semid_to_user()
1755 to_compat_ipc64_perm(&v.sem_perm, &in->sem_perm); in copy_compat_semid_to_user()
1756 v.sem_otime = lower_32_bits(in->sem_otime); in copy_compat_semid_to_user()
1757 v.sem_otime_high = upper_32_bits(in->sem_otime); in copy_compat_semid_to_user()
1758 v.sem_ctime = lower_32_bits(in->sem_ctime); in copy_compat_semid_to_user()
1759 v.sem_ctime_high = upper_32_bits(in->sem_ctime); in copy_compat_semid_to_user()
1760 v.sem_nsems = in->sem_nsems; in copy_compat_semid_to_user()
1761 return copy_to_user(buf, &v, sizeof(v)); in copy_compat_semid_to_user()
1763 struct compat_semid_ds v; in copy_compat_semid_to_user() local
[all …]
Dmqueue.c1534 struct compat_mq_attr v; in get_compat_mq_attr() local
1536 if (copy_from_user(&v, uattr, sizeof(*uattr))) in get_compat_mq_attr()
1540 attr->mq_flags = v.mq_flags; in get_compat_mq_attr()
1541 attr->mq_maxmsg = v.mq_maxmsg; in get_compat_mq_attr()
1542 attr->mq_msgsize = v.mq_msgsize; in get_compat_mq_attr()
1543 attr->mq_curmsgs = v.mq_curmsgs; in get_compat_mq_attr()
1550 struct compat_mq_attr v; in put_compat_mq_attr() local
1552 memset(&v, 0, sizeof(v)); in put_compat_mq_attr()
1553 v.mq_flags = attr->mq_flags; in put_compat_mq_attr()
1554 v.mq_maxmsg = attr->mq_maxmsg; in put_compat_mq_attr()
[all …]