Searched refs:kern_ipc_perm (Results 1 – 6 of 6) sorted by relevance
/ipc/ |
D | util.h | 82 int (*associate)(struct kern_ipc_perm *, int); 83 int (*more_checks)(struct kern_ipc_perm *, struct ipc_params *); 106 int ipc_addid(struct ipc_ids *, struct kern_ipc_perm *, int); 112 void ipc_rmid(struct ipc_ids *, struct kern_ipc_perm *); 115 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flg); 134 struct kern_ipc_perm *ipc_lock(struct ipc_ids *, int); 135 struct kern_ipc_perm *ipc_obtain_object(struct ipc_ids *ids, int id); 137 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out); 139 int ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out); 140 struct kern_ipc_perm *ipcctl_pre_down_nolock(struct ipc_namespace *ns, [all …]
|
D | util.c | 192 static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key) in ipc_findkey() 194 struct kern_ipc_perm *ipc; in ipc_findkey() 225 struct kern_ipc_perm *ipc; in ipc_get_maxid() 260 int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int size) in ipc_addid() 346 struct kern_ipc_perm *ipcp, in ipc_check_perms() 380 struct kern_ipc_perm *ipcp; in ipcget_public() 428 void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp) in ipc_rmid() 527 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) in ipcperms() 561 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out) in kernel_to_ipc64_perm() 601 struct kern_ipc_perm *ipc_obtain_object(struct ipc_ids *ids, int id) in ipc_obtain_object() [all …]
|
D | namespace.c | 78 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *)) in free_ipcs() argument 80 struct kern_ipc_perm *perm; in free_ipcs()
|
D | shm.c | 89 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid() 132 struct kern_ipc_perm *ipcp = ipc_obtain_object(&shm_ids(ns), id); in shm_obtain_object() 142 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&shm_ids(ns), id); in shm_obtain_object_check() 156 struct kern_ipc_perm *ipcp = ipc_lock(&shm_ids(ns), id); in shm_lock() 275 struct kern_ipc_perm *ipcp = p; in shm_try_destroy_orphaned() 594 static inline int shm_security(struct kern_ipc_perm *ipcp, int shmflg) in shm_security() 605 static inline int shm_more_checks(struct kern_ipc_perm *ipcp, in shm_more_checks() 757 struct kern_ipc_perm *ipc; in shm_get_stat() 779 struct kern_ipc_perm *ipcp; in shmctl_down()
|
D | sem.c | 148 static void freeary(struct ipc_namespace *, struct kern_ipc_perm *); 400 struct kern_ipc_perm *ipcp; in sem_obtain_lock() 422 struct kern_ipc_perm *ipcp = ipc_obtain_object(&sem_ids(ns), id); in sem_obtain_object() 433 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&sem_ids(ns), id); in sem_obtain_object_check() 558 static inline int sem_security(struct kern_ipc_perm *ipcp, int semflg) in sem_security() 569 static inline int sem_more_checks(struct kern_ipc_perm *ipcp, in sem_more_checks() 1086 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary() 1536 struct kern_ipc_perm *ipcp; in semctl_down()
|
D | msg.c | 79 struct kern_ipc_perm *ipcp = ipc_obtain_object(&msg_ids(ns), id); in msq_obtain_object() 90 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&msg_ids(ns), id); in msq_obtain_object_check() 212 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeque() 234 static inline int msg_security(struct kern_ipc_perm *ipcp, int msgflg) in msg_security() 342 struct kern_ipc_perm *ipcp; in msgctl_down()
|