Lines Matching refs:kern_ipc_perm
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,
163 static inline int ipc_checkid(struct kern_ipc_perm *ipcp, int uid) in ipc_checkid()
168 static inline void ipc_lock_object(struct kern_ipc_perm *perm) in ipc_lock_object()
173 static inline void ipc_unlock_object(struct kern_ipc_perm *perm) in ipc_unlock_object()
178 static inline void ipc_assert_locked_object(struct kern_ipc_perm *perm) in ipc_assert_locked_object()
183 static inline void ipc_unlock(struct kern_ipc_perm *perm) in ipc_unlock()
197 static inline bool ipc_valid_object(struct kern_ipc_perm *perm) in ipc_valid_object()
202 struct kern_ipc_perm *ipc_obtain_object_check(struct ipc_ids *ids, int id);
206 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *));