Lines Matching refs:stack_size

2660 				int stack_size)  in clean_stack_garbage()  argument
2694 off = -(stack_size - 4); in clean_stack_garbage()
2724 int stack_size, bool for_call_origin) in save_args() argument
2769 -stack_size); in save_args()
2772 first_off = stack_size; in save_args()
2773 stack_size -= 8; in save_args()
2790 -stack_size); in save_args()
2791 stack_size -= 8; in save_args()
2801 int stack_size) in restore_regs() argument
2819 -stack_size); in restore_regs()
2820 stack_size -= 8; in restore_regs()
2824 stack_size -= 8 * arg_regs; in restore_regs()
2833 struct bpf_tramp_link *l, int stack_size, in invoke_bpf_prog() argument
2877 if (!is_imm8(-stack_size)) in invoke_bpf_prog()
2878 EMIT3_off32(0x48, 0x8D, 0xBD, -stack_size); in invoke_bpf_prog()
2880 EMIT4(0x48, 0x8D, 0x7D, -stack_size); in invoke_bpf_prog()
2948 struct bpf_tramp_links *tl, int stack_size, in invoke_bpf() argument
2956 if (invoke_bpf_prog(m, &prog, tl->links[i], stack_size, in invoke_bpf()
2965 struct bpf_tramp_links *tl, int stack_size, in invoke_bpf_mod_ret() argument
2978 if (invoke_bpf_prog(m, &prog, tl->links[i], stack_size, run_ctx_off, true, in invoke_bpf_mod_ret()
3072 int i, ret, nr_regs = m->nr_args, stack_size = 0; in __arch_prepare_bpf_trampoline() local
3132 stack_size += 8; in __arch_prepare_bpf_trampoline()
3134 stack_size += nr_regs * 8; in __arch_prepare_bpf_trampoline()
3135 regs_off = stack_size; in __arch_prepare_bpf_trampoline()
3138 stack_size += 8; in __arch_prepare_bpf_trampoline()
3139 nregs_off = stack_size; in __arch_prepare_bpf_trampoline()
3142 stack_size += 8; /* room for IP address argument */ in __arch_prepare_bpf_trampoline()
3144 ip_off = stack_size; in __arch_prepare_bpf_trampoline()
3146 stack_size += 8; in __arch_prepare_bpf_trampoline()
3147 rbx_off = stack_size; in __arch_prepare_bpf_trampoline()
3149 stack_size += (sizeof(struct bpf_tramp_run_ctx) + 7) & ~0x7; in __arch_prepare_bpf_trampoline()
3150 run_ctx_off = stack_size; in __arch_prepare_bpf_trampoline()
3154 stack_size += (nr_regs - get_nr_used_regs(m)) * 8; in __arch_prepare_bpf_trampoline()
3161 stack_size += (stack_size % 16) ? 0 : 8; in __arch_prepare_bpf_trampoline()
3164 arg_stack_off = stack_size; in __arch_prepare_bpf_trampoline()
3193 if (!is_imm8(stack_size)) { in __arch_prepare_bpf_trampoline()
3195 EMIT3_off32(0x48, 0x81, 0xEC, stack_size); in __arch_prepare_bpf_trampoline()
3198 EMIT4(0x48, 0x83, 0xEC, stack_size); in __arch_prepare_bpf_trampoline()
3260 LOAD_TRAMP_TAIL_CALL_CNT_PTR(stack_size); in __arch_prepare_bpf_trampoline()
3322 LOAD_TRAMP_TAIL_CALL_CNT_PTR(stack_size); in __arch_prepare_bpf_trampoline()