Searched refs:stack_off (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/lib/bpf/ |
H A D | gen_loader.c | 40 #define stack_off(field) \ macro 252 static void move_stack2blob(struct bpf_gen *gen, int off, int size, int stack_off) argument 254 emit(gen, BPF_LDX_MEM(insn_bytes_to_bpf_size(size), BPF_REG_0, BPF_REG_10, stack_off)); 260 static void move_stack2ctx(struct bpf_gen *gen, int ctx_off, int size, int stack_off) argument 262 emit(gen, BPF_LDX_MEM(insn_bytes_to_bpf_size(size), BPF_REG_0, BPF_REG_10, stack_off)); 356 static void emit_sys_close_stack(struct bpf_gen *gen, int stack_off) argument 358 emit(gen, BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_10, stack_off)); 380 emit_sys_close_stack(gen, stack_off(btf_fd)); 387 stack_off(prog_fd[i])); 445 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_7, stack_off(btf_f [all...] |
/linux-master/net/core/ |
H A D | filter.c | 568 int new_flen = 0, pass = 0, target, i, stack_off; local 821 stack_off = fp->k * 4 + 4; 824 -stack_off); 829 if (new_prog && new_prog->aux->stack_depth < stack_off) 830 new_prog->aux->stack_depth = stack_off; 836 stack_off = fp->k * 4 + 4; 839 -stack_off);
|
/linux-master/kernel/bpf/ |
H A D | verifier.c | 7169 int stack_off = -i - 1; local 7173 if (state->allocated_stack <= stack_off) 7175 if (state->stack[spi].slot_type[stack_off % BPF_REG_SIZE] == STACK_DYNPTR) { 19753 int stack_off = -stack_depth - 8; local 19756 insn_buf[0] = BPF_LDX_MEM(BPF_DW, BPF_REG_AX, BPF_REG_10, stack_off); 19759 insn_buf[3] = BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_AX, stack_off);
|
Completed in 170 milliseconds