Lines Matching refs:perm
184 struct ipc64_perm *perm, int extra_perm);
209 static inline void ipc_lock_object(struct kern_ipc_perm *perm) in ipc_lock_object() argument
211 spin_lock(&perm->lock); in ipc_lock_object()
214 static inline void ipc_unlock_object(struct kern_ipc_perm *perm) in ipc_unlock_object() argument
216 spin_unlock(&perm->lock); in ipc_unlock_object()
219 static inline void ipc_assert_locked_object(struct kern_ipc_perm *perm) in ipc_assert_locked_object() argument
221 assert_spin_locked(&perm->lock); in ipc_assert_locked_object()
224 static inline void ipc_unlock(struct kern_ipc_perm *perm) in ipc_unlock() argument
226 ipc_unlock_object(perm); in ipc_unlock()
238 static inline bool ipc_valid_object(struct kern_ipc_perm *perm) in ipc_valid_object() argument
240 return !perm->deleted; in ipc_valid_object()