Searched refs:fs_ns (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/security/ |
D | commoncap.c | 390 struct user_namespace *fs_ns; in cap_inode_getsecurity() local 409 fs_ns = inode->i_sb->s_user_ns; in cap_inode_getsecurity() 421 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity() 424 kroot = mapped_kuid_fs(mnt_userns, fs_ns, kroot); in cap_inode_getsecurity() 551 *fs_ns = inode->i_sb->s_user_ns; in cap_convert_nscap() local 561 if (size == XATTR_CAPS_SZ_2 && (mnt_userns == fs_ns)) in cap_convert_nscap() 566 rootid = rootid_from_xattr(*ivalue, size, task_ns, mnt_userns, fs_ns); in cap_convert_nscap() 570 nsrootid = from_kuid(fs_ns, rootid); in cap_convert_nscap() 660 struct user_namespace *fs_ns; in get_vfs_caps_from_disk() local 667 fs_ns = inode->i_sb->s_user_ns; in get_vfs_caps_from_disk() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.c | 2512 struct mlx5_flow_namespace *fs_ns; in init_root_tree_recursive() local 2523 fs_get_obj(fs_ns, fs_parent_node); in init_root_tree_recursive() 2525 return create_leaf_prios(fs_ns, prio, init_node); in init_root_tree_recursive() 2526 fs_prio = fs_create_prio(fs_ns, prio, init_node->num_levels); in init_root_tree_recursive() 2532 fs_ns = fs_create_namespace(fs_prio, init_node->def_miss_action); in init_root_tree_recursive() 2533 if (IS_ERR(fs_ns)) in init_root_tree_recursive() 2534 return PTR_ERR(fs_ns); in init_root_tree_recursive() 2535 base = &fs_ns->node; in init_root_tree_recursive()
|