Searched refs:in (Results 1 – 5 of 5) sorted by relevance
/ipc/ |
D | shm.c | 750 static inline unsigned long copy_shmid_to_user(void __user *buf, struct shmid64_ds *in, int version) in copy_shmid_to_user() argument 754 return copy_to_user(buf, in, sizeof(*in)); in copy_shmid_to_user() 760 ipc64_perm_to_ipc_perm(&in->shm_perm, &out.shm_perm); in copy_shmid_to_user() 761 out.shm_segsz = in->shm_segsz; in copy_shmid_to_user() 762 out.shm_atime = in->shm_atime; in copy_shmid_to_user() 763 out.shm_dtime = in->shm_dtime; in copy_shmid_to_user() 764 out.shm_ctime = in->shm_ctime; in copy_shmid_to_user() 765 out.shm_cpid = in->shm_cpid; in copy_shmid_to_user() 766 out.shm_lpid = in->shm_lpid; in copy_shmid_to_user() 767 out.shm_nattch = in->shm_nattch; in copy_shmid_to_user() [all …]
|
D | msg.c | 299 copy_msqid_to_user(void __user *buf, struct msqid64_ds *in, int version) in copy_msqid_to_user() argument 303 return copy_to_user(buf, in, sizeof(*in)); in copy_msqid_to_user() 310 ipc64_perm_to_ipc_perm(&in->msg_perm, &out.msg_perm); in copy_msqid_to_user() 312 out.msg_stime = in->msg_stime; in copy_msqid_to_user() 313 out.msg_rtime = in->msg_rtime; in copy_msqid_to_user() 314 out.msg_ctime = in->msg_ctime; in copy_msqid_to_user() 316 if (in->msg_cbytes > USHRT_MAX) in copy_msqid_to_user() 319 out.msg_cbytes = in->msg_cbytes; in copy_msqid_to_user() 320 out.msg_lcbytes = in->msg_cbytes; in copy_msqid_to_user() 322 if (in->msg_qnum > USHRT_MAX) in copy_msqid_to_user() [all …]
|
D | util.c | 553 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out) in kernel_to_ipc64_perm() argument 555 out->key = in->key; in kernel_to_ipc64_perm() 556 out->uid = from_kuid_munged(current_user_ns(), in->uid); in kernel_to_ipc64_perm() 557 out->gid = from_kgid_munged(current_user_ns(), in->gid); in kernel_to_ipc64_perm() 558 out->cuid = from_kuid_munged(current_user_ns(), in->cuid); in kernel_to_ipc64_perm() 559 out->cgid = from_kgid_munged(current_user_ns(), in->cgid); in kernel_to_ipc64_perm() 560 out->mode = in->mode; in kernel_to_ipc64_perm() 561 out->seq = in->seq; in kernel_to_ipc64_perm() 572 void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out) in ipc64_perm_to_ipc_perm() argument 574 out->key = in->key; in ipc64_perm_to_ipc_perm() [all …]
|
D | sem.c | 1176 static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in, int version) in copy_semid_to_user() argument 1180 return copy_to_user(buf, in, sizeof(*in)); in copy_semid_to_user() 1187 ipc64_perm_to_ipc_perm(&in->sem_perm, &out.sem_perm); in copy_semid_to_user() 1189 out.sem_otime = in->sem_otime; in copy_semid_to_user() 1190 out.sem_ctime = in->sem_ctime; in copy_semid_to_user() 1191 out.sem_nsems = in->sem_nsems; in copy_semid_to_user() 1732 static int copy_compat_semid_to_user(void __user *buf, struct semid64_ds *in, in copy_compat_semid_to_user() argument 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() [all …]
|
D | util.h | 176 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out); 177 void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out); 178 int ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out);
|