Lines Matching refs:kern_ipc_perm
108 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);
181 int ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out);
182 struct kern_ipc_perm *ipcctl_obtain_check(struct ipc_namespace *ns,
204 static inline int ipc_checkid(struct kern_ipc_perm *ipcp, int id) in ipc_checkid()
209 static inline void ipc_lock_object(struct kern_ipc_perm *perm) in ipc_lock_object()
214 static inline void ipc_unlock_object(struct kern_ipc_perm *perm) in ipc_unlock_object()
219 static inline void ipc_assert_locked_object(struct kern_ipc_perm *perm) in ipc_assert_locked_object()
224 static inline void ipc_unlock(struct kern_ipc_perm *perm) in ipc_unlock()
238 static inline bool ipc_valid_object(struct kern_ipc_perm *perm) in ipc_valid_object()
243 struct kern_ipc_perm *ipc_obtain_object_check(struct ipc_ids *ids, int id);
247 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *));