Searched refs:perm (Results 1 – 3 of 3) sorted by relevance
181 struct ipc64_perm *perm, int extra_perm);206 static inline void ipc_lock_object(struct kern_ipc_perm *perm) in ipc_lock_object() argument208 spin_lock(&perm->lock); in ipc_lock_object()211 static inline void ipc_unlock_object(struct kern_ipc_perm *perm) in ipc_unlock_object() argument213 spin_unlock(&perm->lock); in ipc_unlock_object()216 static inline void ipc_assert_locked_object(struct kern_ipc_perm *perm) in ipc_assert_locked_object() argument218 assert_spin_locked(&perm->lock); in ipc_assert_locked_object()221 static inline void ipc_unlock(struct kern_ipc_perm *perm) in ipc_unlock() argument223 ipc_unlock_object(perm); in ipc_unlock()235 static inline bool ipc_valid_object(struct kern_ipc_perm *perm) in ipc_valid_object() argument[all …]
98 struct kern_ipc_perm *perm; in free_ipcs() local107 perm = idr_find(&ids->ipcs_idr, next_id); in free_ipcs()108 if (perm == NULL) in free_ipcs()111 ipc_lock_object(perm); in free_ipcs()112 free(ns, perm); in free_ipcs()
690 struct ipc64_perm *perm, int extra_perm) in ipcctl_obtain_check() argument704 audit_ipc_set_perm(extra_perm, perm->uid, in ipcctl_obtain_check()705 perm->gid, perm->mode); in ipcctl_obtain_check()