root_ns 290 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c struct mlx5_flow_namespace *root_ns; root_ns 294 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c root_ns = mlx5_get_fdb_sub_ns(dev, 0); root_ns 295 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c if (!root_ns) { root_ns 301 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c fdb = mlx5_create_auto_grouped_flow_table(root_ns, LEGACY_VEPA_PRIO, root_ns 318 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c struct mlx5_flow_namespace *root_ns; root_ns 330 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c root_ns = mlx5_get_fdb_sub_ns(dev, 0); root_ns 331 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c if (!root_ns) { root_ns 343 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c fdb = mlx5_create_flow_table(root_ns, &ft_attr); root_ns 963 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c struct mlx5_flow_namespace *root_ns; root_ns 983 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c root_ns = mlx5_get_flow_vport_acl_namespace(dev, MLX5_FLOW_NAMESPACE_ESW_EGRESS, root_ns 985 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c if (!root_ns) { root_ns 994 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c acl = mlx5_create_vport_flow_table(root_ns, 0, table_size, 0, vport->vport); root_ns 1075 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c struct mlx5_flow_namespace *root_ns; root_ns 1101 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c root_ns = mlx5_get_flow_vport_acl_namespace(dev, MLX5_FLOW_NAMESPACE_ESW_INGRESS, root_ns 1103 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c if (!root_ns) { root_ns 1112 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c acl = mlx5_create_vport_flow_table(root_ns, 0, table_size, 0, vport->vport); root_ns 1051 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c struct mlx5_flow_namespace *root_ns; root_ns 1064 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); root_ns 1065 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (!root_ns) { root_ns 1070 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.ns = root_ns; root_ns 1071 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c err = mlx5_flow_namespace_set_mode(root_ns, root_ns 1105 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c fdb = mlx5_create_flow_table(root_ns, &ft_attr); root_ns 1217 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_flow_namespace_set_mode(root_ns, MLX5_FLOW_STEERING_MODE_DMFS); root_ns 53 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c struct mlx5_flow_namespace *root_ns; root_ns 57 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); root_ns 58 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c if (!root_ns) { root_ns 68 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c tt->termtbl = mlx5_create_auto_grouped_flow_table(root_ns, prio, 1, 1, root_ns 242 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c static void cleanup_root_ns(struct mlx5_flow_root_namespace *root_ns); root_ns 2073 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c struct mlx5_flow_root_namespace *root_ns; root_ns 2099 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c root_ns = steering->egress_root_ns; root_ns 2101 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c root_ns = steering->rdma_rx_root_ns; root_ns 2104 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c root_ns = steering->rdma_rx_root_ns; root_ns 2107 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c root_ns = steering->root_ns; root_ns 2111 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (!root_ns) root_ns 2114 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c fs_prio = find_prio(&root_ns->ns, prio); root_ns 2318 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c struct mlx5_flow_root_namespace *root_ns; root_ns 2326 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c root_ns = kzalloc(sizeof(*root_ns), GFP_KERNEL); root_ns 2327 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (!root_ns) root_ns 2330 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c root_ns->dev = steering->dev; root_ns 2331 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c root_ns->table_type = table_type; root_ns 2332 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c root_ns->cmds = cmds; root_ns 2334 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c INIT_LIST_HEAD(&root_ns->underlay_qpns); root_ns 2336 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ns = &root_ns->ns; root_ns 2338 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c mutex_init(&root_ns->chain_lock); root_ns 2342 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c return root_ns; root_ns 2373 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c static void set_prio_attrs(struct mlx5_flow_root_namespace *root_ns) root_ns 2375 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c struct mlx5_flow_namespace *ns = &root_ns->ns; root_ns 2414 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c steering->root_ns = create_root_ns(steering, FS_FT_NIC_RX); root_ns 2415 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (!steering->root_ns) root_ns 2418 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c err = init_root_tree(steering, &root_fs, &steering->root_ns->ns.node); root_ns 2422 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c set_prio_attrs(steering->root_ns); root_ns 2430 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c cleanup_root_ns(steering->root_ns); root_ns 2431 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c steering->root_ns = NULL; root_ns 2449 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c static void cleanup_root_ns(struct mlx5_flow_root_namespace *root_ns) root_ns 2451 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (!root_ns) root_ns 2454 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c clean_tree(&root_ns->ns.node); root_ns 2491 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c cleanup_root_ns(steering->root_ns); root_ns 2819 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c struct mlx5_flow_root_namespace *root = dev->priv.steering->root_ns; root_ns 2858 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c struct mlx5_flow_root_namespace *root = dev->priv.steering->root_ns; root_ns 111 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h struct mlx5_flow_root_namespace *root_ns; root_ns 2528 security/apparmor/apparmorfs.c ns_subload(root_ns) = dent; root_ns 2534 security/apparmor/apparmorfs.c ns_subreplace(root_ns) = dent; root_ns 2540 security/apparmor/apparmorfs.c ns_subremove(root_ns) = dent; root_ns 2546 security/apparmor/apparmorfs.c ns_subrevision(root_ns) = dent; root_ns 2549 security/apparmor/apparmorfs.c mutex_lock_nested(&root_ns->lock, root_ns->level); root_ns 2550 security/apparmor/apparmorfs.c error = __aafs_ns_mkdir(root_ns, aafs_mnt->mnt_root, ".policy", root_ns 2552 security/apparmor/apparmorfs.c mutex_unlock(&root_ns->lock); root_ns 82 security/apparmor/audit.c if (profile->ns != root_ns) { root_ns 91 security/apparmor/audit.c aa_label_xaudit(ab, root_ns, label, FLAG_VIEW_SUBNS, root_ns 197 security/apparmor/audit.c rule->label = aa_label_parse(&root_ns->unconfined->label, rulestr, root_ns 77 security/apparmor/include/policy_ns.h extern struct aa_ns *root_ns; root_ns 1608 security/apparmor/label.c ns = root_ns; root_ns 1871 security/apparmor/label.c if (str == NULL || (*str == '=' && base != &root_ns->unconfined->label)) root_ns 1963 security/apparmor/label.c if (labels_ns(this) != root_ns) root_ns 1530 security/apparmor/lsm.c set_cred_label(cred, aa_get_label(ns_unconfined(root_ns))); root_ns 199 security/apparmor/net.c label = aa_label_strn_parse(&root_ns->unconfined->label, root_ns 26 security/apparmor/policy_ns.c struct aa_ns *root_ns; root_ns 392 security/apparmor/policy_ns.c root_ns = alloc_ns(NULL, "root"); root_ns 393 security/apparmor/policy_ns.c if (!root_ns) root_ns 404 security/apparmor/policy_ns.c struct aa_ns *ns = root_ns; root_ns 406 security/apparmor/policy_ns.c root_ns = NULL; root_ns 82 security/apparmor/secid.c len = aa_label_asxprint(secdata, root_ns, label, root_ns 87 security/apparmor/secid.c len = aa_label_snxprint(NULL, 0, root_ns, label, root_ns 102 security/apparmor/secid.c label = aa_label_strn_parse(&root_ns->unconfined->label, secdata,