Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 3 of 3) sorted by relevance

/ipc/
Dutil.h181 struct ipc64_perm *perm, int extra_perm);
206 static inline void ipc_lock_object(struct kern_ipc_perm *perm) in ipc_lock_object() argument
208 spin_lock(&perm->lock); in ipc_lock_object()
211 static inline void ipc_unlock_object(struct kern_ipc_perm *perm) in ipc_unlock_object() argument
213 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() argument
218 assert_spin_locked(&perm->lock); in ipc_assert_locked_object()
221 static inline void ipc_unlock(struct kern_ipc_perm *perm) in ipc_unlock() argument
223 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 …]
Dnamespace.c98 struct kern_ipc_perm *perm; in free_ipcs() local
107 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()
Dutil.c690 struct ipc64_perm *perm, int extra_perm) in ipcctl_obtain_check() argument
704 audit_ipc_set_perm(extra_perm, perm->uid, in ipcctl_obtain_check()
705 perm->gid, perm->mode); in ipcctl_obtain_check()