Home
last modified time | relevance | path

Searched refs:p (Results 1 – 4 of 4) sorted by relevance

/ipc/
Dmqueue.c133 struct rb_node **p, *parent = NULL; in msg_insert() local
137 p = &info->msg_tree.rb_node; in msg_insert()
138 while (*p) { in msg_insert()
139 parent = *p; in msg_insert()
145 p = &(*p)->rb_left; in msg_insert()
148 p = &(*p)->rb_right; in msg_insert()
164 rb_link_node(&leaf->rb_node, parent, p); in msg_insert()
417 struct mqueue_inode_info *p = (struct mqueue_inode_info *) foo; in init_once() local
419 inode_init_once(&p->vfs_inode); in init_once()
1187 struct timespec64 ts, *p = NULL; in SYSCALL_DEFINE5() local
[all …]
Dmsg.c119 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in msg_rcu_free() local
120 struct msg_queue *msq = container_of(p, struct msg_queue, q_perm); in msg_rcu_free()
492 int cmd, struct msqid64_ds *p) in msgctl_stat() argument
497 memset(p, 0, sizeof(*p)); in msgctl_stat()
535 kernel_to_ipc64_perm(&msq->q_perm, &p->msg_perm); in msgctl_stat()
536 p->msg_stime = msq->q_stime; in msgctl_stat()
537 p->msg_rtime = msq->q_rtime; in msgctl_stat()
538 p->msg_ctime = msq->q_ctime; in msgctl_stat()
540 p->msg_stime_high = msq->q_stime >> 32; in msgctl_stat()
541 p->msg_rtime_high = msq->q_rtime >> 32; in msgctl_stat()
[all …]
Dsem.c300 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in sem_rcu_free() local
301 struct sem_array *sma = container_of(p, struct sem_array, sem_perm); in sem_rcu_free()
1290 int cmd, void __user *p) in semctl_info() argument
1319 if (copy_to_user(p, &seminfo, sizeof(struct seminfo))) in semctl_info()
1387 int cmd, void __user *p) in semctl_main() argument
1417 ushort __user *array = p; in semctl_main()
1475 if (copy_from_user(sem_io, p, nsems*sizeof(ushort))) { in semctl_main()
1636 void __user *p = (void __user *)arg; in ksys_semctl() local
1648 return semctl_info(ns, semid, cmd, p); in ksys_semctl()
1655 if (copy_semid_to_user(p, &semid64, version)) in ksys_semctl()
[all …]
Dshm.c352 static int shm_try_destroy_orphaned(int id, void *p, void *data) in shm_try_destroy_orphaned() argument
355 struct kern_ipc_perm *ipcp = p; in shm_try_destroy_orphaned()
1327 struct compat_shmid64_ds __user *p = buf; in copy_compat_shmid_from_user() local
1328 return get_compat_ipc64_perm(&out->shm_perm, &p->shm_perm); in copy_compat_shmid_from_user()
1330 struct compat_shmid_ds __user *p = buf; in copy_compat_shmid_from_user() local
1331 return get_compat_ipc_perm(&out->shm_perm, &p->shm_perm); in copy_compat_shmid_from_user()