Searched refs:stack_off (Results 1 – 2 of 2) sorted by relevance
| /linux/net/core/ |
| H A D | filter.c | 589 int new_flen = 0, pass = 0, target, i, stack_off; in bpf_convert_filter() local 842 stack_off = fp->k * 4 + 4; in bpf_convert_filter() 845 -stack_off); in bpf_convert_filter() 850 if (new_prog && new_prog->aux->stack_depth < stack_off) in bpf_convert_filter() 851 new_prog->aux->stack_depth = stack_off; in bpf_convert_filter() 857 stack_off = fp->k * 4 + 4; in bpf_convert_filter() 860 -stack_off); in bpf_convert_filter()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 8101 int stack_off = -i - 1; in check_stack_range_initialized() local 8105 if (state->allocated_stack <= stack_off) in check_stack_range_initialized() 8107 if (state->stack[spi].slot_type[stack_off % BPF_REG_SIZE] == STACK_DYNPTR) { in check_stack_range_initialized() 9659 int stack_off; in get_constant_map_key() local 9670 stack_off = key->off + key->var_off.value; in get_constant_map_key() 9671 slot = -stack_off - 1; in get_constant_map_key() 22927 int stack_off = -stack_depth - 8; in do_misc_fixups() local 22930 insn_buf[0] = BPF_LDX_MEM(BPF_DW, BPF_REG_AX, BPF_REG_10, stack_off); in do_misc_fixups() 22936 insn_buf[3] = BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_AX, stack_off); in do_misc_fixups()
|