Home
last modified time | relevance | path

Searched refs:bswap_16 (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/tools/include/linux/
Dkernel.h70 #define cpu_to_le16 bswap_16
73 #define le16_to_cpu bswap_16
89 #define cpu_to_be16 bswap_16
92 #define be16_to_cpu bswap_16
/Linux-v6.6/tools/perf/util/
Dsymbol-minimal.c124 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize); in filename__read_build_id()
125 ehdr.e_phnum = bswap_16(ehdr.e_phnum); in filename__read_build_id()
175 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize); in filename__read_build_id()
176 ehdr.e_phnum = bswap_16(ehdr.e_phnum); in filename__read_build_id()
Dsession.c692 event->text_poke.old_len = bswap_16(event->text_poke.old_len); in perf_event__text_poke_swap()
693 event->text_poke.new_len = bswap_16(event->text_poke.new_len); in perf_event__text_poke_swap()
917 data->type = bswap_16(data->type); in perf_event__cpu_map_swap()
921 data->cpus_data.nr = bswap_16(data->cpus_data.nr); in perf_event__cpu_map_swap()
924 data->cpus_data.cpu[i] = bswap_16(data->cpus_data.cpu[i]); in perf_event__cpu_map_swap()
927 data->mask32_data.long_size = bswap_16(data->mask32_data.long_size); in perf_event__cpu_map_swap()
931 data->mask32_data.nr = bswap_16(data->mask32_data.nr); in perf_event__cpu_map_swap()
936 data->mask64_data.nr = bswap_16(data->mask64_data.nr); in perf_event__cpu_map_swap()
945 data->range_cpu_data.start_cpu = bswap_16(data->range_cpu_data.start_cpu); in perf_event__cpu_map_swap()
946 data->range_cpu_data.end_cpu = bswap_16(data->range_cpu_data.end_cpu); in perf_event__cpu_map_swap()
[all …]
Ddso.h110 ____r = bswap_16(val); \
Devsel.c2816 return bswap_16(value); in format_field__intval()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dverifier_bswap.c13 __naked void bswap_16(void) in bswap_16() function
/Linux-v6.6/tools/objtool/include/objtool/
Dendianness.h31 __ret = __need_bswap ? bswap_16(val) : (val); break; \
/Linux-v6.6/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c10 #define be16_to_cpup(x) bswap_16(*x)
/Linux-v6.6/arch/mips/boot/tools/
Drelocs.c134 #define be16_to_cpu(val) bswap_16(val)
141 #define cpu_to_be16(val) bswap_16(val)
146 #define le16_to_cpu(val) bswap_16(val)
153 #define cpu_to_le16(val) bswap_16(val)
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c56 ASSERT_EQ(bswap_16(hdr->magic), BTF_MAGIC, "btf_magic_swapped"); in test_btf_endian()
/Linux-v6.6/arch/mips/tools/
Dloongson3-llsc-check.c24 # define le16toh(x) bswap_16(x)
/Linux-v6.6/tools/perf/util/intel-pt-decoder/
Dintel-pt-insn-decoder.c169 bswap_16((short)insn->immediate.value); in intel_pt_insn_decoder()
Dintel-pt-pkt-decoder.c20 #define le16_to_cpu bswap_16
/Linux-v6.6/tools/perf/util/arm-spe-decoder/
Darm-spe-pkt-decoder.c17 #define le16_to_cpu bswap_16
/Linux-v6.6/tools/lib/bpf/
Dbtf.c212 h->magic = bswap_16(h->magic); in btf_bswap_hdr()
230 if (hdr->magic == bswap_16(BTF_MAGIC)) { in btf_parse_hdr()
1078 if (magic != BTF_MAGIC && magic != bswap_16(BTF_MAGIC)) { in btf_parse_raw()
2795 if (hdr->magic == bswap_16(BTF_MAGIC)) { in btf_ext_parse_hdr()
/Linux-v6.6/arch/x86/tools/
Drelocs.c317 #define le16_to_cpu(val) bswap_16(val)