Lines Matching refs:ipc_ids

115 void ipc_init_ids(struct ipc_ids *ids)
170 * Called with writer ipc_ids.rwsem held.
172 static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key)
202 static inline int ipc_idr_alloc(struct ipc_ids *ids, struct kern_ipc_perm *new)
276 * Called with writer ipc_ids.rwsem held.
278 int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int limit)
339 static int ipcget_new(struct ipc_namespace *ns, struct ipc_ids *ids,
363 * It is called with ipc_ids.rwsem and ipcp->lock held.
397 static int ipcget_public(struct ipc_namespace *ns, struct ipc_ids *ids,
444 * ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
447 static void ipc_kht_remove(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)
465 * ipc_ids.rwsem needs to be held by the caller.
467 static int ipc_search_maxidx(struct ipc_ids *ids, int limit)
494 * ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
497 void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)
519 * ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
522 void ipc_set_key_private(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)
627 struct kern_ipc_perm *ipc_obtain_object_idr(struct ipc_ids *ids, int id)
650 struct kern_ipc_perm *ipc_obtain_object_check(struct ipc_ids *ids, int id)
673 int ipcget(struct ipc_namespace *ns, struct ipc_ids *ids,
723 struct ipc_ids *ids, int id, int cmd,
800 static struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t *pos)
842 struct ipc_ids *ids;
869 struct ipc_ids *ids;