Home
last modified time | relevance | path

Searched refs:bswap_32 (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dsymbol-minimal.c52 nhdr->n_namesz = bswap_32(nhdr->n_namesz); in read_build_id()
53 nhdr->n_descsz = bswap_32(nhdr->n_descsz); in read_build_id()
54 nhdr->n_type = bswap_32(nhdr->n_type); in read_build_id()
123 ehdr.e_phoff = bswap_32(ehdr.e_phoff); in filename__read_build_id()
142 phdr->p_type = bswap_32(phdr->p_type); in filename__read_build_id()
143 phdr->p_offset = bswap_32(phdr->p_offset); in filename__read_build_id()
144 phdr->p_filesz = bswap_32(phdr->p_filesz); in filename__read_build_id()
194 phdr->p_type = bswap_32(phdr->p_type); in filename__read_build_id()
Dsession.c280 event->comm.pid = bswap_32(event->comm.pid); in perf_event__comm_swap()
281 event->comm.tid = bswap_32(event->comm.tid); in perf_event__comm_swap()
294 event->mmap.pid = bswap_32(event->mmap.pid); in perf_event__mmap_swap()
295 event->mmap.tid = bswap_32(event->mmap.tid); in perf_event__mmap_swap()
311 event->mmap2.pid = bswap_32(event->mmap2.pid); in perf_event__mmap2_swap()
312 event->mmap2.tid = bswap_32(event->mmap2.tid); in perf_event__mmap2_swap()
318 event->mmap2.maj = bswap_32(event->mmap2.maj); in perf_event__mmap2_swap()
319 event->mmap2.min = bswap_32(event->mmap2.min); in perf_event__mmap2_swap()
333 event->fork.pid = bswap_32(event->fork.pid); in perf_event__task_swap()
334 event->fork.tid = bswap_32(event->fork.tid); in perf_event__task_swap()
[all …]
Djitdump.c176 header.version = bswap_32(header.version); in jit_open()
177 header.total_size = bswap_32(header.total_size); in jit_open()
178 header.pid = bswap_32(header.pid); in jit_open()
179 header.elf_mach = bswap_32(header.elf_mach); in jit_open()
282 prefix->id = bswap_32(prefix->id); in jit_get_next_entry()
283 prefix->total_size = bswap_32(prefix->total_size); in jit_get_next_entry()
321 jr->info.entries[n].lineno = bswap_32(jr->info.entries[n].lineno); in jit_get_next_entry()
322 jr->info.entries[n].discrim = bswap_32(jr->info.entries[n].discrim); in jit_get_next_entry()
337 jr->load.pid = bswap_32(jr->load.pid); in jit_get_next_entry()
338 jr->load.tid = bswap_32(jr->load.tid); in jit_get_next_entry()
[all …]
Dmemswap.c10 *m = bswap_32(*m); in mem_bswap_32()
Devsel.c2508 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2535 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2536 u.val32[1] = bswap_32(u.val32[1]); in perf_evsel__parse_id_sample()
2705 u.val32[0] = bswap_32(u.val32[0]); in evsel__parse_sample()
2706 u.val32[1] = bswap_32(u.val32[1]); in evsel__parse_sample()
2740 u.val32[0] = bswap_32(u.val32[0]); in evsel__parse_sample()
2825 u.val32[0] = bswap_32(u.val32[0]); in evsel__parse_sample()
2826 u.val32[1] = bswap_32(u.val32[1]); in evsel__parse_sample()
3137 return bswap_32(value); in format_field__intval()
Ddso.h115 ____r = bswap_32(val); \
Dheader.c235 *addr = bswap_32(*addr); in do_read_u32()
4170 sz = bswap_32(sz); in read_attr()
/linux-6.12.1/tools/include/linux/
Dkernel.h72 #define cpu_to_le32 bswap_32
75 #define le32_to_cpu bswap_32
91 #define cpu_to_be32 bswap_32
94 #define be32_to_cpu bswap_32
/linux-6.12.1/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c8 #define cpu_to_be32(x) bswap_32(x)
9 #define be32_to_cpu(x) bswap_32(x)
/linux-6.12.1/arch/mips/tools/
Delf-entry.c14 # define be32toh(x) bswap_32(x)
20 # define le32toh(x) bswap_32(x)
Dloongson3-llsc-check.c25 # define le32toh(x) bswap_32(x)
/linux-6.12.1/tools/lib/bpf/
Dbtf.c216 h->hdr_len = bswap_32(h->hdr_len); in btf_bswap_hdr()
217 h->type_off = bswap_32(h->type_off); in btf_bswap_hdr()
218 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr()
219 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr()
220 h->str_len = bswap_32(h->str_len); in btf_bswap_hdr()
235 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr()
237 bswap_32(hdr->hdr_len)); in btf_parse_hdr()
334 t->name_off = bswap_32(t->name_off); in btf_bswap_type_base()
335 t->info = bswap_32(t->info); in btf_bswap_type_base()
336 t->type = bswap_32(t->type); in btf_bswap_type_base()
[all …]
/linux-6.12.1/tools/objtool/include/objtool/
Dendianness.h29 __ret = __need_bswap ? bswap_32(val) : (val); break; \
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dverifier_bswap.c28 __naked void bswap_32(void) in bswap_32() function
/linux-6.12.1/tools/testing/selftests/powerpc/syscalls/
Drtas_filter.c24 #define cpu_to_be32(x) bswap_32(x)
25 #define be32_to_cpu(x) bswap_32(x)
/linux-6.12.1/arch/mips/boot/tools/
Drelocs.c135 #define be32_to_cpu(val) bswap_32(val)
142 #define cpu_to_be32(val) bswap_32(val)
147 #define le32_to_cpu(val) bswap_32(val)
154 #define cpu_to_le32(val) bswap_32(val)
/linux-6.12.1/arch/s390/tools/
Drelocs.c67 #define be32_to_cpu(val) bswap_32(val)
73 #define le32_to_cpu(val) bswap_32(val)
/linux-6.12.1/scripts/mod/
Dmodpost.h60 sizeof(x) == 4 ? bswap_32(x) : \
/linux-6.12.1/tools/perf/util/intel-pt-decoder/
Dintel-pt-insn-decoder.c181 intel_pt_insn->rel = bswap_32(insn->immediate.value); in intel_pt_insn_decoder()
/linux-6.12.1/tools/bpf/resolve_btfids/
Dmain.c721 set8->flags = bswap_32(set8->flags); in sets_patch()
724 bswap_32(set8->pairs[i].flags); in sets_patch()
/linux-6.12.1/arch/x86/tools/
Drelocs.c323 # define le32_to_cpu(val) bswap_32(val)