Home
last modified time | relevance | path

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

123

/Linux-v4.19/tools/perf/util/
Dnamespaces.c22 struct namespaces *namespaces__new(struct namespaces_event *event) in namespaces__new()
24 struct namespaces *namespaces; in namespaces__new() local
28 namespaces = zalloc(sizeof(struct namespaces) + link_info_size); in namespaces__new()
29 if (!namespaces) in namespaces__new()
32 namespaces->end_time = -1; in namespaces__new()
35 memcpy(namespaces->link_info, event->link_info, link_info_size); in namespaces__new()
37 return namespaces; in namespaces__new()
40 void namespaces__free(struct namespaces *namespaces) in namespaces__free() argument
42 free(namespaces); in namespaces__free()
Dnamespaces.h20 struct namespaces { struct
26 struct namespaces *namespaces__new(struct namespaces_event *event); argument
27 void namespaces__free(struct namespaces *namespaces);
Dthread.c78 struct namespaces *namespaces, *tmp_namespaces; in thread__delete() local
90 list_for_each_entry_safe(namespaces, tmp_namespaces, in thread__delete()
92 list_del(&namespaces->list); in thread__delete()
93 namespaces__free(namespaces); in thread__delete()
131 struct namespaces *thread__namespaces(const struct thread *thread) in thread__namespaces()
136 return list_first_entry(&thread->namespaces_list, struct namespaces, list); in thread__namespaces()
142 struct namespaces *new, *curr = thread__namespaces(thread); in __thread__set_namespaces()
Devent.c261 memset(&event->namespaces, 0, (sizeof(event->namespaces) + in perf_event__synthesize_namespaces()
265 event->namespaces.pid = tgid; in perf_event__synthesize_namespaces()
266 event->namespaces.tid = pid; in perf_event__synthesize_namespaces()
268 event->namespaces.nr_namespaces = NR_NAMESPACES; in perf_event__synthesize_namespaces()
270 ns_link_info = event->namespaces.link_info; in perf_event__synthesize_namespaces()
272 for (idx = 0; idx < event->namespaces.nr_namespaces; idx++) in perf_event__synthesize_namespaces()
276 event->namespaces.header.type = PERF_RECORD_NAMESPACES; in perf_event__synthesize_namespaces()
278 event->namespaces.header.size = (sizeof(event->namespaces) + in perf_event__synthesize_namespaces()
633 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in perf_event__synthesize_thread_map()
716 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in __perf_event__synthesize_threads()
[all …]
Dthread.h48 struct namespaces;
71 struct namespaces *thread__namespaces(const struct thread *thread);
Dtool.h50 namespaces, member
Dpython-ext-sources15 util/namespaces.c
/Linux-v4.19/Documentation/sysctl/
Duser.txt10 limits on the number of namespaces and other objects that have
24 who created user namespaces the creation of the object happens
25 in (user namespaces can be nested) and verified to be below the per user
26 limits in the user namespaces of those users.
35 The maximum number of cgroup namespaces that any user in the current
40 The maximum number of ipc namespaces that any user in the current
45 The maximum number of mount namespaces that any user in the current
50 The maximum number of network namespaces that any user in the
55 The maximum number of pid namespaces that any user in the current
60 The maximum number of user namespaces that any user in the current
[all …]
/Linux-v4.19/Documentation/namespaces/
Dcompatibility-list.txt4 may have when creating tasks living in different namespaces.
8 in different other namespaces (the rows):
18 1. Both the IPC and the PID namespaces provide IDs to address
28 2. Intentionally, two equal user IDs in different user namespaces
34 The same is true for the IPC namespaces being shared - two users
35 from different user namespaces should not access the same IPC objects
Dresource-control.txt3 of processes is allowed to switch user ids. With user namespaces
8 kernels that enable user namespaces, and it is further recommended
/Linux-v4.19/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
/Linux-v4.19/tools/testing/selftests/net/
Dpmtu.sh233 setup namespaces veth vti4 xfrm4 || return 2
272 setup namespaces veth vti6 xfrm6 || return 2
307 setup namespaces veth vti4 || return 2
319 setup namespaces veth vti6 || return 2
331 setup namespaces || return 2
369 setup namespaces || return 2
407 setup namespaces || return 2
/Linux-v4.19/Documentation/filesystems/
Dsysfs-tagging.txt12 namespaces to see the same interface that is currently presented in
32 the contents of other namespaces' sysfs mounts. Therefore, when a
/Linux-v4.19/Documentation/networking/
Dnetfilter-sysctl.txt10 namespaces. This variable is only accessible from init_net.
Dipvlan.txt11 driver in conjunction with network namespaces and not sure if there is use case
120 (a) Create two network namespaces - ns0, ns1
128 (c) Assign slaves to the respective network namespaces
/Linux-v4.19/drivers/nvme/target/
Dcore.c76 if (list_empty(&subsys->namespaces)) in nvmet_max_nsid()
79 ns = list_last_entry(&subsys->namespaces, struct nvmet_ns, dev_link); in nvmet_max_nsid()
329 list_for_each_entry_rcu(ns, &ctrl->subsys->namespaces, dev_link) { in __nvmet_find_namespace()
399 if (list_empty(&subsys->namespaces)) { in nvmet_ns_enable()
400 list_add_tail_rcu(&ns->dev_link, &subsys->namespaces); in nvmet_ns_enable()
404 list_for_each_entry_rcu(old, &subsys->namespaces, dev_link) { in nvmet_ns_enable()
1165 INIT_LIST_HEAD(&subsys->namespaces); in nvmet_subsys_alloc()
1177 WARN_ON_ONCE(!list_empty(&subsys->namespaces)); in nvmet_subsys_free()
DKconfig9 controllers and export Linux block devices as NVMe namespaces.
Dadmin-cmd.c96 list_for_each_entry_rcu(ns, &ctrl->subsys->namespaces, dev_link) { in nvmet_get_smart_log_all()
207 list_for_each_entry_rcu(ns, &ctrl->subsys->namespaces, dev_link) in nvmet_format_ana_group()
469 list_for_each_entry_rcu(ns, &ctrl->subsys->namespaces, dev_link) { in nvmet_execute_identify_nslist()
/Linux-v4.19/Documentation/nvdimm/
Dnvdimm.txt191 reasons to allow multiple BLK namespaces per REGION is so that each
233 reclaimed space we create two BLK-aperture "namespaces" from REGION2 and
240 named "pm1.0", the rest is reclaimed in 4 BLK-aperture namespaces (for
246 offset (b) are also included in the "blk4.0" and "blk5.0" namespaces.
247 Note, that this example shows that BLK-aperture namespaces don't need to
527 2. A region with zero child-namespaces is a possible configuration. For
569 the resulting namespaces. The output from module resolution is more
677 Idle namespaces are automatically created by the kernel if a given
698 /* unlike pmem namespaces, blk namespaces have a sector size */
712 http://www.nvmexpress.org/specifications/), and NFIT namespaces are
[all …]
/Linux-v4.19/fs/proc/
DMakefile27 proc-y += namespaces.o
/Linux-v4.19/drivers/nvdimm/
DKconfig11 namespaces (/dev/pmemX) and BLK (sliding mmio window(s))
12 namespaces (/dev/ndblkX.Y). A PMEM namespace refers to a
/Linux-v4.19/drivers/nvme/host/
Dcore.c1188 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_update_formats()
2527 if (list_empty(&ctrl->namespaces)) { in nvme_dev_user_cmd()
2532 ns = list_first_entry(&ctrl->namespaces, struct nvme_ns, list); in nvme_dev_user_cmd()
2533 if (ns != list_last_entry(&ctrl->namespaces, struct nvme_ns, list)) { in nvme_dev_user_cmd()
2999 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_find_get_ns()
3097 list_add_tail(&ns->list, &ctrl->namespaces); in nvme_alloc_ns()
3179 list_for_each_entry_safe(ns, next, &ctrl->namespaces, list) { in nvme_remove_invalid_namespaces()
3295 list_sort(NULL, &ctrl->namespaces, ns_cmp); in nvme_scan_work()
3319 list_splice_init(&ctrl->namespaces, &ns_list); in nvme_remove_namespaces()
3526 INIT_LIST_HEAD(&ctrl->namespaces); in nvme_init_ctrl()
[all …]
DKconfig22 /dev/nvmeXnY device will show up for each NVMe namespaces,
/Linux-v4.19/tools/perf/tests/
Dattr.c131 WRITE_ASS(namespaces, "d"); in store_event()
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-firmware-efi-vars11 into separate namespaces through the use of a vendor

123