Home
last modified time | relevance | path

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

/external/minijail/
Dbpf.c19 set_bpf_jump(curr_block++, BPF_JMP + BPF_JEQ + BPF_K, ARCH_NR, SKIP, in bpf_validate_arch()
29 set_bpf_jump(curr_block++, BPF_JMP + BPF_JEQ + BPF_K, nr, NEXT, SKIP); in bpf_allow_syscall()
38 set_bpf_jump(curr_block++, BPF_JMP + BPF_JEQ + BPF_K, nr, NEXT, SKIP); in bpf_allow_syscall_args()
67 set_bpf_jump(filter, BPF_JMP + BPF_JEQ + BPF_K, lo, jt, jf); in bpf_comp_jeq32()
97 set_bpf_jump(filter, BPF_JMP + BPF_JGT + BPF_K, lo, jt, jf); in bpf_comp_jgt32()
105 set_bpf_jump(filter, BPF_JMP + BPF_JGE + BPF_K, lo, jt, jf); in bpf_comp_jge32()
169 set_bpf_jump(filter, BPF_JMP + BPF_JSET + BPF_K, mask_lo, jt, jf); in bpf_comp_jset32()
Dbpf.h154 #define set_bpf_jump(_block, _code, _k, _jt, _jf) \ macro
158 set_bpf_jump((_block), BPF_JMP+BPF_JA, (_lbl_id), \
162 set_bpf_jump((_block), BPF_JMP+BPF_JA, (_lbl_id), \