Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dlibbpf.c65 #define BPF_INSN_SZ (sizeof(struct bpf_insn)) macro
803 if (insn_data_sz == 0 || insn_data_sz % BPF_INSN_SZ || sec_off % BPF_INSN_SZ) { in bpf_object__init_prog()
813 prog->sec_insn_off = sec_off / BPF_INSN_SZ; in bpf_object__init_prog()
814 prog->sec_insn_cnt = insn_data_sz / BPF_INSN_SZ; in bpf_object__init_prog()
905 sec_name, name, sec_off / BPF_INSN_SZ, sec_off, prog_sz / BPF_INSN_SZ, prog_sz); in bpf_object__add_programs()
4532 if (sym->st_value % BPF_INSN_SZ) { in bpf_program__record_reloc()
4554 if ((sym->st_value % BPF_INSN_SZ) || (insn->imm % BPF_INSN_SZ)) { in bpf_program__record_reloc()
4723 if (rel->r_offset % BPF_INSN_SZ || rel->r_offset >= scn_data->d_size) { in bpf_object__collect_prog_relos()
4729 insn_idx = rel->r_offset / BPF_INSN_SZ; in bpf_object__collect_prog_relos()
5944 if (rec->insn_off % BPF_INSN_SZ) in bpf_object__relocate_core()
[all …]