Home
last modified time | relevance | path

Searched refs:devm_kmalloc (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v4.19/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci35 dma_alloc_coherent\|dma_zalloc_coherent\|devm_kmalloc\|devm_kzalloc\|
58 dma_alloc_coherent\|dma_zalloc_coherent\|devm_kmalloc\|devm_kzalloc\|
81 dma_alloc_coherent\|dma_zalloc_coherent\|devm_kmalloc\|devm_kzalloc\|
98 dma_alloc_coherent\|dma_zalloc_coherent\|devm_kmalloc\|devm_kzalloc\|
Dzalloc-simple.cocci38 devm_kmalloc(...,E1,...)\|kvmalloc(E1, ...)\|kvmalloc_node(E1,...)\);
108 - x = devm_kmalloc(E2,E1,E3);
111 - x = (T *)devm_kmalloc(E2,E1,E3);
114 - x = (T)devm_kmalloc(E2,E1,E3);
330 x = (T)devm_kmalloc@p(E2,E1,E3);
348 msg="WARNING: devm_kzalloc should be used for %s, instead of devm_kmalloc/memset" % (x)
/Linux-v4.19/drivers/dma/qcom/
Dhidma_mgmt_sys.c198 attrs = devm_kmalloc(&dev->pdev->dev, in create_sysfs_entry()
223 chattr = devm_kmalloc(&mdev->pdev->dev, sizeof(*chattr), GFP_KERNEL); in create_sysfs_entry_channel()
250 mdev->chroots = devm_kmalloc(&mdev->pdev->dev, required, GFP_KERNEL); in hidma_mgmt_init_sys()
/Linux-v4.19/drivers/base/
Ddevres.c780 void * devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) in devm_kmalloc() function
797 EXPORT_SYMBOL_GPL(devm_kmalloc);
818 buf = devm_kmalloc(dev, size, gfp); in devm_kstrdup()
847 p = devm_kmalloc(dev, len+1, gfp); in devm_kvasprintf()
910 p = devm_kmalloc(dev, len, gfp); in devm_kmemdup()
/Linux-v4.19/drivers/char/ipmi/
Dkcs_bmc.c440 kcs_bmc->data_in = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL); in kcs_bmc_alloc()
441 kcs_bmc->data_out = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL); in kcs_bmc_alloc()
442 kcs_bmc->kbuffer = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL); in kcs_bmc_alloc()
Dipmi_powernv.c256 ipmi->opal_msg = devm_kmalloc(dev, in ipmi_powernv_probe()
/Linux-v4.19/drivers/clk/bcm/
Dclk-bcm2835-aux.c43 onecell = devm_kmalloc(dev, in bcm2835_aux_clk_probe()
/Linux-v4.19/drivers/input/misc/
Dcpcap-pwrbutton.c60 button = devm_kmalloc(&pdev->dev, sizeof(*button), GFP_KERNEL); in cpcap_power_button_probe()
/Linux-v4.19/drivers/usb/chipidea/
Dci_hdrc_usb2.c51 ci_pdata = devm_kmalloc(dev, sizeof(*ci_pdata), GFP_KERNEL); in ci_hdrc_usb2_probe()
/Linux-v4.19/drivers/platform/x86/
Di2c-multi-instantiate.c49 multi = devm_kmalloc(dev, in i2c_multi_inst_probe()
/Linux-v4.19/drivers/media/rc/
Dpwm-ir-tx.c98 pwm_ir = devm_kmalloc(&pdev->dev, sizeof(*pwm_ir), GFP_KERNEL); in pwm_ir_probe()
Dgpio-ir-tx.c131 gpio_ir = devm_kmalloc(&pdev->dev, sizeof(*gpio_ir), GFP_KERNEL); in gpio_ir_tx_probe()
Dimon_raw.c122 imon = devm_kmalloc(&intf->dev, sizeof(*imon), GFP_KERNEL); in imon_probe()
/Linux-v4.19/drivers/clk/hisilicon/
Dreset.c107 rstc = devm_kmalloc(&pdev->dev, sizeof(*rstc), GFP_KERNEL); in hisi_reset_init()
Dclk-hi3519.c159 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3519_clk_probe()
Dcrg-hi3516cv300.c277 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3516cv300_crg_probe()
/Linux-v4.19/drivers/video/backlight/
Dpandora_bl.c119 priv = devm_kmalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in pandora_backlight_probe()
/Linux-v4.19/drivers/soc/fsl/qbman/
Dbman_portal.c96 pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); in bman_portal_probe()
Dqman_portal.c238 pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); in qman_portal_probe()
/Linux-v4.19/drivers/mfd/
Dtps6105x.c108 tps6105x = devm_kmalloc(&client->dev, sizeof(*tps6105x), GFP_KERNEL); in tps6105x_probe()
/Linux-v4.19/drivers/bus/
Dvexpress-config.c142 bridge = devm_kmalloc(dev, sizeof(*bridge), GFP_KERNEL); in vexpress_config_bridge_register()
/Linux-v4.19/scripts/coccinelle/free/
Ddevm_free.cocci32 x = devm_kmalloc(...)
/Linux-v4.19/drivers/char/tpm/
Dtpm_tis_spi.c211 phy->iobuf = devm_kmalloc(&dev->dev, MAX_SPI_FRAMESIZE, GFP_KERNEL); in tpm_tis_spi_probe()
/Linux-v4.19/drivers/i2c/busses/
Di2c-dln2.c201 dln2->buf = devm_kmalloc(dev, DLN2_I2C_BUF_SIZE, GFP_KERNEL); in dln2_i2c_probe()
/Linux-v4.19/drivers/input/joystick/
Dpxrc.c151 xfer_buf = devm_kmalloc(&intf->dev, xfer_size, GFP_KERNEL); in pxrc_probe()

123