Home
last modified time | relevance | path

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

12345

/linux-6.15/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
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
77 The maximum number of user namespaces that any user in the current
[all …]
/linux-6.15/tools/perf/util/
H A Dnamespaces.c40 struct namespaces *namespaces__new(struct perf_record_namespaces *event) in namespaces__new()
42 struct namespaces *namespaces; in namespaces__new() local
46 namespaces = zalloc(sizeof(struct namespaces) + link_info_size); in namespaces__new()
47 if (!namespaces) in namespaces__new()
50 namespaces->end_time = -1; in namespaces__new()
53 memcpy(namespaces->link_info, event->link_info, link_info_size); in namespaces__new()
55 return namespaces; in namespaces__new()
58 void namespaces__free(struct namespaces *namespaces) in namespaces__free() argument
60 free(namespaces); in namespaces__free()
H A Dnamespaces.h24 struct namespaces { struct
30 struct namespaces *namespaces__new(struct perf_record_namespaces *event); argument
31 void namespaces__free(struct namespaces *namespaces);
H A Dthread.c94 struct namespaces *namespaces, *tmp_namespaces; in thread__delete() local
104 list_for_each_entry_safe(namespaces, tmp_namespaces, in thread__delete()
106 list_del_init(&namespaces->list); in thread__delete()
107 namespaces__free(namespaces); in thread__delete()
149 static struct namespaces *__thread__namespaces(struct thread *thread) in __thread__namespaces()
154 return list_first_entry(thread__namespaces_list(thread), struct namespaces, list); in __thread__namespaces()
157 struct namespaces *thread__namespaces(struct thread *thread) in thread__namespaces()
159 struct namespaces *ns; in thread__namespaces()
171 struct namespaces *new, *curr = __thread__namespaces(thread); in __thread__set_namespaces()
H A Dsynthetic-events.c234 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.header.size = (sizeof(event->namespaces) + in perf_event__synthesize_namespaces()
879 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in perf_event__synthesize_thread_map()
962 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in __perf_event__synthesize_threads()
/linux-6.15/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.rst7 of processes is allowed to switch user ids. With user namespaces
12 kernels that enable user namespaces, and it is further recommended
/linux-6.15/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-6.15/Documentation/core-api/
H A Dsymbol-namespaces.rst24 their exported symbols into separate namespaces. That is useful for
27 kernel. As of today, modules that make use of symbols exported into namespaces,
60 Defining namespaces for all symbols of a subsystem can be very verbose and may
89 In order to use symbols that are exported into namespaces, kernel modules need
90 to explicitly import these namespaces. Otherwise the kernel might reject to
92 for the namespaces it uses symbols from. E.g. a module using the
99 This has the side effect, that the imported namespaces of a module can be
127 Missing namespaces imports can easily be detected at build time. In fact,
/linux-6.15/tools/testing/selftests/net/
H A Dpmtu.sh1162 setup namespaces routing || return $ksft_skip
1256 setup namespaces policy_routing || return $ksft_skip
1301 setup namespaces policy_routing || return $ksft_skip
1952 setup namespaces veth vti4 || return $ksft_skip
1964 setup namespaces veth vti6 || return $ksft_skip
1976 setup namespaces || return $ksft_skip
2014 setup namespaces || return $ksft_skip
2052 setup namespaces || return $ksft_skip
2220 setup namespaces routing || return $ksft_skip
2274 setup namespaces routing || return $ksft_skip
[all …]
/linux-6.15/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-6.15/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()
970 err = rhashtable_init(&nsdata->namespaces, &rht_ns_params); in ioam6_net_init()
981 rhashtable_destroy(&nsdata->namespaces); in ioam6_net_init()
992 rhashtable_free_and_destroy(&nsdata->namespaces, ioam6_free_ns, NULL); in ioam6_net_exit()
/linux-6.15/tools/testing/selftests/drivers/net/bonding/
H A Dlag_lib.sh91 local namespaces="lag_node1 lag_node2"
94 for n in ${namespaces}; do
107 NAMESPACES="${namespaces}"
/linux-6.15/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.
/linux-6.15/Documentation/admin-guide/LSM/
H A DSafeSetID.rst66 Use user namespaces
73 Unfortunately, it is not generally feasible to use user namespaces in isolation,
76 entity. For example, Linux has the notion that network namespaces are owned by
85 configurations. Using user namespaces in isolation causes problems regarding
86 other system interactions, including use of pid namespaces and device creation.
/linux-6.15/Documentation/translations/it_IT/core-api/
H A Dindex.rst11 symbol-namespaces
/linux-6.15/scripts/
H A Dnsdeps33 for ns in $namespaces; do
/linux-6.15/tools/perf/tests/shell/attr/
H A Dtest-record-dummy-C047 namespaces=0
H A Dsystem-wide-dummy44 namespaces=0
/linux-6.15/include/net/
H A Dioam6.h44 struct rhashtable namespaces; member
/linux-6.15/fs/proc/
H A DMakefile27 proc-y += namespaces.o
/linux-6.15/drivers/nvme/target/
H A Dcore.c130 nvmet_for_each_enabled_ns(&subsys->namespaces, idx, cur) in nvmet_max_nsid()
446 req->ns = xa_load(&subsys->namespaces, nsid); in nvmet_req_find_ns()
617 xa_set_mark(&subsys->namespaces, ns->nsid, NVMET_NS_ENABLED); in nvmet_ns_enable()
643 xa_clear_mark(&subsys->namespaces, ns->nsid, NVMET_NS_ENABLED); in nvmet_ns_disable()
681 xa_erase(&subsys->namespaces, ns->nsid); in nvmet_ns_free()
717 if (xa_insert(&subsys->namespaces, ns->nsid, ns, GFP_KERNEL)) in nvmet_ns_alloc()
1517 nvmet_for_each_enabled_ns(&ctrl->subsys->namespaces, idx, ns) in nvmet_setup_p2p_ns_map()
1836 xa_init(&subsys->namespaces); in nvmet_subsys_alloc()
1862 WARN_ON_ONCE(!xa_empty(&subsys->namespaces)); in nvmet_subsys_free()
1866 xa_destroy(&subsys->namespaces); in nvmet_subsys_free()
/linux-6.15/lib/vdso/
H A DKconfig30 Selected by architectures which support time namespaces in the

12345