Home
last modified time | relevance | path

Searched refs:siblings (Results 1 – 25 of 42) sorted by relevance

12

/linux/tools/testing/selftests/cgroup/
H A Dmemcg_protection.m6 % hierarchy to illustrate how overcommitted protection spreads among siblings
9 % Simulation assumes siblings consumed the initial amount of memory (w/out
16 % n vector nominal protection of siblings set at the given level (memory.low)
48 siblings = sum(u); variable
52 e = protected * min(1, E / siblings); % normalize overcommit
55 unclaimed = max(0, E - siblings);
56 parent_overuse = sum(c) - siblings;
79 % XXX here I do parallel reclaim of all siblings
/linux/drivers/infiniband/hw/irdma/
H A Dws.c133 list_for_each_entry(node, &parent->child_list_head, siblings) { in ws_find_node()
139 list_for_each_entry(node, &parent->child_list_head, siblings) { in ws_find_node()
214 list_del(&tc_node->siblings); in irdma_remove_leaf()
219 list_del(&vsi_node->siblings); in irdma_remove_leaf()
295 list_add(&vsi_node->siblings, &ws_tree_root->child_list_head); in irdma_ws_add()
322 list_add(&tc_node->siblings, &vsi_node->child_list_head); in irdma_ws_add()
356 list_del(&tc_node->siblings); in irdma_ws_add()
362 list_del(&vsi_node->siblings); in irdma_ws_add()
H A Dws.h19 struct list_head siblings; member
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dselftest_guc_multi_lrc.c34 struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1]; in multi_lrc_create_parent() local
43 siblings[i++] = engine; in multi_lrc_create_parent()
49 logical_sort(siblings, i); in multi_lrc_create_parent()
51 return intel_engine_create_parallel(siblings, 1, i); in multi_lrc_create_parent()
H A Dintel_guc_submission.c143 guc_create_virtual(struct intel_engine_cs **siblings, unsigned int count,
4221 struct intel_engine_cs **siblings = NULL; in guc_create_parallel() local
4225 siblings = kmalloc_objs(*siblings, num_siblings); in guc_create_parallel()
4226 if (!siblings) in guc_create_parallel()
4231 siblings[j] = engines[i * num_siblings + j]; in guc_create_parallel()
4233 ce = intel_engine_create_virtual(siblings, num_siblings, in guc_create_parallel()
4265 kfree(siblings); in guc_create_parallel()
4271 kfree(siblings); in guc_create_parallel()
5900 guc_create_virtual(struct intel_engine_cs **siblings, unsigned int count, in guc_create_virtual() argument
5912 guc = gt_to_guc(siblings[0]->gt); in guc_create_virtual()
[all …]
/linux/drivers/gpio/
H A Dgpio-sim.c593 struct list_head siblings; member
627 struct list_head siblings; member
724 list_for_each_entry(line, &bank->line_list, siblings) { in gpio_sim_get_line_names_size()
739 list_for_each_entry(line, &bank->line_list, siblings) { in gpio_sim_set_line_names()
752 list_for_each_entry(line, &bank->line_list, siblings) { in gpio_sim_get_reserved_ranges_size()
768 list_for_each_entry(line, &bank->line_list, siblings) { in gpio_sim_set_reserved_ranges()
802 list_for_each_entry(bank, &dev->bank_list, siblings) { in gpio_sim_add_hogs()
803 list_for_each_entry(line, &bank->line_list, siblings) { in gpio_sim_add_hogs()
820 list_for_each_entry(bank, &dev->bank_list, siblings) { in gpio_sim_add_hogs()
821 list_for_each_entry(line, &bank->line_list, siblings) { in gpio_sim_add_hogs()
[all …]
H A Dgpio-virtuser.c1012 struct list_head siblings; member
1031 struct list_head siblings; member
1374 list_for_each_entry(lookup, &dev->lookup_list, siblings) in gpio_virtuser_get_lookup_count()
1399 list_for_each_entry(lookup, &dev->lookup_list, siblings) { in gpio_virtuser_make_lookup_table()
1401 list_for_each_entry(entry, &lookup->entry_list, siblings) { in gpio_virtuser_make_lookup_table()
1440 list_for_each_entry(lookup, &dev->lookup_list, siblings) in gpio_virtuser_make_device_swnode()
1513 list_for_each_entry(lookup, &dev->lookup_list, siblings) { in gpio_virtuser_device_lockup_configfs()
1514 list_for_each_entry(entry, &lookup->entry_list, siblings) { in gpio_virtuser_device_lockup_configfs()
1576 list_del(&entry->siblings); in gpio_virtuser_lookup_entry_config_group_release()
1616 list_add_tail(&entry->siblings, &lookup->entry_list); in gpio_virtuser_make_lookup_entry_group()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_execlists.c3713 struct intel_engine_cs **siblings, in nop_virtual_engine() argument
3730 ve[n] = intel_engine_create_virtual(siblings, nsibling, 0); in nop_virtual_engine()
3841 struct intel_engine_cs **siblings, in __select_siblings() argument
3854 siblings[n++] = gt->engine_class[class][inst]; in __select_siblings()
3863 struct intel_engine_cs **siblings) in select_siblings() argument
3865 return __select_siblings(gt, class, siblings, NULL); in select_siblings()
3871 struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1]; in live_virtual_engine() local
3892 nsibling = select_siblings(gt, class, siblings); in live_virtual_engine()
3897 err = nop_virtual_engine(gt, siblings, nsibling, in live_virtual_engine()
3903 err = nop_virtual_engine(gt, siblings, nsibling, n, CHAIN); in live_virtual_engine()
[all …]
H A Dintel_execlists_submission.c204 struct intel_engine_cs *siblings[]; member
214 execlists_create_virtual(struct intel_engine_cs **siblings, unsigned int count,
1051 if (likely(engine == ve->siblings[0])) in virtual_xfer_context()
1065 if (ve->siblings[n] == engine) { in virtual_xfer_context()
1066 swap(ve->siblings[n], ve->siblings[0]); in virtual_xfer_context()
1440 str_yes_no(engine != ve->siblings[0])); in execlists_dequeue()
1467 GEM_BUG_ON(ve->siblings[0] != engine); in execlists_dequeue()
3633 struct intel_engine_cs *sibling = ve->siblings[n]; in rcu_virtual_context_destroy()
3702 swap(ve->siblings[swp], ve->siblings[0]); in virtual_engine_initial_hint()
3709 return lrc_alloc(ce, ve->siblings[0]); in virtual_context_alloc()
[all …]
H A Dintel_engine_cs.c2448 intel_engine_create_virtual(struct intel_engine_cs **siblings, in intel_engine_create_virtual() argument
2455 return intel_context_create(siblings[0]); in intel_engine_create_virtual()
2457 GEM_BUG_ON(!siblings[0]->cops->create_virtual); in intel_engine_create_virtual()
2458 return siblings[0]->cops->create_virtual(siblings, count, flags); in intel_engine_create_virtual()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.c206 kfree(pc->user_engines[i].siblings); in proto_context_close()
407 struct intel_engine_cs **siblings; in set_proto_ctx_engines_balance() local
445 siblings = kmalloc_objs(*siblings, num_siblings); in set_proto_ctx_engines_balance()
446 if (!siblings) in set_proto_ctx_engines_balance()
457 siblings[n] = intel_engine_lookup_user(i915, in set_proto_ctx_engines_balance()
460 if (!siblings[n]) { in set_proto_ctx_engines_balance()
471 set->engines[idx].engine = siblings[0]; in set_proto_ctx_engines_balance()
472 kfree(siblings); in set_proto_ctx_engines_balance()
476 set->engines[idx].siblings = siblings; in set_proto_ctx_engines_balance()
482 kfree(siblings); in set_proto_ctx_engines_balance()
[all …]
/linux/Documentation/admin-guide/hw-vuln/
H A Dcore-scheduling.rst100 siblings of a core such that all the selected tasks running on a core are
107 the sibling has the task enqueued. For rest of the siblings in the core,
112 Once a task has been selected for all the siblings in the core, an IPI is sent to
113 siblings for whom a new task was selected. Siblings on receiving the IPI will
125 siblings could be forced to select a lower priority task if the highest
157 and are considered system-wide trusted. The forced-idling of siblings running
174 the siblings to switch to the new task. But there could be hardware delays in
176 cause an attacker task to start running on a CPU before its siblings receive the
177 IPI. Even though cache is flushed on entry to user mode, victim tasks on siblings
185 Core scheduling cannot protect against MDS attacks between the siblings
[all …]
/linux/drivers/nvme/host/
H A Dmultipath.c282 list_for_each_entry_srcu(ns, &head->list, siblings, in nvme_mpath_revalidate_paths()
316 list_for_each_entry_srcu(ns, &head->list, siblings, in __nvme_find_path()
355 ns = list_next_or_null_rcu(&head->list, &ns->siblings, struct nvme_ns, in nvme_next_ns()
356 siblings); in nvme_next_ns()
359 return list_first_or_null_rcu(&head->list, struct nvme_ns, siblings); in nvme_next_ns()
416 list_for_each_entry_srcu(ns, &head->list, siblings, in nvme_queue_depth_path()
485 list_for_each_entry_srcu(ns, &head->list, siblings, in nvme_available_path()
1205 list_for_each_entry_srcu(ns, &head->list, siblings, in nvme_mpath_add_sysfs_link()
/linux/include/scsi/
H A Dscsi_device.h108 struct list_head siblings; /* list of all devices on this host */ member
351 struct list_head siblings; member
459 list_for_each_entry((sdev), &((shost)->__devices), siblings)
/linux/drivers/scsi/
H A Dscsi_scan.c305 INIT_LIST_HEAD(&sdev->siblings); in scsi_alloc_sdev()
406 list_del_init(&starget->siblings); in scsi_target_destroy()
439 list_for_each_entry(starget, &shost->__targets, siblings) { in __scsi_find_target()
524 INIT_LIST_HEAD(&starget->siblings); in scsi_alloc_target()
536 list_add_tail(&starget->siblings, &shost->__targets); in scsi_alloc_target()
2098 list_for_each_entry(sdev, &shost->__devices, siblings) { in scsi_forget_host()
H A Dscsi.c827 struct list_head *list = (prev ? &prev->siblings : &shost->__devices); in __scsi_iterate_devices()
833 next = list_entry(list->next, struct scsi_device, siblings); in __scsi_iterate_devices()
981 list_for_each_entry(sdev, &shost->__devices, siblings) { in __scsi_device_lookup()
/linux/drivers/scsi/libsas/
H A Dsas_expander.c856 list_add_tail(&child->siblings, &parent_ex->children); in sas_ex_discover_end_dev()
964 list_add_tail(&child->siblings, &parent->ex_dev.children); in sas_ex_discover_expander()
1092 list_for_each_entry(child, &ex->children, siblings) { in sas_check_level_subtractive_boundary()
1817 list_for_each_entry(ch, &ex->children, siblings) { in sas_find_bcast_dev()
1833 list_for_each_entry_safe(child, n, &ex->children, siblings) { in sas_unregister_ex_tree()
1851 &ex_dev->children, siblings) { in sas_unregister_devs_sas_addr()
1885 list_for_each_entry(child, &ex_root->children, siblings) { in sas_discover_bfs_by_root_level()
1936 list_for_each_entry(child, &dev->ex_dev.children, siblings) { in sas_discover_new()
H A Dsas_internal.h198 INIT_LIST_HEAD(&dev->siblings); in sas_alloc_device()
/linux/Documentation/admin-guide/pm/
H A Dintel_epb.rst40 example, SMT siblings or cores in one package). For this reason, updating the
/linux/kernel/
H A DKconfig.preempt156 selection across SMT siblings. When enabled -- see
157 prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings
/linux/Documentation/networking/devlink/
H A Ddevlink-port.rst402 Allows for usage of strict priority arbiter among siblings. This
410 siblings. This arbitration scheme can be used simultaneously with the
412 BW relative to its siblings. Values are relative like a percentage
414 its siblings.
/linux/net/sched/
H A Dsch_hfsc.c123 struct list_head siblings; /* sibling classes */ member
846 list_for_each_entry(p, &cl->children, siblings) { in hfsc_adjust_levels()
1078 list_add_tail(&cl->siblings, &parent->children); in hfsc_change_class()
1117 list_del(&cl->siblings); in hfsc_delete_class()
/linux/Documentation/scsi/
H A Dscsi-generic.rst13 is more generalized (but lower level) than its siblings and tends to be
/linux/Documentation/virt/
H A Dne_overview.rst52 An enclave runs on dedicated cores. CPU 0 and its CPU siblings need to remain
/linux/Documentation/power/powercap/
H A Ddtpm.rst76 …e have a weight on a 2^10 basis reflecting the percentage of power consumption along the siblings::

12