Searched refs:insn_data_sz (Results 1 – 1 of 1) sorted by relevance
798 size_t sec_off, void *insn_data, size_t insn_data_sz) in bpf_object__init_prog() argument800 if (insn_data_sz == 0 || insn_data_sz % BPF_INSN_SZ || sec_off % BPF_INSN_SZ) { in bpf_object__init_prog()802 sec_name, name, sec_off, insn_data_sz); in bpf_object__init_prog()811 prog->sec_insn_cnt = insn_data_sz / BPF_INSN_SZ; in bpf_object__init_prog()844 prog->insns = malloc(insn_data_sz); in bpf_object__init_prog()847 memcpy(prog->insns, insn_data, insn_data_sz); in bpf_object__init_prog()