namespaces       1372 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list)
namespaces       2939 drivers/nvme/host/core.c 	if (list_empty(&ctrl->namespaces)) {
namespaces       2944 drivers/nvme/host/core.c 	ns = list_first_entry(&ctrl->namespaces, struct nvme_ns, list);
namespaces       2945 drivers/nvme/host/core.c 	if (ns != list_last_entry(&ctrl->namespaces, struct nvme_ns, list)) {
namespaces       3440 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list) {
namespaces       3554 drivers/nvme/host/core.c 	list_add_tail(&ns->list, &ctrl->namespaces);
namespaces       3635 drivers/nvme/host/core.c 	list_for_each_entry_safe(ns, next, &ctrl->namespaces, list) {
namespaces       3753 drivers/nvme/host/core.c 	list_sort(NULL, &ctrl->namespaces, ns_cmp);
namespaces       3787 drivers/nvme/host/core.c 	list_splice_init(&ctrl->namespaces, &ns_list);
namespaces       4039 drivers/nvme/host/core.c 	INIT_LIST_HEAD(&ctrl->namespaces);
namespaces       4124 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list)
namespaces       4136 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list)
namespaces       4147 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list) {
namespaces       4161 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list)
namespaces       4172 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list)
namespaces       4183 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list)
namespaces       4194 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list)
namespaces       4206 drivers/nvme/host/core.c 	list_for_each_entry(ns, &ctrl->namespaces, list)
namespaces        122 drivers/nvme/host/multipath.c 	list_for_each_entry(ns, &ctrl->namespaces, list) {
namespaces        163 drivers/nvme/host/multipath.c 	list_for_each_entry(ns, &ctrl->namespaces, list)
namespaces        514 drivers/nvme/host/multipath.c 	list_for_each_entry(ns, &ctrl->namespaces, list) {
namespaces        195 drivers/nvme/host/nvme.h 	struct list_head namespaces;
namespaces        109 drivers/nvme/target/admin-cmd.c 	list_for_each_entry_rcu(ns, &ctrl->subsys->namespaces, dev_link) {
namespaces        226 drivers/nvme/target/admin-cmd.c 		list_for_each_entry_rcu(ns, &ctrl->subsys->namespaces, dev_link)
namespaces        493 drivers/nvme/target/admin-cmd.c 	list_for_each_entry_rcu(ns, &ctrl->subsys->namespaces, dev_link) {
namespaces        120 drivers/nvme/target/core.c 	if (list_empty(&subsys->namespaces))
namespaces        123 drivers/nvme/target/core.c 	ns = list_last_entry(&subsys->namespaces, struct nvmet_ns, dev_link);
namespaces        391 drivers/nvme/target/core.c 	list_for_each_entry_rcu(ns, &ctrl->subsys->namespaces, dev_link) {
namespaces        553 drivers/nvme/target/core.c 	if (list_empty(&subsys->namespaces)) {
namespaces        554 drivers/nvme/target/core.c 		list_add_tail_rcu(&ns->dev_link, &subsys->namespaces);
namespaces        558 drivers/nvme/target/core.c 		list_for_each_entry_rcu(old, &subsys->namespaces, dev_link,
namespaces       1178 drivers/nvme/target/core.c 	list_for_each_entry_rcu(ns, &ctrl->subsys->namespaces, dev_link,
namespaces       1427 drivers/nvme/target/core.c 	INIT_LIST_HEAD(&subsys->namespaces);
namespaces       1439 drivers/nvme/target/core.c 	WARN_ON_ONCE(!list_empty(&subsys->namespaces));
namespaces        211 drivers/nvme/target/nvmet.h 	struct list_head	namespaces;
namespaces        374 include/uapi/linux/perf_event.h 				namespaces     :  1, /* include namespaces data */
namespaces       4415 kernel/events/core.c 	if (event->attr.namespaces)
namespaces       7240 kernel/events/core.c 	return event->attr.namespaces;
namespaces       10364 kernel/events/core.c 	if (event->attr.namespaces)
namespaces       10930 kernel/events/core.c 	if (attr.namespaces) {
namespaces        374 tools/include/uapi/linux/perf_event.h 				namespaces     :  1, /* include namespaces data */
namespaces        483 tools/perf/builtin-annotate.c 			.namespaces = perf_event__process_namespaces,
namespaces        450 tools/perf/builtin-diff.c 		.namespaces = perf_event__process_namespaces,
namespaces        675 tools/perf/builtin-inject.c 		inject->tool.namespaces	    = perf_event__repipe_namespaces;
namespaces        977 tools/perf/builtin-kmem.c 	.namespaces	 = perf_event__process_namespaces,
namespaces       1086 tools/perf/builtin-kvm.c 		.namespaces		= perf_event__process_namespaces,
namespaces       1391 tools/perf/builtin-kvm.c 	kvm->tool.namespaces  = perf_event__process_namespaces;
namespaces        866 tools/perf/builtin-lock.c 		.namespaces	 = perf_event__process_namespaces,
namespaces        400 tools/perf/builtin-mem.c 			.namespaces	= perf_event__process_namespaces,
namespaces       1517 tools/perf/builtin-record.c 		event = malloc(sizeof(event->namespaces) +
namespaces       2089 tools/perf/builtin-record.c 		.namespaces	= perf_event__process_namespaces,
namespaces       1050 tools/perf/builtin-report.c 			.namespaces	 = perf_event__process_namespaces,
namespaces       3352 tools/perf/builtin-sched.c 			.namespaces	 = perf_event__process_namespaces,
namespaces       2133 tools/perf/builtin-script.c 	thread = machine__findnew_thread(machine, event->namespaces.pid,
namespaces       2134 tools/perf/builtin-script.c 					 event->namespaces.tid);
namespaces       2146 tools/perf/builtin-script.c 		sample->tid = event->namespaces.tid;
namespaces       2147 tools/perf/builtin-script.c 		sample->pid = event->namespaces.pid;
namespaces       2498 tools/perf/builtin-script.c 		script->tool.namespaces = process_namespaces_event;
namespaces       3423 tools/perf/builtin-script.c 			.namespaces	 = perf_event__process_namespaces,
namespaces       3582 tools/perf/builtin-trace.c 	trace->tool.namespaces	  = perf_event__process_namespaces;
namespaces        354 tools/perf/lib/include/perf/event.h 	struct perf_record_namespaces		namespaces;
namespaces        132 tools/perf/tests/attr.c 	WRITE_ASS(namespaces,	  "d");
namespaces       1596 tools/perf/util/data-convert-bt.c 			.namespaces      = perf_event__process_namespaces,
namespaces        162 tools/perf/util/event.c 	ns_link_info = event->namespaces.link_info;
namespaces        163 tools/perf/util/event.c 	nr_namespaces = event->namespaces.nr_namespaces;
namespaces        166 tools/perf/util/event.c 		       event->namespaces.pid,
namespaces        167 tools/perf/util/event.c 		       event->namespaces.tid,
namespaces       1085 tools/perf/util/evsel.c 		attr->namespaces  = track;
namespaces        683 tools/perf/util/hist.c 	struct namespaces *ns = thread__namespaces(al->thread);
namespaces        627 tools/perf/util/machine.c 							event->namespaces.pid,
namespaces        628 tools/perf/util/machine.c 							event->namespaces.tid);
namespaces        631 tools/perf/util/machine.c 	WARN_ONCE(event->namespaces.nr_namespaces > NR_NAMESPACES,
namespaces        635 tools/perf/util/machine.c 	WARN_ONCE(event->namespaces.nr_namespaces < NR_NAMESPACES,
namespaces        643 tools/perf/util/machine.c 	    thread__set_namespaces(thread, sample->time, &event->namespaces)) {
namespaces         40 tools/perf/util/namespaces.c struct namespaces *namespaces__new(struct perf_record_namespaces *event)
namespaces         42 tools/perf/util/namespaces.c 	struct namespaces *namespaces;
namespaces         46 tools/perf/util/namespaces.c 	namespaces = zalloc(sizeof(struct namespaces) + link_info_size);
namespaces         47 tools/perf/util/namespaces.c 	if (!namespaces)
namespaces         50 tools/perf/util/namespaces.c 	namespaces->end_time = -1;
namespaces         53 tools/perf/util/namespaces.c 		memcpy(namespaces->link_info, event->link_info, link_info_size);
namespaces         55 tools/perf/util/namespaces.c 	return namespaces;
namespaces         58 tools/perf/util/namespaces.c void namespaces__free(struct namespaces *namespaces)
namespaces         60 tools/perf/util/namespaces.c 	free(namespaces);
namespaces         28 tools/perf/util/namespaces.h struct namespaces *namespaces__new(struct perf_record_namespaces *event);
namespaces         29 tools/perf/util/namespaces.h void namespaces__free(struct namespaces *namespaces);
namespaces        130 tools/perf/util/perf_event_attr_fprintf.c 	PRINT_ATTRf(namespaces, p_unsigned);
namespaces        468 tools/perf/util/session.c 	if (tool->namespaces == NULL)
namespaces        469 tools/perf/util/session.c 		tool->namespaces = process_event_stub;
namespaces        673 tools/perf/util/session.c 	event->namespaces.pid		= bswap_32(event->namespaces.pid);
namespaces        674 tools/perf/util/session.c 	event->namespaces.tid		= bswap_32(event->namespaces.tid);
namespaces        675 tools/perf/util/session.c 	event->namespaces.nr_namespaces	= bswap_64(event->namespaces.nr_namespaces);
namespaces        677 tools/perf/util/session.c 	for (i = 0; i < event->namespaces.nr_namespaces; i++) {
namespaces        678 tools/perf/util/session.c 		struct perf_ns_link_info *ns = &event->namespaces.link_info[i];
namespaces        685 tools/perf/util/session.c 		swap_sample_id_all(event, &event->namespaces.link_info[i]);
namespaces       1431 tools/perf/util/session.c 		return tool->namespaces(tool, event, sample, machine);
namespaces        216 tools/perf/util/synthetic-events.c 	memset(&event->namespaces, 0, (sizeof(event->namespaces) +
namespaces        220 tools/perf/util/synthetic-events.c 	event->namespaces.pid = tgid;
namespaces        221 tools/perf/util/synthetic-events.c 	event->namespaces.tid = pid;
namespaces        223 tools/perf/util/synthetic-events.c 	event->namespaces.nr_namespaces = NR_NAMESPACES;
namespaces        225 tools/perf/util/synthetic-events.c 	ns_link_info = event->namespaces.link_info;
namespaces        227 tools/perf/util/synthetic-events.c 	for (idx = 0; idx < event->namespaces.nr_namespaces; idx++)
namespaces        231 tools/perf/util/synthetic-events.c 	event->namespaces.header.type = PERF_RECORD_NAMESPACES;
namespaces        233 tools/perf/util/synthetic-events.c 	event->namespaces.header.size = (sizeof(event->namespaces) +
namespaces        581 tools/perf/util/synthetic-events.c 	namespaces_event = malloc(sizeof(namespaces_event->namespaces) +
namespaces        663 tools/perf/util/synthetic-events.c 	namespaces_event = malloc(sizeof(namespaces_event->namespaces) +
namespaces         82 tools/perf/util/thread.c 	struct namespaces *namespaces, *tmp_namespaces;
namespaces         94 tools/perf/util/thread.c 	list_for_each_entry_safe(namespaces, tmp_namespaces,
namespaces         96 tools/perf/util/thread.c 		list_del_init(&namespaces->list);
namespaces         97 tools/perf/util/thread.c 		namespaces__free(namespaces);
namespaces        152 tools/perf/util/thread.c static struct namespaces *__thread__namespaces(const struct thread *thread)
namespaces        157 tools/perf/util/thread.c 	return list_first_entry(&thread->namespaces_list, struct namespaces, list);
namespaces        160 tools/perf/util/thread.c struct namespaces *thread__namespaces(struct thread *thread)
namespaces        162 tools/perf/util/thread.c 	struct namespaces *ns;
namespaces        174 tools/perf/util/thread.c 	struct namespaces *new, *curr = __thread__namespaces(thread);
namespaces         52 tools/perf/util/thread.h struct namespaces;
namespaces         75 tools/perf/util/thread.h struct namespaces *thread__namespaces(struct thread *thread);
namespaces         48 tools/perf/util/tool.h 			namespaces,