Searched refs:SCRATCH_SIZE (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 35 const int SCRATCH_SIZE = PAGE_SIZE; in tpm2_key_encode() local 36 u8 *scratch = kmalloc(SCRATCH_SIZE, GFP_KERNEL); in tpm2_key_encode() 38 u8 *end_work = scratch + SCRATCH_SIZE; in tpm2_key_encode() 71 if (WARN(work - scratch + pub_len + priv_len + 14 > SCRATCH_SIZE, in tpm2_key_encode()
|
/linux-5.19.10/arch/x86/net/ |
D | bpf_jit_comp32.c | 178 #define SCRATCH_SIZE 96 macro 181 #define _STACK_SIZE (stack_depth + SCRATCH_SIZE) 1223 EMIT3(0x83, add_1reg(0xE8, IA32_EBP), SCRATCH_SIZE + 12); in emit_prologue() 1257 EMIT3(0x83, add_1reg(0xC0, IA32_EBP), SCRATCH_SIZE + 12); in emit_epilogue()
|
/linux-5.19.10/arch/arm/net/ |
D | bpf_jit_32.c | 119 #define SCRATCH_SIZE (BPF_JIT_SCRATCH_REGS * 4) macro 361 #define _STACK_SIZE (ctx->prog->aux->stack_depth + SCRATCH_SIZE) 1320 emit(ARM_SUB_I(bpf_r1[1], ARM_SP, SCRATCH_SIZE), ctx); in build_prologue()
|