| /tools/arch/x86/kcpuid/ |
| A D | kcpuid.c | 163 if (leaf->sub == 0) in leaf_print_raw() 167 leaf->output[0], leaf->output[1], leaf->output[2], leaf->output[3]); in leaf_print_raw() 170 leaf->output[0], leaf->output[1], leaf->output[2], leaf->output[3]); in leaf_print_raw() 179 struct subleaf *leaf; in cpuid_store() local 206 leaf = &func->leafs[s]; in cpuid_store() 208 leaf->index = f; in cpuid_store() 209 leaf->sub = subleaf; in cpuid_store() 318 struct subleaf *leaf; in parse_line() local 507 leaf_print_raw(leaf); in show_leaf() 510 show_reg_header((leaf->info[i].nr > 0), leaf->index, leaf->sub, reg_names[i]); in show_leaf() [all …]
|
| A D | cpuid.csv | 13 # Maximum standard leaf number + CPU vendor string 15 … 0x0, 0, eax, 31:0, max_std_leaf , Highest standard CPUID leaf supported 188 0x7, 0, eax, 31:0, leaf7_n_subleaves , Number of leaf 0x7 subleaves 408 0x12, 0, eax, 0, sgx1 , SGX1 leaf functions supported 448 0x14, 0, eax, 31:0, pt_max_subleaf , Maximum leaf 0x14 subleaf 485 0x17, 0, eax, 31:0, soc_max_subleaf , Maximum leaf 0x17 subleaf 498 0x18, 31:0, eax, 31:0, tlb_max_subleaf , Maximum leaf 0x18 subleaf 619 # Maximum hypervisor standard leaf + hypervisor vendor string 627 # Maximum extended leaf number + AMD/Transmeta CPU vendor string 1070 # Maximum Transmeta leaf number + CPU vendor ID string [all …]
|
| /tools/testing/selftests/bpf/progs/ |
| A D | xdpwall.c | 118 __u8 *leaf; in filter_ipv6_addr() local 120 leaf = bpf_map_lookup_elem(&v6_addr_map, ipv6addr); in filter_ipv6_addr() 122 return leaf ? *leaf : 0; in filter_ipv6_addr() 127 __u8 *leaf; in filter_ipv4_addr() local 129 leaf = bpf_map_lookup_elem(&v4_addr_map, &ipaddr); in filter_ipv4_addr() 131 return leaf ? *leaf : 0; in filter_ipv4_addr() 221 __u8 *leaf = bpf_map_lookup_elem(&tcp_port_map, &port); in filter_tcp_port() local 223 return leaf ? *leaf : 0; in filter_tcp_port() 228 __u16 *leaf = bpf_map_lookup_elem(&udp_port_map, &port); in filter_udp_port() local 230 return leaf ? *leaf : 0; in filter_udp_port()
|
| /tools/testing/selftests/cgroup/ |
| A D | test_cpu.c | 486 struct cpu_hogger leaf[3] = {}; in run_cpucg_nested_weight_test() local 517 for (i = 0; i < ARRAY_SIZE(leaf); i++) { in run_cpucg_nested_weight_test() 529 if (!leaf[i].cgroup) in run_cpucg_nested_weight_test() 532 if (cg_create(leaf[i].cgroup)) in run_cpucg_nested_weight_test() 554 leaf[i].pid = pid; in run_cpucg_nested_weight_test() 560 waitpid(leaf[i].pid, &retcode, 0); in run_cpucg_nested_weight_test() 568 leaf[i].usage = cg_read_key_long(leaf[i].cgroup, in run_cpucg_nested_weight_test() 570 if (leaf[i].usage <= 0) in run_cpucg_nested_weight_test() 574 nested_leaf_usage = leaf[1].usage + leaf[2].usage; in run_cpucg_nested_weight_test() 591 cg_destroy(leaf[i].cgroup); in run_cpucg_nested_weight_test() [all …]
|
| /tools/perf/tests/workloads/ |
| A D | leafloop.c | 9 noinline void leaf(volatile int b); 20 noinline void leaf(volatile int b) in leaf() function 28 leaf(b); in parent()
|
| /tools/testing/selftests/mm/ |
| A D | pkey-x86.h | 125 int leaf; in pkey_reg_xstate_offset() local 128 leaf = XSTATE_PKEY_BIT; in pkey_reg_xstate_offset() 130 __cpuid_count(XSTATE_CPUID, leaf, eax, ebx, ecx, edx); in pkey_reg_xstate_offset() 132 if (leaf == XSTATE_PKEY_BIT) { in pkey_reg_xstate_offset()
|
| /tools/testing/selftests/drivers/net/mlxsw/ |
| A D | sch_offload.sh | 199 if [[ -z "$cont$leaf$fifo" ]]; then 203 $cont $leaf $fifo 210 do_test_nooffload $handle $parent $cont red tbf $leaf 211 do_test_nooffload $handle $parent $cont tbf red $leaf 214 do_test_nooffload $handle $parent $cont $leaf
|
| /tools/testing/selftests/devices/probe/boards/ |
| A D | google,spherion.yaml | 24 # controller. A device might be a leaf device or another controller (see 34 # The 'name' key is used in the leaf devices to name the device for clarity in 37 # For USB leaf devices, the 'interfaces' key should contain a list of the
|
| /tools/bootconfig/ |
| A D | main.c | 118 struct xbc_node *leaf; in xbc_show_list() local 122 xbc_for_each_key_value(leaf, val) { in xbc_show_list() 123 ret = xbc_node_compose_key(leaf, key, XBC_KEYLEN_MAX); in xbc_show_list() 133 xbc_show_value(xbc_node_get_child(leaf), false); in xbc_show_list()
|
| /tools/perf/ui/browsers/ |
| A D | hists.c | 74 if (he->leaf && he->unfolded) in hist_browser__get_folding() 280 if (he->leaf) in hierarchy_count_rows() 387 if (he->leaf) { in hist_entry__init_have_children() 464 if (he->leaf) in hist_browser__toggle_fold() 473 if (he->leaf) in hist_browser__toggle_fold() 499 if (he->leaf) in hist_browser__toggle_fold() 592 if (he->leaf) in hist_entry__set_folding() 624 if (he->leaf) in __hist_browser__set_folding() 2006 if (h->unfolded && h->leaf) { in ui_browser__hists_seek() 2028 if (h->unfolded && h->leaf) { in ui_browser__hists_seek() [all …]
|
| /tools/perf/ui/gtk/ |
| A D | hists.c | 465 if (!he->leaf) { in perf_gtk__add_hierarchy_entries() 485 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in perf_gtk__add_hierarchy_entries()
|
| /tools/perf/util/ |
| A D | hist.c | 430 if (!he->leaf) { in hists__decay_entry() 595 he->leaf = true; in hist_entry__init() 1724 new_he->leaf = true; in hists__hierarchy_insert_entry() 1991 if (!he->leaf) { in hists__hierarchy_output_resort() 2151 if (he->leaf || hmd == HMD_FORCE_SIBLING) in can_goto_child() 2211 if (he->leaf) in hist_entry__has_hierarchy_children() 2377 if (he->leaf || he->filtered) in resort_filtered_entry() 2760 if (!pos->leaf) { in hists__link_hierarchy()
|
| A D | hist.h | 270 bool leaf; member
|
| /tools/perf/ui/stdio/ |
| A D | hist.c | 531 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hist_entry__hierarchy_fprintf() 894 if (!h->leaf && !hist_entry__has_hierarchy_children(h, min_pcnt)) { in hists__fprintf()
|
| /tools/power/x86/x86_energy_perf_policy/ |
| A D | x86_energy_perf_policy.c | 1394 static void get_cpuid_or_exit(unsigned int leaf, in get_cpuid_or_exit() argument 1398 if (!__get_cpuid(leaf, eax, ebx, ecx, edx)) in get_cpuid_or_exit()
|
| /tools/perf/Documentation/ |
| A D | perf-intel-pt.txt | 431 can be related to TSC via values provided in cpuid leaf 0x15.
|