Home
last modified time | relevance | path

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

12345678910>>...17

/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:
184 def parse_operations(self, operations: List[Dict[str, Any]], namespace: str) -> str:
194 lines.append(self.fmt.rst_section(namespace, 'operation',
207 value = self.fmt.rst_ref(namespace, key, value)
255 def parse_definitions(self, defs: Dict[str, Any], namespace: str) -> str:
265 lines.append(self.fmt.rst_section(namespace, 'definition', definition["name"]))
284 def parse_attr_sets(self, entries: List[Dict[str, Any]], namespace: str) -> str:
292 lines.append(self.fmt.rst_section(namespace, 'attribute-set',
316 value = self.fmt.rst_ref(namespace, k, attr[k])
[all …]
/linux/scripts/mod/
H A Dmodpost.c227 char *namespace; member
296 char namespace[]; member
299 static bool contains_namespace(struct list_head *head, const char *namespace) in contains_namespace() argument
307 if (!namespace[0]) in contains_namespace()
311 if (!strcmp(list->namespace, namespace)) in contains_namespace()
318 static void add_namespace(struct list_head *head, const char *namespace) in add_namespace() argument
322 if (!contains_namespace(head, namespace)) { in add_namespace()
323 ns_entry = xmalloc(sizeof(*ns_entry) + strlen(namespace) + 1); in add_namespace()
324 strcpy(ns_entry->namespace, namespace); in add_namespace()
363 bool gpl_only, const char *namespace) in sym_add_exported() argument
[all …]
/linux/Documentation/ABI/stable/
H A Dconfigfs-nvmet128 The namespace must be disabled before modification.
132 The namespace must be disabled before modification.
134 enable: Shows or sets whether this namespace is enabled
142 Shows or sets the UUID for this namespace. The namespace
166 ID for this namespace. Must be between 1 and 128. Changing
175 namespace. Accepts boolean value. The namespace must be
183 Shows or sets the P2P DMA memory device for this namespace.
184 Accepts a PCI device BDF, "auto", or "none". The namespace
224 Write-only. Writing 1 triggers namespace size revalidation.
225 If the size has changed, a namespace changed AEN is sent.
[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/tools/lib/python/kdoc/
H A Dparse_data_structs.py63 namespace <namespace>
65 Sets C namespace to be used during cross-reference generation. Can
83 namespace MC
157 self.namespace = None
195 match = re.match(r"^namespace\s+(\S+)", line)
197 self.namespace = match.group(1)
264 if ref_type or self.namespace:
274 if self.namespace:
275 ref_name = f"{self.namespace}
[all...]
/linux/tools/testing/selftests/net/
H A Dioam6.sh305 ioam namespace add 123 data ${ALPHA[6]} wide ${ALPHA[7]} &>/dev/null
309 ioam namespace set 123 schema ${ALPHA[8]} &>/dev/null
328 ip -netns $ioam_node_beta ioam namespace add 123 &>/dev/null
477 ip -netns $ioam_node_alpha ioam namespace del 123 &>/dev/null
495 ioam namespace add 123 data ${ALPHA[6]} wide ${ALPHA[7]} &>/dev/null
497 ioam namespace set 123 schema ${ALPHA[8]} &>/dev/null
617 ioam namespace show 2>/dev/null | grep -wq 123
621 ioam namespace show 2>/dev/null | grep -wq ${ALPHA[6]}
625 ioam namespace show 2>/dev/null | grep -wq ${ALPHA[7]}
669 ioam namespace show 2>/dev/null | grep -wq ${ALPHA[8]}
[all …]
/linux/Documentation/translations/it_IT/doc-guide/
H A Dparse-headers.rst103 **ignore**, **replace** e **namespace**.
126 3. Regole namespace
128 namespace *spazio_dei_nomi*
179 namespace MC

12345678910>>...17