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);
170 bool ipc_rcu_getref(struct kern_ipc_perm *ptr);
171 void ipc_rcu_putref(struct kern_ipc_perm *ptr,
174 struct kern_ipc_perm *ipc_obtain_object_idr(struct ipc_ids *ids, int id);
176 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out);
[all …]
Dutil.c101 .head_offset = offsetof(struct kern_ipc_perm, khtnode),
102 .key_offset = offsetof(struct kern_ipc_perm, key),
103 .key_len = FIELD_SIZEOF(struct kern_ipc_perm, key),
171 static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key) in ipc_findkey()
173 struct kern_ipc_perm *ipcp; in ipc_findkey()
201 static inline int ipc_idr_alloc(struct ipc_ids *ids, struct kern_ipc_perm *new) in ipc_idr_alloc()
277 int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int limit) in ipc_addid()
365 struct kern_ipc_perm *ipcp, in ipc_check_perms()
399 struct kern_ipc_perm *ipcp; in ipcget_public()
446 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;
113 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid()
158 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_obtain_object()
168 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&shm_ids(ns), id); in shm_obtain_object_check()
182 struct kern_ipc_perm *ipcp; in shm_lock()
220 struct kern_ipc_perm *ptr = container_of(head, struct kern_ipc_perm, in shm_rcu_free()
355 struct kern_ipc_perm *ipcp = p; in shm_try_destroy_orphaned()
714 static inline int shm_more_checks(struct kern_ipc_perm *ipcp, in shm_more_checks()
872 struct kern_ipc_perm *ipc; in shm_get_stat()
894 struct kern_ipc_perm *ipcp; in shmctl_down()
[all …]
Dmsg.c49 struct kern_ipc_perm q_perm;
93 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&msg_ids(ns), id); in msq_obtain_object()
104 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&msg_ids(ns), id); in msq_obtain_object_check()
119 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in msg_rcu_free()
253 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeque()
382 struct kern_ipc_perm *ipcp; in msgctl_down()
1291 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 *);
300 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in sem_rcu_free()
458 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&sem_ids(ns), id); in sem_obtain_object()
469 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&sem_ids(ns), id); in sem_obtain_object_check()
569 static inline int sem_more_checks(struct kern_ipc_perm *ipcp, in sem_more_checks()
1124 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary()
1588 struct kern_ipc_perm *ipcp; in semctl_down()
2417 struct kern_ipc_perm *ipcp = it; in sysvipc_sem_proc_show()