/Linux-v4.19/scripts/coccinelle/api/alloc/ |
D | alloc_cast.cocci | 35 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\|
|
D | zalloc-simple.cocci | 38 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/ |
D | hidma_mgmt_sys.c | 198 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/ |
D | devres.c | 780 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/ |
D | kcs_bmc.c | 440 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()
|
D | ipmi_powernv.c | 256 ipmi->opal_msg = devm_kmalloc(dev, in ipmi_powernv_probe()
|
/Linux-v4.19/drivers/clk/bcm/ |
D | clk-bcm2835-aux.c | 43 onecell = devm_kmalloc(dev, in bcm2835_aux_clk_probe()
|
/Linux-v4.19/drivers/input/misc/ |
D | cpcap-pwrbutton.c | 60 button = devm_kmalloc(&pdev->dev, sizeof(*button), GFP_KERNEL); in cpcap_power_button_probe()
|
/Linux-v4.19/drivers/usb/chipidea/ |
D | ci_hdrc_usb2.c | 51 ci_pdata = devm_kmalloc(dev, sizeof(*ci_pdata), GFP_KERNEL); in ci_hdrc_usb2_probe()
|
/Linux-v4.19/drivers/platform/x86/ |
D | i2c-multi-instantiate.c | 49 multi = devm_kmalloc(dev, in i2c_multi_inst_probe()
|
/Linux-v4.19/drivers/media/rc/ |
D | pwm-ir-tx.c | 98 pwm_ir = devm_kmalloc(&pdev->dev, sizeof(*pwm_ir), GFP_KERNEL); in pwm_ir_probe()
|
D | gpio-ir-tx.c | 131 gpio_ir = devm_kmalloc(&pdev->dev, sizeof(*gpio_ir), GFP_KERNEL); in gpio_ir_tx_probe()
|
D | imon_raw.c | 122 imon = devm_kmalloc(&intf->dev, sizeof(*imon), GFP_KERNEL); in imon_probe()
|
/Linux-v4.19/drivers/clk/hisilicon/ |
D | reset.c | 107 rstc = devm_kmalloc(&pdev->dev, sizeof(*rstc), GFP_KERNEL); in hisi_reset_init()
|
D | clk-hi3519.c | 159 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3519_clk_probe()
|
D | crg-hi3516cv300.c | 277 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3516cv300_crg_probe()
|
/Linux-v4.19/drivers/video/backlight/ |
D | pandora_bl.c | 119 priv = devm_kmalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in pandora_backlight_probe()
|
/Linux-v4.19/drivers/soc/fsl/qbman/ |
D | bman_portal.c | 96 pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); in bman_portal_probe()
|
D | qman_portal.c | 238 pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); in qman_portal_probe()
|
/Linux-v4.19/drivers/mfd/ |
D | tps6105x.c | 108 tps6105x = devm_kmalloc(&client->dev, sizeof(*tps6105x), GFP_KERNEL); in tps6105x_probe()
|
/Linux-v4.19/drivers/bus/ |
D | vexpress-config.c | 142 bridge = devm_kmalloc(dev, sizeof(*bridge), GFP_KERNEL); in vexpress_config_bridge_register()
|
/Linux-v4.19/scripts/coccinelle/free/ |
D | devm_free.cocci | 32 x = devm_kmalloc(...)
|
/Linux-v4.19/drivers/char/tpm/ |
D | tpm_tis_spi.c | 211 phy->iobuf = devm_kmalloc(&dev->dev, MAX_SPI_FRAMESIZE, GFP_KERNEL); in tpm_tis_spi_probe()
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-dln2.c | 201 dln2->buf = devm_kmalloc(dev, DLN2_I2C_BUF_SIZE, GFP_KERNEL); in dln2_i2c_probe()
|
/Linux-v4.19/drivers/input/joystick/ |
D | pxrc.c | 151 xfer_buf = devm_kmalloc(&intf->dev, xfer_size, GFP_KERNEL); in pxrc_probe()
|