Lines Matching refs:perm
182 struct ipc64_perm *perm, int extra_perm);
207 static inline void ipc_lock_object(struct kern_ipc_perm *perm) in ipc_lock_object() argument
209 spin_lock(&perm->lock); in ipc_lock_object()
212 static inline void ipc_unlock_object(struct kern_ipc_perm *perm) in ipc_unlock_object() argument
214 spin_unlock(&perm->lock); in ipc_unlock_object()
217 static inline void ipc_assert_locked_object(struct kern_ipc_perm *perm) in ipc_assert_locked_object() argument
219 assert_spin_locked(&perm->lock); in ipc_assert_locked_object()
222 static inline void ipc_unlock(struct kern_ipc_perm *perm) in ipc_unlock() argument
224 ipc_unlock_object(perm); in ipc_unlock()
236 static inline bool ipc_valid_object(struct kern_ipc_perm *perm) in ipc_valid_object() argument
238 return !perm->deleted; in ipc_valid_object()