Home
last modified time | relevance | path

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

/ipc/
Dmqueue.c195 struct rb_node **p, *parent = NULL; in msg_insert() local
199 p = &info->msg_tree.rb_node; in msg_insert()
200 while (*p) { in msg_insert()
201 parent = *p; in msg_insert()
207 p = &(*p)->rb_left; in msg_insert()
210 p = &(*p)->rb_right; in msg_insert()
226 rb_link_node(&leaf->rb_node, parent, p); in msg_insert()
491 struct mqueue_inode_info *p = (struct mqueue_inode_info *) foo; in init_once() local
493 inode_init_once(&p->vfs_inode); in init_once()
1288 struct timespec64 ts, *p = NULL; in SYSCALL_DEFINE5() local
[all …]
Dmsg.c129 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in msg_rcu_free() local
130 struct msg_queue *msq = container_of(p, struct msg_queue, q_perm); in msg_rcu_free()
513 int cmd, struct msqid64_ds *p) in msgctl_stat() argument
518 memset(p, 0, sizeof(*p)); in msgctl_stat()
556 kernel_to_ipc64_perm(&msq->q_perm, &p->msg_perm); in msgctl_stat()
557 p->msg_stime = msq->q_stime; in msgctl_stat()
558 p->msg_rtime = msq->q_rtime; in msgctl_stat()
559 p->msg_ctime = msq->q_ctime; in msgctl_stat()
561 p->msg_stime_high = msq->q_stime >> 32; in msgctl_stat()
562 p->msg_rtime_high = msq->q_rtime >> 32; in msgctl_stat()
[all …]
Dsem.c323 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in sem_rcu_free() local
324 struct sem_array *sma = container_of(p, struct sem_array, sem_perm); in sem_rcu_free()
1307 int cmd, void __user *p) in semctl_info() argument
1336 if (copy_to_user(p, &seminfo, sizeof(struct seminfo))) in semctl_info()
1404 int cmd, void __user *p) in semctl_main() argument
1434 ushort __user *array = p; in semctl_main()
1492 if (copy_from_user(sem_io, p, nsems*sizeof(ushort))) { in semctl_main()
1653 void __user *p = (void __user *)arg; in ksys_semctl() local
1665 return semctl_info(ns, semid, cmd, p); in ksys_semctl()
1672 if (copy_semid_to_user(p, &semid64, version)) in ksys_semctl()
[all …]
Dshm.c395 static int shm_try_destroy_orphaned(int id, void *p, void *data) in shm_try_destroy_orphaned() argument
398 struct kern_ipc_perm *ipcp = p; in shm_try_destroy_orphaned()
1422 struct compat_shmid64_ds __user *p = buf; in copy_compat_shmid_from_user() local
1423 return get_compat_ipc64_perm(&out->shm_perm, &p->shm_perm); in copy_compat_shmid_from_user()
1425 struct compat_shmid_ds __user *p = buf; in copy_compat_shmid_from_user() local
1426 return get_compat_ipc_perm(&out->shm_perm, &p->shm_perm); in copy_compat_shmid_from_user()