Home
last modified time | relevance | path

Searched refs:namespaces (Results 1 – 25 of 92) sorted by relevance

1234

/linux/tools/testing/selftests/namespaces/
H A Dinit_ino_test.c22 static struct ns_info namespaces[] = { variable
37 for (int i = 0; i < sizeof(namespaces) / sizeof(namespaces[0]); i++) { in TEST()
38 int ret = stat(namespaces[i].proc_path, &st); in TEST()
44 namespaces[i].name); in TEST()
49 namespaces[i].proc_path, strerror(errno)); in TEST()
52 ASSERT_EQ(st.st_ino, namespaces[i].expected_ino) in TEST()
54 namespaces[i].name, st.st_ino, namespaces[i].expected_ino); in TEST()
57 namespaces[i].name, st.st_ino, namespaces[i].expected_ino); in TEST()
/linux/Documentation/admin-guide/sysctl/
H A Duser.rst15 limits on the number of namespaces and other objects that have
29 who created user namespaces the creation of the object happens
30 in (user namespaces can be nested) and verified to be below the per user
31 limits in the user namespaces of those users.
41 The maximum number of cgroup namespaces that any user in the current
47 The maximum number of ipc namespaces that any user in the current
53 The maximum number of mount namespaces that any user in the current
59 The maximum number of network namespaces that any user in the
65 The maximum number of pid namespaces that any user in the current
71 The maximum number of time namespaces that any user in the current
[all …]
/linux/tools/perf/util/
H A Dnamespaces.c39 struct namespaces *namespaces__new(struct perf_record_namespaces *event) in namespaces__new()
41 struct namespaces *namespaces; in namespaces__new() local
45 namespaces = zalloc(sizeof(struct namespaces) + link_info_size); in namespaces__new()
46 if (!namespaces) in namespaces__new()
49 namespaces->end_time = -1; in namespaces__new()
52 memcpy(namespaces->link_info, event->link_info, link_info_size); in namespaces__new()
54 return namespaces; in namespaces__new()
57 void namespaces__free(struct namespaces *namespaces) in namespaces__free() argument
59 free(namespaces); in namespaces__free()
H A Dthread.c15 #include "namespaces.h"
96 struct namespaces *namespaces, *tmp_namespaces; in thread__delete()
106 list_for_each_entry_safe(namespaces, tmp_namespaces, in thread__delete()
108 list_del_init(&namespaces->list); in thread__delete()
109 namespaces__free(namespaces); in thread__delete()
151 static struct namespaces *__thread__namespaces(struct thread *thread) in __thread__namespaces()
156 return list_first_entry(thread__namespaces_list(thread), struct namespaces, list); in __thread__namespaces()
159 struct namespaces *thread__namespaces(struct thread *thread) in thread__namespaces()
161 struct namespaces *n in thread__namespaces()
95 struct namespaces *namespaces, *tmp_namespaces; thread__delete() local
[all...]
H A Dthread.h83 struct namespaces;
103 struct namespaces *thread__namespaces(struct thread *thread);
H A Dsynthetic-events.c14 #include "util/namespaces.h"
234 memset(&event->namespaces, 0, (sizeof(event->namespaces) + in perf_event__synthesize_namespaces()
238 event->namespaces.pid = tgid; in perf_event__synthesize_namespaces()
239 event->namespaces.tid = pid; in perf_event__synthesize_namespaces()
241 event->namespaces.nr_namespaces = NR_NAMESPACES; in perf_event__synthesize_namespaces()
243 ns_link_info = event->namespaces.link_info; in perf_event__synthesize_namespaces()
245 for (idx = 0; idx < event->namespaces.nr_namespaces; idx++) in perf_event__synthesize_namespaces()
249 event->namespaces.header.type = PERF_RECORD_NAMESPACES; in perf_event__synthesize_namespaces()
251 event->namespaces in perf_event__synthesize_namespaces()
[all...]
H A Dtool.h51 namespaces,
52 namespaces, global() member
/linux/Documentation/admin-guide/namespaces/
H A Dcompatibility-list.rst6 may have when creating tasks living in different namespaces.
10 in different other namespaces (the rows):
23 1. Both the IPC and the PID namespaces provide IDs to address
33 2. Intentionally, two equal user IDs in different user namespaces
39 The same is true for the IPC namespaces being shared - two users
40 from different user namespaces should not access the same IPC objects
H A Dresource-control.rst2 User namespaces and resource control
9 user namespaces expose the system to potential misuse of resources.
12 control groups on any system that enables user namespaces.
/linux/tools/testing/selftests/net/forwarding/
H A DREADME4 One of the nice things about network namespaces is that they allow one
7 Unfortunately, these namespaces can not be used with actual switching
8 ASICs, as their ports can not be migrated to other network namespaces
10 L1-separation provided by namespaces.
26 The VRFs act as lightweight namespaces representing hosts connected to
/linux/tools/testing/selftests/net/
H A Dpmtu.sh10 # Set up two namespaces, A and B, with two paths between them over routers
11 # R1 and R2 (also implemented with namespaces), with different MTUs:
72 # Set up three namespaces, A, B, and C, with routing between A and B over
91 # Set up two namespaces, B, and C, with routing between the init namespace
124 # namespaces with matching endpoints. Check that route exception is not
142 # namespaces with matching endpoints. Check that route exception is
155 # Set up vti4 tunnel on top of veth, in two namespaces with matching
1162 setup namespaces routing || return $ksft_skip
1256 setup namespaces policy_routing || return $ksft_skip
1301 setup namespaces policy_routin
[all...]
/linux/Documentation/translations/zh_CN/core-api/
H A Dsymbol-namespaces.rst3 :Original: Documentation/core-api/symbol-namespaces.rst
9 .. _cn_symbol-namespaces.rst:
H A Dindex.rst32 symbol-namespaces
/linux/net/ipv6/
H A Dioam6.c124 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_addns()
147 err = rhashtable_lookup_insert_fast(&nsdata->namespaces, &ns->head, in ioam6_genl_addns()
173 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_delns()
182 err = rhashtable_remove_fast(&nsdata->namespaces, &ns->head, in ioam6_genl_delns()
255 rhashtable_walk_enter(&nsdata->namespaces, iter); in ioam6_genl_dumpns_start()
513 ns = rhashtable_lookup_fast(&nsdata->namespaces, &ns_id, rht_ns_params); in ioam6_genl_ns_set_schema()
690 return rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_namespace()
992 err = rhashtable_init(&nsdata->namespaces, &rht_ns_params); in ioam6_net_init()
1003 rhashtable_destroy(&nsdata->namespaces); in ioam6_net_init()
1014 rhashtable_free_and_destroy(&nsdata->namespaces, ioam6_free_n in ioam6_net_exit()
[all...]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dlag_lib.sh66 # between the namespaces
80 local namespaces="lag_node1 lag_node2"
82 # create namespaces
83 for n in ${namespaces}; do
87 # wire up namespaces
96 NAMESPACES="${namespaces}"
99 # cleanup all lag related namespaces
/linux/drivers/nvdimm/
H A DKconfig13 namespaces (/dev/pmemX). A PMEM namespace refers to a
110 devices with support for dynamic layout of namespaces.
112 namespace management. This allows supporting up to 509 namespaces
136 option. Otherwise, say Y but understand that any namespaces
/linux/Documentation/networking/
H A Dsysfs-tagging.rst15 namespaces to see the same interface that is currently presented in
35 the contents of other namespaces' sysfs mounts. Therefore, when a
H A Dnetfilter-sysctl.rst17 namespaces. This variable is only accessible from init_net.
H A Dipvlan.rst15 driver in conjunction with network namespaces and not sure if there is use case
156 (a) Create two network namespaces - ns0, ns1::
166 (c) Assign slaves to the respective network namespaces::
/linux/Documentation/translations/it_IT/core-api/
H A Dindex.rst11 symbol-namespaces
/linux/scripts/
H A Dnsdeps33 for ns in $namespaces; do
/linux/include/net/
H A Dioam6.h44 struct rhashtable namespaces; member
/linux/drivers/nvme/target/
H A Dcore.c126 nvmet_for_each_enabled_ns(&subsys->namespaces, idx, cur) in nvmet_max_nsid()
450 req->ns = xa_load(&subsys->namespaces, nsid); in nvmet_req_find_ns()
618 xa_set_mark(&subsys->namespaces, ns->nsid, NVMET_NS_ENABLED); in nvmet_ns_enable()
644 xa_clear_mark(&subsys->namespaces, ns->nsid, NVMET_NS_ENABLED); in nvmet_ns_disable()
682 xa_erase(&subsys->namespaces, ns->nsid); in nvmet_ns_free()
718 if (xa_insert(&subsys->namespaces, ns->nsid, ns, GFP_KERNEL)) in nvmet_ns_alloc()
1565 nvmet_for_each_enabled_ns(&ctrl->subsys->namespaces, idx, ns) in nvmet_setup_p2p_ns_map()
1887 xa_init(&subsys->namespaces); in nvmet_subsys_alloc()
1915 WARN_ON_ONCE(!xa_empty(&subsys->namespaces)); in nvmet_subsys_free()
1919 xa_destroy(&subsys->namespaces); in nvmet_subsys_free()
/linux/fs/proc/
H A DMakefile29 proc-y += namespaces.o
/linux/Documentation/translations/zh_CN/admin-guide/
H A Dindex.rst111 * namespaces/index

1234