Searched refs:projid (Results 1 – 2 of 2) sorted by relevance
26 static inline projid_t __kprojid_val(kprojid_t projid) in __kprojid_val() argument28 return projid.val; in __kprojid_val()46 static inline bool projid_valid(kprojid_t projid) in projid_valid() argument48 return !projid_eq(projid, INVALID_PROJID); in projid_valid()53 extern kprojid_t make_kprojid(struct user_namespace *from, projid_t projid);55 extern projid_t from_kprojid(struct user_namespace *to, kprojid_t projid);56 extern projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t projid);58 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) in kprojid_has_mapping() argument60 return from_kprojid(ns, projid) != (projid_t)-1; in kprojid_has_mapping()65 static inline kprojid_t make_kprojid(struct user_namespace *from, projid_t projid) in make_kprojid() argument[all …]
72 kprojid_t projid; member111 kqid.projid = make_kprojid(from, qid); in make_kqid()138 kqid.projid = INVALID_PROJID; in make_kqid_invalid()174 static inline struct kqid make_kqid_projid(kprojid_t projid) in make_kqid_projid() argument178 kqid.projid = projid; in make_kqid_projid()