Searched refs:bswap_16 (Results 1 – 16 of 16) sorted by relevance
71 #define cpu_to_le16 bswap_1674 #define le16_to_cpu bswap_1690 #define cpu_to_be16 bswap_1693 #define be16_to_cpu bswap_16
124 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()
392 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 …]
112 ____r = bswap_16(val); \
3135 return bswap_16(value); in format_field__intval()
31 __ret = __need_bswap ? bswap_16(val) : (val); break; \
16 __naked void bswap_16(void) in bswap_16() function
10 #define be16_to_cpup(x) bswap_16(*x)
134 #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)
56 ASSERT_EQ(bswap_16(hdr->magic), BTF_MAGIC, "btf_magic_swapped"); in test_btf_endian()
66 #define be16_to_cpu(val) bswap_16(val)72 #define le16_to_cpu(val) bswap_16(val)
59 (typeof(x))(sizeof(x) == 2 ? bswap_16(x) : \
24 # define le16toh(x) bswap_16(x)
178 bswap_16((short)insn->immediate.value); in intel_pt_insn_decoder()
215 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()
322 # define le16_to_cpu(val) bswap_16(val)