Home
last modified time | relevance | path

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

/ipc/
Dsyscall.c21 unsigned long third, void __user * ptr, long fifth) in ksys_ipc() argument
30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc()
34 return ksys_semtimedop(first, ptr, second, in ksys_ipc()
37 return compat_ksys_semtimedop(first, ptr, second, in ksys_ipc()
46 if (!ptr) in ksys_ipc()
48 if (get_user(arg, (unsigned long __user *) ptr)) in ksys_ipc()
54 return ksys_msgsnd(first, (struct msgbuf __user *) ptr, in ksys_ipc()
60 if (!ptr) in ksys_ipc()
64 (struct ipc_kludge __user *) ptr, in ksys_ipc()
72 (struct msgbuf __user *) ptr, in ksys_ipc()
[all …]
Dutil.c494 bool ipc_rcu_getref(struct kern_ipc_perm *ptr) in ipc_rcu_getref() argument
496 return refcount_inc_not_zero(&ptr->refcount); in ipc_rcu_getref()
499 void ipc_rcu_putref(struct kern_ipc_perm *ptr, in ipc_rcu_putref() argument
502 if (!refcount_dec_and_test(&ptr->refcount)) in ipc_rcu_putref()
505 call_rcu(&ptr->rcu, func); in ipc_rcu_putref()
Dutil.h170 bool ipc_rcu_getref(struct kern_ipc_perm *ptr);
171 void ipc_rcu_putref(struct kern_ipc_perm *ptr,
Dmqueue.c686 struct list_head *ptr; in wq_get_first_waiter() local
688 ptr = info->e_wait_q[sr].list.prev; in wq_get_first_waiter()
689 if (ptr == &info->e_wait_q[sr].list) in wq_get_first_waiter()
691 return list_entry(ptr, struct ext_wait_queue, list); in wq_get_first_waiter()
Dshm.c220 struct kern_ipc_perm *ptr = container_of(head, struct kern_ipc_perm, in shm_rcu_free() local
222 struct shmid_kernel *shp = container_of(ptr, struct shmid_kernel, in shm_rcu_free()