Lines Matching refs:kern_ipc_perm

102 	.head_offset		= offsetof(struct kern_ipc_perm, khtnode),
103 .key_offset = offsetof(struct kern_ipc_perm, key),
104 .key_len = sizeof_field(struct kern_ipc_perm, key),
172 static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key) in ipc_findkey()
174 struct kern_ipc_perm *ipcp; in ipc_findkey()
202 static inline int ipc_idr_alloc(struct ipc_ids *ids, struct kern_ipc_perm *new) in ipc_idr_alloc()
278 int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int limit) in ipc_addid()
366 struct kern_ipc_perm *ipcp, in ipc_check_perms()
400 struct kern_ipc_perm *ipcp; in ipcget_public()
447 static void ipc_kht_remove(struct ipc_ids *ids, struct kern_ipc_perm *ipcp) in ipc_kht_remove()
497 void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp) in ipc_rmid()
522 void ipc_set_key_private(struct ipc_ids *ids, struct kern_ipc_perm *ipcp) in ipc_set_key_private()
528 bool ipc_rcu_getref(struct kern_ipc_perm *ptr) in ipc_rcu_getref()
533 void ipc_rcu_putref(struct kern_ipc_perm *ptr, in ipc_rcu_putref()
553 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) in ipcperms()
587 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out) in kernel_to_ipc64_perm()
627 struct kern_ipc_perm *ipc_obtain_object_idr(struct ipc_ids *ids, int id) in ipc_obtain_object_idr()
629 struct kern_ipc_perm *out; in ipc_obtain_object_idr()
650 struct kern_ipc_perm *ipc_obtain_object_check(struct ipc_ids *ids, int id) in ipc_obtain_object_check()
652 struct kern_ipc_perm *out = ipc_obtain_object_idr(ids, id); in ipc_obtain_object_check()
687 int ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out) in ipc_update_perm()
722 struct kern_ipc_perm *ipcctl_obtain_check(struct ipc_namespace *ns, in ipcctl_obtain_check()
728 struct kern_ipc_perm *ipcp; in ipcctl_obtain_check()
800 static struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t *pos) in sysvipc_find_ipc()
803 struct kern_ipc_perm *ipc; in sysvipc_find_ipc()
823 struct kern_ipc_perm *ipc = it; in sysvipc_proc_next()
866 struct kern_ipc_perm *ipc = it; in sysvipc_proc_stop()