Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dbpf-program.c149 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()
Dbpf-program.h26 size_t n_instructions; member
/systemd-251/src/core/
Dbpf-devices.c246 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()