Home
last modified time | relevance | path

Searched refs:ptr_reg (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/cortina/
H A Dgemini.c762 void __iomem *ptr_reg; in gmac_cleanup_rxq() local
770 ptr_reg = &qhdr->word1; in gmac_cleanup_rxq()
772 rw.bits32 = readl(ptr_reg); in gmac_cleanup_rxq()
775 writew(r, ptr_reg + 2); in gmac_cleanup_rxq()
1254 void __iomem *ptr_reg; in gmac_start_xmit() local
1263 ptr_reg = port->dma_base + GMAC_SW_TX_QUEUE_PTR_REG(txq_num); in gmac_start_xmit()
1268 rw.bits32 = readl(ptr_reg); in gmac_start_xmit()
1307 writew(w, ptr_reg + 2); in gmac_start_xmit()
1420 void __iomem *ptr_reg = port->rxq_rwptr; in gmac_rx() local
1435 rw.bits32 = readl(ptr_reg); in gmac_rx()
1560 void __iomem *ptr_reg; gmac_dump_dma_state() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/cortina/
H A Dgemini.c761 void __iomem *ptr_reg; in gmac_cleanup_rxq() local
769 ptr_reg = &qhdr->word1; in gmac_cleanup_rxq()
771 rw.bits32 = readl(ptr_reg); in gmac_cleanup_rxq()
774 writew(r, ptr_reg + 2); in gmac_cleanup_rxq()
1253 void __iomem *ptr_reg; in gmac_start_xmit() local
1262 ptr_reg = port->dma_base + GMAC_SW_TX_QUEUE_PTR_REG(txq_num); in gmac_start_xmit()
1267 rw.bits32 = readl(ptr_reg); in gmac_start_xmit()
1306 writew(w, ptr_reg + 2); in gmac_start_xmit()
1419 void __iomem *ptr_reg = port->rxq_rwptr; in gmac_rx() local
1434 rw.bits32 = readl(ptr_reg); in gmac_rx()
1559 void __iomem *ptr_reg; gmac_dump_dma_state() local
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Dverifier.c2616 struct bpf_reg_state *ptr_reg = NULL, *value_reg = NULL; in check_stack_write_var_off() local
2624 ptr_reg = &cur->regs[ptr_regno]; in check_stack_write_var_off()
2625 min_off = ptr_reg->smin_value + off; in check_stack_write_var_off()
2626 max_off = ptr_reg->smax_value + off + size; in check_stack_write_var_off()
5947 static int retrieve_ptr_limit(const struct bpf_reg_state *ptr_reg, in retrieve_ptr_limit() argument
5952 switch (ptr_reg->type) { in retrieve_ptr_limit()
5960 ptr_limit = -(ptr_reg->var_off.value + ptr_reg->off); in retrieve_ptr_limit()
5963 max = ptr_reg->map_ptr->value_size; in retrieve_ptr_limit()
5965 ptr_reg in retrieve_ptr_limit()
6043 sanitize_ptr_alu(struct bpf_verifier_env *env, struct bpf_insn *insn, const struct bpf_reg_state *ptr_reg, const struct bpf_reg_state *off_reg, struct bpf_reg_state *dst_reg, struct bpf_sanitize_info *info, const bool commit_window) sanitize_ptr_alu() argument
6262 adjust_ptr_min_max_vals(struct bpf_verifier_env *env, struct bpf_insn *insn, const struct bpf_reg_state *ptr_reg, const struct bpf_reg_state *off_reg) adjust_ptr_min_max_vals() argument
7233 struct bpf_reg_state *ptr_reg = NULL, off_reg = {0}; adjust_reg_min_max_vals() local
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dverifier.c4691 struct bpf_reg_state *ptr_reg = NULL, *value_reg = NULL; in check_stack_write_var_off() local
4700 ptr_reg = &cur->regs[ptr_regno]; in check_stack_write_var_off()
4701 min_off = ptr_reg->smin_value + off; in check_stack_write_var_off()
4702 max_off = ptr_reg->smax_value + off + size; in check_stack_write_var_off()
12132 static int retrieve_ptr_limit(const struct bpf_reg_state *ptr_reg, in retrieve_ptr_limit() argument
12137 switch (ptr_reg->type) { in retrieve_ptr_limit()
12145 ptr_limit = -(ptr_reg->var_off.value + ptr_reg->off); in retrieve_ptr_limit()
12148 max = ptr_reg->map_ptr->value_size; in retrieve_ptr_limit()
12150 ptr_reg in retrieve_ptr_limit()
12228 sanitize_ptr_alu(struct bpf_verifier_env *env, struct bpf_insn *insn, const struct bpf_reg_state *ptr_reg, const struct bpf_reg_state *off_reg, struct bpf_reg_state *dst_reg, struct bpf_sanitize_info *info, const bool commit_window) sanitize_ptr_alu() argument
12447 adjust_ptr_min_max_vals(struct bpf_verifier_env *env, struct bpf_insn *insn, const struct bpf_reg_state *ptr_reg, const struct bpf_reg_state *off_reg) adjust_ptr_min_max_vals() argument
13415 struct bpf_reg_state *ptr_reg = NULL, off_reg = {0}; adjust_reg_min_max_vals() local
[all...]
/kernel/linux/linux-6.6/arch/x86/net/
H A Dbpf_jit_comp.c736 /* Emit the suffix (ModR/M etc) for addressing *(ptr_reg + off) and val_reg */
737 static void emit_insn_suffix(u8 **pprog, u32 ptr_reg, u32 val_reg, int off) in emit_insn_suffix() argument
748 EMIT2(add_2reg(0x40, ptr_reg, val_reg), off); in emit_insn_suffix()
751 EMIT1_off32(add_2reg(0x80, ptr_reg, val_reg), off); in emit_insn_suffix()

Completed in 38 milliseconds