Lines Matching defs:kgid
116 * make_vfsgid - map a filesystem kgid according to an idmapping
119 * @kgid : kgid to be mapped
121 * Take a @kgid and remap it from @fs_userns into @idmap. Use this
122 * function when preparing a @kgid to be reported to userspace.
125 * simply return @kgid unchanged.
127 * idmapping we know the value of @kgid won't change when calling
131 * Return: @kgid mapped according to @idmap.
132 * If @kgid has no mapping in either @idmap or @fs_userns INVALID_GID is
136 struct user_namespace *fs_userns, kgid_t kgid)
142 return VFSGIDT_INIT(kgid);
144 gid = __kgid_val(kgid);
146 gid = from_kgid(fs_userns, kgid);