/linux-6.12.1/kernel/rcu/ |
D | tree_nocb.h | 20 static inline bool rcu_current_is_nocb_kthread(struct rcu_data *rdp) in rcu_current_is_nocb_kthread() argument 23 if (!rdp->nocb_cb_kthread || !rdp->nocb_gp_kthread) in rcu_current_is_nocb_kthread() 26 if (current == rdp->nocb_cb_kthread || current == rdp->nocb_gp_kthread) in rcu_current_is_nocb_kthread() 92 static void rcu_nocb_bypass_lock(struct rcu_data *rdp) in rcu_nocb_bypass_lock() argument 93 __acquires(&rdp->nocb_bypass_lock) in rcu_nocb_bypass_lock() 96 if (raw_spin_trylock(&rdp->nocb_bypass_lock)) in rcu_nocb_bypass_lock() 102 WARN_ON_ONCE(smp_processor_id() != rdp->cpu); in rcu_nocb_bypass_lock() 103 raw_spin_lock(&rdp->nocb_bypass_lock); in rcu_nocb_bypass_lock() 110 static bool rcu_nocb_bypass_trylock(struct rcu_data *rdp) in rcu_nocb_bypass_trylock() argument 113 return raw_spin_trylock(&rdp->nocb_bypass_lock); in rcu_nocb_bypass_trylock() [all …]
|
D | tree.c | 154 static void rcu_report_exp_rdp(struct rcu_data *rdp); 156 static void check_cb_ovld_locked(struct rcu_data *rdp, struct rcu_node *rnp); 157 static bool rcu_rdp_is_offloaded(struct rcu_data *rdp); 158 static bool rcu_rdp_cpu_online(struct rcu_data *rdp); 243 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in rcu_get_n_cbs_cpu() local 245 if (rcu_segcblist_is_enabled(&rdp->cblist)) in rcu_get_n_cbs_cpu() 246 return rcu_segcblist_n_cbs(&rdp->cblist); in rcu_get_n_cbs_cpu() 324 static bool rcu_watching_snap_stopped_since(struct rcu_data *rdp, int snap) in rcu_watching_snap_stopped_since() argument 337 return snap != ct_rcu_watching_cpu_acquire(rdp->cpu); in rcu_watching_snap_stopped_since() 520 static void force_qs_rnp(int (*f)(struct rcu_data *rdp)); [all …]
|
D | tree_plugin.h | 16 static bool rcu_rdp_is_offloaded(struct rcu_data *rdp) in rcu_rdp_is_offloaded() argument 30 lockdep_is_held(&rdp->nocb_lock) || in rcu_rdp_is_offloaded() 33 rdp == this_cpu_ptr(&rcu_data)) || in rcu_rdp_is_offloaded() 34 rcu_current_is_nocb_kthread(rdp)), in rcu_rdp_is_offloaded() 38 return rcu_segcblist_is_offloaded(&rdp->cblist); in rcu_rdp_is_offloaded() 162 static void rcu_preempt_ctxt_queue(struct rcu_node *rnp, struct rcu_data *rdp) in rcu_preempt_ctxt_queue() argument 167 (rnp->qsmask & rdp->grpmask ? RCU_GP_BLKD : 0) + in rcu_preempt_ctxt_queue() 168 (rnp->expmask & rdp->grpmask ? RCU_EXP_BLKD : 0); in rcu_preempt_ctxt_queue() 172 WARN_ON_ONCE(rdp->mynode != rnp); in rcu_preempt_ctxt_queue() 176 rdp->grpmask); in rcu_preempt_ctxt_queue() [all …]
|
D | tree_stall.h | 188 static void zero_cpu_stall_ticks(struct rcu_data *rdp) in zero_cpu_stall_ticks() argument 190 rdp->ticks_this_gp = 0; in zero_cpu_stall_ticks() 191 rdp->softirq_snap = kstat_softirqs_cpu(RCU_SOFTIRQ, smp_processor_id()); in zero_cpu_stall_ticks() 192 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in zero_cpu_stall_ticks() 223 struct rcu_data *rdp; in rcu_iw_handler() local 226 rdp = container_of(iwp, struct rcu_data, rcu_iw); in rcu_iw_handler() 227 rnp = rdp->mynode; in rcu_iw_handler() 229 if (!WARN_ON_ONCE(!rdp->rcu_iw_pending)) { in rcu_iw_handler() 230 rdp->rcu_iw_gp_seq = rnp->gp_seq; in rcu_iw_handler() 231 rdp->rcu_iw_pending = false; in rcu_iw_handler() [all …]
|
D | tree_exp.h | 237 struct rcu_data *rdp; in rcu_report_exp_cpu_mult() local 246 rdp = per_cpu_ptr(&rcu_data, cpu); in rcu_report_exp_cpu_mult() 247 if (!IS_ENABLED(CONFIG_NO_HZ_FULL) || !rdp->rcu_forced_tick_exp) in rcu_report_exp_cpu_mult() 249 rdp->rcu_forced_tick_exp = false; in rcu_report_exp_cpu_mult() 258 static void rcu_report_exp_rdp(struct rcu_data *rdp) in rcu_report_exp_rdp() argument 260 WRITE_ONCE(rdp->cpu_no_qs.b.exp, false); in rcu_report_exp_rdp() 261 rcu_report_exp_cpu_mult(rdp->mynode, rdp->grpmask, true); in rcu_report_exp_rdp() 289 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, raw_smp_processor_id()); in exp_funnel_lock() local 290 struct rcu_node *rnp = rdp->mynode; in exp_funnel_lock() 358 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in __sync_rcu_exp_select_node_cpus() local [all …]
|
D | tree.h | 481 static bool rcu_is_callbacks_kthread(struct rcu_data *rdp); 486 static void zero_cpu_stall_ticks(struct rcu_data *rdp); 490 static bool wake_nocb_gp(struct rcu_data *rdp, bool force); 491 static bool rcu_nocb_flush_bypass(struct rcu_data *rdp, struct rcu_head *rhp, 493 static void call_rcu_nocb(struct rcu_data *rdp, struct rcu_head *head, 495 static void __maybe_unused __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty, 497 static int rcu_nocb_need_deferred_wakeup(struct rcu_data *rdp, int level); 498 static bool do_nocb_deferred_wakeup(struct rcu_data *rdp); 499 static void rcu_boot_init_nocb_percpu_data(struct rcu_data *rdp); 501 static void show_rcu_nocb_state(struct rcu_data *rdp); [all …]
|
/linux-6.12.1/drivers/net/ethernet/amd/ |
D | a2065.c | 135 ll->rdp = (leptr & 0xFFFF); in load_csrs() 137 ll->rdp = leptr >> 16; in load_csrs() 139 ll->rdp = lp->busmaster_regval; in load_csrs() 224 ll->rdp = LE_C0_INIT; in init_restart_lance() 227 for (i = 0; (i < 100) && !(ll->rdp & (LE_C0_ERR | LE_C0_IDON)); i++) in init_restart_lance() 229 if ((i == 100) || (ll->rdp & LE_C0_ERR)) { in init_restart_lance() 230 pr_err("unopened after %d ticks, csr0=%04x\n", i, ll->rdp); in init_restart_lance() 235 ll->rdp = LE_C0_IDON; in init_restart_lance() 236 ll->rdp = LE_C0_INEA | LE_C0_STRT; in init_restart_lance() 265 ll->rdp = LE_C0_RINT | LE_C0_INEA; in lance_rx() [all …]
|
D | declance.c | 286 volatile unsigned short rdp; /* register data port */ member 314 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs() 316 writereg(&ll->rdp, leptr >> 16); in load_csrs() 318 writereg(&ll->rdp, lp->busmaster_regval); in load_csrs() 533 writereg(&ll->rdp, LE_C0_INIT); in init_restart_lance() 536 for (i = 0; (i < 100) && !(ll->rdp & LE_C0_IDON); i++) { in init_restart_lance() 539 if ((i == 100) || (ll->rdp & LE_C0_ERR)) { in init_restart_lance() 541 i, ll->rdp); in init_restart_lance() 544 if ((ll->rdp & LE_C0_ERR)) { in init_restart_lance() 546 i, ll->rdp); in init_restart_lance() [all …]
|
D | a2065.h | 41 unsigned short rdp; /* Register Data Port */ member
|
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_nic.c | 38 struct octeon_instr_rdp *rdp; in octeon_alloc_soft_command_resp() local 54 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd3.rdp; in octeon_alloc_soft_command_resp() 60 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd2.rdp; in octeon_alloc_soft_command_resp() 68 rdp->pcie_port = oct->pcie_port; in octeon_alloc_soft_command_resp() 69 rdp->rlen = rdatasize; in octeon_alloc_soft_command_resp()
|
D | request_manager.c | 590 struct octeon_instr_rdp *rdp; in octeon_prepare_soft_command() local 631 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd3.rdp; in octeon_prepare_soft_command() 632 rdp->pcie_port = oct->pcie_port; in octeon_prepare_soft_command() 633 rdp->rlen = sc->rdatasize; in octeon_prepare_soft_command() 668 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd2.rdp; in octeon_prepare_soft_command() 669 rdp->pcie_port = oct->pcie_port; in octeon_prepare_soft_command() 670 rdp->rlen = sc->rdatasize; in octeon_prepare_soft_command()
|
D | octeon_iq.h | 221 u64 rdp; member 248 u64 rdp; member
|
/linux-6.12.1/tools/rcu/ |
D | rcu-cbs.py | 42 rdp = per_cpu_ptr(rdp0, cpu); variable 43 len = rdp.cblist.len.value_();
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | hal.c | 199 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp() 201 if (!hal->rdp.vaddr) in ath11k_hal_alloc_cont_rdp() 212 if (!hal->rdp.vaddr) in ath11k_hal_free_cont_rdp() 217 hal->rdp.vaddr, hal->rdp.paddr); in ath11k_hal_free_cont_rdp() 218 hal->rdp.vaddr = NULL; in ath11k_hal_free_cont_rdp() 319 hp_addr = hal->rdp.paddr + in ath11k_hal_srng_dst_hw_init() 321 (unsigned long)hal->rdp.vaddr); in ath11k_hal_srng_dst_hw_init() 421 tp_addr = hal->rdp.paddr + in ath11k_hal_srng_src_hw_init() 423 (unsigned long)hal->rdp.vaddr); in ath11k_hal_srng_src_hw_init() 536 return ab->hal.rdp.paddr + in ath11k_hal_srng_get_hp_addr() [all …]
|
/linux-6.12.1/drivers/pnp/isapnp/ |
D | core.c | 218 int rdp = isapnp_rdp; in isapnp_next_rdp() local 225 while (rdp <= 0x3ff) { in isapnp_next_rdp() 230 if ((rdp < 0x280 || rdp > 0x380) in isapnp_next_rdp() 231 && request_region(rdp, 1, "ISAPnP")) { in isapnp_next_rdp() 232 isapnp_rdp = rdp; in isapnp_next_rdp() 233 old_rdp = rdp; in isapnp_next_rdp() 236 rdp += RDP_STEP; in isapnp_next_rdp()
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | ipq9574-rdp453.dts | 11 #include "ipq9574-rdp-common.dtsi"
|
D | ipq9574-rdp454.dts | 11 #include "ipq9574-rdp-common.dtsi"
|
D | ipq9574-rdp449.dts | 11 #include "ipq9574-rdp-common.dtsi"
|
D | ipq5332-rdp474.dts | 10 #include "ipq5332-rdp-common.dtsi"
|
D | ipq5332-rdp441.dts | 10 #include "ipq5332-rdp-common.dtsi"
|
D | ipq9574-rdp433.dts | 11 #include "ipq9574-rdp-common.dtsi"
|
D | ipq9574-rdp418.dts | 11 #include "ipq9574-rdp-common.dtsi"
|
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | hal.c | 1582 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath12k_hal_alloc_cont_rdp() 1584 if (!hal->rdp.vaddr) in ath12k_hal_alloc_cont_rdp() 1595 if (!hal->rdp.vaddr) in ath12k_hal_free_cont_rdp() 1600 hal->rdp.vaddr, hal->rdp.paddr); in ath12k_hal_free_cont_rdp() 1601 hal->rdp.vaddr = NULL; in ath12k_hal_free_cont_rdp() 1699 hp_addr = hal->rdp.paddr + in ath12k_hal_srng_dst_hw_init() 1701 (unsigned long)hal->rdp.vaddr); in ath12k_hal_srng_dst_hw_init() 1784 tp_addr = hal->rdp.paddr + in ath12k_hal_srng_src_hw_init() 1786 (unsigned long)hal->rdp.vaddr); in ath12k_hal_srng_src_hw_init() 1904 return ab->hal.rdp.paddr + in ath12k_hal_srng_get_hp_addr() [all …]
|
/linux-6.12.1/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_irq.c | 250 int size, off, cont, rdp, wdp; in pdacf_threaded_irq() local 258 rdp = inw(chip->port + PDAUDIOCF_REG_RDP); in pdacf_threaded_irq() 260 size = wdp - rdp; in pdacf_threaded_irq()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | user_64.h | 58 __u64 rdp; member
|