Home
last modified time | relevance | path

Searched refs:namespace (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/linux/Documentation/core-api/
H A Dsymbol-namespaces.rst15 documentation purposes (think of the SUBSYSTEM_DEBUG namespace) as well as for
18 are required to import the namespace. Otherwise the kernel will, depending on
21 Additionally, it is possible to put symbols into a module namespace, strictly
27 Symbols can be exported into namespace using different methods. All of them are
36 available to export symbols into a certain namespace: EXPORT_SYMBOL_NS() and
37 EXPORT_SYMBOL_NS_GPL(). They take one additional argument: the namespace as a
40 namespace ``USB_STORAGE``, use::
45 ``namespace`` set accordingly. A symbol that is exported without a namespace will
46 refer to ``NULL``. There is no default namespace if none is defined. ``modpost``
47 and kernel/module/main.c make use the namespace at build time or module load
[all …]
/linux/Documentation/admin-guide/sysctl/
H A Duser.rst16 per user per user namespace limits.
24 The creation of per user per user namespace objects are charged to
25 the user in the user namespace who created the object and
26 verified to be below the per user limit in that user namespace.
34 user namespace does not allow a user to escape their current limits.
42 user namespace may create.
48 user namespace may create.
54 user namespace may create.
60 current user namespace may create.
66 user namespace may create.
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xdp_veth.c72 char local_veth[VETH_NAME_MAX_LEN]; /* Interface in main namespace */ in attach_programs_to_veth_pair()
73 char remote_veth[VETH_NAME_MAX_LEN]; /* Peer interface in dedicated namespace*/ in attach_programs_to_veth_pair()
74 char namespace[NS_NAME_MAX_LEN]; /* Namespace for the remote veth */ in attach_programs_to_veth_pair()
92 .namespace = "ns-veth11-" in attach_programs_to_veth_pair()
99 .namespace = "ns-veth22-" in attach_programs_to_veth_pair()
106 .namespace = "ns-veth33-" in attach_programs_to_veth_pair()
151 nstoken = open_netns(net_config->veth_cfg[index].namespace); in configure_network()
152 if (!ASSERT_OK_PTR(nstoken, "switch to remote veth namespace")) in configure_network()
186 err = append_tid(net_config->veth_cfg[i].namespace, NS_NAME_MAX_LEN); in test_xdp_veth_redirect()
189 SYS(fail, "ip netns add %s", net_config->veth_cfg[i].namespace); in test_xdp_veth_redirect()
43 const char *namespace; /* Namespace for the remote veth */ global() member
[all...]
/linux/Documentation/networking/
H A Dsysfs-tagging.rst11 namespace active multiple devices with the same name can show up in
18 By using the network namespace pointers as tags to separate out
23 Each sysfs directory entry may be tagged with a namespace via the
26 and KOBJ_NS_TYPES, and ns will point to the namespace to which it
30 ``void *ns[KOBJ_NS_TYPES]``. When a task in a tagging namespace
33 ``s_fs_info->ns[kobj_nstype]`` set to the new namespace. Note that
36 namespace exits, it will call kobj_ns_exit() to invalidate any
44 - current_ns() which returns current's namespace
45 - netlink_ns() which returns a socket's namespace
46 - initial_ns() which returns the initial namespace
/linux/Documentation/firmware-guide/acpi/
H A Dnamespace.rst17 The Linux ACPI subsystem converts ACPI namespace objects into a Linux
42 data structure called the ACPI namespace whose topology reflects the
83 All definition blocks are loaded into a single namespace. The namespace
86 namespace:
93 5. The '\' symbol represents the root of the namespace (i.e. names
94 prepended with '\' are relative to the namespace root).
95 6. The '^' symbol represents the parent of the current namespace node
97 current namespace node).
99 The figure below shows an example ACPI namespace::
106 +-| _PR | Scope(_PR): the processor namespace
[all …]
/linux/Documentation/admin-guide/namespaces/
H A Dcompatibility-list.rst9 occur when tasks share some namespace (the columns) while living
28 other task living in a different namespace via a shared filesystem
30 within the namespace it was obtained in and may refer to some
31 other object in another namespace.
35 words, user 10 in one user namespace shouldn't have the same
37 namespace.
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmod_hdr.h31 char *mlx5e_mod_hdr_alloc(struct mlx5_core_dev *mdev, int namespace,
39 enum mlx5_flow_namespace_type namespace,
49 static inline int mlx5e_mod_hdr_max_actions(struct mlx5_core_dev *mdev, int namespace) in mlx5e_mod_hdr_max_actions() argument
51 if (namespace == MLX5_FLOW_NAMESPACE_FDB) /* FDB offloading */ in mlx5e_mod_hdr_max_actions()
H A Dmod_hdr.c74 enum mlx5_flow_namespace_type namespace, in mlx5e_mod_hdr_attach() argument
118 mh->modify_hdr = mlx5_modify_header_alloc(mdev, namespace, in mlx5e_mod_hdr_attach()
160 mlx5e_mod_hdr_alloc(struct mlx5_core_dev *mdev, int namespace, in mlx5e_mod_hdr_alloc() argument
170 max_hw_actions = mlx5e_mod_hdr_max_actions(mdev, namespace); in mlx5e_mod_hdr_alloc()
/linux/Documentation/driver-api/acpi/
H A Dscan_handlers.rst12 During system initialization and ACPI-based device hot-add, the ACPI namespace
15 registered with the driver core for every device object in the ACPI namespace
16 and the hierarchy of those struct acpi_device objects reflects the namespace
17 layout (i.e. parent device objects in the namespace are represented by parent
26 The core ACPI namespace scanning code in drivers/acpi/scan.c carries out basic
54 The namespace scanning function, acpi_bus_scan(), first registers all of the
55 device nodes in the given namespace scope with the driver core. Then, it tries
68 the namespace scan should be terminated due to a serious error. The error code
71 The namespace trimming function, acpi_bus_trim(), first executes .detach()
72 callbacks from the scan handlers of all device nodes in the given namespace
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Ddoc_generator.py87 def rst_section(namespace: str, prefix: str, title: str) -> str:
106 def rst_ref(namespace: str, prefix: str, name: str) -> str:
185 def parse_operations(self, operations: List[Dict[str, Any]], namespace: str) -> str:
195 lines.append(self.fmt.rst_section(namespace, 'operation',
208 value = self.fmt.rst_ref(namespace, key, value)
256 def parse_definitions(self, defs: Dict[str, Any], namespace: str) -> str:
266 lines.append(self.fmt.rst_section(namespace, 'definition', definition["name"]))
285 def parse_attr_sets(self, entries: List[Dict[str, Any]], namespace: str) -> str:
293 lines.append(self.fmt.rst_section(namespace, 'attribute-set',
317 value = self.fmt.rst_ref(namespace, k, attr[k])
[all …]
/linux/Documentation/doc-guide/
H A Dparse-headers.rst87 defines the C namespace to be used.
95 **ignore**, **replace** and **namespace**.
119 namespace *namespace*
121 Sets C *namespace* to be used during cross-reference generation. Can
167 - Use C namespace ``MC`` for all symbols at ``FILE_IN``::
169 namespace MC
/linux/drivers/nvdimm/
H A DKconfig13 namespaces (/dev/pmemX). A PMEM namespace refers to a
54 NVDIMM namespace, i.e. a namespace can be in raw mode pmemX,
83 namespace. For environments that want to hard partition
85 sub-divide a namespace into character devices that can only be
112 namespace management. This allows supporting up to 509 namespaces
113 (see 'ndctl create-namespace --help').
134 the life of the given NVDIMM namespace. If you are using KMSAN
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-firmware_node15 namespace. This attribute is read-only. If the device does not have
16 an _STR method associated with it in the ACPI namespace, this
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia.h.rst.exceptions3 # All symbols are mapped inside MC C domain namespace
4 namespace MC
/linux/scripts/coccinelle/misc/
H A Dadd_namespace.cocci5 /// This script is usually called from scripts/nsdeps with -D ns=<namespace> to
6 /// add a missing namespace tag to a module source file.
/linux/tools/testing/selftests/tc-testing/
H A DREADME6 execute them inside a network namespace dedicated to the task.
14 * The kernel must have network namespace support if using nsPlugin
57 network namespace and creates a veth pair which may be used in those test
58 cases. To disable execution within the namespace, pass the -N option
101 A test that runs inside a namespace (requires "nsPlugin") will run in parallel
104 Tests that use netdevsim or don't run inside a namespace run serially with regards
188 sets up a network namespace and runs all commands in that namespace,
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dvlan_mangle.c12 mlx5e_tc_act_vlan_add_rewrite_action(struct mlx5e_priv *priv, int namespace, in mlx5e_tc_act_vlan_add_rewrite_action() argument
46 err = mlx5e_tc_act_pedit_parse_action(priv, &pedit_act, namespace, parse_attr->hdrs, in mlx5e_tc_act_vlan_add_rewrite_action()
H A Dpedit.c47 const struct flow_action_entry *act, int namespace, in mlx5e_tc_act_pedit_parse_action() argument
62 if (!mlx5e_mod_hdr_max_actions(priv->mdev, namespace)) { in mlx5e_tc_act_pedit_parse_action()
/linux/Documentation/userspace-api/
H A Dunshare.rst60 from default shared namespace. The following lists two use-cases
67 the kernel's per-process namespace mechanism. Polyinstantiated directories,
71 module can easily setup a private namespace for a user at login.
136 of execution context, such as the namespace, is shared by default
158 If CLONE_NEWNS is set, the namespace of the caller is
159 disassociated from the shared namespace.
204 both virtual memory and namespace. After successfully unsharing
206 new namespace structure, the error return code will have to
306 namespace without specifying unsharing of filesystem, correctly
307 unshares both namespace and filesystem information.
[all …]
/linux/scripts/gdb/linux/
H A Dproc.py169 namespace = task['nsproxy']['mnt_ns']
170 if not namespace:
176 … for mnt in rbtree.rb_inorder_for_each_entry(namespace['mounts'], mount_ptr_type, "mnt_node"):
/linux/Documentation/arch/powerpc/
H A Delfnote.rst5 The PowerPC namespace in an ELF Note of the kernel binary is used to store
11 The types to be used with the "PowerPC" namespace are defined in [#f1]_.
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.h81 enum mlx5_flow_namespace_type namespace,
88 u8 namespace, u8 num_actions,
/linux/tools/lib/python/kdoc/
H A Dparse_data_structs.py153 self.namespace = None
189 self.namespace = match.group(1)
256 if ref_type or self.namespace:
266 if self.namespace:
/linux/Documentation/userspace-api/media/v4l/
H A Dlibv4l.rst2 .. c:namespace:: V4L
H A Dcapture-example.rst2 .. c:namespace:: V4L

12345678910>>...19