devm_kmalloc 428 drivers/auxdisplay/ht16k33.c fbdev->cache = devm_kmalloc(&client->dev, HT16K33_FB_SIZE, GFP_KERNEL); devm_kmalloc 283 drivers/auxdisplay/img-ascii-lcd.c new_msg = devm_kmalloc(&ctx->pdev->dev, count + 1, GFP_KERNEL); devm_kmalloc 827 drivers/base/devres.c EXPORT_SYMBOL_GPL(devm_kmalloc); devm_kmalloc 848 drivers/base/devres.c buf = devm_kmalloc(dev, size, gfp); devm_kmalloc 899 drivers/base/devres.c p = devm_kmalloc(dev, len+1, gfp); devm_kmalloc 970 drivers/base/devres.c p = devm_kmalloc(dev, len, gfp); devm_kmalloc 135 drivers/bus/vexpress-config.c bridge = devm_kmalloc(dev, sizeof(*bridge), GFP_KERNEL); devm_kmalloc 256 drivers/char/ipmi/ipmi_powernv.c ipmi->opal_msg = devm_kmalloc(dev, devm_kmalloc 440 drivers/char/ipmi/kcs_bmc.c kcs_bmc->data_in = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL); devm_kmalloc 441 drivers/char/ipmi/kcs_bmc.c kcs_bmc->data_out = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL); devm_kmalloc 442 drivers/char/ipmi/kcs_bmc.c kcs_bmc->kbuffer = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL); devm_kmalloc 207 drivers/char/tpm/tpm_tis_spi.c phy->iobuf = devm_kmalloc(&dev->dev, MAX_SPI_FRAMESIZE, GFP_KERNEL); devm_kmalloc 35 drivers/clk/bcm/clk-bcm2835-aux.c onecell = devm_kmalloc(dev, devm_kmalloc 203 drivers/clk/clk-scpi.c clk_data = devm_kmalloc(dev, sizeof(*clk_data), GFP_KERNEL); devm_kmalloc 147 drivers/clk/hisilicon/clk-hi3519.c crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); devm_kmalloc 33 drivers/clk/hisilicon/clk.c clk_data = devm_kmalloc(&pdev->dev, sizeof(*clk_data), GFP_KERNEL); devm_kmalloc 265 drivers/clk/hisilicon/crg-hi3516cv300.c crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); devm_kmalloc 348 drivers/clk/hisilicon/crg-hi3798cv200.c crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); devm_kmalloc 95 drivers/clk/hisilicon/reset.c rstc = devm_kmalloc(&pdev->dev, sizeof(*rstc), GFP_KERNEL); devm_kmalloc 346 drivers/crypto/atmel-i2c.c i2c_priv = devm_kmalloc(dev, sizeof(*i2c_priv), GFP_KERNEL); devm_kmalloc 1238 drivers/crypto/atmel-tdes.c tdes_dd = devm_kmalloc(&pdev->dev, sizeof(*tdes_dd), GFP_KERNEL); devm_kmalloc 508 drivers/crypto/caam/jr.c jrpriv = devm_kmalloc(jrdev, sizeof(*jrpriv), GFP_KERNEL); devm_kmalloc 643 drivers/dma/qcom/hidma.c attrs = devm_kmalloc(dev->ddev.dev, sizeof(struct device_attribute), devm_kmalloc 190 drivers/dma/qcom/hidma_mgmt_sys.c attrs = devm_kmalloc(&dev->pdev->dev, devm_kmalloc 215 drivers/dma/qcom/hidma_mgmt_sys.c chattr = devm_kmalloc(&mdev->pdev->dev, sizeof(*chattr), GFP_KERNEL); devm_kmalloc 242 drivers/dma/qcom/hidma_mgmt_sys.c mdev->chroots = devm_kmalloc(&mdev->pdev->dev, required, GFP_KERNEL); devm_kmalloc 512 drivers/gpu/drm/drm_mipi_dbi.c dbidev->tx_buf = devm_kmalloc(drm->dev, tx_buf_size, GFP_KERNEL); devm_kmalloc 1120 drivers/gpu/drm/drm_mipi_dbi.c dbi->tx_buf9 = devm_kmalloc(dev, dbi->tx_buf9_len, GFP_KERNEL); devm_kmalloc 458 drivers/hid/hid-led.c ldev->buf = devm_kmalloc(&hdev->dev, MAX_REPORT_SIZE, GFP_KERNEL); devm_kmalloc 2231 drivers/hid/hid-sony.c devm_kmalloc(&sc->hdev->dev, devm_kmalloc 2235 drivers/hid/hid-sony.c sc->output_report_dmabuf = devm_kmalloc(&sc->hdev->dev, devm_kmalloc 2239 drivers/hid/hid-sony.c sc->output_report_dmabuf = devm_kmalloc(&sc->hdev->dev, devm_kmalloc 2243 drivers/hid/hid-sony.c sc->output_report_dmabuf = devm_kmalloc(&sc->hdev->dev, devm_kmalloc 296 drivers/hid/hid-u2fzero.c dev->buf_out = devm_kmalloc(&hdev->dev, devm_kmalloc 301 drivers/hid/hid-u2fzero.c dev->buf_in = devm_kmalloc(&hdev->dev, devm_kmalloc 168 drivers/hid/intel-ish-hid/ishtp-hid-client.c devm_kmalloc(cl_data_to_dev(client_data), devm_kmalloc 193 drivers/hid/intel-ish-hid/ishtp-hid-client.c devm_kmalloc(cl_data_to_dev(client_data), devm_kmalloc 198 drivers/i2c/busses/i2c-dln2.c dln2->buf = devm_kmalloc(dev, DLN2_I2C_BUF_SIZE, GFP_KERNEL); devm_kmalloc 1104 drivers/iio/accel/st_accel_core.c adata->mount_matrix = devm_kmalloc(&indio_dev->dev, devm_kmalloc 151 drivers/input/joystick/pxrc.c xfer_buf = devm_kmalloc(&intf->dev, xfer_size, GFP_KERNEL); devm_kmalloc 1653 drivers/input/keyboard/applespi.c applespi->tx_buffer = devm_kmalloc(&spi->dev, APPLESPI_PACKET_SIZE, devm_kmalloc 1655 drivers/input/keyboard/applespi.c applespi->tx_status = devm_kmalloc(&spi->dev, APPLESPI_STATUS_SIZE, devm_kmalloc 1657 drivers/input/keyboard/applespi.c applespi->rx_buffer = devm_kmalloc(&spi->dev, APPLESPI_PACKET_SIZE, devm_kmalloc 60 drivers/input/misc/cpcap-pwrbutton.c button = devm_kmalloc(&pdev->dev, sizeof(*button), GFP_KERNEL); devm_kmalloc 1070 drivers/input/touchscreen/raydium_i2c_ts.c ts->report_data = devm_kmalloc(&client->dev, devm_kmalloc 434 drivers/media/radio/si470x/radio-si470x-i2c.c radio->buffer = devm_kmalloc(&client->dev, radio->buf_size, GFP_KERNEL); devm_kmalloc 123 drivers/media/rc/gpio-ir-tx.c gpio_ir = devm_kmalloc(&pdev->dev, sizeof(*gpio_ir), GFP_KERNEL); devm_kmalloc 146 drivers/media/rc/imon_raw.c imon = devm_kmalloc(&intf->dev, sizeof(*imon), GFP_KERNEL); devm_kmalloc 90 drivers/media/rc/pwm-ir-tx.c pwm_ir = devm_kmalloc(&pdev->dev, sizeof(*pwm_ir), GFP_KERNEL); devm_kmalloc 107 drivers/mfd/tps6105x.c tps6105x = devm_kmalloc(&client->dev, sizeof(*tps6105x), GFP_KERNEL); devm_kmalloc 1177 drivers/misc/eeprom/idt_89hpesx.c pdev = devm_kmalloc(&client->dev, sizeof(struct idt_89hpesx_dev), devm_kmalloc 1325 drivers/misc/eeprom/idt_89hpesx.c pdev->ee_file = devm_kmalloc(dev, sizeof(*pdev->ee_file), GFP_KERNEL); devm_kmalloc 3675 drivers/mmc/host/sdhci.c host->bounce_buffer = devm_kmalloc(mmc->parent, devm_kmalloc 4855 drivers/mtd/spi-nor/spi-nor.c nor->bouncebuf = devm_kmalloc(dev, nor->bouncebuf_size, devm_kmalloc 5035 drivers/mtd/spi-nor/spi-nor.c nor->bouncebuf = devm_kmalloc(nor->dev, devm_kmalloc 80 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c rvu->pf2cgxlmac_map = devm_kmalloc(rvu->dev, size, GFP_KERNEL); devm_kmalloc 1219 drivers/net/ethernet/micrel/ks8851_mll.c ks->frame_head_info = devm_kmalloc(&ks->pdev->dev, MHEADER_SIZE, devm_kmalloc 271 drivers/net/ethernet/qualcomm/qca_uart.c qca->tx_buffer = devm_kmalloc(&qca->serdev->dev, len, GFP_KERNEL); devm_kmalloc 665 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->txq[queue_num] = devm_kmalloc(priv->device, devm_kmalloc 679 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->rxq[queue_num] = devm_kmalloc(priv->device, devm_kmalloc 1405 drivers/net/ethernet/ti/netcp_core.c naddr = devm_kmalloc(netcp->dev, sizeof(*naddr), GFP_ATOMIC); devm_kmalloc 1326 drivers/net/ethernet/xilinx/ll_temac_main.c lp->indirect_lock = devm_kmalloc(&pdev->dev, devm_kmalloc 588 drivers/net/wireless/mediatek/mt76/usb.c usb->mcu.data = devm_kmalloc(dev->dev, MCU_RESP_URB_SIZE, GFP_KERNEL); devm_kmalloc 586 drivers/net/wireless/mediatek/mt7601u/init.c dev->mon_wcid = devm_kmalloc(dev->dev, sizeof(*dev->mon_wcid), devm_kmalloc 281 drivers/net/wireless/mediatek/mt7601u/usb.c dev->vend_buf = devm_kmalloc(dev->dev, MT_VEND_BUF, GFP_KERNEL); devm_kmalloc 830 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c rt2x00dev->anchor = devm_kmalloc(&usb_dev->dev, devm_kmalloc 121 drivers/nvdimm/dax_devs.c pfn_sb = devm_kmalloc(dev, sizeof(*pfn_sb), GFP_KERNEL); devm_kmalloc 623 drivers/nvdimm/pfn_devs.c pfn_sb = devm_kmalloc(dev, sizeof(*pfn_sb), GFP_KERNEL); devm_kmalloc 721 drivers/nvdimm/pfn_devs.c pfn_sb = devm_kmalloc(&nd_pfn->dev, sizeof(*pfn_sb), GFP_KERNEL); devm_kmalloc 1077 drivers/platform/mellanox/mlxbf-tmfifo.c tm_vdev->tx_buf.buf = devm_kmalloc(dev, devm_kmalloc 84 drivers/platform/x86/i2c-multi-instantiate.c multi = devm_kmalloc(dev, struct_size(multi, clients, ret), GFP_KERNEL); devm_kmalloc 960 drivers/regulator/qcom_rpm-regulator.c vreg = devm_kmalloc(&pdev->dev, sizeof(*vreg), GFP_KERNEL); devm_kmalloc 3725 drivers/scsi/hisi_sas/hisi_sas_main.c devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 3733 drivers/scsi/hisi_sas/hisi_sas_main.c devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 3741 drivers/scsi/hisi_sas/hisi_sas_main.c devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 3748 drivers/scsi/hisi_sas/hisi_sas_main.c devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 3756 drivers/scsi/hisi_sas/hisi_sas_main.c devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 3765 drivers/scsi/hisi_sas/hisi_sas_main.c devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 3773 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_hba->debugfs_iost = devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 3780 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_hba->debugfs_iost_cache = devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 3787 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_hba->debugfs_itct_cache = devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 3794 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_hba->debugfs_itct = devm_kmalloc(dev, sz, GFP_KERNEL); devm_kmalloc 113 drivers/soc/fsl/qbman/bman_portal.c pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); devm_kmalloc 247 drivers/soc/fsl/qbman/qman_portal.c pcfg = devm_kmalloc(dev, sizeof(*pcfg), GFP_KERNEL); devm_kmalloc 694 drivers/spi/spi-dln2.c dln2->buf = devm_kmalloc(&pdev->dev, DLN2_SPI_BUF_SIZE, GFP_KERNEL); devm_kmalloc 749 drivers/staging/axis-fifo/axis-fifo.c fifo = devm_kmalloc(dev, sizeof(*fifo), GFP_KERNEL); devm_kmalloc 51 drivers/usb/chipidea/ci_hdrc_usb2.c ci_pdata = devm_kmalloc(dev, sizeof(*ci_pdata), GFP_KERNEL); devm_kmalloc 116 drivers/video/backlight/pandora_bl.c priv = devm_kmalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); devm_kmalloc 2247 drivers/video/fbdev/pxafb.c inf = devm_kmalloc(&dev->dev, sizeof(*inf), GFP_KERNEL); devm_kmalloc 229 fs/fuse/virtio_fs.c fs->tag = devm_kmalloc(&vdev->dev, len + 1, GFP_KERNEL); devm_kmalloc 919 include/linux/device.h return devm_kmalloc(dev, size, gfp | __GFP_ZERO); devm_kmalloc 929 include/linux/device.h return devm_kmalloc(dev, bytes, flags); devm_kmalloc 555 lib/test_overflow.c DEFINE_TEST_ALLOC(devm_kmalloc, devm_kfree, 1, 1, 0); devm_kmalloc 723 sound/soc/sh/siu_dai.c info = devm_kmalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);