/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 308 static void push_callee_regs(u8 **pprog, bool *callee_regs_used) in push_callee_regs() argument 310 u8 *prog = *pprog; in push_callee_regs() 320 *pprog = prog; in push_callee_regs() 323 static void pop_callee_regs(u8 **pprog, bool *callee_regs_used) in pop_callee_regs() argument 325 u8 *prog = *pprog; in pop_callee_regs() 335 *pprog = prog; in pop_callee_regs() 343 static void emit_prologue(u8 **pprog, u32 stack_depth, bool ebpf_from_cbpf, in emit_prologue() argument 346 u8 *prog = *pprog; in emit_prologue() 371 *pprog = prog; in emit_prologue() 374 static int emit_patch(u8 **pprog, void *func, void *ip, u8 opcode) in emit_patch() argument [all …]
|
H A 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 …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | callthunks.c | 304 int x86_call_depth_emit_accounting(u8 **pprog, void *func) in x86_call_depth_emit_accounting() argument 316 memcpy(*pprog, tmpl, tmpl_size); in x86_call_depth_emit_accounting() 317 *pprog += tmpl_size; in x86_call_depth_emit_accounting()
|
/openbmc/linux/net/core/ |
H A D | sock_map.c | 1466 static int sock_map_prog_lookup(struct bpf_map *map, struct bpf_prog ***pprog, in sock_map_prog_lookup() argument 1476 *pprog = &progs->msg_parser; in sock_map_prog_lookup() 1480 *pprog = &progs->stream_parser; in sock_map_prog_lookup() 1486 *pprog = &progs->stream_verdict; in sock_map_prog_lookup() 1491 *pprog = &progs->skb_verdict; in sock_map_prog_lookup() 1503 struct bpf_prog **pprog; in sock_map_prog_update() local 1506 ret = sock_map_prog_lookup(map, &pprog, which); in sock_map_prog_update() 1511 return psock_replace_prog(pprog, prog, old); in sock_map_prog_update() 1513 psock_set_prog(pprog, prog); in sock_map_prog_update() 1522 struct bpf_prog **pprog; in sock_map_bpf_prog_query() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | skmsg.h | 472 static inline void psock_set_prog(struct bpf_prog **pprog, in psock_set_prog() argument 475 prog = xchg(pprog, prog); in psock_set_prog() 480 static inline int psock_replace_prog(struct bpf_prog **pprog, in psock_replace_prog() argument 484 if (cmpxchg(pprog, old, prog) != old) in psock_replace_prog()
|
/openbmc/qemu/include/hw/misc/ |
H A D | sifive_u_otp.h | 74 uint32_t pprog; member
|
/openbmc/qemu/hw/misc/ |
H A D | sifive_u_otp.c | 83 return s->pprog; in sifive_u_otp_read() 135 s->pprog = val32; in sifive_u_otp_write()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | alternative.h | 116 extern int x86_call_depth_emit_accounting(u8 **pprog, void *func); 126 static __always_inline int x86_call_depth_emit_accounting(u8 **pprog, in x86_call_depth_emit_accounting() argument
|