Lines Matching refs:sec_off
792 size_t sec_off, void *insn_data, size_t insn_data_sz) in bpf_object__init_prog() argument
794 if (insn_data_sz == 0 || insn_data_sz % BPF_INSN_SZ || sec_off % BPF_INSN_SZ) { in bpf_object__init_prog()
796 sec_name, name, sec_off, insn_data_sz); in bpf_object__init_prog()
804 prog->sec_insn_off = sec_off / BPF_INSN_SZ; in bpf_object__init_prog()
857 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs() local
875 sec_off = sym->st_value; in bpf_object__add_programs()
880 sec_name, sec_off); in bpf_object__add_programs()
884 if (sec_off + prog_sz > sec_sz) { in bpf_object__add_programs()
886 sec_name, sec_off); in bpf_object__add_programs()
896 sec_name, name, sec_off / BPF_INSN_SZ, sec_off, prog_sz / BPF_INSN_SZ, prog_sz); in bpf_object__add_programs()
914 sec_off, data + sec_off, prog_sz); in bpf_object__add_programs()