Lines Matching defs:kgid
89 * make_vfsgid - map a filesystem kgid according to an idmapping
92 * @kgid : kgid to be mapped
94 * Take a @kgid and remap it from @fs_userns into @idmap. Use this
95 * function when preparing a @kgid to be reported to userspace.
98 * we can simply return @kgid unchanged.
100 * idmapping we know the value of @kgid won't change when calling
104 * Return: @kgid mapped according to @idmap.
105 * If @kgid has no mapping in either @idmap or @fs_userns INVALID_GID is
109 struct user_namespace *fs_userns, kgid_t kgid)
114 return VFSGIDT_INIT(kgid);
116 gid = __kgid_val(kgid);
118 gid = from_kgid(fs_userns, kgid);