Home
last modified time | relevance | path

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

/linux/tools/include/linux/
A 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/tools/perf/util/
A 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()
A 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()
646 data->range_cpu_data.end_cpu = bswap_16(data->range_cpu_data.end_cpu); in perf_event__cpu_map_swap()
1621 hdr->misc = bswap_16(hdr->misc); in perf_event_header__bswap()
[all …]
A Ddso.h112 ____r = bswap_16(val); \
A Devsel.c3135 return bswap_16(value); in format_field__intval()
/linux/tools/objtool/include/objtool/
A Dendianness.h31 __ret = __need_bswap ? bswap_16(val) : (val); break; \
/linux/tools/testing/selftests/bpf/progs/
A Dverifier_bswap.c16 __naked void bswap_16(void) in bswap_16() function
/linux/tools/testing/selftests/powerpc/vphn/
A Dtest-vphn.c10 #define be16_to_cpup(x) bswap_16(*x)
/linux/arch/mips/boot/tools/
A 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/tools/testing/selftests/bpf/prog_tests/
A Dbtf_endian.c56 ASSERT_EQ(bswap_16(hdr->magic), BTF_MAGIC, "btf_magic_swapped"); in test_btf_endian()
/linux/scripts/mod/
A Dmodpost.h59 (typeof(x))(sizeof(x) == 2 ? bswap_16(x) : \
/linux/arch/s390/tools/
A Drelocs.c66 #define be16_to_cpu(val) bswap_16(val)
72 #define le16_to_cpu(val) bswap_16(val)
/linux/arch/mips/tools/
A Dloongson3-llsc-check.c24 # define le16toh(x) bswap_16(x)
/linux/tools/perf/util/intel-pt-decoder/
A Dintel-pt-insn-decoder.c178 bswap_16((short)insn->immediate.value); in intel_pt_insn_decoder()
/linux/tools/lib/bpf/
A 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/arch/x86/tools/
A Drelocs.c322 # define le16_to_cpu(val) bswap_16(val)

Completed in 50 milliseconds