| /tools/perf/util/ |
| A D | mem-events.h | 11 u32 aux_event; 53 u32 nr_entries; 55 u32 locks; /* count of 'lock' transactions */ 56 u32 store; /* count of all stores in trace */ 59 u32 st_l1hit; /* count of stores that hit L1D */ 62 u32 load; /* count of all loads in trace */ 66 u32 ld_io; /* loads to io address */ 67 u32 ld_miss; /* loads miss */ 70 u32 ld_l1hit; /* count of loads that hit L1D */ 71 u32 ld_l2hit; /* count of loads that hit L2D */ [all …]
|
| A D | events_stats.h | 47 u32 nr_events[PERF_RECORD_HEADER_MAX]; 48 u32 nr_lost_warned; 49 u32 nr_unknown_events; 50 u32 nr_invalid_chains; 51 u32 nr_unknown_id; 52 u32 nr_unprocessable_samples; 54 u32 nr_proc_map_timeout; 62 u32 nr_samples; 63 u32 nr_non_filtered_samples; 64 u32 nr_lost_samples; [all …]
|
| A D | event.h | 132 u32 padding; 138 u32 flags; 144 u32 padding; 158 u32 padding; 173 u32 padding; 179 u32 flags; 184 u32 padding; 206 u32 flags; 208 u32 freq; 240 u32 cfe; [all …]
|
| A D | cputopo.h | 9 u32 package_cpus_lists; 11 u32 die_cpus_lists; 13 u32 core_cpus_lists; 39 u32 node; 45 u32 nr; 55 u32 nr;
|
| A D | env.h | 20 u32 level; 21 u32 line_size; 22 u32 sets; 23 u32 ways; 30 u32 node; 96 u32 comp_ratio; 97 u32 comp_ver; 98 u32 comp_type; 99 u32 comp_level; 114 u32 infos_cnt; [all …]
|
| /tools/include/linux/ |
| A D | jhash.h | 70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() 72 u32 a, b, c; in jhash() 92 case 10: c += (u32)k[9]<<8; in jhash() 96 case 6: b += (u32)k[5]<<8; in jhash() 100 case 2: a += (u32)k[1]<<8; in jhash() 117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() 119 u32 a, b, c; in jhash2() 149 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords() 160 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words() 165 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() [all …]
|
| A D | hash.h | 60 static inline u32 __hash_32_generic(u32 val) in __hash_32_generic() 65 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32() 74 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic() 81 return hash_32((u32)val ^ __hash_32(val >> 32), bits); in hash_64_generic() 85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() 91 static inline u32 hash32_ptr(const void *ptr) in hash32_ptr() 98 return (u32)val; in hash32_ptr()
|
| A D | math64.h | 22 static inline u64 mul_u64_u32_shr(u64 a, u32 b, unsigned int shift) in mul_u64_u32_shr() 30 static inline u64 mul_u32_u32(u32 a, u32 b) in mul_u32_u32() 32 u32 high, low; in mul_u32_u32() 40 static inline u64 mul_u32_u32(u32 a, u32 b) in mul_u32_u32() 46 static inline u64 mul_u64_u32_shr(u64 a, u32 b, unsigned int shift) in mul_u64_u32_shr() 48 u32 ah, al; in mul_u64_u32_shr() 75 static inline u64 div_u64(u64 dividend, u32 divisor) in div_u64()
|
| A D | btf_ids.h | 9 u32 cnt; 10 u32 ids[]; 14 u32 cnt; 15 u32 flags; 17 u32 id; 18 u32 flags; 85 extern u32 name[]; 160 #define BTF_ID_LIST(name) static u32 __maybe_unused name[5]; 163 #define BTF_ID_LIST_GLOBAL(name, n) u32 __maybe_unused name[n]; 202 extern u32 btf_sock_ids[]; [all …]
|
| A D | unaligned.h | 22 static inline u32 get_unaligned_le32(const void *p) in get_unaligned_le32() 37 static inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32() 52 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() 67 static inline void put_unaligned_be32(u32 val, void *p) in put_unaligned_be32() 77 static inline u32 __get_unaligned_be24(const u8 *p) in __get_unaligned_be24() 82 static inline u32 get_unaligned_be24(const void *p) in get_unaligned_be24() 87 static inline u32 __get_unaligned_le24(const u8 *p) in __get_unaligned_le24() 92 static inline u32 get_unaligned_le24(const void *p) in get_unaligned_le24() 97 static inline void __put_unaligned_be24(const u32 val, u8 *p) in __put_unaligned_be24() 104 static inline void put_unaligned_be24(const u32 val, void *p) in put_unaligned_be24() [all …]
|
| /tools/perf/util/cs-etm-decoder/ |
| A D | cs-etm-decoder.h | 27 u32 reg_ctrl; 29 u32 reg_ccer; 30 u32 reg_idr; 34 u32 reg_idr0; 35 u32 reg_idr1; 36 u32 reg_idr2; 37 u32 reg_idr8; 43 u32 reg_idr0; 44 u32 reg_idr1; 45 u32 reg_idr2; [all …]
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_jhash.h | 5 typedef unsigned int u32; typedef 7 static __always_inline u32 rol32(u32 word, unsigned int shift) in rol32() 36 u32 jhash(const void *key, u32 length, u32 initval) in jhash() 38 u32 a, b, c; in jhash() 44 a += *(volatile u32 *)(k); in jhash() 54 case 10: c += (u32)k[9]<<8; in jhash() 56 case 8: b += (u32)k[7]<<24; in jhash() 58 case 6: b += (u32)k[5]<<8; in jhash() 62 case 2: a += (u32)k[1]<<8; in jhash() 73 static __always_inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() [all …]
|
| A D | test_tcp_custom_syncookie.h | 44 static inline u32 from64to32(u64 x) in from64to32() 50 return (u32)x; in from64to32() 56 unsigned long long s = (__force u32)sum; in csum_tcpudp_nofold() 58 s += (__force u32)saddr; in csum_tcpudp_nofold() 59 s += (__force u32)daddr; in csum_tcpudp_nofold() 71 u32 sum = (__force u32)csum; in csum_fold() 92 __u32 sum = (__force u32)csum; in csum_ipv6_magic() 94 sum += (__force u32)saddr->in6_u.u6_addr32[0]; in csum_ipv6_magic() 98 sum += (__force u32)saddr->in6_u.u6_addr32[1]; in csum_ipv6_magic() 126 ulen = (__force u32)bpf_htonl((__u32)len); in csum_ipv6_magic() [all …]
|
| A D | tcp_ca_kfunc.c | 9 extern u32 bbr_sndbuf_expand(struct sock *sk) __ksym; 10 extern u32 bbr_undo_cwnd(struct sock *sk) __ksym; 12 extern u32 bbr_ssthresh(struct sock *sk) __ksym; 13 extern u32 bbr_min_tso_segs(struct sock *sk) __ksym; 19 extern u32 dctcp_ssthresh(struct sock *sk) __ksym; 25 extern void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) __ksym; 51 void BPF_PROG(cong_avoid, struct sock *sk, u32 ack, u32 acked) in BPF_PROG() 57 u32 BPF_PROG(sndbuf_expand, struct sock *sk) in BPF_PROG() 63 u32 BPF_PROG(undo_cwnd, struct sock *sk) in BPF_PROG() 78 u32 BPF_PROG(ssthresh, struct sock *sk) in BPF_PROG() [all …]
|
| A D | cpumask_common.h | 34 u32 bpf_cpumask_first(const struct cpumask *cpumask) __ksym __weak; 35 u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym __weak; 36 u32 bpf_cpumask_first_and(const struct cpumask *src1, 38 void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak; 39 void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak; 40 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym __weak; 60 u32 bpf_cpumask_any_distribute(const struct cpumask *src) __ksym __weak; 61 u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, 63 u32 bpf_cpumask_weight(const struct cpumask *cpumask) __ksym __weak; 95 u32 key = 0; in cpumask_map_value_lookup() [all …]
|
| A D | test_bpf_nf.c | 35 u32 test_delta_timeout = 0; 36 u32 test_status = 0; 37 u32 test_insert_lookup_mark = 0; 45 u32 test_exist_lookup_mark = 0; 73 struct bpf_ct_opts___local *, u32) __ksym; 75 struct bpf_ct_opts___local *, u32) __ksym; 77 struct bpf_ct_opts___local *, u32) __ksym; 91 struct bpf_ct_opts___local *, u32), in nf_ct_test() argument 93 struct bpf_ct_opts___local *, u32), in nf_ct_test() 246 struct bpf_ct_opts___new *, u32), in nf_ct_opts_new_test() argument [all …]
|
| /tools/testing/selftests/bpf/ |
| A D | xskxceiver.h | 77 u32 num_frames; 80 u32 frame_size; 81 u32 base_addr; 82 u32 fill_size; 83 u32 comp_size; 94 u32 rxqsize; 95 u32 batch_size; 103 u32 len; 104 u32 pkt_nb; 110 u32 nb_pkts; [all …]
|
| /tools/testing/selftests/kvm/include/arm64/ |
| A D | gic_v3_its.h | 12 void its_send_mapd_cmd(void *cmdq_base, u32 device_id, vm_paddr_t itt_base, 14 void its_send_mapc_cmd(void *cmdq_base, u32 vcpu_id, u32 collection_id, bool valid); 15 void its_send_mapti_cmd(void *cmdq_base, u32 device_id, u32 event_id, 16 u32 collection_id, u32 intid); 17 void its_send_invall_cmd(void *cmdq_base, u32 collection_id);
|
| /tools/arch/x86/include/asm/ |
| A D | pvclock-abi.h | 27 u32 version; 28 u32 pad0; 31 u32 tsc_to_system_mul; 38 u32 version; 39 u32 sec; 40 u32 nsec;
|
| /tools/perf/util/bpf_skel/ |
| A D | lock_data.h | 7 u32 pid; // Who has the lock. 8 u32 count; // How many waiters for this lock. 16 u32 flags; 22 u32 pid; 56 u32 count; 57 u32 flags; 74 u32 id;
|
| /tools/testing/selftests/kvm/include/x86/ |
| A D | svm.h | 60 u32 reserved:29; 62 u32 hv_vp_id; 88 u32 asid; 91 u32 int_ctl; 92 u32 int_vector; 93 u32 int_state; 95 u32 exit_code; 104 u32 event_inj; 108 u32 clean; 109 u32 reserved_5; [all …]
|
| /tools/power/acpi/os_specific/service_layers/ |
| A D | osunixxf.c | 52 acpi_status acpi_ut_read_line(char *buffer, u32 buffer_length, u32 *bytes_read); 279 u32 *new_table_length) in acpi_os_physical_table_override() 301 acpi_status acpi_os_enter_sleep(u8 sleep_state, u32 rega_value, u32 regb_value) in acpi_os_enter_sleep() 440 acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read) in acpi_os_get_line() 443 u32 end_of_line; in acpi_os_get_line() 895 u32 936 void acpi_os_stall(u32 microseconds) in acpi_os_stall() 1013 u32 pci_register, u64 *value, u32 width) in acpi_os_read_pci_configuration() 1037 u32 pci_register, u64 value, u32 width) in acpi_os_write_pci_configuration() 1057 acpi_status acpi_os_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_os_read_port() [all …]
|
| /tools/arch/x86/kcpuid/ |
| A D | kcpuid.c | 16 typedef unsigned int u32; typedef 53 u32 index; 54 u32 sub; 55 u32 output[NR_REGS]; 147 u32 with_subleaves[] = { in has_subleafs() 176 u32 a, u32 b, u32 c, u32 d) in cpuid_store() 240 u32 max_func, range_funcs_sz; in setup_cpuid_range() 241 u32 eax, ebx, ecx, edx; in setup_cpuid_range() 319 u32 index; in parse_line() 466 u32 mask; in show_reg() [all …]
|
| /tools/sched_ext/ |
| A D | scx_flatcg.h | 40 u32 nr_active; 41 u32 nr_runnable; 42 u32 queued; 43 u32 weight; 44 u32 hweight;
|
| /tools/bpf/bpftool/skeleton/ |
| A D | profiler.bpf.c | 16 __uint(key_size, sizeof(u32)); 23 __uint(key_size, sizeof(u32)); 30 __uint(key_size, sizeof(u32)); 37 __uint(key_size, sizeof(u32)); 49 u32 key = bpf_get_smp_processor_id(); in BPF_PROG() 50 u32 i; in BPF_PROG() 54 u32 flag = i; in BPF_PROG() 77 fexit_update_maps(u32 id, struct bpf_perf_event_value___local *after) in fexit_update_maps() 103 u32 cpu = bpf_get_smp_processor_id(); in BPF_PROG() 104 u32 i, zero = 0; in BPF_PROG()
|