| /linux/Documentation/sphinx/ |
| A D | load_config.py | 9 def loadConfig(namespace): argument 21 and os.path.normpath(namespace["__file__"]) != os.path.normpath(config_file) ): 35 latex_documents = namespace['latex_documents'] 44 namespace['latex_documents'] = new_latex_docs 49 config = namespace.copy() 55 namespace.update(config) 57 config = namespace.copy() 59 namespace.update(config)
|
| A D | cdomain.py | 52 namespace = None variable 61 global namespace 63 namespace = match.group(1) 154 global namespace 188 if namespace: 189 fullname = namespace + "." + fullname 196 global namespace 209 if namespace: 210 fullname = namespace + "." + fullname
|
| /linux/Documentation/admin-guide/sysctl/ |
| A D | user.rst | 16 per user per user namespace limits. 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. 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. 72 user namespace may create. 78 user namespace may create. [all …]
|
| /linux/Documentation/core-api/ |
| A D | symbol-namespaces.rst | 25 documentation purposes (think of the SUBSYSTEM_DEBUG namespace) as well as for 28 are required to import the namespace. Otherwise the kernel will, depending on 44 EXPORT_SYMBOL_NS_GPL(). They take one additional argument: the namespace. 47 namespace ``USB_STORAGE``, use:: 52 ``namespace`` set accordingly. A symbol that is exported without a namespace will 63 and EXPORT_SYMBOL_GPL() macro expansions that do not specify a namespace. 75 still be exported into the namespace that is passed as the namespace argument 76 as this argument has preference over a default symbol namespace. 129 modpost will emit a warning if a module uses a symbol from a namespace 140 - write code that depends on a symbol from a not imported namespace [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | test_xdp_veth.c | 43 const char *namespace; /* Namespace for the remote veth */ member 54 .namespace = "ns-veth11" 61 .namespace = "ns-veth22" 68 .namespace = "ns-veth33" 107 nstoken = open_netns(config[index].namespace); in attach_programs_to_veth_pair() 133 SYS(fail, "ip netns add %s", config[i].namespace); in configure_network() 135 config[i].local_veth, config[i].remote_veth, config[i].namespace); in configure_network() 138 SYS(fail, "ip -n %s addr add %s/24 dev %s", config[i].namespace, in configure_network() 140 SYS(fail, "ip -n %s link set dev %s up", config[i].namespace, in configure_network() 172 SYS_NOFAIL("ip netns del %s", config[i].namespace); in cleanup_network() [all …]
|
| /linux/Documentation/networking/ |
| A D | sysfs-tagging.rst | 11 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
|
| A D | mptcp-sysctl.rst | 15 The default value matches TCP_RTO_MAX. This is a per-namespace 29 This is a per-namespace sysctl. 52 per-namespace sysctl. 62 The default value matches TCP_TIMEWAIT_LEN. This is a per-namespace 71 per-namespace sysctl. 79 per-namespace values configured over the MPTCP netlink 85 This is a per-namespace sysctl. 95 Support for selection of different schedulers. This is a per-namespace 108 This is a per-namespace sysctl.
|
| /linux/Documentation/firmware-guide/acpi/ |
| A D | namespace.rst | 17 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: 94 prepended with '\' are relative to the namespace root). 97 current namespace node). 99 The figure below shows an example ACPI namespace:: 186 +-| _GPE | Scope(_GPE): the GPE namespace 244 the full path to the node from the namespace root. 305 ACPI namespace. For example, if there's an ACPI namespace object [all …]
|
| /linux/tools/net/ynl/ |
| A D | ynl-gen-rst.py | 85 def rst_section(namespace: str, prefix: str, title: str) -> str: 105 def rst_ref(namespace: str, prefix: str, name: str) -> str: 176 def parse_operations(operations: List[Dict[str, Any]], namespace: str) -> str: 183 lines.append(rst_section(namespace, 'operation', operation["name"])) 192 value = rst_ref(namespace, key, value) 235 def parse_definitions(defs: Dict[str, Any], namespace: str) -> str: 260 def parse_attr_sets(entries: List[Dict[str, Any]], namespace: str) -> str: 268 lines.append(rst_section(namespace, 'attribute-set', entry["name"])) 282 value = rst_ref(namespace, k, attr[k]) 291 def parse_sub_messages(entries: List[Dict[str, Any]], namespace: str) -> str: [all …]
|
| /linux/Documentation/admin-guide/namespaces/ |
| A D | compatibility-list.rst | 9 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/ |
| A D | mod_hdr.h | 31 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()
|
| A D | mod_hdr.c | 74 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/admin-guide/LSM/ |
| A D | SafeSetID.rst | 8 allowing a user to set up user namespace UID/GID mappings. 69 namespace and give programs in the tree setid capabilities. In this way, 71 own user namespace, and only approved UIDs/GIDs could be mapped back to the 72 initial system user namespace, affectively preventing privilege escalation. 75 Linux checks for capabilities based off of the user namespace that "owns" some 77 the user namespace in which they were created. A consequence of this is that 78 capability checks for access to a given network namespace are done by checking 79 whether a task has the given capability in the context of the user namespace 80 that owns the network namespace -- not necessarily the user namespace under 82 effectively prevents it from accessing the network namespace owned by the [all …]
|
| /linux/Documentation/driver-api/acpi/ |
| A D | scan_handlers.rst | 12 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/Documentation/driver-api/nvdimm/ |
| A D | nvdimm.rst | 36 libnvdimm: namespace 37 libndctl: namespace enumeration example 38 libndctl: namespace creation example 39 Why the Term "namespace"? 459 one or more "namespace" devices. The arrival of a "namespace" device currently 462 LIBNVDIMM: namespace 499 LIBNDCTL: namespace enumeration example 520 LIBNDCTL: namespace creation example 551 Why the Term "namespace"? 568 personality driver for a namespace that fronts entire namespace as an [all …]
|
| /linux/tools/testing/selftests/net/ |
| A D | ioam6.sh | 204 ip -netns $ioam_tmp_node ioam namespace add 0 207 ip -netns $ioam_tmp_node ioam namespace show | grep -q "namespace 0" 312 ip -netns $ioam_node_alpha ioam namespace add 123 data ${ALPHA[6]} wide ${ALPHA[7]} 314 ip -netns $ioam_node_alpha ioam namespace set 123 schema ${ALPHA[8]} 324 ip -netns $ioam_node_beta ioam namespace add 123 data ${BETA[6]} wide ${BETA[7]} 326 ip -netns $ioam_node_beta ioam namespace set 123 schema ${BETA[8]} 429 ip -netns $ioam_node_alpha ioam namespace del 123 438 ip -netns $ioam_node_alpha ioam namespace add 123 \ 440 ip -netns $ioam_node_alpha ioam namespace set 123 schema ${ALPHA[8]} 671 ip -netns $ioam_node_alpha ioam namespace add 123 [all …]
|
| /linux/scripts/mod/ |
| A D | modpost.c | 200 char *namespace; member 277 char namespace[]; member 288 if (!namespace[0]) in contains_namespace() 292 if (!strcmp(list->namespace, namespace)) in contains_namespace() 305 strcpy(ns_entry->namespace, namespace); in add_namespace() 359 s->namespace = xstrdup(namespace); in sym_add_exported() 1561 char *namespace; in read_symbols() local 1590 while (namespace) { in read_symbols() 1593 namespace); in read_symbols() 2023 *namespace++ = '\0'; in read_dump() [all …]
|
| /linux/drivers/nvdimm/ |
| A D | Kconfig | 13 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 115 the life of the given NVDIMM namespace. If you are using KMSAN
|
| /linux/drivers/gpu/drm/ci/xfails/ |
| A D | update-xfails.py | 106 namespace = path_components[0] 110 print("Collating from:", namespace, project, pipeline_id) 112 Collate(namespace=namespace, project=project)
|
| /linux/Documentation/ABI/testing/ |
| A D | sysfs-devices-firmware_node | 15 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/scripts/coccinelle/misc/ |
| A D | add_namespace.cocci | 5 /// 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/ |
| A D | README | 6 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/ |
| A D | vlan_mangle.c | 12 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()
|
| /linux/Documentation/userspace-api/ |
| A D | unshare.rst | 60 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/ |
| A D | proc.py | 169 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"):
|