/kernel/linux/linux-5.10/scripts/coccinelle/api/alloc/ |
D | alloc_cast.cocci | 36 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\| 59 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\| 82 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\| 99 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
|
D | zalloc-simple.cocci | 39 devm_kmalloc(...,E1,...)\|kvmalloc(E1, ...)\|kvmalloc_node(E1,...)\); 100 - x = devm_kmalloc(E2,E1,E3); 103 - x = (T *)devm_kmalloc(E2,E1,E3); 106 - x = (T)devm_kmalloc(E2,E1,E3); 332 x = (T)devm_kmalloc@p(E2,E1,E3); 350 msg="WARNING: devm_kzalloc should be used for %s, instead of devm_kmalloc/memset" % (x)
|
/kernel/linux/linux-5.10/drivers/dma/qcom/ |
D | hidma_mgmt_sys.c | 190 attrs = devm_kmalloc(&dev->pdev->dev, in create_sysfs_entry() 215 chattr = devm_kmalloc(&mdev->pdev->dev, sizeof(*chattr), GFP_KERNEL); in create_sysfs_entry_channel() 242 mdev->chroots = devm_kmalloc(&mdev->pdev->dev, required, GFP_KERNEL); in hidma_mgmt_init_sys()
|
/kernel/linux/linux-5.10/drivers/base/ |
D | devres.c | 826 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) in devm_kmalloc() function 846 EXPORT_SYMBOL_GPL(devm_kmalloc); 876 return devm_kmalloc(dev, new_size, gfp); in devm_krealloc() 964 buf = devm_kmalloc(dev, size, gfp); in devm_kstrdup() 1015 p = devm_kmalloc(dev, len+1, gfp); in devm_kvasprintf() 1086 p = devm_kmalloc(dev, len, gfp); in devm_kmemdup()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/clk/bcm/ |
D | clk-bcm2835-aux.c | 33 onecell = devm_kmalloc(dev, in bcm2835_aux_clk_probe()
|
/kernel/linux/linux-5.10/drivers/soc/atmel/ |
D | sfr.c | 51 priv = devm_kmalloc(dev, sizeof(*priv), GFP_KERNEL); in atmel_sfr_probe()
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | cpcap-pwrbutton.c | 60 button = devm_kmalloc(&pdev->dev, sizeof(*button), GFP_KERNEL); in cpcap_power_button_probe()
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-u2fzero.c | 300 dev->buf_out = devm_kmalloc(&hdev->dev, in u2fzero_probe() 305 dev->buf_in = devm_kmalloc(&hdev->dev, in u2fzero_probe()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | pwm-ir-tx.c | 90 pwm_ir = devm_kmalloc(&pdev->dev, sizeof(*pwm_ir), GFP_KERNEL); in pwm_ir_probe()
|
D | gpio-ir-tx.c | 163 gpio_ir = devm_kmalloc(&pdev->dev, sizeof(*gpio_ir), GFP_KERNEL); in gpio_ir_tx_probe()
|
D | imon_raw.c | 132 imon = devm_kmalloc(&intf->dev, sizeof(*imon), GFP_KERNEL); in imon_probe()
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
D | ci_hdrc_usb2.c | 57 ci_pdata = devm_kmalloc(dev, sizeof(*ci_pdata), GFP_KERNEL); in ci_hdrc_usb2_probe()
|
/kernel/linux/linux-5.10/drivers/clk/hisilicon/ |
D | reset.c | 94 rstc = devm_kmalloc(&pdev->dev, sizeof(*rstc), GFP_KERNEL); in hisi_reset_init()
|
D | clk-hi3519.c | 147 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3519_clk_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-core.c | 477 ss->flows[i].biv = devm_kmalloc(ss->dev, AES_BLOCK_SIZE, in allocate_flows() 485 ss->flows[i].iv[j] = devm_kmalloc(ss->dev, AES_BLOCK_SIZE, in allocate_flows() 494 ss->flows[i].pad = devm_kmalloc(ss->dev, SHA256_BLOCK_SIZE * 2, in allocate_flows() 500 ss->flows[i].result = devm_kmalloc(ss->dev, SHA256_DIGEST_SIZE, in allocate_flows()
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | dax_devs.c | 114 pfn_sb = devm_kmalloc(dev, sizeof(*pfn_sb), GFP_KERNEL); in nd_dax_probe()
|
/kernel/linux/linux-5.10/drivers/video/backlight/ |
D | pandora_bl.c | 116 priv = devm_kmalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in pandora_backlight_probe()
|
/kernel/linux/linux-5.10/drivers/phy/amlogic/ |
D | phy-meson-axg-mipi-pcie-analog.c | 133 priv = devm_kmalloc(dev, sizeof(*priv), GFP_KERNEL); in phy_axg_mipi_pcie_analog_probe()
|
D | phy-meson-axg-pcie.c | 136 priv = devm_kmalloc(dev, sizeof(*priv), GFP_KERNEL); in phy_axg_pcie_probe()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | i2c-multi-instantiate.c | 84 multi = devm_kmalloc(dev, struct_size(multi, clients, ret), GFP_KERNEL); in i2c_multi_inst_probe()
|
/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/ |
D | bman_portal.c | 113 pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); in bman_portal_probe()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | tps6105x.c | 135 tps6105x = devm_kmalloc(&client->dev, sizeof(*tps6105x), GFP_KERNEL); in tps6105x_probe()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | sdio.c | 382 mdev->sdio.intr_data = devm_kmalloc(mdev->dev, in mt7663s_probe() 391 mdev->sdio.xmit_buf[i] = devm_kmalloc(mdev->dev, in mt7663s_probe()
|
/kernel/linux/linux-5.10/include/linux/ |
D | device.h | 208 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) __malloc; 217 return devm_kmalloc(dev, size, gfp | __GFP_ZERO); in devm_kzalloc() 227 return devm_kmalloc(dev, bytes, flags); in devm_kmalloc_array()
|