Searched refs:n_instructions (Results 1 – 3 of 3) sorted by relevance
149 if (!GREEDY_REALLOC(p->instructions, p->n_instructions + count)) in bpf_program_add_instructions()152 memcpy(p->instructions + p->n_instructions, instructions, sizeof(struct bpf_insn) * count); in bpf_program_add_instructions()153 p->n_instructions += count; in bpf_program_add_instructions()175 attr.insn_cnt = p->n_instructions; in bpf_program_load_kernel()
26 size_t n_instructions; member
246 for (size_t off = 0; off < (*prog)->n_instructions; off++) { in bpf_devices_apply_policy()250 ins->off = (*prog)->n_instructions - off - 1; in bpf_devices_apply_policy()