Home
last modified time | relevance | path

Searched refs:priv_size (Results 1 – 25 of 190) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-pltfm.c118 size_t priv_size) in sdhci_pltfm_init() argument
137 sizeof(struct sdhci_pltfm_host) + priv_size); in sdhci_pltfm_init()
175 size_t priv_size) in sdhci_pltfm_register() argument
180 host = sdhci_pltfm_init(pdev, pdata, priv_size); in sdhci_pltfm_register()
Dsdhci-acpi.c64 size_t priv_size; member
440 .priv_size = sizeof(struct intel_host),
454 .priv_size = sizeof(struct intel_host),
467 .priv_size = sizeof(struct intel_host),
528 .priv_size = sizeof(int),
716 .priv_size = sizeof(struct amd_sdhci_host),
826 size_t priv_size; in sdhci_acpi_probe() local
862 priv_size = slot ? slot->priv_size : 0; in sdhci_acpi_probe()
863 host = sdhci_alloc_host(dev, sizeof(struct sdhci_acpi_host) + priv_size); in sdhci_acpi_probe()
Dsdhci-pltfm.h99 size_t priv_size);
104 size_t priv_size);
/kernel/linux/linux-5.10/net/mac802154/
Dmain.c51 size_t priv_size; in ieee802154_alloc_hw() local
75 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw()
77 phy = wpan_phy_new(&mac802154_config_ops, priv_size); in ieee802154_alloc_hw()
/kernel/linux/linux-5.10/Documentation/networking/
D6lowpan.rst10 The priv_size of each interface should be calculate by::
12 dev->priv_size = LOWPAN_PRIV_SIZE(LL_6LOWPAN_PRIV_DATA);
/kernel/linux/linux-5.10/drivers/net/ethernet/wiznet/
Dw5100-spi.c426 int priv_size; in w5100_spi_probe() local
441 priv_size = 0; in w5100_spi_probe()
445 priv_size = sizeof(struct w5200_spi_priv); in w5100_spi_probe()
449 priv_size = sizeof(struct w5500_spi_priv); in w5100_spi_probe()
455 return w5100_probe(&spi->dev, ops, priv_size, mac, spi->irq, -EINVAL); in w5100_spi_probe()
/kernel/linux/linux-5.10/net/sched/
Dsch_fifo.c185 .priv_size = 0,
200 .priv_size = 0,
215 .priv_size = 0,
Dsch_blackhole.c30 .priv_size = 0,
Dsch_ingress.c142 .priv_size = sizeof(struct ingress_sched_data),
283 .priv_size = sizeof(struct clsact_sched_data),
/kernel/linux/linux-5.10/lib/
Dts_kmp.c98 size_t priv_size = sizeof(*kmp) + len + prefix_tbl_len; in kmp_init() local
100 conf = alloc_ts_config(priv_size, gfp_mask); in kmp_init()
Dts_bm.c148 size_t priv_size = sizeof(*bm) + len + prefix_tbl_len; in bm_init() local
150 conf = alloc_ts_config(priv_size, gfp_mask); in bm_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Docteon_device.c667 u32 priv_size) in octeon_allocate_device_mem() argument
699 if (priv_size & 0x7) in octeon_allocate_device_mem()
700 priv_size += (8 - (priv_size & 0x7)); in octeon_allocate_device_mem()
702 size = octdevsize + priv_size + configsize + in octeon_allocate_device_mem()
711 oct->chip = (void *)(buf + octdevsize + priv_size); in octeon_allocate_device_mem()
713 (buf + octdevsize + priv_size + configsize); in octeon_allocate_device_mem()
719 u32 priv_size) in octeon_allocate_device() argument
731 oct = octeon_allocate_device_mem(pci_id, priv_size); in octeon_allocate_device()
/kernel/linux/linux-5.10/tools/perf/arch/arm64/util/
Darm-spe.c45 size_t priv_size) in arm_spe_info_fill() argument
51 if (priv_size != ARM_SPE_AUXTRACE_PRIV_SIZE) in arm_spe_info_fill()
/kernel/linux/linux-5.10/net/openvswitch/
Dvport.c120 struct vport *ovs_vport_alloc(int priv_size, const struct vport_ops *ops, in ovs_vport_alloc() argument
127 if (priv_size) { in ovs_vport_alloc()
129 alloc_size += priv_size; in ovs_vport_alloc()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c72 struct iwl_trans *iwl_trans_alloc(unsigned int priv_size, in iwl_trans_alloc() argument
83 trans = devm_kzalloc(dev, sizeof(*trans) + priv_size, GFP_KERNEL); in iwl_trans_alloc()
/kernel/linux/linux-5.10/tools/perf/util/
Dsymbol_conf.h12 unsigned short priv_size; member
/kernel/linux/linux-5.10/drivers/net/team/
Dteam_mode_roundrobin.c55 .priv_size = sizeof(struct rr_priv),
/kernel/linux/linux-5.10/drivers/dma/bestcomm/
Dbestcomm.c50 bcom_task_alloc(int bd_count, int bd_size, int priv_size) in bcom_task_alloc() argument
75 tsk = kzalloc(sizeof(struct bcom_task) + priv_size, GFP_KERNEL); in bcom_task_alloc()
80 if (priv_size) in bcom_task_alloc()
/kernel/linux/linux-5.10/include/linux/
Ddca.h41 int priv_size);
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dintel-pt.c59 size_t priv_size; member
307 ptr->priv_size = (INTEL_PT_AUXTRACE_PRIV_MAX * sizeof(u64)) + in intel_pt_info_priv_size()
310 return ptr->priv_size; in intel_pt_info_priv_size()
325 size_t priv_size) in intel_pt_info_fill() argument
341 if (priv_size != ptr->priv_size) in intel_pt_info_fill()
/kernel/linux/linux-5.10/tools/perf/arch/s390/util/
Dauxtrace.c34 size_t priv_size __maybe_unused) in cpumsf_info_fill()
/kernel/linux/linux-5.10/net/ieee802154/
Dcore.c97 wpan_phy_new(const struct cfg802154_ops *ops, size_t priv_size) in wpan_phy_new() argument
103 alloc_size = sizeof(*rdev) + priv_size; in wpan_phy_new()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_kvdl.c23 kvdl = kzalloc(sizeof(*mlxsw_sp->kvdl) + kvdl_ops->priv_size, in mlxsw_sp_kvdl_init()
/kernel/linux/linux-5.10/include/scsi/
Dfcoe_sysfs.h112 int priv_size);
/kernel/linux/linux-5.10/drivers/net/phy/
Dphy_device.c1530 int phy_package_join(struct phy_device *phydev, int addr, size_t priv_size) in phy_package_join() argument
1546 if (priv_size) { in phy_package_join()
1547 shared->priv = kzalloc(priv_size, GFP_KERNEL); in phy_package_join()
1550 shared->priv_size = priv_size; in phy_package_join()
1557 if (priv_size && priv_size != shared->priv_size) in phy_package_join()
1619 int addr, size_t priv_size) in devm_phy_package_join() argument
1629 ret = phy_package_join(phydev, addr, priv_size); in devm_phy_package_join()

12345678