Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/tools/perf/util/
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()
Dnamespaces.h22 struct namespaces { struct
28 struct namespaces *namespaces__new(struct perf_record_namespaces *event); argument
29 void namespaces__free(struct namespaces *namespaces);
Dthread.c83 struct namespaces *namespaces, *tmp_namespaces; in thread__delete() local
95 list_for_each_entry_safe(namespaces, tmp_namespaces, in thread__delete()
97 list_del_init(&namespaces->list); in thread__delete()
98 namespaces__free(namespaces); in thread__delete()
154 static struct namespaces *__thread__namespaces(const struct thread *thread) in __thread__namespaces()
159 return list_first_entry(&thread->namespaces_list, struct namespaces, list); in __thread__namespaces()
162 struct namespaces *thread__namespaces(struct thread *thread) in thread__namespaces()
164 struct namespaces *ns; in thread__namespaces()
176 struct namespaces *new, *curr = __thread__namespaces(thread); in __thread__set_namespaces()
Dthread.h65 struct namespaces;
88 struct namespaces *thread__namespaces(struct thread *thread);
Dsynthetic-events.c217 memset(&event->namespaces, 0, (sizeof(event->namespaces) + in perf_event__synthesize_namespaces()
221 event->namespaces.pid = tgid; in perf_event__synthesize_namespaces()
222 event->namespaces.tid = pid; in perf_event__synthesize_namespaces()
224 event->namespaces.nr_namespaces = NR_NAMESPACES; in perf_event__synthesize_namespaces()
226 ns_link_info = event->namespaces.link_info; in perf_event__synthesize_namespaces()
228 for (idx = 0; idx < event->namespaces.nr_namespaces; idx++) in perf_event__synthesize_namespaces()
232 event->namespaces.header.type = PERF_RECORD_NAMESPACES; in perf_event__synthesize_namespaces()
234 event->namespaces.header.size = (sizeof(event->namespaces) + in perf_event__synthesize_namespaces()
759 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in perf_event__synthesize_thread_map()
841 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in __perf_event__synthesize_threads()
Dtool.h48 namespaces, member
Dpython-ext-sources17 util/namespaces.c
Dsession.c471 if (tool->namespaces == NULL) in perf_tool__fill_defaults()
472 tool->namespaces = process_event_stub; in perf_tool__fill_defaults()
699 event->namespaces.pid = bswap_32(event->namespaces.pid); in perf_event__namespaces_swap()
700 event->namespaces.tid = bswap_32(event->namespaces.tid); in perf_event__namespaces_swap()
701 event->namespaces.nr_namespaces = bswap_64(event->namespaces.nr_namespaces); in perf_event__namespaces_swap()
703 for (i = 0; i < event->namespaces.nr_namespaces; i++) { in perf_event__namespaces_swap()
704 struct perf_ns_link_info *ns = &event->namespaces.link_info[i]; in perf_event__namespaces_swap()
711 swap_sample_id_all(event, &event->namespaces.link_info[i]); in perf_event__namespaces_swap()
1486 return tool->namespaces(tool, event, sample, machine); in machines__deliver_event()
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/
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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/namespaces/
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
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
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
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
/kernel/linux/linux-5.10/Documentation/core-api/
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
90 In order to use symbols that are exported into namespaces, kernel modules need
91 to explicitly import these namespaces. Otherwise the kernel might reject to
93 for the namespaces it uses symbols from. E.g. a module using the
100 This has the side effect, that the imported namespaces of a module can be
128 Missing namespaces imports can easily be detected at build time. In fact,
/kernel/linux/linux-5.10/scripts/
Dnsdeps38 local namespaces="$*"
42 for ns in $namespaces; do
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dpmtu.sh899 setup namespaces routing || return 2
997 setup namespaces routing ${type}4 || return 2
1001 setup namespaces routing ${type}6 || return 2
1072 setup namespaces routing bridge bridged_${type}4 || return 2
1076 setup namespaces routing bridge bridged_${type}6 || return 2
1156 setup namespaces routing ovs_bridge ovs_${type}4 || return 2
1160 setup namespaces routing ovs_bridge ovs_${type}6 || return 2
1242 setup namespaces routing ${encap}${outer_family}${inner_family} || return 2
1321 setup namespaces routing ip${inner}ip${outer} || return 2
1375 setup namespaces veth vti4 xfrm4 || return 2
[all …]
/kernel/linux/linux-5.10/Documentation/translations/it_IT/core-api/
Dindex.rst11 symbol-namespaces
/kernel/linux/linux-5.10/Documentation/networking/
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
Dnetfilter-sysctl.rst17 namespaces. This variable is only accessible from init_net.
/kernel/linux/linux-5.10/Documentation/admin-guide/LSM/
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.
/kernel/linux/linux-5.10/tools/perf/tests/attr/
Dsystem-wide-dummy42 namespaces=0
/kernel/linux/linux-5.10/lib/vdso/
DKconfig30 Selected by architectures which support time namespaces in the
/kernel/linux/linux-5.10/Documentation/driver-api/nvdimm/
Dnvdimm.rst220 reasons to allow multiple BLK namespaces per REGION is so that each
263 reclaimed space we create two BLK-aperture "namespaces" from REGION2 and
270 named "pm1.0", the rest is reclaimed in 4 BLK-aperture namespaces (for
276 offset (b) are also included in the "blk4.0" and "blk5.0" namespaces.
277 Note, that this example shows that BLK-aperture namespaces don't need to
584 2. A region with zero child-namespaces is a possible configuration. For
627 the resulting namespaces. The output from module resolution is more
745 Idle namespaces are automatically created by the kernel if a given
766 /* unlike pmem namespaces, blk namespaces have a sector size */
781 https://www.nvmexpress.org/specifications/), and NFIT namespaces are
[all …]
/kernel/linux/linux-5.10/fs/proc/
DMakefile27 proc-y += namespaces.o
/kernel/linux/linux-5.10/drivers/nvme/target/
Dcore.c122 xa_for_each(&subsys->namespaces, idx, cur) in nvmet_max_nsid()
424 ns = xa_load(&ctrl->subsys->namespaces, le32_to_cpu(nsid)); in nvmet_find_namespace()
587 ret = xa_insert(&subsys->namespaces, ns->nsid, ns, GFP_KERNEL); in nvmet_ns_enable()
621 xa_erase(&ns->subsys->namespaces, ns->nsid); in nvmet_ns_disable()
1281 xa_for_each(&ctrl->subsys->namespaces, idx, ns) in nvmet_setup_p2p_ns_map()
1525 xa_init(&subsys->namespaces); in nvmet_subsys_alloc()
1537 WARN_ON_ONCE(!xa_empty(&subsys->namespaces)); in nvmet_subsys_free()
1539 xa_destroy(&subsys->namespaces); in nvmet_subsys_free()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/admin-guide/
Dindex.rst100 namespaces/index

1234