Lines Matching full:im
665 static bool is_spilled_scalar_after(const struct bpf_stack_state *stack, int im) in is_spilled_scalar_after() argument
667 return stack->slot_type[im] == STACK_SPILL && in is_spilled_scalar_after()
672 struct bpf_stack_state *stack, int im) in is_stack_misc_after() argument
676 for (i = im; i < ARRAY_SIZE(stack->slot_type); ++i) { in is_stack_misc_after()
688 struct bpf_stack_state *stack, int im) in scalar_reg_for_stack() argument
690 if (is_spilled_scalar_after(stack, im)) in scalar_reg_for_stack()
693 if (is_stack_misc_after(env, stack, im)) in scalar_reg_for_stack()
711 int im = i % BPF_REG_SIZE; in stacksafe() local
749 if (im == 0 || im == 4) { in stacksafe()
750 old_reg = scalar_reg_for_stack(env, &old->stack[spi], im); in stacksafe()
751 cur_reg = scalar_reg_for_stack(env, &cur->stack[spi], im); in stacksafe()
755 i += (im == 0 ? BPF_REG_SIZE - 1 : 3); in stacksafe()