Home
last modified time | relevance | path

Searched refs:pprog (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/net/
Dbpf_jit_comp32.c207 u8 **pprog) in emit_ia32_mov_i() argument
209 u8 *prog = *pprog; in emit_ia32_mov_i()
230 *pprog = prog; in emit_ia32_mov_i()
235 bool sstk, u8 **pprog) in emit_ia32_mov_r() argument
237 u8 *prog = *pprog; in emit_ia32_mov_r()
251 *pprog = prog; in emit_ia32_mov_r()
257 bool sstk, u8 **pprog, in emit_ia32_mov_r64() argument
260 emit_ia32_mov_r(dst_lo, src_lo, dstk, sstk, pprog); in emit_ia32_mov_r64()
263 emit_ia32_mov_r(dst_hi, src_hi, dstk, sstk, pprog); in emit_ia32_mov_r64()
266 emit_ia32_mov_i(dst_hi, 0, dstk, pprog); in emit_ia32_mov_r64()
[all …]
Dbpf_jit_comp.c234 static void push_callee_regs(u8 **pprog, bool *callee_regs_used) in push_callee_regs() argument
236 u8 *prog = *pprog; in push_callee_regs()
247 *pprog = prog; in push_callee_regs()
250 static void pop_callee_regs(u8 **pprog, bool *callee_regs_used) in pop_callee_regs() argument
252 u8 *prog = *pprog; in pop_callee_regs()
263 *pprog = prog; in pop_callee_regs()
271 static void emit_prologue(u8 **pprog, u32 stack_depth, bool ebpf_from_cbpf, in emit_prologue() argument
274 u8 *prog = *pprog; in emit_prologue()
295 *pprog = prog; in emit_prologue()
298 static int emit_patch(u8 **pprog, void *func, void *ip, u8 opcode) in emit_patch() argument
[all …]
/kernel/linux/linux-5.10/include/linux/
Dskmsg.h415 static inline void psock_set_prog(struct bpf_prog **pprog, in psock_set_prog() argument
418 prog = xchg(pprog, prog); in psock_set_prog()
423 static inline int psock_replace_prog(struct bpf_prog **pprog, in psock_replace_prog() argument
427 if (cmpxchg(pprog, old, prog) != old) in psock_replace_prog()
/kernel/linux/linux-5.10/net/core/
Dsock_map.c1495 struct bpf_prog **pprog; in sock_map_prog_update() local
1502 pprog = &progs->msg_parser; in sock_map_prog_update()
1505 pprog = &progs->skb_parser; in sock_map_prog_update()
1508 pprog = &progs->skb_verdict; in sock_map_prog_update()
1515 return psock_replace_prog(pprog, prog, old); in sock_map_prog_update()
1517 psock_set_prog(pprog, prog); in sock_map_prog_update()