Searched refs:gid_map (Results 1 - 4 of 4) sorted by relevance

/linux-master/fs/
H A Dmnt_idmapping.c21 struct uid_gid_map gid_map; member in struct:mnt_idmap
121 return VFSGIDT_INIT_RAW(map_id_down(&idmap->gid_map, gid));
170 gid = map_id_up(&idmap->gid_map, __vfsgid_val(vfsgid));
262 if (idmap->gid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) {
263 kfree(idmap->gid_map.forward);
264 kfree(idmap->gid_map.reverse);
281 ret = copy_mnt_idmap(&mnt_userns->gid_map, &idmap->gid_map);
/linux-master/kernel/
H A Duser_namespace.c204 if (ns->gid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) {
205 kfree(ns->gid_map.forward);
206 kfree(ns->gid_map.reverse);
482 return KGIDT_INIT(map_id_down(&ns->gid_map, gid));
501 return map_id_up(&targ->gid_map, __kgid_val(kgid));
692 return m_start(seq, ppos, &ns->gid_map);
1142 &ns->gid_map, &ns->parent->gid_map);
1265 * been enabled by writing the gid_map is not allowed.
1267 if (ns->gid_map
[all...]
H A Duser.c48 .gid_map = {
/linux-master/include/linux/
H A Duser_namespace.h74 struct uid_gid_map gid_map; member in struct:user_namespace

Completed in 209 milliseconds