Home
last modified time | relevance | path

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

/linux-6.15/tools/include/linux/
H A Dkernel.h60 #define cpu_to_le32 bswap_32
63 #define le32_to_cpu bswap_32
79 #define cpu_to_be32 bswap_32
82 #define be32_to_cpu bswap_32
/linux-6.15/tools/perf/util/
H A 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()
H A Dsession.c281 event->comm.pid = bswap_32(event->comm.pid); in perf_event__comm_swap()
282 event->comm.tid = bswap_32(event->comm.tid); in perf_event__comm_swap()
295 event->mmap.pid = bswap_32(event->mmap.pid); in perf_event__mmap_swap()
296 event->mmap.tid = bswap_32(event->mmap.tid); in perf_event__mmap_swap()
334 event->fork.pid = bswap_32(event->fork.pid); in perf_event__task_swap()
335 event->fork.tid = bswap_32(event->fork.tid); in perf_event__task_swap()
336 event->fork.ppid = bswap_32(event->fork.ppid); in perf_event__task_swap()
337 event->fork.ptid = bswap_32(event->fork.ptid); in perf_event__task_swap()
486 attr->type = bswap_32(attr->type); in perf_event__attr_swap()
487 attr->size = bswap_32(attr->size); in perf_event__attr_swap()
[all …]
H A 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()
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()
348 jr->move.pid = bswap_32(jr->move.pid); in jit_get_next_entry()
[all …]
H A Dmemswap.c10 *m = bswap_32(*m); in mem_bswap_32()
H A Devsel.c2780 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2807 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2808 u.val32[1] = bswap_32(u.val32[1]); in perf_evsel__parse_id_sample()
2977 u.val32[0] = bswap_32(u.val32[0]); in evsel__parse_sample()
2978 u.val32[1] = bswap_32(u.val32[1]); in evsel__parse_sample()
3012 u.val32[0] = bswap_32(u.val32[0]); in evsel__parse_sample()
3097 u.val32[0] = bswap_32(u.val32[0]); in evsel__parse_sample()
3098 u.val32[1] = bswap_32(u.val32[1]); in evsel__parse_sample()
3416 return bswap_32(value); in format_field__intval()
H A Ddso.h173 ____r = bswap_32(val); \
H A Dheader.c236 *addr = bswap_32(*addr); in do_read_u32()
4147 sz = bswap_32(sz); in read_attr()
/linux-6.15/tools/lib/bpf/
H A Dlibbpf_internal.h524 i->insn_off = bswap_32(i->insn_off); in bpf_func_info_bswap()
525 i->type_id = bswap_32(i->type_id); in bpf_func_info_bswap()
530 i->insn_off = bswap_32(i->insn_off); in bpf_line_info_bswap()
531 i->file_name_off = bswap_32(i->file_name_off); in bpf_line_info_bswap()
532 i->line_off = bswap_32(i->line_off); in bpf_line_info_bswap()
533 i->line_col = bswap_32(i->line_col); in bpf_line_info_bswap()
538 i->insn_off = bswap_32(i->insn_off); in bpf_core_relo_bswap()
539 i->type_id = bswap_32(i->type_id); in bpf_core_relo_bswap()
540 i->access_str_off = bswap_32(i->access_str_off); in bpf_core_relo_bswap()
541 i->kind = bswap_32(i->kind); in bpf_core_relo_bswap()
[all …]
H A Dbtf.c238 bswap_32(hdr->hdr_len)); in btf_parse_hdr()
336 t->info = bswap_32(t->info); in btf_bswap_type_base()
337 t->type = bswap_32(t->type); in btf_bswap_type_base()
368 e->val = bswap_32(e->val); in btf_bswap_type_rest()
380 a->type = bswap_32(a->type); in btf_bswap_type_rest()
388 m->type = bswap_32(m->type); in btf_bswap_type_rest()
395 p->type = bswap_32(p->type); in btf_bswap_type_rest()
403 v->type = bswap_32(v->type); in btf_bswap_type_rest()
405 v->size = bswap_32(v->size); in btf_bswap_type_rest()
3129 *rs = bswap_32(*rs); in btf_ext_bswap_info_sec()
[all …]
H A Dgen_loader.c441 case 4: _val = bswap_32(_val); break; \
/linux-6.15/tools/testing/selftests/powerpc/vphn/
H A Dtest-vphn.c8 #define cpu_to_be32(x) bswap_32(x)
9 #define be32_to_cpu(x) bswap_32(x)
/linux-6.15/arch/mips/tools/
H A Delf-entry.c14 # define be32toh(x) bswap_32(x)
20 # define le32toh(x) bswap_32(x)
H A Dloongson3-llsc-check.c25 # define le32toh(x) bswap_32(x)
/linux-6.15/tools/objtool/include/objtool/
H A Dendianness.h29 __ret = __need_bswap ? bswap_32(val) : (val); break; \
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dverifier_bswap.c28 __naked void bswap_32(void) in bswap_32() function
/linux-6.15/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c24 #define cpu_to_be32(x) bswap_32(x)
25 #define be32_to_cpu(x) bswap_32(x)
/linux-6.15/arch/mips/boot/tools/
H A 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.15/arch/s390/tools/
H A Drelocs.c67 #define be32_to_cpu(val) bswap_32(val)
73 #define le32_to_cpu(val) bswap_32(val)
/linux-6.15/scripts/mod/
H A Dmodpost.h60 sizeof(x) == 4 ? bswap_32(x) : \
/linux-6.15/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-insn-decoder.c178 intel_pt_insn->rel = bswap_32(insn->immediate.value); in intel_pt_insn_decoder()
/linux-6.15/tools/bpf/resolve_btfids/
H A Dmain.c725 set8->flags = bswap_32(set8->flags); in sets_patch()
728 bswap_32(set8->pairs[i].flags); in sets_patch()
/linux-6.15/arch/x86/tools/
H A Drelocs.c298 # define le32_to_cpu(val) bswap_32(val)