/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 86 static inline u32 smsc9420_reg_read(struct smsc9420_pdata *pd, u32 offset) in smsc9420_reg_read() argument 88 return ioread32(pd->ioaddr + offset); in smsc9420_reg_read() 92 smsc9420_reg_write(struct smsc9420_pdata *pd, u32 offset, u32 value) in smsc9420_reg_write() argument 94 iowrite32(value, pd->ioaddr + offset); in smsc9420_reg_write() 97 static inline void smsc9420_pci_flush_write(struct smsc9420_pdata *pd) in smsc9420_pci_flush_write() argument 100 smsc9420_reg_read(pd, ID_REV); in smsc9420_pci_flush_write() 105 struct smsc9420_pdata *pd = (struct smsc9420_pdata *)bus->priv; in smsc9420_mii_read() local 110 spin_lock_irqsave(&pd->phy_lock, flags); in smsc9420_mii_read() 113 if ((smsc9420_reg_read(pd, MII_ACCESS) & MII_ACCESS_MII_BUSY_)) { in smsc9420_mii_read() 114 netif_warn(pd, drv, pd->dev, "MII is busy???\n"); in smsc9420_mii_read() [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-sh_mobile.c | 144 int (*setup)(struct sh_mobile_i2c_data *pd); 185 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) in iic_wr() argument 188 data |= pd->icic; in iic_wr() 190 iowrite8(data, pd->reg + offs); in iic_wr() 193 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) in iic_rd() argument 195 return ioread8(pd->reg + offs); in iic_rd() 198 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, in iic_set_clr() argument 201 iic_wr(pd, offs, (iic_rd(pd, offs) | set) & ~clr); in iic_set_clr() 238 static int sh_mobile_i2c_check_timing(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_check_timing() argument 240 u16 max_val = pd->flags & IIC_FLAG_HAS_ICIC67 ? 0x1ff : 0xff; in sh_mobile_i2c_check_timing() [all …]
|
D | i2c-simtec.c | 36 struct simtec_i2c_data *pd = pw; in simtec_i2c_setsda() local 37 writeb(CMD_SET_SDA | (state ? STATE_SDA : 0), pd->reg); in simtec_i2c_setsda() 42 struct simtec_i2c_data *pd = pw; in simtec_i2c_setscl() local 43 writeb(CMD_SET_SCL | (state ? STATE_SCL : 0), pd->reg); in simtec_i2c_setscl() 48 struct simtec_i2c_data *pd = pw; in simtec_i2c_getsda() local 49 return readb(pd->reg) & STATE_SDA ? 1 : 0; in simtec_i2c_getsda() 54 struct simtec_i2c_data *pd = pw; in simtec_i2c_getscl() local 55 return readb(pd->reg) & STATE_SCL ? 1 : 0; in simtec_i2c_getscl() 62 struct simtec_i2c_data *pd; in simtec_i2c_probe() local 67 pd = kzalloc(sizeof(struct simtec_i2c_data), GFP_KERNEL); in simtec_i2c_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/block/ |
D | pktcdvd.c | 75 #define pkt_err(pd, fmt, ...) \ argument 76 pr_err("%s: " fmt, pd->name, ##__VA_ARGS__) 77 #define pkt_notice(pd, fmt, ...) \ argument 78 pr_notice("%s: " fmt, pd->name, ##__VA_ARGS__) 79 #define pkt_info(pd, fmt, ...) \ argument 80 pr_info("%s: " fmt, pd->name, ##__VA_ARGS__) 82 #define pkt_dbg(level, pd, fmt, ...) \ argument 86 pd->name, __func__, ##__VA_ARGS__); \ 88 pr_notice("%s: " fmt, pd->name, ##__VA_ARGS__); \ 111 static sector_t get_zone(sector_t sector, struct pktcdvd_device *pd) in get_zone() argument [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/dt3155/ |
D | dt3155.c | 128 struct dt3155_priv *pd = vb2_get_drv_priv(vq); in dt3155_queue_setup() local 129 unsigned size = pd->width * pd->height; in dt3155_queue_setup() 142 struct dt3155_priv *pd = vb2_get_drv_priv(vb->vb2_queue); in dt3155_buf_prepare() local 144 vb2_set_plane_payload(vb, 0, pd->width * pd->height); in dt3155_buf_prepare() 150 struct dt3155_priv *pd = vb2_get_drv_priv(q); in dt3155_start_streaming() local 151 struct vb2_buffer *vb = &pd->curr_buf->vb2_buf; in dt3155_start_streaming() 154 pd->sequence = 0; in dt3155_start_streaming() 156 iowrite32(dma_addr, pd->regs + EVEN_DMA_START); in dt3155_start_streaming() 157 iowrite32(dma_addr + pd->width, pd->regs + ODD_DMA_START); in dt3155_start_streaming() 158 iowrite32(pd->width, pd->regs + EVEN_DMA_STRIDE); in dt3155_start_streaming() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | mmu.c | 128 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument 130 struct drm_device *dev = pd->driver->dev; in psb_mmu_set_pd_context() 135 down_write(&pd->driver->sem); in psb_mmu_set_pd_context() 136 PSB_WSGX32(page_to_pfn(pd->p) << PAGE_SHIFT, offset); in psb_mmu_set_pd_context() 138 psb_mmu_flush_pd_locked(pd->driver, 1); in psb_mmu_set_pd_context() 139 pd->hw_context = hw_context; in psb_mmu_set_pd_context() 140 up_write(&pd->driver->sem); in psb_mmu_set_pd_context() 168 struct psb_mmu_pd *pd = kmalloc(sizeof(*pd), GFP_KERNEL); in psb_mmu_alloc_pd() local 172 if (!pd) in psb_mmu_alloc_pd() 175 pd->p = alloc_page(GFP_DMA32); in psb_mmu_alloc_pd() [all …]
|
/kernel/linux/linux-5.10/drivers/soc/samsung/ |
D | pm_domains.c | 32 struct generic_pm_domain pd; member 38 struct exynos_pm_domain *pd; in exynos_pd_power() local 43 pd = container_of(domain, struct exynos_pm_domain, pd); in exynos_pd_power() 44 base = pd->base; in exynos_pd_power() 46 pwr = power_on ? pd->local_pwr_cfg : 0; in exynos_pd_power() 52 while ((readl_relaxed(base + 0x4) & pd->local_pwr_cfg) != pwr) { in exynos_pd_power() 111 struct exynos_pm_domain *pd; in exynos4_pm_init_power_domain() local 116 pd = kzalloc(sizeof(*pd), GFP_KERNEL); in exynos4_pm_init_power_domain() 117 if (!pd) { in exynos4_pm_init_power_domain() 121 pd->pd.name = exynos_get_domain_name(np); in exynos4_pm_init_power_domain() [all …]
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_debugfs.c | 42 static void l2tp_dfs_next_tunnel(struct l2tp_dfs_seq_data *pd) in l2tp_dfs_next_tunnel() argument 45 if (pd->tunnel) in l2tp_dfs_next_tunnel() 46 l2tp_tunnel_dec_refcount(pd->tunnel); in l2tp_dfs_next_tunnel() 48 pd->tunnel = l2tp_tunnel_get_nth(pd->net, pd->tunnel_idx); in l2tp_dfs_next_tunnel() 49 pd->tunnel_idx++; in l2tp_dfs_next_tunnel() 52 static void l2tp_dfs_next_session(struct l2tp_dfs_seq_data *pd) in l2tp_dfs_next_session() argument 55 if (pd->session) in l2tp_dfs_next_session() 56 l2tp_session_dec_refcount(pd->session); in l2tp_dfs_next_session() 58 pd->session = l2tp_session_get_nth(pd->tunnel, pd->session_idx); in l2tp_dfs_next_session() 59 pd->session_idx++; in l2tp_dfs_next_session() [all …]
|
/kernel/linux/linux-5.10/drivers/soc/xilinx/ |
D | zynqmp_pm_domains.c | 75 struct zynqmp_pm_domain *pd; in zynqmp_gpd_power_on() local 77 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_power_on() 78 ret = zynqmp_pm_set_requirement(pd->node_id, in zynqmp_gpd_power_on() 84 __func__, domain->name, pd->node_id, ret); in zynqmp_gpd_power_on() 105 struct zynqmp_pm_domain *pd; in zynqmp_gpd_power_off() local 109 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_power_off() 112 if (!(pd->flags & ZYNQMP_PM_DOMAIN_REQUESTED)) { in zynqmp_gpd_power_off() 129 ret = zynqmp_pm_set_requirement(pd->node_id, capabilities, 0, in zynqmp_gpd_power_off() 137 __func__, domain->name, pd->node_id, ret); in zynqmp_gpd_power_off() 156 struct zynqmp_pm_domain *pd; in zynqmp_gpd_attach_dev() local [all …]
|
/kernel/linux/linux-5.10/drivers/soc/ti/ |
D | ti_sci_pm_domains.c | 47 struct generic_pm_domain pd; member 52 #define genpd_to_ti_sci_pd(gpd) container_of(gpd, struct ti_sci_pm_domain, pd) 60 struct ti_sci_pm_domain *pd = genpd_to_ti_sci_pd(domain); in ti_sci_pd_power_off() local 61 const struct ti_sci_handle *ti_sci = pd->parent->ti_sci; in ti_sci_pd_power_off() 63 return ti_sci->ops.dev_ops.put_device(ti_sci, pd->idx); in ti_sci_pd_power_off() 72 struct ti_sci_pm_domain *pd = genpd_to_ti_sci_pd(domain); in ti_sci_pd_power_on() local 73 const struct ti_sci_handle *ti_sci = pd->parent->ti_sci; in ti_sci_pd_power_on() 75 if (pd->exclusive) in ti_sci_pd_power_on() 77 pd->idx); in ti_sci_pd_power_on() 79 return ti_sci->ops.dev_ops.get_device(ti_sci, pd->idx); in ti_sci_pd_power_on() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
D | platformdata.c | 15 void __init *s3c_set_platdata(void *pd, size_t pdsize, in s3c_set_platdata() argument 20 if (!pd) { in s3c_set_platdata() 26 npd = kmemdup(pd, pdsize, GFP_KERNEL); in s3c_set_platdata() 34 void s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd, in s3c_sdhci_set_platdata() argument 37 set->cd_type = pd->cd_type; in s3c_sdhci_set_platdata() 38 set->ext_cd_init = pd->ext_cd_init; in s3c_sdhci_set_platdata() 39 set->ext_cd_cleanup = pd->ext_cd_cleanup; in s3c_sdhci_set_platdata() 40 set->ext_cd_gpio = pd->ext_cd_gpio; in s3c_sdhci_set_platdata() 41 set->ext_cd_gpio_invert = pd->ext_cd_gpio_invert; in s3c_sdhci_set_platdata() 43 if (pd->max_width) in s3c_sdhci_set_platdata() [all …]
|
D | devs.c | 165 void __init s3c_fb_set_platdata(struct s3c_fb_platdata *pd) in s3c_fb_set_platdata() argument 167 s3c_set_platdata(pd, sizeof(struct s3c_fb_platdata), in s3c_fb_set_platdata() 181 void __init s3c_hwmon_set_platdata(struct s3c_hwmon_pdata *pd) in s3c_hwmon_set_platdata() argument 183 s3c_set_platdata(pd, sizeof(struct s3c_hwmon_pdata), in s3c_hwmon_set_platdata() 214 void s3c_sdhci0_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci0_set_platdata() argument 216 s3c_sdhci_set_platdata(pd, &s3c_hsmmc0_def_platdata); in s3c_sdhci0_set_platdata() 244 void s3c_sdhci1_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci1_set_platdata() argument 246 s3c_sdhci_set_platdata(pd, &s3c_hsmmc1_def_platdata); in s3c_sdhci1_set_platdata() 276 void s3c_sdhci2_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci2_set_platdata() argument 278 s3c_sdhci_set_platdata(pd, &s3c_hsmmc2_def_platdata); in s3c_sdhci2_set_platdata() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/ |
D | interrupt.c | 96 struct ps3_private *pd = irq_data_get_irq_chip_data(d); in ps3_chip_mask() local 100 pd->thread_id, d->irq); in ps3_chip_mask() 103 clear_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_mask() 104 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_mask() 117 struct ps3_private *pd = irq_data_get_irq_chip_data(d); in ps3_chip_unmask() local 121 pd->thread_id, d->irq); in ps3_chip_unmask() 124 set_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_unmask() 125 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_unmask() 138 const struct ps3_private *pd = irq_data_get_irq_chip_data(d); in ps3_chip_eoi() local 142 if (!test_bit(63 - d->irq, &pd->ipi_mask)) in ps3_chip_eoi() [all …]
|
/kernel/linux/linux-5.10/drivers/soc/rockchip/ |
D | pm_domains.c | 134 static bool rockchip_pmu_domain_is_idle(struct rockchip_pm_domain *pd) in rockchip_pmu_domain_is_idle() argument 136 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_domain_is_idle() 137 const struct rockchip_domain_info *pd_info = pd->info; in rockchip_pmu_domain_is_idle() 152 static int rockchip_pmu_set_idle_request(struct rockchip_pm_domain *pd, in rockchip_pmu_set_idle_request() argument 155 const struct rockchip_domain_info *pd_info = pd->info; in rockchip_pmu_set_idle_request() 156 struct generic_pm_domain *genpd = &pd->genpd; in rockchip_pmu_set_idle_request() 157 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_set_idle_request() 187 ret = readx_poll_timeout_atomic(rockchip_pmu_domain_is_idle, pd, in rockchip_pmu_set_idle_request() 199 static int rockchip_pmu_save_qos(struct rockchip_pm_domain *pd) in rockchip_pmu_save_qos() argument 203 for (i = 0; i < pd->num_qos; i++) { in rockchip_pmu_save_qos() [all …]
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
D | rpmhpd.c | 19 #define domain_to_rpmhpd(domain) container_of(domain, struct rpmhpd, pd) 45 struct generic_pm_domain pd; member 69 .pd = { .name = "ebi", }, 74 .pd = { .name = "lmx", }, 79 .pd = { .name = "lcx", }, 84 .pd = { .name = "gfx", }, 89 .pd = { .name = "mss", }, 95 .pd = { .name = "mx", }, 101 .pd = { .name = "mx_ao", }, 109 .pd = { .name = "cx", }, [all …]
|
D | rpmpd.c | 18 #define domain_to_rpmpd(domain) container_of(domain, struct rpmpd, pd) 44 .pd = { .name = #_name, }, \ 51 .pd = { .name = #_active, }, \ 61 .pd = { .name = #_name, }, \ 69 .pd = { .name = #_name, }, \ 77 .pd = { .name = #_name, }, \ 85 .pd = { .name = #_name, }, \ 98 struct generic_pm_domain pd; member 232 static int rpmpd_send_enable(struct rpmpd *pd, bool enable) in rpmpd_send_enable() argument 240 return qcom_rpm_smd_write(pd->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in rpmpd_send_enable() [all …]
|
/kernel/linux/linux-5.10/drivers/soc/amlogic/ |
D | meson-gx-pwrc-vpu.c | 49 struct meson_gx_pwrc_vpu *pd = genpd_to_pd(genpd); in meson_gx_pwrc_vpu_power_off() local 52 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_power_off() 58 regmap_update_bits(pd->regmap_hhi, HHI_VPU_MEM_PD_REG0, in meson_gx_pwrc_vpu_power_off() 63 regmap_update_bits(pd->regmap_hhi, HHI_VPU_MEM_PD_REG1, in meson_gx_pwrc_vpu_power_off() 68 regmap_update_bits(pd->regmap_hhi, HHI_MEM_PD_REG0, in meson_gx_pwrc_vpu_power_off() 74 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_power_off() 79 clk_disable_unprepare(pd->vpu_clk); in meson_gx_pwrc_vpu_power_off() 80 clk_disable_unprepare(pd->vapb_clk); in meson_gx_pwrc_vpu_power_off() 87 struct meson_gx_pwrc_vpu *pd = genpd_to_pd(genpd); in meson_g12a_pwrc_vpu_power_off() local 90 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_g12a_pwrc_vpu_power_off() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_ppgtt.c | 33 struct i915_page_directory *pd; in __alloc_pd() local 35 pd = kzalloc(sizeof(*pd), I915_GFP_ALLOW_FAIL); in __alloc_pd() 36 if (unlikely(!pd)) in __alloc_pd() 39 pd->entry = kcalloc(count, sizeof(*pd->entry), I915_GFP_ALLOW_FAIL); in __alloc_pd() 40 if (unlikely(!pd->entry)) { in __alloc_pd() 41 kfree(pd); in __alloc_pd() 45 spin_lock_init(&pd->lock); in __alloc_pd() 46 return pd; in __alloc_pd() 51 struct i915_page_directory *pd; in alloc_pd() local 53 pd = __alloc_pd(I915_PDES); in alloc_pd() [all …]
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
D | tda18271-maps.c | 13 u8 pd; /* post div */ member 25 { .lomax = 32000, .pd = 0x5f, .d = 0xf0 }, 26 { .lomax = 35000, .pd = 0x5e, .d = 0xe0 }, 27 { .lomax = 37000, .pd = 0x5d, .d = 0xd0 }, 28 { .lomax = 41000, .pd = 0x5c, .d = 0xc0 }, 29 { .lomax = 44000, .pd = 0x5b, .d = 0xb0 }, 30 { .lomax = 49000, .pd = 0x5a, .d = 0xa0 }, 31 { .lomax = 54000, .pd = 0x59, .d = 0x90 }, 32 { .lomax = 61000, .pd = 0x58, .d = 0x80 }, 33 { .lomax = 65000, .pd = 0x4f, .d = 0x78 }, [all …]
|
/kernel/linux/linux-5.10/drivers/soc/renesas/ |
D | rmobile-sysc.c | 149 struct device_node *pd; member 166 struct device_node *pd; in add_special_pd() local 168 pd = of_parse_phandle(np, "power-domains", 0); in add_special_pd() 169 if (!pd) in add_special_pd() 173 if (pd == special_pds[i].pd && type == special_pds[i].type) { in add_special_pd() 174 of_node_put(pd); in add_special_pd() 180 of_node_put(pd); in add_special_pd() 184 pr_debug("Special PM domain %pOFn type %d for %pOF\n", pd, type, np); in add_special_pd() 186 special_pds[num_special_pds].pd = pd; in add_special_pd() 214 of_node_put(special_pds[i].pd); in put_special_pds() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/sifive/ |
D | fu540-prci.c | 163 void (*enable_bypass)(struct __prci_data *pd); 164 void (*disable_bypass)(struct __prci_data *pd); 186 struct __prci_data *pd; member 208 static u32 __prci_readl(struct __prci_data *pd, u32 offs) in __prci_readl() argument 210 return readl_relaxed(pd->va + offs); in __prci_readl() 213 static void __prci_writel(u32 v, u32 offs, struct __prci_data *pd) in __prci_writel() argument 215 writel_relaxed(v, pd->va + offs); in __prci_writel() 303 static void __prci_wrpll_read_cfg(struct __prci_data *pd, in __prci_wrpll_read_cfg() argument 306 __prci_wrpll_unpack(&pwd->c, __prci_readl(pd, pwd->cfg0_offs)); in __prci_wrpll_read_cfg() 323 static void __prci_wrpll_write_cfg(struct __prci_data *pd, in __prci_wrpll_write_cfg() argument [all …]
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | pch_dma.c | 132 #define dma_readl(pd, name) \ argument 133 readl((pd)->membase + PCH_DMA_##name) 134 #define dma_writel(pd, name, val) \ argument 135 writel((val), (pd)->membase + PCH_DMA_##name) 179 struct pch_dma *pd = to_pd(chan->device); in pdc_enable_irq() local 188 val = dma_readl(pd, CTL2); in pdc_enable_irq() 195 dma_writel(pd, CTL2, val); in pdc_enable_irq() 204 struct pch_dma *pd = to_pd(chan->device); in pdc_set_dir() local 210 val = dma_readl(pd, CTL0); in pdc_set_dir() 225 dma_writel(pd, CTL0, val); in pdc_set_dir() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/ |
D | usnic_uiom.c | 196 struct usnic_uiom_pd *pd) in usnic_uiom_unmap_sorted_intervals() argument 207 iommu_unmap(pd->domain, va, PAGE_SIZE); in usnic_uiom_unmap_sorted_intervals() 214 static void __usnic_uiom_reg_release(struct usnic_uiom_pd *pd, in __usnic_uiom_reg_release() argument 228 spin_lock(&pd->lock); in __usnic_uiom_reg_release() 229 usnic_uiom_remove_interval(&pd->root, vpn_start, in __usnic_uiom_reg_release() 231 usnic_uiom_unmap_sorted_intervals(&rm_intervals, pd); in __usnic_uiom_reg_release() 241 spin_unlock(&pd->lock); in __usnic_uiom_reg_release() 255 struct usnic_uiom_pd *pd = uiomr->pd; in usnic_uiom_map_sorted_intervals() local 284 err = iommu_map(pd->domain, va_start, pa_start, in usnic_uiom_map_sorted_intervals() 301 err = iommu_map(pd->domain, va_start, pa_start, in usnic_uiom_map_sorted_intervals() [all …]
|
/kernel/linux/linux-5.10/kernel/ |
D | padata.c | 60 static void padata_free_pd(struct parallel_data *pd); 63 static int padata_index_to_cpu(struct parallel_data *pd, int cpu_index) in padata_index_to_cpu() argument 67 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu() 69 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu() 74 static int padata_cpu_hash(struct parallel_data *pd, unsigned int seq_nr) in padata_cpu_hash() argument 80 int cpu_index = seq_nr % cpumask_weight(pd->cpumask.pcpu); in padata_cpu_hash() 82 return padata_index_to_cpu(pd, cpu_index); in padata_cpu_hash() 185 struct parallel_data *pd; in padata_do_parallel() local 190 pd = rcu_dereference_bh(ps->pd); in padata_do_parallel() 196 if (!cpumask_test_cpu(*cb_cpu, pd->cpumask.cbcpu)) { in padata_do_parallel() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_proto.c | 69 struct ip_vs_proto_data *pd = in register_ip_vs_proto_netns() local 72 if (!pd) in register_ip_vs_proto_netns() 75 pd->pp = pp; /* For speed issues */ in register_ip_vs_proto_netns() 76 pd->next = ipvs->proto_data_table[hash]; in register_ip_vs_proto_netns() 77 ipvs->proto_data_table[hash] = pd; in register_ip_vs_proto_netns() 78 atomic_set(&pd->appcnt, 0); /* Init app counter */ in register_ip_vs_proto_netns() 81 int ret = pp->init_netns(ipvs, pd); in register_ip_vs_proto_netns() 84 ipvs->proto_data_table[hash] = pd->next; in register_ip_vs_proto_netns() 85 kfree(pd); in register_ip_vs_proto_netns() 118 unregister_ip_vs_proto_netns(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in unregister_ip_vs_proto_netns() argument [all …]
|