Home
last modified time | relevance | path

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

/linux-6.12.1/tools/include/linux/
Dkernel.h71 #define cpu_to_le16 bswap_16
74 #define le16_to_cpu bswap_16
90 #define cpu_to_be16 bswap_16
93 #define be16_to_cpu bswap_16
/linux-6.12.1/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()
176 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize); in filename__read_build_id()
177 ehdr.e_phnum = bswap_16(ehdr.e_phnum); in filename__read_build_id()
Dsession.c392 event->text_poke.old_len = bswap_16(event->text_poke.old_len); in perf_event__text_poke_swap()
393 event->text_poke.new_len = bswap_16(event->text_poke.new_len); in perf_event__text_poke_swap()
617 data->type = bswap_16(data->type); in perf_event__cpu_map_swap()
621 data->cpus_data.nr = bswap_16(data->cpus_data.nr); in perf_event__cpu_map_swap()
624 data->cpus_data.cpu[i] = bswap_16(data->cpus_data.cpu[i]); in perf_event__cpu_map_swap()
627 data->mask32_data.long_size = bswap_16(data->mask32_data.long_size); in perf_event__cpu_map_swap()
631 data->mask32_data.nr = bswap_16(data->mask32_data.nr); in perf_event__cpu_map_swap()
636 data->mask64_data.nr = bswap_16(data->mask64_data.nr); in perf_event__cpu_map_swap()
645 data->range_cpu_data.start_cpu = bswap_16(data->range_cpu_data.start_cpu); in perf_event__cpu_map_swap()
646 data->range_cpu_data.end_cpu = bswap_16(data->range_cpu_data.end_cpu); in perf_event__cpu_map_swap()
[all …]
Ddso.h112 ____r = bswap_16(val); \
Devsel.c3135 return bswap_16(value); in format_field__intval()
/linux-6.12.1/tools/objtool/include/objtool/
Dendianness.h31 __ret = __need_bswap ? bswap_16(val) : (val); break; \
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dverifier_bswap.c16 __naked void bswap_16(void) in bswap_16() function
/linux-6.12.1/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c10 #define be16_to_cpup(x) bswap_16(*x)
/linux-6.12.1/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-6.12.1/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-6.12.1/arch/s390/tools/
Drelocs.c66 #define be16_to_cpu(val) bswap_16(val)
72 #define le16_to_cpu(val) bswap_16(val)
/linux-6.12.1/scripts/mod/
Dmodpost.h59 (typeof(x))(sizeof(x) == 2 ? bswap_16(x) : \
/linux-6.12.1/arch/mips/tools/
Dloongson3-llsc-check.c24 # define le16toh(x) bswap_16(x)
/linux-6.12.1/tools/perf/util/intel-pt-decoder/
Dintel-pt-insn-decoder.c178 bswap_16((short)insn->immediate.value); in intel_pt_insn_decoder()
/linux-6.12.1/tools/lib/bpf/
Dbtf.c215 h->magic = bswap_16(h->magic); in btf_bswap_hdr()
233 if (hdr->magic == bswap_16(BTF_MAGIC)) { in btf_parse_hdr()
1296 if (magic != BTF_MAGIC && magic != bswap_16(BTF_MAGIC)) { in btf_parse_raw()
3036 if (hdr->magic == bswap_16(BTF_MAGIC)) { in btf_ext_parse_hdr()
/linux-6.12.1/arch/x86/tools/
Drelocs.c322 # define le16_to_cpu(val) bswap_16(val)