Searched refs:ptr (Results 1 – 5 of 5) sorted by relevance
/ipc/ |
D | syscall.c | 21 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 …]
|
D | util.c | 528 bool ipc_rcu_getref(struct kern_ipc_perm *ptr) in ipc_rcu_getref() argument 530 return refcount_inc_not_zero(&ptr->refcount); in ipc_rcu_getref() 533 void ipc_rcu_putref(struct kern_ipc_perm *ptr, in ipc_rcu_putref() argument 536 if (!refcount_dec_and_test(&ptr->refcount)) in ipc_rcu_putref() 539 call_rcu(&ptr->rcu, func); in ipc_rcu_putref()
|
D | util.h | 173 bool ipc_rcu_getref(struct kern_ipc_perm *ptr); 174 void ipc_rcu_putref(struct kern_ipc_perm *ptr,
|
D | mqueue.c | 767 struct list_head *ptr; in wq_get_first_waiter() local 769 ptr = info->e_wait_q[sr].list.prev; in wq_get_first_waiter() 770 if (ptr == &info->e_wait_q[sr].list) in wq_get_first_waiter() 772 return list_entry(ptr, struct ext_wait_queue, list); in wq_get_first_waiter()
|
D | shm.c | 230 struct kern_ipc_perm *ptr = container_of(head, struct kern_ipc_perm, in shm_rcu_free() local 232 struct shmid_kernel *shp = container_of(ptr, struct shmid_kernel, in shm_rcu_free()
|