Home
last modified time | relevance | path

Searched refs:kern_ipc_perm (Results 1 – 6 of 6) sorted by relevance

/ipc/
Dutil.h108 int (*associate)(struct kern_ipc_perm *, int);
109 int (*more_checks)(struct kern_ipc_perm *, struct ipc_params *);
133 int ipc_addid(struct ipc_ids *, struct kern_ipc_perm *, int);
136 void ipc_rmid(struct ipc_ids *, struct kern_ipc_perm *);
139 void ipc_set_key_private(struct ipc_ids *, struct kern_ipc_perm *);
142 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flg);
173 bool ipc_rcu_getref(struct kern_ipc_perm *ptr);
174 void ipc_rcu_putref(struct kern_ipc_perm *ptr,
177 struct kern_ipc_perm *ipc_obtain_object_idr(struct ipc_ids *ids, int id);
179 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out);
[all …]
Dutil.c102 .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()
[all …]
Dshm.c54 struct kern_ipc_perm shm_perm;
122 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid()
168 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_obtain_object()
178 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&shm_ids(ns), id); in shm_obtain_object_check()
192 struct kern_ipc_perm *ipcp; in shm_lock()
230 struct kern_ipc_perm *ptr = container_of(head, struct kern_ipc_perm, in shm_rcu_free()
398 struct kern_ipc_perm *ipcp = p; in shm_try_destroy_orphaned()
810 static int shm_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params) in shm_more_checks()
967 struct kern_ipc_perm *ipc; in shm_get_stat()
989 struct kern_ipc_perm *ipcp; in shmctl_down()
[all …]
Dmsg.c49 struct kern_ipc_perm q_perm;
103 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&msg_ids(ns), id); in msq_obtain_object()
114 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&msg_ids(ns), id); in msq_obtain_object_check()
129 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in msg_rcu_free()
272 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeque()
403 struct kern_ipc_perm *ipcp; in msgctl_down()
1325 struct kern_ipc_perm *ipcp = it; in sysvipc_msg_proc_show()
Dnamespace.c96 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *)) in free_ipcs() argument
98 struct kern_ipc_perm *perm; in free_ipcs()
Dsem.c115 struct kern_ipc_perm sem_perm; /* permissions .. see ipc.h */
172 static void freeary(struct ipc_namespace *, struct kern_ipc_perm *);
325 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in sem_rcu_free()
480 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&sem_ids(ns), id); in sem_obtain_object()
491 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&sem_ids(ns), id); in sem_obtain_object_check()
591 static int sem_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params) in sem_more_checks()
1144 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary()
1608 struct kern_ipc_perm *ipcp; in semctl_down()
2457 struct kern_ipc_perm *ipcp = it; in sysvipc_sem_proc_show()