Lines Matching refs:cur
131 static bool cfg_partition_funcs(struct cfg *cfg, struct bpf_insn *cur, in cfg_partition_funcs() argument
136 func = cfg_append_func(cfg, cur); in cfg_partition_funcs()
140 for (; cur < end; cur++) { in cfg_partition_funcs()
141 if (cur->code != (BPF_JMP | BPF_CALL)) in cfg_partition_funcs()
143 if (cur->src_reg != BPF_PSEUDO_CALL) in cfg_partition_funcs()
145 func = cfg_append_func(cfg, cur + cur->off + 1); in cfg_partition_funcs()
167 struct bpf_insn *cur, *end; in func_partition_bb_head() local
170 cur = func->start; in func_partition_bb_head()
173 bb = func_append_bb(func, cur); in func_partition_bb_head()
177 for (; cur <= end; cur++) { in func_partition_bb_head()
178 if (is_jmp_insn(cur->code)) { in func_partition_bb_head()
179 __u8 opcode = BPF_OP(cur->code); in func_partition_bb_head()
184 bb = func_append_bb(func, cur + cur->off + 1); in func_partition_bb_head()
189 bb = func_append_bb(func, cur + 1); in func_partition_bb_head()