Home
last modified time | relevance | path

Searched refs:SEEN_MEM (Results 1 – 6 of 6) sorted by relevance

/arch/s390/net/
Dbpf_jit_comp.c55 #define SEEN_MEM 2 /* use mem[] for temporary storage */ macro
61 #define SEEN_STACK (SEEN_FUNC | SEEN_MEM | SEEN_SKB)
944 jit->seen |= SEEN_MEM; in bpf_jit_insn()
949 jit->seen |= SEEN_MEM; in bpf_jit_insn()
954 jit->seen |= SEEN_MEM; in bpf_jit_insn()
959 jit->seen |= SEEN_MEM; in bpf_jit_insn()
966 jit->seen |= SEEN_MEM; in bpf_jit_insn()
973 jit->seen |= SEEN_MEM; in bpf_jit_insn()
980 jit->seen |= SEEN_MEM; in bpf_jit_insn()
987 jit->seen |= SEEN_MEM; in bpf_jit_insn()
[all …]
/arch/powerpc/net/
Dbpf_jit_comp.c35 if (ctx->seen & (SEEN_MEM | SEEN_DATAREF)) { in bpf_jit_build_prologue()
46 if (ctx->seen & SEEN_MEM) { in bpf_jit_build_prologue()
90 if (ctx->seen & (SEEN_MEM | SEEN_DATAREF)) { in bpf_jit_build_epilogue()
98 if (ctx->seen & SEEN_MEM) { in bpf_jit_build_epilogue()
314 ctx->seen |= SEEN_MEM | (1<<(K & 0xf)); in bpf_jit_build_body()
318 ctx->seen |= SEEN_MEM | (1<<(K & 0xf)); in bpf_jit_build_body()
322 ctx->seen |= SEEN_MEM | (1<<(K & 0xf)); in bpf_jit_build_body()
326 ctx->seen |= SEEN_XREG | SEEN_MEM | (1<<(K & 0xf)); in bpf_jit_build_body()
Dbpf_jit.h307 #define SEEN_MEM 0x40000 /* SEEN_MEM+(1<<n) = use mem[n] for temporary macro
/arch/sparc/net/
Dbpf_jit_comp.c40 #define SEEN_MEM 4 /* use mem[] for temporary storage */ macro
389 u8 seen_or_pass0 = (pass == 0) ? (SEEN_XREG | SEEN_DATAREF | SEEN_MEM) : seen; in bpf_jit_compile()
397 if (seen_or_pass0 & SEEN_MEM) { in bpf_jit_compile()
551 if (seen_or_pass0 & SEEN_MEM) { in bpf_jit_compile()
627 seen |= SEEN_MEM; in bpf_jit_compile()
631 seen |= SEEN_MEM | SEEN_XREG; in bpf_jit_compile()
635 seen |= SEEN_MEM; in bpf_jit_compile()
639 seen |= SEEN_MEM | SEEN_XREG; in bpf_jit_compile()
779 if (seen_or_pass0 & SEEN_MEM) in bpf_jit_compile()
/arch/mips/net/
Dbpf_jit.c80 #define SEEN_MEM SEEN_SREG(6) macro
552 if (ctx->flags & SEEN_MEM) { in save_bpf_jit_regs()
595 if (ctx->flags & SEEN_MEM) in get_stack_depth()
695 ctx->flags |= SEEN_MEM | SEEN_A; in build_body()
751 ctx->flags |= SEEN_X | SEEN_MEM; in build_body()
785 ctx->flags |= SEEN_MEM | SEEN_A; in build_body()
790 ctx->flags |= SEEN_MEM | SEEN_X; in build_body()
/arch/arm/net/
Dbpf_jit_32.c49 #define SEEN_MEM ((1 << BPF_MEMWORDS) - 1) macro
187 return fls(ctx->seen & SEEN_MEM); in mem_words_used()
234 if (ctx->seen & SEEN_MEM) in build_prologue()
242 if (ctx->seen & SEEN_MEM) in build_epilogue()