Searched refs:fs_ns (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/security/ |
H A D | commoncap.c | 393 struct user_namespace *fs_ns; in cap_inode_getsecurity() local 408 fs_ns = inode->i_sb->s_user_ns; in cap_inode_getsecurity() 420 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity() 423 vfsroot = make_vfsuid(idmap, fs_ns, kroot); in cap_inode_getsecurity() 538 *fs_ns = inode->i_sb->s_user_ns; in cap_convert_nscap() local 558 rootid = from_vfsuid(idmap, fs_ns, vfsrootid); in cap_convert_nscap() 562 nsrootid = from_kuid(fs_ns, rootid); in cap_convert_nscap() 646 struct user_namespace *fs_ns; in get_vfs_caps_from_disk() local 653 fs_ns = inode->i_sb->s_user_ns; in get_vfs_caps_from_disk() 668 rootkuid = make_kuid(fs_ns, 0); in get_vfs_caps_from_disk() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.c | 2661 struct mlx5_flow_namespace *fs_ns; in init_root_tree_recursive() local 2672 fs_get_obj(fs_ns, fs_parent_node); in init_root_tree_recursive() 2674 return create_leaf_prios(fs_ns, prio, init_node); in init_root_tree_recursive() 2675 fs_prio = fs_create_prio(fs_ns, prio, init_node->num_levels); in init_root_tree_recursive() 2681 fs_ns = fs_create_namespace(fs_prio, init_node->def_miss_action); in init_root_tree_recursive() 2682 if (IS_ERR(fs_ns)) in init_root_tree_recursive() 2683 return PTR_ERR(fs_ns); in init_root_tree_recursive() 2684 base = &fs_ns->node; in init_root_tree_recursive()
|