Searched refs:pprog (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/arch/x86/net/ |
D | bpf_jit_comp32.c | 207 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 …]
|
D | bpf_jit_comp.c | 257 static void push_callee_regs(u8 **pprog, bool *callee_regs_used) in push_callee_regs() argument 259 u8 *prog = *pprog; in push_callee_regs() 269 *pprog = prog; in push_callee_regs() 272 static void pop_callee_regs(u8 **pprog, bool *callee_regs_used) in pop_callee_regs() argument 274 u8 *prog = *pprog; in pop_callee_regs() 284 *pprog = prog; in pop_callee_regs() 292 static void emit_prologue(u8 **pprog, u32 stack_depth, bool ebpf_from_cbpf, in emit_prologue() argument 295 u8 *prog = *pprog; in emit_prologue() 320 *pprog = prog; in emit_prologue() 323 static int emit_patch(u8 **pprog, void *func, void *ip, u8 opcode) in emit_patch() argument [all …]
|
/linux-6.1.9/net/core/ |
D | sock_map.c | 1437 static int sock_map_prog_lookup(struct bpf_map *map, struct bpf_prog ***pprog, in sock_map_prog_lookup() argument 1447 *pprog = &progs->msg_parser; in sock_map_prog_lookup() 1451 *pprog = &progs->stream_parser; in sock_map_prog_lookup() 1457 *pprog = &progs->stream_verdict; in sock_map_prog_lookup() 1462 *pprog = &progs->skb_verdict; in sock_map_prog_lookup() 1474 struct bpf_prog **pprog; in sock_map_prog_update() local 1477 ret = sock_map_prog_lookup(map, &pprog, which); in sock_map_prog_update() 1482 return psock_replace_prog(pprog, prog, old); in sock_map_prog_update() 1484 psock_set_prog(pprog, prog); in sock_map_prog_update() 1493 struct bpf_prog **pprog; in sock_map_bpf_prog_query() local [all …]
|
/linux-6.1.9/include/linux/ |
D | skmsg.h | 464 static inline void psock_set_prog(struct bpf_prog **pprog, in psock_set_prog() argument 467 prog = xchg(pprog, prog); in psock_set_prog() 472 static inline int psock_replace_prog(struct bpf_prog **pprog, in psock_replace_prog() argument 476 if (cmpxchg(pprog, old, prog) != old) in psock_replace_prog()
|