arch/arc/kernel/unwind.c
353
return kmalloc(sz, GFP_KERNEL);
arch/arm/mach-omap2/pm34xx.c
568
kmalloc(OMAP3_SAVE_SECURE_RAM_SZ, GFP_KERNEL);
arch/arm/mach-rpc/ecard.c
352
ec->loader = kmalloc(c_len(&excd),
arch/arm/mach-rpc/ecard.c
637
ec->card_desc = kmalloc(strlen(incd.d.string)+1, GFP_KERNEL);
arch/arm/mach-tegra/pm.c
287
iram_save_addr = kmalloc(iram_save_size, GFP_KERNEL);
arch/arm64/crypto/aes-neonbs-glue.c
131
rk = kmalloc(sizeof(*rk), GFP_KERNEL);
arch/arm64/crypto/aes-neonbs-glue.c
69
rk = kmalloc(sizeof(*rk), GFP_KERNEL);
arch/arm64/mm/mteswap.c
15
return kmalloc(MTE_PAGE_TAG_STORAGE, GFP_KERNEL);
arch/mips/alchemy/common/dbdma.c
428
desc_base = (u32)kmalloc(i, GFP_KERNEL|GFP_DMA);
arch/mips/kernel/pm-cps.c
658
core_rc = kmalloc(sizeof(u32), GFP_KERNEL);
arch/mips/loongson64/reset.c
156
kexec_argv = kmalloc(KEXEC_ARGV_SIZE, GFP_KERNEL);
arch/mips/loongson64/reset.c
160
kdump_argv = kmalloc(KEXEC_ARGV_SIZE, GFP_KERNEL);
arch/mips/loongson64/reset.c
164
kexec_envp = kmalloc(KEXEC_ENVP_SIZE, GFP_KERNEL);
arch/mips/mm/tlb-r4k.c
754
kmalloc(tlb_vpn_size, GFP_ATOMIC) :
arch/parisc/kernel/processor.c
200
actions = kmalloc(sizeof(struct irqaction)*MAX_CPU_IRQ, GFP_ATOMIC);
arch/powerpc/crypto/aes-gcm-p10-glue.c
242
assocmem = kmalloc(assoclen, flags);
arch/powerpc/kernel/cacheinfo.c
751
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
arch/powerpc/kernel/nvram_64.c
486
buff = kmalloc(part->size, GFP_KERNEL);
arch/powerpc/kernel/nvram_64.c
592
oops_buf = kmalloc(oops_log_partition.size, GFP_KERNEL);
arch/powerpc/kernel/nvram_64.c
612
big_oops_buf = kmalloc(big_oops_buf_sz, GFP_KERNEL);
arch/powerpc/kernel/nvram_64.c
614
stream.workspace = kmalloc(zlib_deflate_workspacesize(
arch/powerpc/kernel/nvram_64.c
998
header = kmalloc(NVRAM_HEADER_LEN, GFP_KERNEL);
arch/powerpc/kernel/pci_32.c
119
pci_to_OF_bus_map = kmalloc(pci_bus_count, GFP_KERNEL);
arch/powerpc/kernel/rtas.c
1050
buf = kmalloc(RTAS_ERROR_LOG_MAX, GFP_ATOMIC);
arch/powerpc/kernel/rtas.c
1059
#define get_errorlog_buffer() kmalloc(RTAS_ERROR_LOG_MAX, GFP_KERNEL)
arch/powerpc/kernel/rtasd.c
317
tmp = kmalloc(count, GFP_KERNEL);
arch/powerpc/kexec/file_load.c
78
slave_code_buf = kmalloc(SLAVE_CODE_SIZE, GFP_KERNEL);
arch/powerpc/kvm/book3s_hv_nested.c
480
pseries_partition_tb = kmalloc(sizeof(struct patb_entry) << ptb_order,
arch/powerpc/platforms/powernv/opal.c
395
opal_msg = kmalloc(opal_msg_size, GFP_KERNEL);
arch/powerpc/platforms/powernv/opal.c
399
opal_msg = kmalloc(opal_msg_size, GFP_KERNEL);
arch/powerpc/platforms/ps3/os-area.c
613
header = kmalloc(buf_len, GFP_KERNEL);
arch/powerpc/platforms/pseries/htmdump.c
412
htm_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
arch/powerpc/platforms/pseries/htmdump.c
440
htm_status_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
arch/powerpc/platforms/pseries/htmdump.c
447
htm_info_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
arch/powerpc/platforms/pseries/htmdump.c
454
htm_caps_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
arch/powerpc/platforms/pseries/ibmebus.c
259
char *out = kmalloc(count + 1, GFP_KERNEL);
arch/powerpc/platforms/pseries/ibmebus.c
75
mem = kmalloc(size, flag);
arch/powerpc/platforms/pseries/papr_platform_attributes.c
247
esi_buf = kmalloc(esi_buf_size, GFP_KERNEL);
arch/powerpc/platforms/pseries/papr_platform_attributes.c
84
buf = kmalloc(esi_buf_size, GFP_KERNEL);
arch/powerpc/platforms/pseries/reconfig.c
178
if (!(new->value = kmalloc(length + 1, GFP_KERNEL)))
arch/s390/hypfs/inode.c
399
buffer = kmalloc(strlen(string) + 2, GFP_KERNEL);
arch/s390/include/asm/pci_io.h
193
u8 *src = kmalloc(count, GFP_KERNEL);
arch/s390/kernel/cert_store.c
439
desc = kmalloc(len, GFP_KERNEL);
arch/s390/kernel/cert_store.c
689
vcssb = kmalloc(VCSSB_LEN_BYTES, GFP_KERNEL);
arch/s390/kernel/cpcmd.c
96
lowbuf = kmalloc(rlen, GFP_KERNEL);
arch/s390/kernel/nmi.c
78
origin = kmalloc(size, GFP_KERNEL);
arch/s390/kernel/os_info.c
114
buf = kmalloc(size + align - 1, GFP_KERNEL);
arch/s390/kernel/sysinfo.c
364
query_buffer = kmalloc(1024, GFP_KERNEL);
arch/s390/kvm/guestdbg.c
187
wp_info->old_data = kmalloc(bp_data->len, GFP_KERNEL_ACCOUNT);
arch/s390/kvm/guestdbg.c
348
temp = kmalloc(wp_info->len, GFP_KERNEL_ACCOUNT);
arch/s390/lib/test_unwind.c
57
bt = kmalloc(BT_BUF_SIZE, GFP_ATOMIC);
arch/s390/pci/pci_mmio.c
160
buf = kmalloc(length, GFP_KERNEL);
arch/s390/pci/pci_mmio.c
315
buf = kmalloc(length, GFP_KERNEL);
arch/sparc/kernel/ds.c
1055
qp = kmalloc(sizeof(struct ds_queue_entry) + len, GFP_ATOMIC);
arch/sparc/kernel/ioport.c
187
tack = kmalloc(sizeof (struct resource) + tlen + 1, GFP_KERNEL);
arch/sparc/kernel/mdesc.c
211
base = kmalloc(handle_size + 15, GFP_KERNEL | __GFP_RETRY_MAYFAIL);
arch/sparc/mm/iommu.c
113
bitmap = kmalloc(IOMMU_NPTES>>3, GFP_KERNEL);
arch/um/drivers/hostaudio_kern.c
83
kbuf = kmalloc(count, GFP_KERNEL);
arch/um/drivers/line.c
763
title = kmalloc(len, GFP_KERNEL);
arch/um/drivers/line.c
91
line->buffer = kmalloc(LINE_BUFSIZE, GFP_ATOMIC);
arch/um/drivers/mconsole_kern.c
151
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
arch/um/drivers/mconsole_kern.c
462
buf = kmalloc(size, GFP_KERNEL);
arch/um/drivers/ubd_kern.c
1230
io_req = kmalloc(sizeof(*io_req) +
arch/um/drivers/vector_kern.c
1223
vp->header_rxbuffer = kmalloc(
arch/um/drivers/vector_kern.c
1238
vp->header_txbuffer = kmalloc(vp->header_size, GFP_KERNEL);
arch/um/drivers/vector_kern.c
523
result->mmsg_vector = kmalloc(
arch/um/drivers/vector_kern.c
527
result->skbuff_vector = kmalloc(
arch/um/drivers/vector_kern.c
560
iov->iov_base = kmalloc(header_size, GFP_KERNEL);
arch/um/kernel/mem.c
110
return kmalloc(size, flags);
arch/x86/hyperv/ivm.c
779
pfn_array = kmalloc(HV_HYP_PAGE_SIZE, GFP_KERNEL);
arch/x86/kernel/apic/x2apic_uv_x.c
1446
*table = kmalloc(bytes, GFP_KERNEL);
arch/x86/kernel/cpu/mce/genpool.c
132
mce_pool = kmalloc(mce_poolsz, GFP_KERNEL);
arch/x86/kernel/cpu/sgx/ioctl.c
167
secs = kmalloc(PAGE_SIZE, GFP_KERNEL);
arch/x86/kernel/cpu/sgx/ioctl.c
592
sigstruct = kmalloc(PAGE_SIZE, GFP_KERNEL);
arch/x86/kernel/tboot.c
383
kbuf = kmalloc(count, GFP_KERNEL);
arch/x86/kvm/svm/sev.c
713
pages = kmalloc(size, GFP_KERNEL_ACCOUNT);
arch/x86/pci/pcbios.c
405
rt = kmalloc(sizeof(struct irq_routing_table) + opt.size, GFP_KERNEL);
arch/xtensa/platforms/iss/simdisk.c
216
char *temp = kmalloc(len + 2, GFP_KERNEL);
block/bio-integrity.c
271
buf = kmalloc(len, GFP_KERNEL);
block/bio-integrity.c
75
buf = kmalloc(len, (gfp & ~__GFP_DIRECT_RECLAIM) |
block/bio.c
632
return kmalloc(sizeof(*bio) + nr_vecs * sizeof(struct bio_vec),
block/bsg-lib.c
218
buf->sg_list = kmalloc(sz, GFP_KERNEL);
block/partitions/aix.c
118
p = kmalloc(count, GFP_KERNEL);
block/partitions/aix.c
143
p = kmalloc(count, GFP_KERNEL);
block/partitions/efi.c
283
pte = kmalloc(count, GFP_KERNEL);
block/partitions/efi.c
311
gpt = kmalloc(ssz, GFP_KERNEL);
block/partitions/ldm.c
1247
f = kmalloc (sizeof (*f) + size*num, GFP_KERNEL);
block/sed-opal.c
2610
dev->cmd = kmalloc(IO_BUFFER_LENGTH, GFP_KERNEL);
block/sed-opal.c
2614
dev->resp = kmalloc(IO_BUFFER_LENGTH, GFP_KERNEL);
certs/blacklist.c
167
buffer = kmalloc(type_len + 1 + hash_len * 2 + 1, GFP_KERNEL);
crypto/842.c
30
ctx = kmalloc(SW842_MEM_COMPRESS, GFP_KERNEL);
crypto/aead.c
33
buffer = kmalloc(absize, GFP_ATOMIC);
crypto/algif_hash.c
242
state = kmalloc(crypto_ahash_statesize(tfm), GFP_KERNEL);
crypto/algif_rng.c
146
ctx->addtl = kmalloc(len, GFP_KERNEL);
crypto/asymmetric_keys/asymmetric_type.c
153
kid = kmalloc(kid_sz, GFP_KERNEL);
crypto/asymmetric_keys/asymmetric_type.c
244
match_id = kmalloc(sizeof(struct asymmetric_key_id) + asciihexlen / 2,
crypto/asymmetric_keys/asymmetric_type.c
70
p = req = kmalloc(2 + 1 + len * 2 + 1, GFP_KERNEL);
crypto/asymmetric_keys/pkcs7_verify.c
61
sig->m = kmalloc(umax(sinfo->authattrs_len, sig->m_size), GFP_KERNEL);
crypto/asymmetric_keys/public_key.c
188
key = kmalloc(pkey->keylen + sizeof(u32) * 2 + pkey->paramlen,
crypto/asymmetric_keys/public_key.c
296
key = kmalloc(pkey->keylen + sizeof(u32) * 2 + pkey->paramlen,
crypto/asymmetric_keys/public_key.c
418
key = kmalloc(pkey->keylen + sizeof(u32) * 2 + pkey->paramlen,
crypto/asymmetric_keys/x509_cert_parser.c
412
buffer = kmalloc(ctx->o_size + 2 + ctx->cn_size + 1,
crypto/asymmetric_keys/x509_cert_parser.c
438
buffer = kmalloc(namesize + 1, GFP_KERNEL);
crypto/asymmetric_keys/x509_public_key.c
203
desc = kmalloc(sulen + 2 + srlen * 2 + 1, GFP_KERNEL);
crypto/asymmetric_keys/x509_public_key.c
78
sig->m = kmalloc(sig->m_size, GFP_KERNEL);
crypto/cipher.c
30
buffer = kmalloc(absize, GFP_ATOMIC);
crypto/dh.c
383
key = kmalloc(oversampling_size, GFP_KERNEL);
crypto/dh.c
484
buf = kmalloc(buf_size, GFP_KERNEL);
crypto/drbg.c
1072
drbg->Vbuf = kmalloc(drbg_statelen(drbg) + ret, GFP_KERNEL);
crypto/drbg.c
1078
drbg->Cbuf = kmalloc(drbg_statelen(drbg) + ret, GFP_KERNEL);
crypto/drbg.c
1557
drbg->outscratchpadbuf = kmalloc(DRBG_OUTSCRATCHLEN + alignmask,
crypto/ecc.c
106
p->x = kmalloc(ndigits_sz, GFP_KERNEL);
crypto/ecc.c
110
p->y = kmalloc(ndigits_sz, GFP_KERNEL);
crypto/ecdh.c
69
public_key = kmalloc(public_key_sz, GFP_KERNEL);
crypto/ecdh.c
74
shared_secret = kmalloc(nbytes, GFP_KERNEL);
crypto/essiv.c
224
rctx->assoc = kmalloc(ssize, GFP_ATOMIC);
crypto/jitterentropy-testing.c
198
tmp = kmalloc(125 * sizeof(u64) + sizeof(u64), GFP_KERNEL);
crypto/krb5/selftest.c
496
buf = kmalloc(4096, GFP_KERNEL);
crypto/krb5/selftest.c
67
buf->data = kmalloc(buf->len, GFP_KERNEL);
crypto/lskcipher.c
42
buffer = kmalloc(absize, GFP_ATOMIC);
crypto/lskcipher.c
85
tiv = kmalloc(PAGE_SIZE, GFP_ATOMIC);
crypto/lskcipher.c
91
p = kmalloc(PAGE_SIZE, GFP_ATOMIC);
crypto/rng.c
36
buf = kmalloc(slen, GFP_KERNEL);
crypto/rsa-pkcs1pad.c
146
req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len,
crypto/rsa-pkcs1pad.c
252
req_ctx->out_buf = kmalloc(ctx->key_size, GFP_KERNEL);
crypto/rsassa-pkcs1.c
240
child_req = kmalloc(sizeof(*child_req) + child_reqsize + ctx->key_size,
crypto/skcipher.c
256
walk->buffer = kmalloc(size, skcipher_walk_gfp(walk));
crypto/skcipher.c
387
buffer = kmalloc(absize, GFP_ATOMIC);
crypto/tcrypt.c
561
sg = kmalloc(sizeof(*sg) * 9 * 2, GFP_KERNEL);
crypto/tcrypt.c
903
output = kmalloc(MAX_DIGEST_SIZE, GFP_KERNEL);
crypto/testmgr.c
1833
vec.key = kmalloc(maxkeysize, GFP_KERNEL);
crypto/testmgr.c
1834
vec.plaintext = kmalloc(maxdatasize, GFP_KERNEL);
crypto/testmgr.c
1835
vec.digest = kmalloc(digestsize, GFP_KERNEL);
crypto/testmgr.c
1886
desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL);
crypto/testmgr.c
1957
hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL);
crypto/testmgr.c
2615
ctx->vec.key = kmalloc(ctx->maxkeysize, GFP_KERNEL);
crypto/testmgr.c
2616
ctx->vec.iv = kmalloc(crypto_aead_ivsize(ctx->tfm), GFP_KERNEL);
crypto/testmgr.c
2617
ctx->vec.assoc = kmalloc(ctx->maxdatasize, GFP_KERNEL);
crypto/testmgr.c
2618
ctx->vec.ptext = kmalloc(ctx->maxdatasize, GFP_KERNEL);
crypto/testmgr.c
2619
ctx->vec.ctext = kmalloc(ctx->maxdatasize, GFP_KERNEL);
crypto/testmgr.c
3160
vec.key = kmalloc(maxkeysize, GFP_KERNEL);
crypto/testmgr.c
3161
vec.iv = kmalloc(ivsize, GFP_KERNEL);
crypto/testmgr.c
3162
vec.ptext = kmalloc(maxdatasize, GFP_KERNEL);
crypto/testmgr.c
3163
vec.ctext = kmalloc(maxdatasize, GFP_KERNEL);
crypto/testmgr.c
3283
output = kmalloc(COMP_BUF_SIZE, GFP_KERNEL);
crypto/testmgr.c
3287
decomp_out = kmalloc(COMP_BUF_SIZE, GFP_KERNEL);
crypto/testmgr.c
3948
key = kmalloc(vecs->key_len + 2 * sizeof(u32) + vecs->param_len,
crypto/testmgr.c
839
keybuf = kmalloc(key_offset + ksize, GFP_KERNEL);
drivers/accel/habanalabs/common/firmware_if.c
74
fw_ver = kmalloc(VERSION_MAX_LEN, GFP_KERNEL);
drivers/accel/qaic/qaic_control.c
1063
out_buf = kmalloc(QAIC_MANAGE_MAX_MSG_LENGTH, GFP_KERNEL);
drivers/accel/qaic/qaic_control.c
1371
user_msg = kmalloc(sizeof(*user_msg) + sizeof(*status_result), GFP_KERNEL);
drivers/accessibility/speakup/kobjects.c
178
desc = kmalloc(desc_length + 1, GFP_ATOMIC);
drivers/acpi/acpi_extlog.c
362
elog_buf = kmalloc(ELOG_ENTRY_LEN, GFP_KERNEL);
drivers/acpi/apei/einj-core.c
446
full_trigger_tab = kmalloc(table_size, GFP_KERNEL);
drivers/acpi/apei/einj-core.c
555
v5param = kmalloc(param_size, GFP_KERNEL);
drivers/acpi/apei/erst-dbg.c
129
p = kmalloc(len, GFP_KERNEL);
drivers/acpi/apei/erst-dbg.c
170
p = kmalloc(usize, GFP_KERNEL);
drivers/acpi/apei/erst.c
1080
rcd = kmalloc(rcd_len, GFP_KERNEL);
drivers/acpi/apei/erst.c
1104
record->buf = kmalloc(len, GFP_KERNEL);
drivers/acpi/apei/erst.c
1261
buf = kmalloc(erst_erange.size, GFP_KERNEL);
drivers/acpi/apei/ghes.c
297
ghes->estatus = kmalloc(error_block_length, GFP_KERNEL);
drivers/acpi/mipi-disco-img.c
225
swnodes = kmalloc(alloc_size, GFP_KERNEL);
drivers/acpi/prmt.c
109
tm = kmalloc(module_info_size, GFP_KERNEL);
drivers/acpi/prmt.c
129
tm->mmio_info = kmalloc(mmio_range_size, GFP_KERNEL);
drivers/acpi/processor_pdc.c
45
buf = kmalloc(12, GFP_KERNEL);
drivers/ata/libata-core.c
4061
str = kmalloc(sz, GFP_KERNEL);
drivers/ata/libata-scsi.c
1086
sdev->dma_drain_buf = kmalloc(sdev->dma_drain_len, GFP_NOIO);
drivers/ata/libata-scsi.c
488
argbuf = kmalloc(argsize, GFP_KERNEL);
drivers/ata/pata_it821x.c
664
u16 *buf = kmalloc(len, GFP_KERNEL);
drivers/atm/fore200e.c
1536
data = kmalloc(tx_len, GFP_ATOMIC);
drivers/atm/he.c
659
rategrid = kmalloc( sizeof(unsigned) * 16 * 16, GFP_KERNEL);
drivers/auxdisplay/cfag12864b.c
324
cfag12864b_cache = kmalloc(CFAG12864B_SIZE,
drivers/auxdisplay/panel.c
1468
callback = kmalloc(sizeof(*callback), GFP_KERNEL);
drivers/base/regmap/regcache.c
71
tmp_buf = kmalloc(map->cache_size_raw, GFP_KERNEL);
drivers/base/regmap/regmap-debugfs.c
233
buf = kmalloc(count, GFP_KERNEL);
drivers/base/regmap/regmap-debugfs.c
380
buf = kmalloc(count, GFP_KERNEL);
drivers/base/regmap/regmap-debugfs.c
384
entry = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/base/regmap/regmap-debugfs.c
44
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/base/regmap/regmap-kunit.c
1756
buf = kmalloc(size, GFP_KERNEL);
drivers/base/regmap/regmap-kunit.c
208
buf = kmalloc(size, GFP_KERNEL);
drivers/base/swnode.c
287
dst_ptr = kmalloc(src->length, GFP_KERNEL);
drivers/block/amiflop.c
1812
unit[drive].trackbuf = kmalloc(FLOPPY_MAX_SECTORS * 512, GFP_KERNEL);
drivers/block/drbd/drbd_receiver.c
2710
di = kmalloc(sizeof(*di) + pi->size, GFP_NOIO);
drivers/block/drbd/drbd_receiver.c
3542
int_dig_in = kmalloc(hash_size, GFP_KERNEL);
drivers/block/drbd/drbd_receiver.c
3543
int_dig_vv = kmalloc(hash_size, GFP_KERNEL);
drivers/block/drbd/drbd_receiver.c
5191
desc = kmalloc(sizeof(struct shash_desc) +
drivers/block/drbd/drbd_receiver.c
5244
peers_ch = kmalloc(pi.size, GFP_NOIO);
drivers/block/drbd/drbd_receiver.c
5263
response = kmalloc(resp_size, GFP_NOIO);
drivers/block/drbd/drbd_receiver.c
5310
right_response = kmalloc(resp_size, GFP_NOIO);
drivers/block/drbd/drbd_state.c
67
state_change = kmalloc(size, gfp);
drivers/block/drbd/drbd_worker.c
1178
digest = kmalloc(digest_size, GFP_NOIO);
drivers/block/drbd/drbd_worker.c
1227
digest = kmalloc(digest_size, GFP_NOIO);
drivers/block/drbd/drbd_worker.c
1300
digest = kmalloc(digest_size, GFP_NOIO);
drivers/block/drbd/drbd_worker.c
354
digest = kmalloc(digest_size, GFP_NOIO);
drivers/block/ps3disk.c
429
dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA);
drivers/block/rbd.c
1048
snap_names = kmalloc(snap_names_len, GFP_KERNEL);
drivers/block/rbd.c
4905
ondisk = kmalloc(size, GFP_KERNEL);
drivers/block/rbd.c
5886
image_id = kmalloc(image_id_size, GFP_KERNEL);
drivers/block/rbd.c
5895
reply_buf = kmalloc(size, GFP_KERNEL);
drivers/block/rbd.c
6140
reply_buf = kmalloc(size, GFP_KERNEL);
drivers/block/rnbd/rnbd-srv.c
608
full_path = kmalloc(PATH_MAX, GFP_KERNEL);
drivers/block/xen-blkback/xenbus.c
1134
xspath = kmalloc(xspathsize, GFP_KERNEL);
drivers/block/xen-blkfront.c
1835
path = kmalloc(pathsize, GFP_KERNEL);
drivers/block/z2ram.c
213
kmalloc(max_z2_map + max_chip_map,
drivers/block/z2ram.c
235
z2ram_map = kmalloc(max_z2_map, GFP_KERNEL);
drivers/block/z2ram.c
249
z2ram_map = kmalloc(max_chip_map, GFP_KERNEL);
drivers/block/zram/backend_842.c
26
ctx->context = kmalloc(SW842_MEM_COMPRESS, GFP_KERNEL);
drivers/block/zram/zram_drv.c
736
file_name = kmalloc(PATH_MAX, GFP_KERNEL);
drivers/bluetooth/ath3k.c
212
send_buf = kmalloc(BULK_SIZE, GFP_KERNEL);
drivers/bluetooth/ath3k.c
281
send_buf = kmalloc(BULK_SIZE, GFP_KERNEL);
drivers/bluetooth/bcm203x.c
185
data->buffer = kmalloc(size, GFP_KERNEL);
drivers/bluetooth/bfusb.c
527
buf = kmalloc(BFUSB_MAX_BLOCK_SIZE + 3, GFP_KERNEL);
drivers/bluetooth/bpa10x.c
135
buf = kmalloc(size, GFP_KERNEL);
drivers/bluetooth/bpa10x.c
175
buf = kmalloc(size, GFP_KERNEL);
drivers/bluetooth/btintel.c
2471
*ven_data = kmalloc(sizeof(__u8), GFP_KERNEL);
drivers/bluetooth/btintel.c
828
cp = kmalloc(plen, GFP_KERNEL);
drivers/bluetooth/btintel_pcie.c
2405
rp = kmalloc(rp_size, GFP_KERNEL);
drivers/bluetooth/btmtk.c
1202
buf = kmalloc(size, mem_flags);
drivers/bluetooth/btmtk.c
593
buf = kmalloc(size, GFP_KERNEL);
drivers/bluetooth/btmtksdio.c
997
*ven_data = kmalloc(sizeof(__u8), GFP_KERNEL);
drivers/bluetooth/btusb.c
1528
buf = kmalloc(size, mem_flags);
drivers/bluetooth/btusb.c
1640
buf = kmalloc(size, mem_flags);
drivers/bluetooth/btusb.c
1803
buf = kmalloc(size, mem_flags);
drivers/bluetooth/btusb.c
1892
buf = kmalloc(size, mem_flags);
drivers/bluetooth/btusb.c
3404
buf = kmalloc(size, GFP_KERNEL);
drivers/bluetooth/btusb.c
3437
buf = kmalloc(QCA_DFU_PACKET_LEN, GFP_KERNEL);
drivers/bluetooth/btusb.c
3943
rp = kmalloc(rp_size, GFP_KERNEL);
drivers/bluetooth/btusb.c
3977
rp = kmalloc(sizeof(*rp) + 7, GFP_KERNEL);
drivers/bluetooth/hci_aml.c
134
buf = kmalloc(buf_len, GFP_KERNEL);
drivers/cdrom/cdrom.c
1843
buf = kmalloc(size, GFP_KERNEL);
drivers/cdrom/cdrom.c
1869
buf = kmalloc(size, GFP_KERNEL);
drivers/cdrom/cdrom.c
1905
buf = kmalloc(size, GFP_KERNEL);
drivers/cdx/controller/mcdi.c
824
kmalloc(sizeof(struct cdx_mcdi_cmd) + inlen, GFP_ATOMIC);
drivers/char/adi.c
138
ver_buf = kmalloc(ver_buf_sz, GFP_KERNEL);
drivers/char/adi.c
58
ver_buf = kmalloc(ver_buf_sz, GFP_KERNEL);
drivers/char/hw_random/core.c
705
rng_buffer = kmalloc(rng_buffer_size(), GFP_KERNEL);
drivers/char/hw_random/core.c
709
rng_fillbuf = kmalloc(rng_buffer_size(), GFP_KERNEL);
drivers/char/ipmi/ipmi_devintf.c
155
msg.data = kmalloc(IPMI_MAX_MSG_LENGTH, GFP_KERNEL);
drivers/char/ipmi/ipmi_si_intf.c
1349
resp = kmalloc(IPMI_MAX_MSG_LENGTH, GFP_KERNEL);
drivers/char/ipmi/ipmi_si_intf.c
1398
resp = kmalloc(IPMI_MAX_MSG_LENGTH, GFP_KERNEL);
drivers/char/ipmi/ipmi_si_intf.c
1445
resp = kmalloc(IPMI_MAX_MSG_LENGTH, GFP_KERNEL);
drivers/char/ipmi/ipmi_si_intf.c
1564
resp = kmalloc(IPMI_MAX_MSG_LENGTH, GFP_KERNEL);
drivers/char/ipmi/ipmi_si_intf.c
2014
new_smi->si_sm = kmalloc(new_smi->handlers->size(), GFP_KERNEL);
drivers/char/ipmi/ipmi_ssif.c
1357
resp = kmalloc(IPMI_MAX_MSG_LENGTH, GFP_KERNEL);
drivers/char/ipmi/ipmi_ssif.c
1664
resp = kmalloc(IPMI_MAX_MSG_LENGTH, GFP_KERNEL);
drivers/char/lp.c
543
lp_table[minor].lp_buffer = kmalloc(LP_BUFFER_SIZE, GFP_KERNEL);
drivers/char/mem.c
112
bounce = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/char/nvram.c
241
tmp = kmalloc(count, GFP_KERNEL);
drivers/char/ppdev.c
135
kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL);
drivers/char/ppdev.c
210
kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL);
drivers/char/tpm/eventlog/tpm1.c
259
eventname = kmalloc(MAX_TEXT_EVENT, GFP_KERNEL);
drivers/char/tpm/tpm_ibmvtpm.c
528
ibmvtpm->rtce_buf = kmalloc(ibmvtpm->rtce_size,
drivers/char/virtio_console.c
1629
port->name = kmalloc(name_size, GFP_KERNEL);
drivers/char/virtio_console.c
443
buf->buf = kmalloc(buf_size, GFP_KERNEL);
drivers/char/xillybus/xillyusb.c
2070
idt = kmalloc(idt_len, GFP_KERNEL);
drivers/clk/at91/sam9x7.c
757
clk_mux_buffer = kmalloc(sizeof(void *) *
drivers/clk/at91/sama7d65.c
1130
alloc_mem = kmalloc(sizeof(void *) *
drivers/clk/at91/sama7g5.c
1007
alloc_mem = kmalloc(sizeof(void *) *
drivers/comedi/drivers/usbdux.c
1388
tmp = kmalloc(1, GFP_KERNEL);
drivers/comedi/drivers/usbduxfast.c
864
tmp = kmalloc(1, GFP_KERNEL);
drivers/comedi/drivers/usbduxfast.c
934
devpriv->duxbuf = kmalloc(SIZEOFDUXBUF, GFP_KERNEL);
drivers/comedi/drivers/usbduxfast.c
950
devpriv->inbuf = kmalloc(SIZEINBUF, GFP_KERNEL);
drivers/comedi/drivers/usbduxsigma.c
1281
tmp = kmalloc(1, GFP_KERNEL);
drivers/cpuidle/dt_idle_genpd.c
36
state_buf = kmalloc(sizeof(u32), GFP_KERNEL);
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c
45
ctx->seed = kmalloc(slen, GFP_KERNEL | GFP_DMA);
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c
30
ctx->seed = kmalloc(slen, GFP_KERNEL);
drivers/crypto/atmel-ecc.c
111
public_key = kmalloc(ATMEL_ECC_PUBKEY_SIZE, GFP_KERNEL);
drivers/crypto/bcm/cipher.c
2035
ctx->shash = kmalloc(sizeof(*ctx->shash) +
drivers/crypto/bcm/cipher.c
2107
tmpbuf = kmalloc(req->nbytes, gfp);
drivers/crypto/bcm/cipher.c
2203
tmpbuf = kmalloc(req->nbytes, gfp);
drivers/crypto/bcm/util.c
228
sdesc = kmalloc(size, GFP_KERNEL);
drivers/crypto/bcm/util.c
365
buf = kmalloc(out_count, GFP_KERNEL);
drivers/crypto/caam/caamalg_qi2.c
3330
hashed_key = kmalloc(aligned_len, GFP_KERNEL);
drivers/crypto/caam/caamhash.c
373
desc = kmalloc(CAAM_CMD_SZ * 8 + CAAM_PTR_SZ * 2, GFP_KERNEL);
drivers/crypto/caam/caamhash.c
444
hashed_key = kmalloc(aligned_len, GFP_KERNEL);
drivers/crypto/caam/ctrl.c
211
desc = kmalloc(CAAM_CMD_SZ * 3, GFP_KERNEL);
drivers/crypto/caam/ctrl.c
288
desc = kmalloc(CAAM_CMD_SZ * 7, GFP_KERNEL);
drivers/crypto/caam/key_gen.c
67
desc = kmalloc(CAAM_CMD_SZ * 6 + CAAM_PTR_SZ * 2, GFP_KERNEL);
drivers/crypto/cavium/nitrox/nitrox_skcipher.c
302
nkreq->iv_out = kmalloc(ivsize, flags);
drivers/crypto/ccp/ccp-debugfs.c
127
obuf = kmalloc(OBUFLEN, GFP_KERNEL);
drivers/crypto/ccp/ccp-debugfs.c
203
obuf = kmalloc(OBUFLEN, GFP_KERNEL);
drivers/crypto/ccp/ccp-debugfs.c
54
obuf = kmalloc(OBUFLEN, GFP_KERNEL);
drivers/crypto/ccp/ccp-ops.c
1782
hmac_buf = kmalloc(block_size + digest_size, GFP_KERNEL);
drivers/crypto/inside-secure/safexcel_hash.c
2653
ctx->shdesc = kmalloc(sizeof(*ctx->shdesc) +
drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c
197
err_stats = kmalloc(err_stats_size, GFP_KERNEL);
drivers/crypto/intel/qat/qat_common/adf_gen4_pm_debugfs.c
103
pm_kv = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/crypto/intel/qat/qat_common/adf_gen4_pm_debugfs.c
99
pm_info = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.c
30
state = kmalloc(ADF_GEN4_VF_MSTATE_SIZE, GFP_KERNEL);
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
1071
ptr = kmalloc(inputlen, (req_info->areq->flags &
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
260
req_info->iv_out = kmalloc(ivsize, flags);
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
695
sdesc = kmalloc(size, GFP_KERNEL);
drivers/crypto/marvell/octeontx2/cn10k_cpt.c
179
hctx = kmalloc(CN10K_CPT_HW_CTX_SIZE, GFP_KERNEL);
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
1154
ptr = kmalloc(inputlen, (req_info->areq->flags &
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
246
req_info->iv_out = kmalloc(ivsize, flags);
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
785
sdesc = kmalloc(size, GFP_KERNEL);
drivers/crypto/nx/nx-842.c
114
ctx->wmem = kmalloc(driver->workmem_size, GFP_KERNEL);
drivers/crypto/nx/nx.c
646
nx_ctx->kmem = kmalloc(nx_ctx->kmem_len, GFP_KERNEL);
drivers/crypto/qce/dma.c
37
dma->result_buf = kmalloc(QCE_RESULT_BUF_SZ + QCE_IGNORE_BUF_SZ,
drivers/crypto/starfive/jh7110-rsa.c
181
mta = kmalloc(key_sz, GFP_KERNEL);
drivers/crypto/talitos.c
1405
edesc = kmalloc(ALIGN(alloc_len, dma_get_cache_alignment()), flags);
drivers/crypto/xilinx/zynqmp-aes-gcm.c
154
kbuf = kmalloc(dma_size, GFP_KERNEL);
drivers/crypto/xilinx/zynqmp-aes-gcm.c
158
dmabuf = kmalloc(sizeof(*hwreq) + GCM_AES_IV_SIZE, GFP_KERNEL);
drivers/crypto/xilinx/zynqmp-aes-gcm.c
260
kbuf = kmalloc(kbuf_size, GFP_KERNEL);
drivers/crypto/xilinx/zynqmp-aes-gcm.c
268
dmabuf = kmalloc(dmabuf_size, GFP_KERNEL);
drivers/crypto/xilinx/zynqmp-aes-gcm.c
735
tfm_ctx->key = kmalloc(AES_KEYSIZE_256, GFP_KERNEL);
drivers/cxl/core/edac.c
1757
kmalloc(rd_data_size, GFP_KERNEL);
drivers/dma-buf/dma-heap.c
160
kdata = kmalloc(ksize, GFP_KERNEL);
drivers/dma-buf/dma-resv.c
106
list = kmalloc(size, GFP_KERNEL);
drivers/dma-buf/st-dma-fence.c
31
f = kmalloc(sizeof(*f), GFP_KERNEL);
drivers/dma/dmatest.c
543
d->raw[i] = kmalloc(buf_size + align, d->gfp_flags);
drivers/dma/dmatest.c
642
pq_coefs = kmalloc(params->pq_sources + 1, GFP_KERNEL);
drivers/dma/mv_xor.c
772
src = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/dma/ppc4xx/adma.c
4454
ppc440spe_dma_fifo_buf = kmalloc((DMA0_FIFO_SIZE + DMA1_FIFO_SIZE) << 1,
drivers/dma/ste_dma40.c
3409
base->lcla_pool.base_unaligned = kmalloc(SZ_1K *
drivers/dma/ste_dma40.c
676
base = kmalloc(d40d->lli_pool.size + align, GFP_NOWAIT);
drivers/edac/i5000_edac.c
1043
mem_buffer = p = kmalloc(space, GFP_KERNEL);
drivers/edac/i5400_edac.c
968
mem_buffer = p = kmalloc(space, GFP_KERNEL);
drivers/edac/i7300_edac.c
1063
pvt->tmp_prt_buffer = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/edac/thunderx_edac.c
1112
msg = kmalloc(OCX_MESSAGE_SIZE, GFP_KERNEL);
drivers/edac/thunderx_edac.c
1113
other = kmalloc(OCX_OTHER_SIZE, GFP_KERNEL);
drivers/edac/thunderx_edac.c
1193
msg = kmalloc(OCX_MESSAGE_SIZE, GFP_KERNEL);
drivers/edac/thunderx_edac.c
1194
other = kmalloc(OCX_OTHER_SIZE, GFP_KERNEL);
drivers/edac/thunderx_edac.c
1852
msg = kmalloc(OCX_MESSAGE_SIZE, GFP_KERNEL);
drivers/edac/thunderx_edac.c
1853
other = kmalloc(OCX_OTHER_SIZE, GFP_KERNEL);
drivers/edac/thunderx_edac.c
416
tmp = kmalloc(cline_size, GFP_KERNEL);
drivers/edac/thunderx_edac.c
581
msg = kmalloc(LMC_MESSAGE_SIZE, GFP_KERNEL);
drivers/edac/thunderx_edac.c
582
other = kmalloc(LMC_OTHER_SIZE, GFP_KERNEL);
drivers/firewire/core-cdev.c
1684
e = kmalloc(sizeof(*e) + 8, GFP_ATOMIC);
drivers/firewire/core-cdev.c
649
e = kmalloc(sizeof(*e) + request->length, GFP_KERNEL);
drivers/firewire/core-cdev.c
990
e = kmalloc(sizeof(*e) + header_length, GFP_KERNEL);
drivers/firewire/core-device.c
662
rom = kmalloc(sizeof(*rom) * MAX_CONFIG_ROM_SIZE +
drivers/firewire/core-transaction.c
894
request = kmalloc(sizeof(*request) + length, GFP_ATOMIC);
drivers/firewire/nosy.c
119
buffer->data = kmalloc(capacity, GFP_KERNEL);
drivers/firmware/cirrus/cs_dsp.c
884
scratch = kmalloc(len, GFP_KERNEL | GFP_DMA);
drivers/firmware/dmi-id.c
118
t = kmalloc(strlen(c) + 1, GFP_KERNEL);
drivers/firmware/efi/efi-pstore.c
131
record->buf = kmalloc(size, GFP_KERNEL);
drivers/firmware/efi/efi-pstore.c
273
efi_pstore_info.buf = kmalloc(record_size, GFP_KERNEL);
drivers/firmware/efi/efi.c
320
data = kmalloc(data_size, GFP_KERNEL);
drivers/firmware/efi/test/efi_test.c
176
data = kmalloc(datasize, GFP_KERNEL);
drivers/firmware/imx/sm-misc.c
54
void *syslog __free(kfree) = kmalloc(SZ_4K, GFP_KERNEL);
drivers/firmware/meson/meson_sm.c
262
id_buf = kmalloc(SM_CHIP_ID_LENGTH, GFP_KERNEL);
drivers/firmware/qemu_fw_cfg.c
647
dir = kmalloc(dir_size, GFP_KERNEL);
drivers/firmware/raspberrypi.c
162
void *data = kmalloc(sizeof(*header) + buf_size, GFP_KERNEL);
drivers/firmware/tegra/bpmp-debugfs.c
419
buf = kmalloc(bufsize, GFP_KERNEL);
drivers/fpga/intel-m10-bmc-sec-update.c
222
flash_buf = kmalloc(FLASH_COUNT_SIZE, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
1146
a_priv->interrupt_buffer = kmalloc(INTERRUPT_BUF_LEN, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
1498
path = kmalloc(path_length, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
233
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
258
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
306
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
337
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
378
status_data = kmalloc(status_data_len, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
448
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
480
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
562
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/agilent_82357a/agilent_82357a.c
655
status_data = kmalloc(STATUS_DATA_LEN, GFP_KERNEL);
drivers/gpib/eastwood/fluke_gpib.c
862
priv->dma_buffer = kmalloc(priv->dma_buffer_size, GFP_KERNEL);
drivers/gpib/fmh_gpib/fmh_gpib.c
1259
priv->dma_buffer = kmalloc(priv->dma_buffer_size, GFP_KERNEL);
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1789
buf = kmalloc(count, GFP_KERNEL);
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1818
buf = kmalloc(count, GFP_KERNEL);
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1894
dev->bulk_in_buffer = kmalloc(dev->bulk_in_size, GFP_KERNEL);
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
799
b.inbuf = kmalloc(INBUF_SIZE, GFP_KERNEL);
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
969
msg = kmalloc(length + 8, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1022
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1043
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1135
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1150
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1229
buffer = kmalloc(buffer_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1256
buffer = kmalloc(buffer_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1368
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1386
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1532
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1558
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1864
buffer = kmalloc(buffer_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1943
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
1947
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
2002
buffer = kmalloc(buffer_size, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
2163
buffer = kmalloc(buffer_size, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
2448
path = kmalloc(path_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
536
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
557
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
619
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
657
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
752
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
786
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
858
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
885
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
961
out_data = kmalloc(out_data_length, GFP_KERNEL);
drivers/gpib/ni_usb/ni_usb_gpib.c
984
in_data = kmalloc(in_data_length, GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c
121
*dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c
152
*dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
119
adev->bios = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
204
adev->bios = kmalloc(len, GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
338
adev->bios = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
2665
data->ring = kmalloc(data->ring_size, GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c
312
kmalloc(adev->gfx.rlc.reg_list_format_size_bytes +
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
1084
kmalloc(adev->gfx.rlc.reg_list_format_size_bytes +
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c
427
str = kmalloc(256, GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
1407
adev->mes.mqd_backup[pipe] = kmalloc(mqd_size, GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
1594
adev->mes.mqd_backup[pipe] = kmalloc(mqd_size, GFP_KERNEL);
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c
1522
adev->mes.mqd_backup[inst] = kmalloc(mqd_size, GFP_KERNEL);
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3412
kdata = kmalloc(asize, GFP_KERNEL);
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
1014
q_extra_data = kmalloc(q_extra_data_size, GFP_KERNEL);
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c
90
buf = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/bridge/analogix/anx7625.c
1970
edid_buf = kmalloc(FOUR_BLOCK_SIZE, GFP_KERNEL);
drivers/gpu/drm/bridge/nxp-ptn3460.c
168
edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
drivers/gpu/drm/bridge/sil-sii8620.c
204
msg.buf = kmalloc(len + 1, GFP_KERNEL);
drivers/gpu/drm/bridge/sil-sii8620.c
796
edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
139
data = kmalloc(msg.len, GFP_KERNEL);
drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
92
tmpbuf = kmalloc(size + offset, GFP_KERNEL);
drivers/gpu/drm/display/drm_scdc_helper.c
122
data = kmalloc(1 + size, GFP_KERNEL);
drivers/gpu/drm/drm_edid.c
2386
edid = kmalloc(alloc_size, GFP_KERNEL);
drivers/gpu/drm/drm_ioctl.c
886
kdata = kmalloc(ksize, GFP_KERNEL);
drivers/gpu/drm/drm_mipi_dbi.c
1034
buf = kmalloc(tr[1].len, GFP_KERNEL);
drivers/gpu/drm/drm_mipi_dsi.c
1053
tx = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/drm_mm.c
124
buf = kmalloc(BUFSZ, GFP_KERNEL);
drivers/gpu/drm/drm_modeset_lock.c
101
buf = kmalloc(PAGE_SIZE, GFP_NOWAIT | __GFP_NOWARN);
drivers/gpu/drm/drm_panic.c
635
qrbuf1 = kmalloc(QR_BUFFER1_SIZE, GFP_KERNEL);
drivers/gpu/drm/drm_panic.c
636
qrbuf2 = kmalloc(QR_BUFFER2_SIZE, GFP_KERNEL);
drivers/gpu/drm/drm_panic.c
637
stream.workspace = kmalloc(zlib_deflate_workspacesize(WINDOW_BITS, MEM_LEVEL),
drivers/gpu/drm/drm_print.c
160
buf = kmalloc(len + 1, GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY);
drivers/gpu/drm/exynos/exynos_drm_vidi.c
276
edid_buf = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/gud/gud_connector.c
230
edid_ctx.buf = kmalloc(GUD_CONNECTOR_MAX_EDID_LEN, GFP_KERNEL);
drivers/gpu/drm/gud/gud_connector.c
385
buf = kmalloc(buf_len, GFP_KERNEL);
drivers/gpu/drm/gud/gud_drv.c
233
buf = kmalloc(sizeof(*val), GFP_KERNEL);
drivers/gpu/drm/i915/display/intel_dmc.c
1173
dmc_info->payload = kmalloc(payload_size, GFP_KERNEL);
drivers/gpu/drm/i915/gt/intel_engine_cs.c
2232
ring = kmalloc(size, GFP_ATOMIC);
drivers/gpu/drm/i915/gt/selftest_reset.c
45
tmp = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c
1015
buf = kmalloc(SZ_4K, GFP_NOWAIT);
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
127
hwconfig->ptr = kmalloc(hwconfig->size, GFP_KERNEL);
drivers/gpu/drm/i915/gvt/firmware.c
196
path = kmalloc(PATH_MAX, GFP_KERNEL);
drivers/gpu/drm/i915/gvt/firmware.c
200
mem = kmalloc(info->cfg_space_size, GFP_KERNEL);
drivers/gpu/drm/i915/i915_gpu_error.c
113
e->buf = kmalloc(e->size, ALLOW_FAIL);
drivers/gpu/drm/i915/i915_gpu_error.c
116
e->buf = kmalloc(e->size, GFP_KERNEL);
drivers/gpu/drm/i915/i915_gpu_error.c
2455
buf = kmalloc(count, GFP_KERNEL);
drivers/gpu/drm/i915/i915_gpu_error.c
261
kmalloc(zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL),
drivers/gpu/drm/i915/i915_sw_fence.c
498
cb = kmalloc(timeout ?
drivers/gpu/drm/i915/intel_wakeref.c
210
buf = kmalloc(buf_size, GFP_NOWAIT);
drivers/gpu/drm/i915/selftests/i915_syncmap.c
119
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/gpu/drm/msm/msm_gem_submit.c
258
submit->cmd[i].relocs = kmalloc(sz, GFP_KERNEL | __GFP_NOWARN);
drivers/gpu/drm/nouveau/nouveau_abi16.c
879
ioctl = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/nouveau/nvif/mem.c
61
if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL)))
drivers/gpu/drm/nouveau/nvif/mmu.c
116
if (ret = -ENOMEM, !(kind = kmalloc(argc, GFP_KERNEL)))
drivers/gpu/drm/nouveau/nvif/object.c
115
args = kmalloc(args_size, GFP_KERNEL);
drivers/gpu/drm/nouveau/nvif/object.c
253
args = kmalloc(args_size, GFP_KERNEL);
drivers/gpu/drm/nouveau/nvif/object.c
68
if (!(args = kmalloc(size, GFP_KERNEL)))
drivers/gpu/drm/nouveau/nvif/vmm.c
210
if (!(args = kmalloc(argn, GFP_KERNEL)))
drivers/gpu/drm/nouveau/nvif/vmm.c
44
if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL)))
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1538
gr->data = kmalloc(gr->size, GFP_KERNEL);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.c
673
u32 *ctxprog = kmalloc(256 * 4, GFP_KERNEL), i;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c
268
u32 *ctxprog = kmalloc(512 * 4, GFP_KERNEL), i;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c
125
if (!(bios->data = kmalloc(length, GFP_KERNEL))) {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1588
.buffer.pointer = kmalloc(argv4.buffer.length, GFP_KERNEL),
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
423
reg = kmalloc(sizeof(*reg) + alloc_size, GFP_KERNEL);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
732
argv4.buffer.pointer = kmalloc(argv4.buffer.length, GFP_KERNEL);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
768
argv4.buffer.pointer = kmalloc(argv4.buffer.length, GFP_KERNEL);
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
67
mxm->mxms = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/qxl/qxl_release.c
94
release = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/radeon/radeon_bios.c
222
rdev->bios = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/radeon/radeon_bios.c
70
rdev->bios = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/sitronix/st7586.c
92
buf = kmalloc(len, GFP_KERNEL);
drivers/gpu/drm/sitronix/st7920.c
535
st7920_state->data_array = kmalloc(BYTES_IN_DISPLAY, GFP_KERNEL);
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
601
buffer = kmalloc(bytes, GFP_KERNEL);
drivers/gpu/drm/tiny/ili9486.c
68
buf = kmalloc(32 * sizeof(u16), GFP_KERNEL);
drivers/gpu/drm/tiny/repaper.c
111
headerbuf = kmalloc(1, GFP_KERNEL);
drivers/gpu/drm/tiny/repaper.c
129
rxbuf = kmalloc(len, GFP_KERNEL);
drivers/gpu/drm/tiny/repaper.c
538
buf = kmalloc(fb->width * fb->height / 8, GFP_KERNEL);
drivers/gpu/drm/udl/udl_edid.c
21
read_buff = kmalloc(2, GFP_KERNEL);
drivers/gpu/drm/virtio/virtgpu_vq.c
1001
cache_ent->caps_cache = kmalloc(max_size, GFP_KERNEL);
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c
541
msg = kmalloc(MAX_USER_MSG_LENGTH, GFP_KERNEL);
drivers/gpu/drm/vmwgfx/vmwgfx_so.c
345
view = kmalloc(size, GFP_KERNEL);
drivers/gpu/drm/xe/xe_gsc.c
56
storage = kmalloc(fw_size, GFP_KERNEL);
drivers/gpu/drm/xe/xe_guc_ct.c
119
char *buf __cleanup(kfree) = kmalloc(SZ_4K, GFP_NOWAIT);
drivers/gpu/drm/xe/xe_guc_ct.c
1986
snapshot->ctb = kmalloc(snapshot->ctb_size, atomic ? GFP_ATOMIC : GFP_KERNEL);
drivers/gpu/drm/xe/xe_guc_log.c
140
snapshot->copy[i] = kmalloc(size, atomic ? GFP_ATOMIC : GFP_KERNEL);
drivers/gpu/drm/xe/xe_lrc.c
1356
buf = kmalloc(LRC_WA_BB_SIZE, GFP_KERNEL);
drivers/gpu/drm/xe/xe_lrc.c
1405
state.buffer = kmalloc(state.max_size, GFP_KERNEL);
drivers/gpu/drm/xe/xe_migrate.c
2449
bounce = kmalloc(XE_CACHELINE_BYTES, GFP_KERNEL);
drivers/greybus/es2.c
1098
buf = kmalloc(APB1_LOG_MSG_SIZE, GFP_KERNEL);
drivers/greybus/es2.c
1123
tmp_buf = kmalloc(count, GFP_KERNEL);
drivers/greybus/es2.c
1349
buffer = kmalloc(ES2_GBUF_MSG_SIZE_MAX, GFP_KERNEL);
drivers/greybus/es2.c
1375
buffer = kmalloc(ARPC_IN_SIZE_MAX, GFP_KERNEL);
drivers/greybus/es2.c
191
dr = kmalloc(sizeof(*dr) + size, GFP_ATOMIC);
drivers/greybus/interface.c
1107
manifest = kmalloc(size, GFP_KERNEL);
drivers/hid/hid-apple.c
832
rep = kmalloc(0x200, GFP_KERNEL);
drivers/hid/hid-asus.c
838
buf = kmalloc(BATTERY_REPORT_SIZE, GFP_KERNEL);
drivers/hid/hid-core.c
175
collection = kmalloc(
drivers/hid/hid-corsair-void.c
383
send_buf = kmalloc(3, GFP_KERNEL);
drivers/hid/hid-corsair-void.c
430
send_buf = kmalloc(12, GFP_KERNEL);
drivers/hid/hid-corsair-void.c
486
send_buf = kmalloc(2, GFP_KERNEL);
drivers/hid/hid-corsair.c
155
data = kmalloc(8, GFP_KERNEL);
drivers/hid/hid-corsair.c
270
data = kmalloc(2, GFP_KERNEL);
drivers/hid/hid-corsair.c
347
data = kmalloc(8, GFP_KERNEL);
drivers/hid/hid-cp2112.c
323
buf = kmalloc(count, GFP_KERNEL);
drivers/hid/hid-debug.c
3104
buf = kmalloc(HID_DEBUG_BUFSIZE, GFP_ATOMIC);
drivers/hid/hid-elan.c
124
dmabuf = kmalloc(ELAN_FEATURE_SIZE, GFP_KERNEL);
drivers/hid/hid-ft260.c
256
buf = kmalloc(len, GFP_KERNEL);
drivers/hid/hid-google-hammer.c
447
buf = kmalloc(len, GFP_KERNEL);
drivers/hid/hid-haptic.c
467
name = kmalloc(strlen(prefix) + strlen(hdev->name) + 2, GFP_KERNEL);
drivers/hid/hid-input.c
435
buf = kmalloc(4, GFP_KERNEL);
drivers/hid/hid-logitech-dj.c
1526
rdesc = kmalloc(MAX_RDESC_SIZE, GFP_KERNEL);
drivers/hid/hid-ntrig.c
145
unsigned char *data __free(kfree) = kmalloc(8, GFP_KERNEL);
drivers/hid/hid-picolcd_debugfs.c
397
buff = kmalloc(BUFF_SZ, GFP_ATOMIC);
drivers/hid/hid-picolcd_debugfs.c
653
buff = kmalloc(BUFF_SZ, GFP_ATOMIC);
drivers/hid/hid-roccat-common.c
27
buf = kmalloc(size, GFP_KERNEL);
drivers/hid/hid-roccat-kone.c
59
buf = kmalloc(size, GFP_KERNEL);
drivers/hid/hid-sony.c
1247
buf = kmalloc(buf_size, GFP_KERNEL);
drivers/hid/hid-sony.c
1904
buf = kmalloc(SIXAXIS_REPORT_0xF2_SIZE, GFP_KERNEL);
drivers/hid/hid-thrustmaster.c
153
u8 *send_buf = kmalloc(256, GFP_KERNEL);
drivers/hid/hid-uclogic-params.c
172
buf = kmalloc(len, GFP_KERNEL);
drivers/hid/hidraw.c
227
buf = kmalloc(count, GFP_KERNEL);
drivers/hid/intel-ish-hid/ishtp/client-buffers.c
213
rb->buffer.data = kmalloc(length, GFP_KERNEL);
drivers/hid/intel-ish-hid/ishtp/client-buffers.c
73
tx_buf->send_buf.data = kmalloc(len, GFP_KERNEL);
drivers/hid/usbhid/hid-core.c
1047
rdesc = kmalloc(rsize, GFP_KERNEL);
drivers/hid/usbhid/hid-core.c
1555
rdesc = kmalloc(hid->dev_rsize, GFP_KERNEL);
drivers/hid/usbhid/hiddev.c
576
if ((buf = kmalloc(HID_STRING_SIZE, GFP_KERNEL)) == NULL)
drivers/hsi/clients/hsi_char.c
181
buf = kmalloc(alloc_size, GFP_KERNEL);
drivers/hv/mshv_root_main.c
2184
p = kmalloc(2 * HV_HYP_PAGE_SIZE, GFP_KERNEL);
drivers/hwmon/hp-wmi-sensors.c
435
dst = kmalloc((len + 1) * sizeof(*dst), GFP_KERNEL);
drivers/hwmon/ibmpex.c
328
n = kmalloc(32, GFP_KERNEL);
drivers/hwtracing/stm/core.c
648
kbuf = kmalloc(count + 1, GFP_KERNEL);
drivers/i2c/busses/i2c-cros-ec-tunnel.c
200
msg = kmalloc(sizeof(*msg) + alloc_size, GFP_KERNEL);
drivers/i2c/busses/i2c-tiny-usb.c
181
void *dmadata = kmalloc(len, GFP_KERNEL);
drivers/i3c/master/mipi-i3c-hci/dma.c
400
rh->ibi_data = kmalloc(ibi_data_ring_sz, GFP_KERNEL);
drivers/i3c/master/svc-i3c-master.c
1635
buf = kmalloc(xfer_len, GFP_KERNEL);
drivers/iio/accel/bma400_core.c
836
u8 *steps_raw __free(kfree) = kmalloc(BMA400_STEP_RAW_LEN, GFP_KERNEL);
drivers/iio/adc/ad799x.c
238
st->rx_buf = kmalloc(indio_dev->scan_bytes, GFP_KERNEL);
drivers/iio/adc/at91_adc.c
578
st->buffer = kmalloc(idev->scan_bytes, GFP_KERNEL);
drivers/iio/adc/cc10001_adc.c
250
adc_dev->buf = kmalloc(indio_dev->scan_bytes, GFP_KERNEL);
drivers/iio/adc/max1363.c
859
u8 *tx_buf __free(kfree) = kmalloc(len, GFP_KERNEL);
drivers/iio/adc/ti-ads7138.c
108
u8 *buf __free(kfree) = kmalloc(len, GFP_KERNEL);
drivers/iio/common/ssp_sensors/ssp_iio.c
30
spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA);
drivers/iio/common/ssp_sensors/ssp_spi.c
378
buffer = kmalloc(length, GFP_KERNEL | GFP_DMA);
drivers/iio/common/st_sensors/st_sensors_core.c
504
outdata = kmalloc(byte_for_channel, GFP_DMA | GFP_KERNEL);
drivers/iio/light/gp2ap020a00f.c
1418
data->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL);
drivers/infiniband/core/mad.c
830
seg = kmalloc(sizeof(*seg) + seg_size, gfp_mask);
drivers/infiniband/core/uverbs_cmd.c
2015
return kmalloc(ALIGN(wr_size, sizeof(struct ib_sge)) +
drivers/infiniband/core/uverbs_cmd.c
2055
user_wr = kmalloc(cmd.wqe_size, GFP_KERNEL | __GFP_NOWARN);
drivers/infiniband/core/uverbs_cmd.c
2245
user_wr = kmalloc(wqe_size, GFP_KERNEL | __GFP_NOWARN);
drivers/infiniband/core/uverbs_cmd.c
2270
next = kmalloc(ALIGN(sizeof(*next), sizeof(struct ib_sge)) +
drivers/infiniband/core/uverbs_cmd.c
3255
kern_flow_attr = kmalloc(sizeof(*kern_flow_attr) + cmd.flow_attr.size,
drivers/infiniband/core/uverbs_ioctl.c
582
pbundle = kmalloc(method_elm->bundle_size, GFP_KERNEL);
drivers/infiniband/hw/bnxt_re/qplib_res.c
674
pdt->tbl = kmalloc(bytes, GFP_KERNEL);
drivers/infiniband/hw/bnxt_re/qplib_res.c
801
dpit->tbl = kmalloc(bytes, GFP_KERNEL);
drivers/infiniband/hw/erdma/erdma_cm.c
1070
cep->private_data = kmalloc(pd_len, GFP_KERNEL);
drivers/infiniband/hw/erdma/erdma_cm.c
498
cep->mpa.pdata = kmalloc(pd_len + 4, GFP_KERNEL);
drivers/infiniband/hw/hfi1/chip.c
12672
dd->cntrnames = kmalloc(sz, GFP_KERNEL);
drivers/infiniband/hw/hfi1/chip.c
12774
dd->portcntrnames = kmalloc(sz, GFP_KERNEL);
drivers/infiniband/hw/hfi1/debugfs.c
488
tmp = kmalloc(size, GFP_KERNEL);
drivers/infiniband/hw/hfi1/debugfs.c
685
tmp = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/infiniband/hw/hfi1/debugfs.c
771
buff = kmalloc(count, GFP_KERNEL);
drivers/infiniband/hw/hfi1/debugfs.c
873
buff = kmalloc(count, GFP_KERNEL);
drivers/infiniband/hw/hfi1/eprom.c
218
buffer = kmalloc(P1_SIZE, GFP_KERNEL);
drivers/infiniband/hw/hfi1/eprom.c
290
table_buffer = kmalloc(directory_size, GFP_KERNEL);
drivers/infiniband/hw/hfi1/eprom.c
333
buffer = kmalloc(entry->size, GFP_KERNEL);
drivers/infiniband/hw/hfi1/sdma.c
3008
tx->coalesce_buf = kmalloc(tx->tlen + sizeof(u32),
drivers/infiniband/hw/ionic/ionic_controlpath.c
1470
hdr_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/infiniband/hw/ionic/ionic_controlpath.c
1589
hdr_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/infiniband/hw/ionic/ionic_controlpath.c
672
hdr_buf = kmalloc(PAGE_SIZE, gfp);
drivers/infiniband/hw/ionic/ionic_pgtbl.c
61
buf->tbl_buf = kmalloc(buf->tbl_size, GFP_KERNEL);
drivers/infiniband/hw/mlx4/mad.c
1635
tun_qp->ring[i].addr = kmalloc(rx_buf_size, GFP_KERNEL);
drivers/infiniband/hw/mlx4/mad.c
1650
kmalloc(tx_buf_size, GFP_KERNEL);
drivers/infiniband/hw/mthca/mthca_reset.c
117
bridge_header = kmalloc(256, GFP_KERNEL);
drivers/infiniband/hw/mthca/mthca_reset.c
96
hca_header = kmalloc(256, GFP_KERNEL);
drivers/infiniband/sw/siw/siw_cm.c
622
cep->mpa.pdata = kmalloc(pd_len + 4, GFP_KERNEL);
drivers/infiniband/ulp/iser/iser_initiator.c
187
desc->req = kmalloc(ISCSI_DEF_MAX_RECV_SEG_LEN, GFP_KERNEL);
drivers/infiniband/ulp/iser/iser_initiator.c
198
desc->rsp = kmalloc(ISER_RX_LOGIN_SIZE, GFP_KERNEL);
drivers/infiniband/ulp/srp/ib_srp.c
998
req->indirect_desc = kmalloc(target->indirect_size, GFP_KERNEL);
drivers/infiniband/ulp/srpt/ib_srpt.c
2646
if (private_data_len && (priv = kmalloc(private_data_len * 3 + 1,
drivers/input/joystick/iforce/iforce-usb.c
85
buf = kmalloc(IFORCE_MAX_LENGTH, GFP_KERNEL);
drivers/input/joystick/sidewinder.c
582
buf = kmalloc(SW_LENGTH, GFP_KERNEL);
drivers/input/joystick/sidewinder.c
583
idbuf = kmalloc(SW_LENGTH, GFP_KERNEL);
drivers/input/misc/cs40l50-vibra.c
240
new_owt_effect_data = kmalloc(sizeof(header) + len, GFP_KERNEL);
drivers/input/misc/ims-pcu.c
1555
pcu->urb_out_buf = kmalloc(pcu->max_out_size, GFP_KERNEL);
drivers/input/mouse/appletouch.c
267
data = kmalloc(8, GFP_KERNEL);
drivers/input/mouse/bcm5974.c
659
data = kmalloc(c->um_size, GFP_KERNEL);
drivers/input/mouse/elan_i2c_i2c.c
635
u8 *page_store __free(kfree) = kmalloc(fw_page_size + 4, GFP_KERNEL);
drivers/input/tablet/aiptek.c
890
buf = kmalloc(sizeof_buf, GFP_KERNEL);
drivers/input/tablet/aiptek.c
920
buf = kmalloc(sizeof_buf, GFP_KERNEL);
drivers/input/tablet/pegasus_notetaker.c
101
cmd_buf = kmalloc(sizeof_buf, GFP_KERNEL);
drivers/input/touchscreen/atmel_mxt_ts.c
2863
obuf = kmalloc(256, GFP_KERNEL);
drivers/input/touchscreen/atmel_mxt_ts.c
721
buf = kmalloc(count, GFP_KERNEL);
drivers/input/touchscreen/goodix.c
211
addr_buf = kmalloc(len + 2, GFP_KERNEL);
drivers/input/touchscreen/melfas_mip4.c
1032
msg[1].buf = read_buf = kmalloc(MIP4_BL_PACKET_SIZE, GFP_KERNEL);
drivers/input/touchscreen/melfas_mip4.c
898
data_buf = kmalloc(2 + MIP4_BL_PACKET_SIZE, GFP_KERNEL);
drivers/input/touchscreen/raydium_i2c_ts.c
175
tx_buf = kmalloc(len + 1, GFP_KERNEL);
drivers/input/touchscreen/sur40.c
345
buffer = kmalloc(24, GFP_KERNEL);
drivers/input/touchscreen/sur40.c
721
sur40->bulk_in_buffer = kmalloc(sur40->bulk_in_size, GFP_KERNEL);
drivers/input/touchscreen/usbtouchscreen.c
1488
usbtouch->buffer = kmalloc(type->rept_size, GFP_KERNEL);
drivers/input/touchscreen/usbtouchscreen.c
179
u8 *buf __free(kfree) = kmalloc(3, GFP_KERNEL);
drivers/input/touchscreen/usbtouchscreen.c
628
u8 *buf __free(kfree) = kmalloc(2, GFP_NOIO);
drivers/input/touchscreen/usbtouchscreen.c
990
u8 *buf __free(kfree) = kmalloc(NEXIO_BUFSIZE, GFP_NOIO);
drivers/iommu/iommufd/pages.c
103
return kmalloc(*size, GFP_KERNEL);
drivers/iommu/iommufd/pages.c
92
res = kmalloc(*size, GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY);
drivers/iommu/iommufd/pages.c
97
res = kmalloc(*size, GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY);
drivers/iommu/omap-iommu-debug.c
93
buf = kmalloc(count, GFP_KERNEL);
drivers/ipack/ipack.c
397
dev->id = kmalloc(dev->id_avail, GFP_KERNEL);
drivers/isdn/capi/capiutil.c
403
nb = kmalloc(ns, GFP_ATOMIC);
drivers/isdn/capi/capiutil.c
544
cdb->buf = kmalloc(CDEBUG_SIZE, GFP_ATOMIC);
drivers/isdn/capi/capiutil.c
629
g_debbuf->buf = kmalloc(CDEBUG_GSIZE, GFP_KERNEL);
drivers/isdn/hardware/mISDN/mISDNipac.c
251
isac->mon_rx = kmalloc(MAX_MON_FRAME, GFP_ATOMIC);
drivers/isdn/hardware/mISDN/mISDNipac.c
281
isac->mon_rx = kmalloc(MAX_MON_FRAME, GFP_ATOMIC);
drivers/isdn/hardware/mISDN/netjet.c
312
card->bc[i].hsbuf = kmalloc(NJ_DMA_TXSIZE, GFP_ATOMIC);
drivers/isdn/hardware/mISDN/netjet.c
317
card->bc[i].hrbuf = kmalloc(NJ_DMA_RXSIZE, GFP_ATOMIC);
drivers/isdn/mISDN/core.c
100
char *out = kmalloc(count + 1, GFP_KERNEL);
drivers/isdn/mISDN/l1oip_core.c
648
recvbuf = kmalloc(recvbuf_size, GFP_KERNEL);
drivers/macintosh/windfarm_smu_sat.c
84
buf = kmalloc(len, GFP_KERNEL);
drivers/mailbox/bcm-pdc-mailbox.c
429
buf = kmalloc(out_count, GFP_KERNEL);
drivers/mailbox/mailbox-mchp-ipc-sbi.c
279
chan_info->buf_base_tx = kmalloc(max_size, GFP_KERNEL);
drivers/mailbox/mailbox-mchp-ipc-sbi.c
287
chan_info->buf_base_rx = kmalloc(max_size, GFP_KERNEL);
drivers/mailbox/mailbox-mchp-ipc-sbi.c
305
chan_info->msg_buf_tx = kmalloc(chan_info->max_msg_size, GFP_KERNEL);
drivers/mailbox/mailbox-mchp-ipc-sbi.c
313
chan_info->msg_buf_rx = kmalloc(chan_info->max_msg_size, GFP_KERNEL);
drivers/md/bcache/bset.c
330
? kmalloc(bset_tree_bytes(b), gfp)
drivers/md/bcache/bset.c
336
? kmalloc(bset_prev_bytes(b), gfp)
drivers/md/bcache/journal.c
148
i = kmalloc(offsetof(struct journal_replay, j) +
drivers/md/dm-bufio.c
1183
return kmalloc(c->block_size, gfp_mask | __GFP_RECLAIMABLE);
drivers/md/dm-crypt.c
2852
cc->authenc_key = kmalloc(crypt_authenckey_size(cc), GFP_KERNEL);
drivers/md/dm-crypt.c
2981
cipher_api = kmalloc(CRYPTO_MAX_ALG_NAME, GFP_KERNEL);
drivers/md/dm-crypt.c
3474
io->integrity_metadata = kmalloc(tag_len, GFP_NOIO | __GFP_NORETRY | __GFP_NOMEMALLOC | __GFP_NOWARN);
drivers/md/dm-crypt.c
740
req = kmalloc(reqsize + cc->iv_size, GFP_NOIO);
drivers/md/dm-integrity.c
1900
checksums = kmalloc((PAGE_SIZE >> SECTOR_SHIFT >> ic->sb->log2_sectors_per_block) * ic->tag_size + extra_space,
drivers/md/dm-integrity.c
1903
checksums = kmalloc(PAGE_SIZE, GFP_NOIO | __GFP_NORETRY | __GFP_NOWARN);
drivers/md/dm-integrity.c
2533
dio->integrity_payload = kmalloc(dio->payload_len, GFP_NOIO | __GFP_NORETRY | __GFP_NOMEMALLOC | __GFP_NOWARN);
drivers/md/dm-integrity.c
3134
recalc_buffer = kmalloc(recalc_sectors << SECTOR_SHIFT, GFP_NOIO | __GFP_NOWARN);
drivers/md/dm-integrity.c
3298
recalc_buffer = kmalloc(recalc_sectors << SECTOR_SHIFT, GFP_NOIO | __GFP_NOWARN);
drivers/md/dm-integrity.c
3311
recalc_tags = kmalloc(recalc_tags_size, GFP_NOIO | __GFP_NOWARN);
drivers/md/dm-integrity.c
4344
a->key = kmalloc(a->key_size, GFP_KERNEL);
drivers/md/dm-integrity.c
4540
crypt_iv = kmalloc(ivsize, GFP_KERNEL);
drivers/md/dm-integrity.c
4547
crypt_data = kmalloc(crypt_len, GFP_KERNEL);
drivers/md/dm-log-userspace-transfer.c
267
prealloced = kmalloc(DM_ULOG_PREALLOCED_SIZE, GFP_KERNEL);
drivers/md/dm-vdo/memory-alloc.c
232
p = kmalloc(size, gfp_flags | __GFP_NOWARN);
drivers/md/dm-vdo/memory-alloc.c
240
p = kmalloc(size, gfp_flags);
drivers/md/dm-vdo/memory-alloc.c
307
void *p = kmalloc(size, GFP_NOWAIT | __GFP_ZERO);
drivers/md/dm-verity-target.c
1136
v->zero_digest = kmalloc(v->digest_size, GFP_KERNEL);
drivers/md/dm-verity-target.c
1141
io = kmalloc(v->ti->per_io_data_size, GFP_KERNEL);
drivers/md/dm-verity-target.c
1352
v->salt = kmalloc(v->salt_size, GFP_KERNEL);
drivers/md/dm-verity-target.c
1382
v->initial_hashstate.shash = kmalloc(
drivers/md/dm-verity-target.c
1528
v->root_digest = kmalloc(v->digest_size, GFP_KERNEL);
drivers/md/dm-verity-verify-sig.c
58
sig_opts->sig = kmalloc(ukp->datalen, GFP_KERNEL);
drivers/media/common/siano/smscoreapi.c
1158
fw_buf = kmalloc(ALIGN(fw->size + sizeof(struct sms_firmware),
drivers/media/common/siano/smscoreapi.c
1248
void *buffer = kmalloc(sizeof(struct sms_msg_hdr) + SMS_DMA_ALIGNMENT,
drivers/media/common/siano/smscoreapi.c
1297
buffer = kmalloc(sizeof(struct sms_msg_data) +
drivers/media/common/siano/smscoreapi.c
1385
buffer = kmalloc(sizeof(struct sms_msg_data) +
drivers/media/common/siano/smscoreapi.c
1958
buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT,
drivers/media/common/siano/smscoreapi.c
2030
buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT,
drivers/media/common/siano/smscoreapi.c
2078
buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT,
drivers/media/common/siano/smscoreapi.c
787
buffer = kmalloc(sizeof(struct sms_msg_data2) +
drivers/media/common/siano/smscoreapi.c
930
msg = kmalloc(PAGE_SIZE, GFP_KERNEL | coredev->gfp_buf_flags);
drivers/media/dvb-core/dvbdev.c
983
mbuf = kmalloc(_IOC_SIZE(cmd), GFP_KERNEL);
drivers/media/dvb-frontends/cx24116.c
216
buf = kmalloc(len + 1, GFP_KERNEL);
drivers/media/dvb-frontends/cx24117.c
604
buf = kmalloc(fw->size + 1, GFP_KERNEL);
drivers/media/dvb-frontends/cx24120.c
229
msg.buf = kmalloc(max + 1, GFP_KERNEL);
drivers/media/dvb-frontends/dib3000mc.c
62
b = kmalloc(4, GFP_KERNEL);
drivers/media/dvb-frontends/dib3000mc.c
91
b = kmalloc(4, GFP_KERNEL);
drivers/media/dvb-frontends/ds3000.c
267
buf = kmalloc(33, GFP_KERNEL);
drivers/media/dvb-frontends/dvb-pll.c
792
b1 = kmalloc(1, GFP_KERNEL);
drivers/media/dvb-frontends/tda10048.c
261
buf = kmalloc(len + 1, GFP_KERNEL);
drivers/media/i2c/ov08x40.c
1438
msgs.buf = kmalloc(msgs.len, GFP_KERNEL);
drivers/media/mc/mc-device.c
451
karg = kmalloc(_IOC_SIZE(info->cmd), GFP_KERNEL);
drivers/media/pci/cx18/cx18-controls.c
43
kmalloc(CX18_SLICED_MPEG_DATA_BUFSZ, GFP_KERNEL);
drivers/media/pci/cx18/cx18-queue.c
374
buf->buf = kmalloc(s->buf_size, GFP_KERNEL|__GFP_NOWARN);
drivers/media/pci/ddbridge/ddbridge-core.c
302
dma->vbuf[i] = kmalloc(dma->size, __GFP_RETRY_MAYFAIL);
drivers/media/pci/ivtv/ivtv-controls.c
24
itv->vbi.sliced_mpeg_data[i] = kmalloc(2049, GFP_KERNEL);
drivers/media/pci/ivtv/ivtv-queue.c
234
buf->buf = kmalloc(s->buf_size + 256, GFP_KERNEL|__GFP_NOWARN);
drivers/media/pci/solo6x10/solo6x10-disp.c
170
buf = kmalloc(size, GFP_KERNEL);
drivers/media/platform/allegro-dvt/allegro-core.c
1506
msg = kmalloc(size, GFP_KERNEL);
drivers/media/platform/allegro-dvt/allegro-core.c
976
tmp = kmalloc(mbox->size, GFP_KERNEL);
drivers/media/platform/chips-media/coda/coda-bit.c
1088
ctx->params.jpeg_qmat_tab[0] = kmalloc(64, GFP_KERNEL);
drivers/media/platform/chips-media/coda/coda-bit.c
1093
ctx->params.jpeg_qmat_tab[1] = kmalloc(64, GFP_KERNEL);
drivers/media/platform/chips-media/coda/coda-bit.c
192
buf = kmalloc(size, GFP_KERNEL);
drivers/media/platform/chips-media/coda/coda-jpeg.c
1056
ctx->params.jpeg_qmat_tab[0] = kmalloc(64, GFP_KERNEL);
drivers/media/platform/chips-media/coda/coda-jpeg.c
1061
ctx->params.jpeg_qmat_tab[1] = kmalloc(64, GFP_KERNEL);
drivers/media/platform/chips-media/coda/coda-jpeg.c
332
ctx->params.jpeg_qmat_tab[i] = kmalloc(64, GFP_KERNEL);
drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_dbgfs.c
99
char *buf = kmalloc(total_len, GFP_KERNEL);
drivers/media/radio/dsbr100.c
346
radio->transfer_buffer = kmalloc(TB_LEN, GFP_KERNEL);
drivers/media/radio/radio-keene.c
316
radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL);
drivers/media/radio/radio-ma901.c
356
radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL);
drivers/media/radio/radio-mr800.c
512
radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL);
drivers/media/radio/radio-raremono.c
307
radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL);
drivers/media/radio/radio-shark.c
334
shark->transfer_buffer = kmalloc(TB_LEN, GFP_KERNEL);
drivers/media/radio/radio-shark2.c
300
shark->transfer_buffer = kmalloc(TB_LEN, GFP_KERNEL);
drivers/media/radio/si470x/radio-si470x-usb.c
578
radio->usb_buf = kmalloc(MAX_REPORT_SIZE, GFP_KERNEL);
drivers/media/radio/si470x/radio-si470x-usb.c
611
radio->int_in_buffer = kmalloc(int_end_size, GFP_KERNEL);
drivers/media/radio/si470x/radio-si470x-usb.c
716
radio->buffer = kmalloc(radio->buf_size, GFP_KERNEL);
drivers/media/radio/si4713/radio-usb-si4713.c
425
radio->buffer = kmalloc(BUFFER_LENGTH, GFP_KERNEL);
drivers/media/rc/igorplugusb.c
183
ir->buf_in = kmalloc(MAX_PACKET, GFP_KERNEL);
drivers/media/rc/imon_raw.c
140
imon->ir_buf = kmalloc(sizeof(__be64), GFP_KERNEL);
drivers/media/rc/ir_toy.c
309
buf = kmalloc(size, GFP_KERNEL);
drivers/media/rc/ir_toy.c
425
irtoy->in = kmalloc(MAX_PACKET, GFP_KERNEL);
drivers/media/rc/ir_toy.c
429
irtoy->out = kmalloc(MAX_PACKET, GFP_KERNEL);
drivers/media/rc/mceusb.c
827
buf_out = kmalloc(size, GFP_KERNEL);
drivers/media/rc/rc-main.c
223
rc_map->scan = kmalloc(rc_map->alloc, GFP_KERNEL);
drivers/media/rc/rc-main.c
288
newscan = kmalloc(newalloc, gfp_flags);
drivers/media/rc/redrat3.c
538
val = kmalloc(len, GFP_KERNEL);
drivers/media/test-drivers/vivid/vivid-core.c
2267
kmalloc(MAX_STRING_LENGTH, GFP_KERNEL);
drivers/media/test-drivers/vivid/vivid-core.c
2280
kmalloc(MAX_STRING_LENGTH, GFP_KERNEL);
drivers/media/tuners/mt2060.c
37
b = kmalloc(2, GFP_KERNEL);
drivers/media/tuners/mt2060.c
66
buf = kmalloc(2, GFP_KERNEL);
drivers/media/tuners/mt2060.c
93
xfer_buf = kmalloc(16, GFP_KERNEL);
drivers/media/usb/cx231xx/cx231xx-417.c
1350
buffer = kmalloc(buffer_size, GFP_ATOMIC);
drivers/media/usb/cx231xx/cx231xx-audio.c
275
dev->adev.transfer_buffer[i] = kmalloc(sb_size, GFP_ATOMIC);
drivers/media/usb/cx231xx/cx231xx-audio.c
336
dev->adev.transfer_buffer[i] = kmalloc(sb_size, GFP_ATOMIC);
drivers/media/usb/dvb-usb-v2/au6610.c
25
usb_buf = kmalloc(6, GFP_KERNEL);
drivers/media/usb/dvb-usb-v2/az6007.c
265
b = kmalloc(12, GFP_KERNEL);
drivers/media/usb/dvb-usb-v2/az6007.c
338
b = kmalloc(12, GFP_KERNEL);
drivers/media/usb/dvb-usb-v2/az6007.c
411
b = kmalloc(12, GFP_KERNEL);
drivers/media/usb/dvb-usb-v2/az6007.c
527
b = kmalloc(12, GFP_KERNEL);
drivers/media/usb/dvb-usb-v2/az6007.c
853
mac = kmalloc(6, GFP_ATOMIC);
drivers/media/usb/dvb-usb-v2/ce6230.c
44
buf = kmalloc(req->data_len, GFP_KERNEL);
drivers/media/usb/dvb-usb-v2/ec168.c
56
buf = kmalloc(req->size, GFP_KERNEL);
drivers/media/usb/dvb-usb-v2/gl861.c
270
buf = kmalloc(2, GFP_KERNEL);
drivers/media/usb/dvb-usb/a800.c
42
u8 *key = kmalloc(5, GFP_KERNEL);
drivers/media/usb/dvb-usb/af9005.c
720
buf = kmalloc(FW_BULKOUT_SIZE + 2, GFP_KERNEL);
drivers/media/usb/dvb-usb/af9005.c
970
buf = kmalloc(FW_BULKOUT_SIZE + 2, GFP_KERNEL);
drivers/media/usb/dvb-usb/az6027.c
1078
b = kmalloc(16, GFP_KERNEL);
drivers/media/usb/dvb-usb/az6027.c
423
b = kmalloc(12, GFP_KERNEL);
drivers/media/usb/dvb-usb/az6027.c
496
b = kmalloc(12, GFP_KERNEL);
drivers/media/usb/dvb-usb/az6027.c
569
b = kmalloc(12, GFP_KERNEL);
drivers/media/usb/dvb-usb/az6027.c
685
b = kmalloc(12, GFP_KERNEL);
drivers/media/usb/dvb-usb/az6027.c
961
data = kmalloc(256, GFP_KERNEL);
drivers/media/usb/dvb-usb/cxusb.c
463
junk = kmalloc(junk_len, GFP_KERNEL);
drivers/media/usb/dvb-usb/cxusb.c
486
junk = kmalloc(junk_len, GFP_KERNEL);
drivers/media/usb/dvb-usb/dib0700_core.c
383
b = kmalloc(16, GFP_KERNEL);
drivers/media/usb/dvb-usb/dib0700_core.c
481
buf = kmalloc(8, GFP_KERNEL);
drivers/media/usb/dvb-usb/dib0700_core.c
514
buf = kmalloc(260, GFP_KERNEL);
drivers/media/usb/dvb-usb/dibusb-common.c
122
b = kmalloc(3, GFP_KERNEL);
drivers/media/usb/dvb-usb/dibusb-common.c
149
sndbuf = kmalloc(MAX_XFER_SIZE, GFP_KERNEL);
drivers/media/usb/dvb-usb/dibusb-common.c
380
buf = kmalloc(5, GFP_KERNEL);
drivers/media/usb/dvb-usb/dibusb-common.c
66
b = kmalloc(3, GFP_KERNEL);
drivers/media/usb/dvb-usb/dibusb-common.c
89
b = kmalloc(3, GFP_KERNEL);
drivers/media/usb/dvb-usb/dvb-usb-firmware.c
44
buf = kmalloc(sizeof(*hx), GFP_KERNEL);
drivers/media/usb/dvb-usb/dw2102.c
1896
p = kmalloc(fw->size, GFP_KERNEL);
drivers/media/usb/dvb-usb/dw2102.c
97
u8buf = kmalloc(len, GFP_KERNEL);
drivers/media/usb/dvb-usb/gp8psk.c
148
buf = kmalloc(64, GFP_KERNEL);
drivers/media/usb/dvb-usb/m920x.c
184
rc_state = kmalloc(2, GFP_KERNEL);
drivers/media/usb/dvb-usb/m920x.c
222
rc_state = kmalloc(2, GFP_KERNEL);
drivers/media/usb/dvb-usb/m920x.c
277
char *read = kmalloc(1, GFP_KERNEL);
drivers/media/usb/dvb-usb/m920x.c
405
buff = kmalloc(65536, GFP_KERNEL);
drivers/media/usb/dvb-usb/m920x.c
409
read = kmalloc(4, GFP_KERNEL);
drivers/media/usb/dvb-usb/nova-t-usb2.c
79
buf = kmalloc(5, GFP_KERNEL);
drivers/media/usb/dvb-usb/opera1.c
462
p = kmalloc(fw->size, GFP_KERNEL);
drivers/media/usb/dvb-usb/opera1.c
55
buf = kmalloc(len, GFP_KERNEL);
drivers/media/usb/dvb-usb/pctv452e.c
122
buf = kmalloc(64, GFP_KERNEL);
drivers/media/usb/dvb-usb/pctv452e.c
428
buf = kmalloc(64, GFP_KERNEL);
drivers/media/usb/dvb-usb/pctv452e.c
530
b0 = kmalloc(5 + PCTV_ANSWER_LEN, GFP_KERNEL);
drivers/media/usb/dvb-usb/pctv452e.c
574
b = kmalloc(CMD_BUFFER_SIZE + PCTV_ANSWER_LEN, GFP_KERNEL);
drivers/media/usb/dvb-usb/technisat-usb2.c
339
version = kmalloc(3, GFP_KERNEL);
drivers/media/usb/dvb-usb/technisat-usb2.c
90
b = kmalloc(64, GFP_KERNEL);
drivers/media/usb/dvb-usb/vp702x.c
126
buf = kmalloc(buflen, GFP_KERNEL);
drivers/media/usb/dvb-usb/vp702x.c
264
key = kmalloc(10, GFP_KERNEL);
drivers/media/usb/dvb-usb/vp702x.c
349
st->buf = kmalloc(st->buf_len, GFP_KERNEL);
drivers/media/usb/go7007/go7007-usb.c
1286
kmalloc(v_urb_len, GFP_KERNEL);
drivers/media/usb/go7007/go7007-usb.c
1303
usb->audio_urbs[i]->transfer_buffer = kmalloc(4096,
drivers/media/usb/gspca/jl2005bcd.c
317
buffer = kmalloc(JL2005C_MAX_TRANSFER, GFP_KERNEL);
drivers/media/usb/gspca/sq905.c
211
buffer = kmalloc(SQ905_MAX_TRANSFER, GFP_KERNEL);
drivers/media/usb/gspca/sq905c.c
132
buffer = kmalloc(SQ905C_MAX_TRANSFER, GFP_KERNEL);
drivers/media/usb/gspca/vicam.c
176
buffer = kmalloc(frame_sz, GFP_KERNEL);
drivers/media/usb/gspca/vicam.c
239
firmware_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/media/usb/hdpvr/hdpvr-core.c
299
dev->usbc_buf = kmalloc(64, GFP_KERNEL);
drivers/media/usb/hdpvr/hdpvr-video.c
337
buf = kmalloc(dev->bulk_in_size, GFP_KERNEL);
drivers/media/usb/pvrusb2/pvrusb2-dvb.c
144
adap->buffer_storage[idx] = kmalloc(PVR2_DVB_BUFFER_SIZE,
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
1454
fw_ptr = kmalloc(0x800, GFP_KERNEL);
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
1576
fw_ptr = kmalloc(FIRMWARE_CHUNK_SIZE, GFP_KERNEL);
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
2545
hdw->ctl_write_buffer = kmalloc(PVR2_CTL_BUFFSIZE,GFP_KERNEL);
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
2547
hdw->ctl_read_buffer = kmalloc(PVR2_CTL_BUFFSIZE,GFP_KERNEL);
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
3977
da = kmalloc(16, GFP_KERNEL);
drivers/media/usb/pvrusb2/pvrusb2-ioread.c
116
cp->sync_key_ptr = kmalloc(sync_key_len,GFP_KERNEL);
drivers/media/usb/pvrusb2/pvrusb2-ioread.c
47
cp->buffer_storage[idx] = kmalloc(BUFFER_SIZE,GFP_KERNEL);
drivers/media/usb/pvrusb2/pvrusb2-v4l2.c
1069
tbuf = kmalloc(PAGE_SIZE,GFP_KERNEL);
drivers/media/usb/pwc/pwc-if.c
1071
pdev->ctrl_buf = kmalloc(sizeof(pdev->cmd_buf), GFP_KERNEL);
drivers/media/usb/pwc/pwc-if.c
161
void *buffer = kmalloc(size, GFP_KERNEL);
drivers/media/usb/s2255/s2255drv.c
1873
buf = kmalloc(TransferBufferLength, GFP_KERNEL);
drivers/media/usb/stk1160/stk1160-core.c
63
buf = kmalloc(sizeof(u8), GFP_KERNEL);
drivers/media/usb/ttusb-dec/ttusb_dec.c
1367
b = kmalloc(ARM_PACKET_SIZE, GFP_KERNEL);
drivers/media/usb/usbtv/usbtv-video.c
797
data = kmalloc(3, GFP_KERNEL);
drivers/media/usb/uvc/uvc_ctrl.c
2396
data = kmalloc(size, GFP_KERNEL);
drivers/media/usb/uvc/uvc_ctrl.c
2680
data = kmalloc(1, GFP_KERNEL);
drivers/media/usb/uvc/uvc_ctrl.c
2759
data = kmalloc(2, GFP_KERNEL);
drivers/media/usb/uvc/uvc_ctrl.c
2927
data = kmalloc(size, GFP_KERNEL);
drivers/media/usb/uvc/uvc_v4l2.c
711
buf = kmalloc(1, GFP_KERNEL);
drivers/media/usb/uvc/uvc_v4l2.c
747
buf = kmalloc(1, GFP_KERNEL);
drivers/media/usb/uvc/uvc_video.c
301
data = kmalloc(size, GFP_KERNEL);
drivers/media/v4l2-core/v4l2-h264.c
307
*out_str = kmalloc(tmp_str_size, GFP_KERNEL);
drivers/media/v4l2-core/v4l2-h264.c
347
*out_str = kmalloc(tmp_str_size, GFP_KERNEL);
drivers/media/v4l2-core/v4l2-ioctl.c
3440
mbuf = kmalloc(ioc_size, GFP_KERNEL);
drivers/memstick/core/mspro_block.c
1005
buffer = kmalloc(attr_len, GFP_KERNEL);
drivers/memstick/core/mspro_block.c
908
attr = kmalloc(msb->page_size, GFP_KERNEL);
drivers/memstick/core/mspro_block.c
985
s_attr->data = kmalloc(s_attr->size, GFP_KERNEL);
drivers/message/fusion/mptbase.c
4327
mem = kmalloc(sz, GFP_ATOMIC);
drivers/message/fusion/mptbase.c
4334
mem = kmalloc(sz, GFP_ATOMIC);
drivers/message/fusion/mptbase.c
4401
mem = kmalloc(sz, GFP_ATOMIC);
drivers/message/fusion/mptbase.c
5374
mem = kmalloc(sz, GFP_ATOMIC);
drivers/message/fusion/mptbase.c
6078
mem = kmalloc(iocpage3sz, GFP_KERNEL);
drivers/message/fusion/mptscsih.c
1275
if ((h->info_kbuf = kmalloc(0x1000 /* 4Kb */, GFP_KERNEL)) == NULL)
drivers/mfd/aat2870-core.c
258
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/mfd/dln2.c
310
buf = kmalloc(len, gfp);
drivers/mfd/dln2.c
614
dln2->rx_buf[i] = kmalloc(rx_max_size, GFP_KERNEL);
drivers/misc/cardreader/rtsx_usb.c
638
ucr->cmd_buf = kmalloc(IOBUF_SIZE, GFP_KERNEL);
drivers/misc/cardreader/rtsx_usb.c
642
ucr->rsp_buf = kmalloc(IOBUF_SIZE, GFP_KERNEL);
drivers/misc/eeprom/at25.c
153
u8 *bounce __free(kfree) = kmalloc(len, GFP_KERNEL);
drivers/misc/eeprom/at25.c
214
u8 *bounce __free(kfree) = kmalloc(1, GFP_KERNEL);
drivers/misc/eeprom/at25.c
240
u8 *bounce __free(kfree) = kmalloc(min(count, io_limit), GFP_KERNEL);
drivers/misc/eeprom/at25.c
93
u8 *bounce __free(kfree) = kmalloc(min(count, io_limit), GFP_KERNEL);
drivers/misc/gehc-achc.c
228
command = kmalloc(4, GFP_KERNEL | GFP_DMA);
drivers/misc/gehc-achc.c
258
buffer = kmalloc(payload_size + 5, GFP_KERNEL | GFP_DMA);
drivers/misc/lkdtm/bugs.c
436
not_checked = kmalloc(sizeof(*not_checked) * 2, GFP_KERNEL);
drivers/misc/lkdtm/bugs.c
437
checked = kmalloc(sizeof(*checked) * 2, GFP_KERNEL);
drivers/misc/lkdtm/fortify.c
22
src = kmalloc(size, GFP_KERNEL);
drivers/misc/lkdtm/fortify.c
91
src = kmalloc(size, GFP_KERNEL);
drivers/misc/lkdtm/heap.c
104
base = kmalloc(len, GFP_KERNEL);
drivers/misc/lkdtm/heap.c
110
val = kmalloc(len, GFP_KERNEL);
drivers/misc/lkdtm/heap.c
161
base = kmalloc(len, GFP_KERNEL);
drivers/misc/lkdtm/heap.c
225
val = kmalloc(1024, GFP_KERNEL);
drivers/misc/lkdtm/heap.c
256
first = kmalloc(512, GFP_KERNEL);
drivers/misc/lkdtm/heap.c
265
val = kmalloc(512, GFP_KERNEL);
drivers/misc/lkdtm/heap.c
56
u32 *data = kmalloc(len, GFP_KERNEL);
drivers/misc/lkdtm/heap.c
77
base = kmalloc(len, GFP_KERNEL);
drivers/misc/lkdtm/heap.c
86
again = kmalloc(len, GFP_KERNEL);
drivers/misc/lkdtm/perms.c
193
u32 *kmalloc_area = kmalloc(EXEC_SIZE, GFP_KERNEL);
drivers/misc/lkdtm/powerpc.c
52
p = kmalloc(2048, GFP_KERNEL);
drivers/misc/lkdtm/usercopy.c
142
one = kmalloc(size, GFP_KERNEL);
drivers/misc/lkdtm/usercopy.c
143
two = kmalloc(size, GFP_KERNEL);
drivers/misc/mei/mei_lb.c
162
req = kmalloc(req_size, GFP_KERNEL);
drivers/misc/pci_endpoint_test.c
341
write_buf = kmalloc(buf_size, GFP_KERNEL);
drivers/misc/pci_endpoint_test.c
345
read_buf = kmalloc(buf_size, GFP_KERNEL);
drivers/misc/pci_endpoint_test.c
561
read_buf = kmalloc(buf_size, GFP_KERNEL);
drivers/misc/sgi-gru/grukservices.c
1001
p = kmalloc(4096, 0);
drivers/misc/sgi-gru/grukservices.c
1053
buf = kmalloc(bytes, GFP_KERNEL);
drivers/misc/sgi-gru/grumain.c
316
gts = kmalloc(bytes, GFP_KERNEL);
drivers/misc/sgi-xp/xpc_partition.c
45
*base = kmalloc(size, flags);
drivers/misc/sgi-xp/xpc_partition.c
55
*base = kmalloc(size + L1_CACHE_BYTES, flags);
drivers/misc/vmw_vmci/vmci_context.c
697
notifiers = kmalloc(data_size, GFP_ATOMIC); /* FIXME: want GFP_KERNEL */
drivers/misc/vmw_vmci/vmci_datagram.c
372
dg_info = kmalloc(sizeof(*dg_info) + (size_t)dg->payload_size,
drivers/misc/vmw_vmci/vmci_queue_pair.c
958
alloc_msg = kmalloc(msg_size, GFP_KERNEL);
drivers/mmc/core/block.c
3056
buf = kmalloc(EXT_CSD_STR_LEN + 1, GFP_KERNEL);
drivers/mmc/core/block.c
984
blocks = kmalloc(resp_sz, GFP_NOIO);
drivers/mmc/core/mmc_ops.c
1137
buf = kmalloc(len, GFP_KERNEL);
drivers/mmc/core/mmc_ops.c
787
data_buf = kmalloc(len, GFP_KERNEL);
drivers/mmc/core/sd.c
271
raw_ssr = kmalloc(sizeof(card->raw_ssr), GFP_KERNEL);
drivers/mmc/core/sd.c
336
status = kmalloc(64, GFP_KERNEL);
drivers/mmc/core/sd.c
397
status = kmalloc(64, GFP_KERNEL);
drivers/mmc/core/sd.c
651
status = kmalloc(64, GFP_KERNEL);
drivers/mmc/core/sd_ops.c
327
scr = kmalloc(sizeof(card->raw_scr), GFP_KERNEL);
drivers/mmc/core/sd_uhs2.c
965
status = kmalloc(64, GFP_KERNEL);
drivers/mmc/core/sdio_bus.c
348
func->tmpbuf = kmalloc(4, GFP_KERNEL);
drivers/mmc/core/sdio_cis.c
302
this = kmalloc(sizeof(*this) + tpl_link, GFP_KERNEL);
drivers/mmc/host/atmel-mci.c
530
buf = kmalloc(ATMCI_REGS_SIZE, GFP_KERNEL);
drivers/mmc/host/mmc_spi.c
1183
ones = kmalloc(MMC_SPI_BLOCKSIZE, GFP_KERNEL);
drivers/mmc/host/sdhci-sprd.c
581
status = kmalloc(64, GFP_KERNEL);
drivers/mmc/host/sdhci-sprd.c
639
value = kmalloc(SDHCI_SPRD_MAX_RANGE + 1, GFP_KERNEL);
drivers/mmc/host/vub300.c
1231
u8 *xfer_buffer = kmalloc(xfer_length, GFP_KERNEL);
drivers/mmc/host/vub300.c
1274
u8 *xfer_buffer = kmalloc(xfer_length, GFP_KERNEL);
drivers/mmc/host/vub300.c
1467
u8 *buf = kmalloc(padded_length, GFP_KERNEL);
drivers/mmc/host/vub300.c
1532
u8 *buf = kmalloc(padded_length, GFP_KERNEL);
drivers/mmc/host/vub300.c
2029
u8 *buf = kmalloc(8, GFP_KERNEL);
drivers/mmc/host/wbsd.c
1367
host->dma_buffer = kmalloc(WBSD_DMA_SIZE,
drivers/mtd/chips/cfi_cmdset_0001.c
647
mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap = kmalloc(ernum / 8 + 1, GFP_KERNEL);
drivers/mtd/chips/cfi_cmdset_0020.c
678
buffer = kmalloc(ECCBUF_SIZE, GFP_KERNEL);
drivers/mtd/chips/cfi_util.c
311
extp = kmalloc(size, GFP_KERNEL);
drivers/mtd/devices/mchp48l640.c
177
cmd = kmalloc((3 + len), GFP_KERNEL | GFP_DMA);
drivers/mtd/devices/mchp48l640.c
251
cmd = kmalloc((3 + len), GFP_KERNEL | GFP_DMA);
drivers/mtd/inftlmount.c
324
buf = kmalloc(SECTORSIZE + mtd->oobsize, GFP_KERNEL);
drivers/mtd/maps/vmu-flash.c
129
pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL);
drivers/mtd/maps/vmu-flash.c
159
blockread = kmalloc(card->blocklen/card->readcnt, GFP_KERNEL);
drivers/mtd/maps/vmu-flash.c
242
sendbuf = kmalloc(phaselen + 4, GFP_KERNEL);
drivers/mtd/maps/vmu-flash.c
318
buf = kmalloc(card->blocklen, GFP_KERNEL);
drivers/mtd/maps/vmu-flash.c
446
buffer = kmalloc(card->blocklen, GFP_KERNEL);
drivers/mtd/maps/vmu-flash.c
525
part_cur->name = kmalloc(12, GFP_KERNEL);
drivers/mtd/mtdchar.c
1113
struct otp_info *buf = kmalloc(4096, GFP_KERNEL);
drivers/mtd/mtdchar.c
402
ops.oobbuf = kmalloc(length, GFP_KERNEL);
drivers/mtd/mtdcore.c
1043
otp = kmalloc(size, GFP_KERNEL);
drivers/mtd/mtdcore.c
2520
kbuf = kmalloc(*size, flags);
drivers/mtd/mtdcore.c
2532
return kmalloc(*size, GFP_KERNEL);
drivers/mtd/mtdcore.c
915
info = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/mtd/mtdpstore.c
456
buf = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/mtdswap.c
1307
d->page_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/mtd/nand/ecc-mxic.c
315
ctx->oobwithstat = kmalloc(mtd->oobsize + (ctx->steps * STAT_BYTES),
drivers/mtd/nand/ecc-sw-bch.c
133
erased_page = kmalloc(eccsize, GFP_KERNEL);
drivers/mtd/nand/raw/cadence-nand-controller.c
3140
cdns_ctrl->buf = kmalloc(cdns_ctrl->buf_size, GFP_KERNEL);
drivers/mtd/nand/raw/diskonchip.c
1028
buf = kmalloc(mtd->writesize, GFP_KERNEL);
drivers/mtd/nand/raw/diskonchip.c
920
buf = kmalloc(mtd->writesize, GFP_KERNEL);
drivers/mtd/nand/raw/marvell_nand.c
1120
raw_buf = kmalloc(full_sz, GFP_KERNEL);
drivers/mtd/nand/raw/marvell_nand.c
2864
nfc->dma_buf = kmalloc(MAX_CHUNK_SIZE, GFP_KERNEL | GFP_DMA);
drivers/mtd/nand/raw/meson_nand.c
1233
meson_chip->data_buf = kmalloc(page_bytes, GFP_KERNEL);
drivers/mtd/nand/raw/meson_nand.c
1237
meson_chip->info_buf = kmalloc(info_bytes, GFP_KERNEL);
drivers/mtd/nand/raw/nand_base.c
6200
chip->data_buf = kmalloc(mtd->writesize + mtd->oobsize, GFP_KERNEL);
drivers/mtd/nand/raw/nand_base.c
6321
ecc->calc_buf = kmalloc(mtd->oobsize, GFP_KERNEL);
drivers/mtd/nand/raw/nand_base.c
6322
ecc->code_buf = kmalloc(mtd->oobsize, GFP_KERNEL);
drivers/mtd/nand/raw/nand_bbt.c
1088
buf = kmalloc(len, GFP_KERNEL);
drivers/mtd/nand/raw/nand_hynix.c
295
buf = kmalloc(info->size, GFP_KERNEL);
drivers/mtd/nand/raw/nand_micron.c
532
micron->ecc.rawbuf = kmalloc(mtd->writesize +
drivers/mtd/nand/raw/nand_onfi.c
48
ep = kmalloc(len, GFP_KERNEL);
drivers/mtd/nand/raw/nandsim.c
562
ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL);
drivers/mtd/nand/raw/nandsim.c
765
ns->buf.byte = kmalloc(ns->geom.pgszoob, GFP_KERNEL);
drivers/mtd/nand/spi/micron.c
184
buf = kmalloc(bufsize, GFP_KERNEL);
drivers/mtd/nftlmount.c
267
buf = kmalloc(SECTORSIZE + mtd->oobsize, GFP_KERNEL);
drivers/mtd/parsers/tplink_safeloader.c
50
buf = kmalloc(size + 1, GFP_KERNEL);
drivers/mtd/rfd_ftl.c
184
part->header_cache = kmalloc(part->header_size, GFP_KERNEL);
drivers/mtd/rfd_ftl.c
327
sector_data = kmalloc(SECTOR_SIZE, GFP_KERNEL);
drivers/mtd/rfd_ftl.c
331
map = kmalloc(part->header_size, GFP_KERNEL);
drivers/mtd/spi-nor/core.c
2036
tmp_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/mtd/spi-nor/core.c
2149
tmp_buf = kmalloc(nor->params->page_size, GFP_KERNEL);
drivers/mtd/spi-nor/sfdp.c
1044
dwords = kmalloc(len, GFP_KERNEL);
drivers/mtd/spi-nor/sfdp.c
1196
dwords = kmalloc(len, GFP_KERNEL);
drivers/mtd/spi-nor/sfdp.c
1284
dwords = kmalloc(len, GFP_KERNEL);
drivers/mtd/spi-nor/sfdp.c
1336
dwords = kmalloc(len, GFP_KERNEL);
drivers/mtd/spi-nor/sfdp.c
1485
param_headers = kmalloc(psize, GFP_KERNEL);
drivers/mtd/spi-nor/sfdp.c
224
dma_safe_buf = kmalloc(len, GFP_KERNEL);
drivers/mtd/spi-nor/sfdp.c
963
smpt = kmalloc(len, GFP_KERNEL);
drivers/mtd/ssfdc.c
111
sect_buf = kmalloc(SECTOR_SIZE, GFP_KERNEL);
drivers/mtd/tests/mtd_nandecctest.c
259
error_data = kmalloc(size, GFP_KERNEL);
drivers/mtd/tests/mtd_nandecctest.c
260
error_ecc = kmalloc(3, GFP_KERNEL);
drivers/mtd/tests/mtd_nandecctest.c
261
correct_data = kmalloc(size, GFP_KERNEL);
drivers/mtd/tests/mtd_nandecctest.c
262
correct_ecc = kmalloc(3, GFP_KERNEL);
drivers/mtd/tests/nandbiterrs.c
364
wbuffer = kmalloc(mtd->writesize, GFP_KERNEL);
drivers/mtd/tests/nandbiterrs.c
370
rbuffer = kmalloc(mtd->writesize, GFP_KERNEL);
drivers/mtd/tests/oobtest.c
379
readbuf = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/tests/oobtest.c
382
writebuf = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/tests/pagetest.c
362
writebuf = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/tests/pagetest.c
365
twopages = kmalloc(bufsize, GFP_KERNEL);
drivers/mtd/tests/pagetest.c
368
boundary = kmalloc(bufsize, GFP_KERNEL);
drivers/mtd/tests/readtest.c
154
iobuf = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/tests/readtest.c
157
iobuf1 = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/tests/speedtest.c
222
iobuf = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/tests/subpagetest.c
311
writebuf = kmalloc(bufsize, GFP_KERNEL);
drivers/mtd/tests/subpagetest.c
314
readbuf = kmalloc(bufsize, GFP_KERNEL);
drivers/mtd/tests/torturetest.c
213
patt_5A5 = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/tests/torturetest.c
217
patt_A5A = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/tests/torturetest.c
221
patt_FF = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/tests/torturetest.c
225
check_buf = kmalloc(mtd->erasesize, GFP_KERNEL);
drivers/mtd/ubi/ubi.h
1107
buf = kmalloc(ubi->vid_hdr_alsize, gfp_flags);
drivers/net/bonding/bond_alb.c
862
new_hashtbl = kmalloc(size, GFP_KERNEL);
drivers/net/bonding/bond_main.c
3151
arp = kmalloc(alen, GFP_ATOMIC);
drivers/net/can/spi/mcp251xfd/mcp251xfd-dump.c
78
buf = kmalloc(reg_space->size, GFP_KERNEL);
drivers/net/can/usb/gs_usb.c
864
hf = kmalloc(dev->hf_size_tx, GFP_ATOMIC);
drivers/net/can/usb/gs_usb.c
998
buf = kmalloc(dev->parent->hf_size_rx,
drivers/net/can/usb/peak_usb/pcan_usb_core.c
451
buf = kmalloc(dev->adapter->rx_buffer_size, GFP_KERNEL);
drivers/net/can/usb/peak_usb/pcan_usb_core.c
505
buf = kmalloc(dev->adapter->tx_buffer_size, GFP_KERNEL);
drivers/net/can/usb/peak_usb/pcan_usb_core.c
702
buf = kmalloc(PCAN_USB_MAX_CMD_LEN, GFP_ATOMIC);
drivers/net/ethernet/aeroflex/greth.c
274
greth->rx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL);
drivers/net/ethernet/aeroflex/greth.c
297
greth->tx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL);
drivers/net/ethernet/amd/lance.c
884
rx_buff = kmalloc(PKT_BUF_SZ, GFP_DMA | gfp);
drivers/net/ethernet/apple/bmac.c
1591
bmac_emergency_rxbuf = kmalloc(RX_BUFLEN, GFP_KERNEL);
drivers/net/ethernet/apple/mace.c
138
dummy_buf = kmalloc(RX_BUFLEN+2, GFP_KERNEL);
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
185
struct sk_buff **buff = kmalloc(sizeof(*buff) * size, GFP_KERNEL);
drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c
263
eeprom_buff = kmalloc(AT_EEPROM_LEN, GFP_KERNEL);
drivers/net/ethernet/atheros/atlx/atl2.c
1938
eeprom_buff = kmalloc(max_len, GFP_KERNEL);
drivers/net/ethernet/broadcom/bnge/bnge_netdev.c
1110
vnic->uc_list = kmalloc(mem_size, GFP_KERNEL);
drivers/net/ethernet/broadcom/bnx2.c
2771
data = kmalloc(bp->rx_buf_size, gfp);
drivers/net/ethernet/broadcom/bnx2.c
4541
align_buf = kmalloc(len32, GFP_KERNEL);
drivers/net/ethernet/broadcom/bnx2.c
4555
flash_buffer = kmalloc(264, GFP_KERNEL);
drivers/net/ethernet/broadcom/bnx2.c
8037
data = kmalloc(BNX2_VPD_LEN, GFP_KERNEL);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
706
return kmalloc(fp->rx_buf_size + NET_SKB_PAD, gfp_mask);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
2942
buf = kmalloc(CRC_BUFF_SIZE, GFP_KERNEL);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13380
bp->arr = kmalloc(len, GFP_KERNEL); \
drivers/net/ethernet/broadcom/bnxt/bnxt.c
4037
txr->tx_inline_buf = kmalloc(size, GFP_KERNEL);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
5052
vnic->uc_list = kmalloc(mem_size, GFP_KERNEL);
drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c
107
info->dest_buf = kmalloc(info->dest_buf_size,
drivers/net/ethernet/broadcom/tg3.c
12232
buf = kmalloc(len, GFP_KERNEL);
drivers/net/ethernet/broadcom/tg3.c
12938
buf = kmalloc(len, GFP_KERNEL);
drivers/net/ethernet/broadcom/tg3.c
13021
buf = kmalloc(size, GFP_KERNEL);
drivers/net/ethernet/broadcom/tg3.c
3382
tmp = kmalloc(pagesize, GFP_KERNEL);
drivers/net/ethernet/broadcom/tg3.c
6733
data = kmalloc(skb_size, GFP_ATOMIC);
drivers/net/ethernet/cadence/macb_main.c
2752
queue->tx_skb = kmalloc(size, GFP_KERNEL);
drivers/net/ethernet/cavium/liquidio/octeon_console.c
300
kmalloc(name_length + 1, GFP_KERNEL);
drivers/net/ethernet/cavium/liquidio/octeon_console.c
586
buf = kmalloc(OCTEON_UBOOT_VER_BUF_SIZE, GFP_KERNEL);
drivers/net/ethernet/cavium/liquidio/octeon_droq.h
192
buf = kmalloc(OCT_RECV_PKT_SIZE + OCT_RECV_INFO_SIZE +
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2070
buf = kmalloc(aligned_len, GFP_KERNEL);
drivers/net/ethernet/cirrus/ep93xx_eth.c
490
buf = kmalloc(PKT_BUF_SIZE, GFP_KERNEL);
drivers/net/ethernet/cirrus/ep93xx_eth.c
509
buf = kmalloc(PKT_BUF_SIZE, GFP_KERNEL);
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
1292
tso_hdr = kmalloc(TSO_HEADER_SIZE, GFP_ATOMIC);
drivers/net/ethernet/freescale/fec_main.c
4112
txq->tx_bounce[i] = kmalloc(FEC_ENET_TX_FRSIZE, GFP_KERNEL);
drivers/net/ethernet/freescale/ucc_geth.c
2059
ugeth->p_tx_bd_ring[j] = kmalloc(alloc, GFP_KERNEL);
drivers/net/ethernet/freescale/ucc_geth.c
2120
ugeth->p_rx_bd_ring[j] = kmalloc(alloc, GFP_KERNEL);
drivers/net/ethernet/fungible/funcore/fun_queue.c
259
data = kmalloc(total_len, GFP_ATOMIC);
drivers/net/ethernet/i825xx/ether1.c
254
unsigned char *buffer = kmalloc (BUFFER_SIZE, GFP_KERNEL);
drivers/net/ethernet/ibm/ibmvnic.c
4931
login_rsp_buffer = kmalloc(rsp_buffer_size, GFP_ATOMIC);
drivers/net/ethernet/intel/e1000/e1000_ethtool.c
487
eeprom_buff = kmalloc(max_len, GFP_KERNEL);
drivers/net/ethernet/intel/e1000/e1000_main.c
713
data = kmalloc(eeprom.len, GFP_KERNEL);
drivers/net/ethernet/intel/e1000e/ethtool.c
576
eeprom_buff = kmalloc(max_len, GFP_KERNEL);
drivers/net/ethernet/intel/i40e/i40e_main.c
15223
buf = kmalloc(INFO_STRING_LEN, GFP_KERNEL);
drivers/net/ethernet/intel/igb/igb_ethtool.c
805
eeprom_buff = kmalloc(max_len, GFP_KERNEL);
drivers/net/ethernet/intel/igc/igc_ethtool.c
532
eeprom_buff = kmalloc(max_len, GFP_KERNEL);
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c
224
buf_cpy = kmalloc(buf_size, GFP_KERNEL);
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
1108
eeprom_buff = kmalloc(max_len, GFP_KERNEL);
drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
764
buffer = kmalloc(IXGBE_FCBUFF_MIN, GFP_KERNEL);
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
369
return kmalloc(pool->frag_size, GFP_ATOMIC);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
2318
resp = kmalloc(size, GFP_KERNEL);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
2477
req = kmalloc(buf_size, GFP_KERNEL);
drivers/net/ethernet/marvell/prestera/prestera_pci.c
489
fw->evt_msg = kmalloc(PRESTERA_MSG_MAX_SIZE, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlx4/cq.c
297
init_ents = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlx4/en_tx.c
84
ring->bounce_buf = kmalloc(MLX4_TX_BOUNCE_BUFFER_SIZE,
drivers/net/ethernet/mellanox/mlx4/reset.c
72
hca_header = kmalloc(256, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
4444
rrule->mirr_mbox = kmalloc(mbox_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlx5/core/health.c
903
name = kmalloc(64, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/i2c.c
344
tran_buf = kmalloc(mlxsw_i2c->block_size + MLXSW_I2C_ADDR_BUF_SIZE,
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
248
spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
340
spvmlr_pl = kmalloc(MLXSW_REG_SPVMLR_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
4535
spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
906
spvm_pl = kmalloc(MLXSW_REG_SPVM_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c
113
iedr_pl = kmalloc(MLXSW_REG_IEDR_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c
450
peabfe_pl = kmalloc(MLXSW_REG_PEABFE_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c
489
peabfe_pl = kmalloc(MLXSW_REG_PEABFE_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c
1621
sbsr_pl = kmalloc(MLXSW_REG_SBSR_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c
1700
sbsr_pl = kmalloc(MLXSW_REG_SBSR_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
1007
match_value->value = kmalloc(match_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
1016
action_value->value = kmalloc(action_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
1025
action_value->value = kmalloc(action_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
138
match_value->value = kmalloc(match_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
144
action_value->value = kmalloc(action_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
422
match_value->value = kmalloc(match_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
442
match_value->value = kmalloc(match_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
448
action_value->value = kmalloc(action_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
989
match_value->value = kmalloc(match_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
998
match_value->value = kmalloc(match_value->value_size, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
1080
reiv_pl = kmalloc(MLXSW_REG_REIV_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
760
reiv_pl = kmalloc(MLXSW_REG_REIV_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_pgt.c
190
smid2_pl = kmalloc(MLXSW_REG_SMID2_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
2581
rauhtd_pl = kmalloc(MLXSW_REG_RAUHTD_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
4828
ratrad_pl = kmalloc(MLXSW_REG_RATRAD_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
1655
sfd_pl = kmalloc(MLXSW_REG_SFD_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
1685
sfd_pl = kmalloc(MLXSW_REG_SFD_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
1788
sfd_pl = kmalloc(MLXSW_REG_SFD_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
1833
sfd_pl = kmalloc(MLXSW_REG_SFD_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
1899
sfd_pl = kmalloc(MLXSW_REG_SFD_LEN, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
3366
sfn_pl = kmalloc(MLXSW_REG_SFN_LEN, GFP_KERNEL);
drivers/net/ethernet/micrel/ks8842.c
937
tx_ctl->buf = kmalloc(DMA_BUFFER_SIZE, GFP_KERNEL);
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
662
hdr = kmalloc(bytes, GFP_KERNEL);
drivers/net/ethernet/natsemi/natsemi.c
2672
eebuf = kmalloc(np->eeprom_size, GFP_KERNEL);
drivers/net/ethernet/netronome/nfp/flower/offload.c
557
flow_pay->unmasked_data = kmalloc(key_layer->key_size, GFP_KERNEL);
drivers/net/ethernet/netronome/nfp/flower/offload.c
562
flow_pay->mask_data = kmalloc(key_layer->key_size, GFP_KERNEL);
drivers/net/ethernet/netronome/nfp/flower/offload.c
566
flow_pay->action_data = kmalloc(NFP_FL_MAX_A_SIZ, GFP_KERNEL);
drivers/net/ethernet/netronome/nfp/nfp_devlink.c
253
buf = kmalloc(strlen(vendor) + strlen(part) + strlen(sn) + 1,
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
1389
entry = kmalloc(sizeof(*entry) + len, GFP_ATOMIC);
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c
181
db = kmalloc(*cpp_size + 1, GFP_KERNEL);
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c
526
chunks[i].chunk = kmalloc(chunk_size,
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c
567
desc = kmalloc(desc_sz, GFP_KERNEL);
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c
117
rtsymtab = kmalloc(symtab_size, GFP_KERNEL);
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c
124
cache = kmalloc(size, GFP_KERNEL);
drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c
180
kmalloc(adapter->mdump.md_template_size, GFP_KERNEL);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
119
*data = kmalloc(size, GFP_ATOMIC);
drivers/net/ethernet/qlogic/qla3xxx.c
2823
tx_cb->oal = kmalloc(512, GFP_KERNEL);
drivers/net/ethernet/qualcomm/qca_spi.c
828
qca->rx_buffer = kmalloc(qca->buffer_size, GFP_KERNEL);
drivers/net/ethernet/renesas/ravb_main.c
464
priv->tx_align[q] = kmalloc(DPTR_ALIGN * priv->num_tx_ring[q] +
drivers/net/ethernet/seeq/ether3.c
223
unsigned char *buffer = kmalloc(RX_END, GFP_KERNEL);
drivers/net/ethernet/sfc/ef10.c
1329
nic_data->mc_stats = kmalloc(efx->num_mac_stats * sizeof(__le64),
drivers/net/ethernet/sfc/ef100_nic.c
643
__le64 *mc_stats = kmalloc(array_size(efx->num_mac_stats, sizeof(__le64)), GFP_ATOMIC);
drivers/net/ethernet/sfc/efx_reflash.c
373
buf = kmalloc(chunk, GFP_KERNEL);
drivers/net/ethernet/sfc/falcon/falcon.c
1798
region = kmalloc(FALCON_NVCONFIG_END, GFP_KERNEL);
drivers/net/ethernet/sfc/mcdi.c
988
async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4),
drivers/net/ethernet/sfc/siena/mcdi.c
992
async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4),
drivers/net/ethernet/sis/sis900.c
2180
eebuf = kmalloc(sis_priv->eeprom_size, GFP_KERNEL);
drivers/net/ethernet/xscale/ixp4xx_eth.c
1132
if (!(buff = kmalloc(RX_BUFF_SIZE, GFP_KERNEL)))
drivers/net/ethernet/xscale/ixp4xx_eth.c
888
if (!(mem = kmalloc(bytes, GFP_ATOMIC))) {
drivers/net/hamradio/6pack.c
533
xbuff = kmalloc(len + 4, GFP_KERNEL);
drivers/net/hamradio/mkiss.c
374
xbuff = kmalloc(len + 4, GFP_ATOMIC);
drivers/net/hamradio/mkiss.c
375
rbuff = kmalloc(len + 4, GFP_ATOMIC);
drivers/net/hamradio/mkiss.c
594
if ((ax->rbuff = kmalloc(len + 4, GFP_KERNEL)) == NULL)
drivers/net/hamradio/mkiss.c
597
if ((ax->xbuff = kmalloc(len + 4, GFP_KERNEL)) == NULL)
drivers/net/ieee802154/adf7242.c
544
u8 *buf = kmalloc(PRAM_PAGESIZE, GFP_KERNEL);
drivers/net/ieee802154/atusb.c
792
build = kmalloc(ATUSB_BUILD_SIZE + 1, GFP_KERNEL);
drivers/net/macsec.c
580
tmp = kmalloc(size, GFP_ATOMIC);
drivers/net/netconsole.c
1038
new_buf = kmalloc(len + 1, GFP_KERNEL);
drivers/net/netdevsim/bpf.c
357
nmap->entry[idx].key = kmalloc(offmap->map.key_size,
drivers/net/netdevsim/bpf.c
361
nmap->entry[idx].value = kmalloc(offmap->map.value_size,
drivers/net/netdevsim/dev.c
155
buf = kmalloc(buf_len, GFP_ATOMIC);
drivers/net/netdevsim/dev.c
193
fa_cookie = kmalloc(sizeof(*fa_cookie) + cookie_len,
drivers/net/netdevsim/dev.c
86
dummy_data = kmalloc(NSIM_DEV_DUMMY_REGION_SIZE, GFP_KERNEL);
drivers/net/netdevsim/health.c
74
binary = kmalloc(binary_len, GFP_KERNEL | __GFP_NOWARN);
drivers/net/ovpn/crypto_aead.c
174
tmp = kmalloc(ovpn_aead_crypto_tmp_size(ks->encrypt, nfrags),
drivers/net/ovpn/crypto_aead.c
279
tmp = kmalloc(ovpn_aead_crypto_tmp_size(ks->decrypt, nfrags),
drivers/net/phy/sfp.c
742
msgs[0].buf = kmalloc(1 + len, GFP_KERNEL);
drivers/net/slip/slip.c
157
rbuff = kmalloc(len + 4, GFP_KERNEL);
drivers/net/slip/slip.c
160
xbuff = kmalloc(len + 4, GFP_KERNEL);
drivers/net/slip/slip.c
164
cbuff = kmalloc(len + 4, GFP_KERNEL);
drivers/net/slip/slip.c
239
xbuff = kmalloc(len + 4, GFP_ATOMIC);
drivers/net/slip/slip.c
240
rbuff = kmalloc(len + 4, GFP_ATOMIC);
drivers/net/slip/slip.c
242
cbuff = kmalloc(len + 4, GFP_ATOMIC);
drivers/net/usb/catc.c
786
macbuf = kmalloc(ETH_ALEN, GFP_KERNEL);
drivers/net/usb/catc.c
864
buf = kmalloc(4, GFP_KERNEL);
drivers/net/usb/ch9200.c
117
buf = kmalloc(size, GFP_KERNEL);
drivers/net/usb/cx82310_eth.c
172
dev->partial_data = (unsigned long) kmalloc(dev->hard_mtu, GFP_KERNEL);
drivers/net/usb/hso.c
2779
u8 *config_data = kmalloc(17, GFP_KERNEL);
drivers/net/usb/ipheth.c
615
dev->ctrl_buf = kmalloc(IPHETH_CTRL_BUF_SIZE, GFP_KERNEL);
drivers/net/usb/kalmia.c
108
usb_buf = kmalloc(buflen, GFP_DMA | GFP_KERNEL);
drivers/net/usb/lan78xx.c
4729
buf = kmalloc(maxp, GFP_KERNEL);
drivers/net/usb/lan78xx.c
607
buf = kmalloc(sizeof(u32), GFP_KERNEL);
drivers/net/usb/lan78xx.c
637
buf = kmalloc(sizeof(u32), GFP_KERNEL);
drivers/net/usb/net1080.c
135
u16 *vp = kmalloc(sizeof (u16));
drivers/net/usb/r8152.c
1368
tmp = kmalloc(size, GFP_KERNEL);
drivers/net/usb/r8152.c
2512
tp->intr_buff = kmalloc(INTBUFSIZE, GFP_KERNEL);
drivers/net/usb/rndis_host.c
311
u.buf = kmalloc(CONTROL_BUFFER_SIZE, GFP_KERNEL);
drivers/net/usb/rtl8150.c
896
dev->intr_buff = kmalloc(INTBUFSIZE, GFP_KERNEL);
drivers/net/usb/usbnet.c
2082
buf = kmalloc(size, GFP_NOIO);
drivers/net/usb/usbnet.c
244
buf = kmalloc(maxp, GFP_KERNEL);
drivers/net/virtio_net.c
5008
reply = kmalloc(res_size, GFP_KERNEL);
drivers/net/vmxnet3/vmxnet3_drv.c
2783
buf = kmalloc(sz, GFP_ATOMIC);
drivers/net/wan/hdlc.c
285
dev_to_hdlc(dev)->state = kmalloc(size, GFP_KERNEL);
drivers/net/wan/hdlc_ppp.c
375
out = kmalloc(len, GFP_ATOMIC);
drivers/net/wan/ixp4xx_hss.c
1004
buff = kmalloc(RX_SIZE, GFP_KERNEL);
drivers/net/wan/ixp4xx_hss.c
866
mem = kmalloc(bytes, GFP_ATOMIC);
drivers/net/wireless/admtek/adm8211.c
126
priv->eeprom = kmalloc(priv->eeprom_len, GFP_KERNEL);
drivers/net/wireless/admtek/adm8211.c
1733
priv->rx_buffers = kmalloc(sizeof(*priv->rx_buffers) * priv->rx_ring_size +
drivers/net/wireless/ath/ar5523/ar5523.c
1523
fwbuf = kmalloc(AR5523_MAX_FWBLOCK_SIZE, GFP_KERNEL);
drivers/net/wireless/ath/ath10k/core.c
1918
data = kmalloc(data_len, GFP_KERNEL);
drivers/net/wireless/ath/ath10k/debug.c
473
buf = kmalloc(buf_len, GFP_KERNEL);
drivers/net/wireless/ath/ath10k/mac.c
5683
arvif->beacon_buf = kmalloc(IEEE80211_MAX_FRAME_LEN,
drivers/net/wireless/ath/ath10k/p2p.c
98
ie = kmalloc(len, GFP_ATOMIC);
drivers/net/wireless/ath/ath10k/pci.c
3050
caldata = kmalloc(calsize, GFP_KERNEL);
drivers/net/wireless/ath/ath10k/usb.c
525
buf = kmalloc(size, GFP_KERNEL);
drivers/net/wireless/ath/ath11k/dp.c
1094
dp->tx_ring[i].tx_status = kmalloc(size, GFP_KERNEL);
drivers/net/wireless/ath/ath11k/p2p.c
108
ie = kmalloc(len, GFP_ATOMIC);
drivers/net/wireless/ath/ath11k/spectral.c
718
fft_sample = kmalloc(sample_sz, GFP_ATOMIC);
drivers/net/wireless/ath/ath12k/dp.c
1546
dp->tx_ring[i].tx_status = kmalloc(size, GFP_KERNEL);
drivers/net/wireless/ath/ath12k/p2p.c
101
ie = kmalloc(len, GFP_ATOMIC);
drivers/net/wireless/ath/ath6kl/cfg80211.c
2662
buf = kmalloc(ies_len, GFP_KERNEL);
drivers/net/wireless/ath/ath6kl/cfg80211.c
3084
p2p = kmalloc(len, GFP_KERNEL);
drivers/net/wireless/ath/ath6kl/cfg80211.c
3134
mgmt_buf = kmalloc(mgmt_buf_size, GFP_KERNEL);
drivers/net/wireless/ath/ath6kl/cfg80211.c
341
buf = kmalloc(ies_len, GFP_KERNEL);
drivers/net/wireless/ath/ath6kl/cfg80211.c
712
ie = kmalloc(2 + vif->ssid_len + beacon_ie_len, GFP_KERNEL);
drivers/net/wireless/ath/ath6kl/debug.c
1145
ar->debug.roam_tbl = kmalloc(len, GFP_ATOMIC);
drivers/net/wireless/ath/ath6kl/debug.c
794
buf = kmalloc(buf_len, GFP_KERNEL);
drivers/net/wireless/ath/ath6kl/main.c
279
buf = kmalloc(ATH6KL_FWLOG_PAYLOAD_SIZE, GFP_KERNEL);
drivers/net/wireless/ath/ath6kl/usb.c
911
buf = kmalloc(size, GFP_KERNEL);
drivers/net/wireless/ath/carl9170/usb.c
471
buf = kmalloc(ar->fw.rx_size, gfp);
drivers/net/wireless/ath/carl9170/usb.c
500
ibuf = kmalloc(AR9170_USB_EP_CTRL_MAX, GFP_KERNEL);
drivers/net/wireless/ath/carl9170/usb.c
817
buf = kmalloc(4096, GFP_KERNEL);
drivers/net/wireless/ath/wcn36xx/smd.c
1099
p_msg_body = kmalloc(
drivers/net/wireless/ath/wil6210/cfg80211.c
1816
buf = kmalloc(ies1_len + ies2_len, GFP_KERNEL);
drivers/net/wireless/ath/wil6210/debugfs.c
1940
char *kbuf = kmalloc(len + 1, GFP_KERNEL);
drivers/net/wireless/ath/wil6210/debugfs.c
2099
char *kbuf = kmalloc(len + 1, GFP_KERNEL);
drivers/net/wireless/ath/wil6210/debugfs.c
2202
text = kmalloc(text_size, GFP_KERNEL);
drivers/net/wireless/ath/wil6210/debugfs.c
642
buf = kmalloc(aligned_count, GFP_KERNEL);
drivers/net/wireless/ath/wil6210/debugfs.c
782
char *kbuf = kmalloc(len + 1, GFP_KERNEL);
drivers/net/wireless/ath/wil6210/debugfs.c
879
char *kbuf = kmalloc(len + 1, GFP_KERNEL);
drivers/net/wireless/ath/wil6210/wmi.c
1962
evt = kmalloc(ALIGN(offsetof(struct pending_wmi_event,
drivers/net/wireless/ath/wil6210/wmi.c
3642
cmd = kmalloc(total, GFP_KERNEL);
drivers/net/wireless/atmel/at76c50x-usb.c
1268
block = kmalloc(FW_BLOCK_SIZE, GFP_KERNEL);
drivers/net/wireless/atmel/at76c50x-usb.c
2258
priv->bulk_out_buffer = kmalloc(buffer_size, GFP_KERNEL);
drivers/net/wireless/atmel/at76c50x-usb.c
387
block = kmalloc(FW_BLOCK_SIZE, GFP_KERNEL);
drivers/net/wireless/atmel/at76c50x-usb.c
393
dfu_state = kmalloc(sizeof(u8), GFP_KERNEL);
drivers/net/wireless/atmel/at76c50x-usb.c
557
op_mode = kmalloc(1, GFP_NOIO);
drivers/net/wireless/atmel/at76c50x-usb.c
688
stat_buf = kmalloc(40, GFP_NOIO);
drivers/net/wireless/atmel/at76c50x-usb.c
728
cmd_buf = kmalloc(total_size, GFP_KERNEL);
drivers/net/wireless/broadcom/b43/main.c
1910
buf = kmalloc(4096, GFP_ATOMIC);
drivers/net/wireless/broadcom/b43/phy_g.c
2361
tab = kmalloc(64, GFP_KERNEL);
drivers/net/wireless/broadcom/b43legacy/main.c
1072
dest_data = kmalloc(src_size, GFP_ATOMIC);
drivers/net/wireless/broadcom/b43legacy/phy.c
1999
dyn_tssi2dbm = kmalloc(64, GFP_KERNEL);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
161
buf = kmalloc(buflen, GFP_KERNEL);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
503
data = kmalloc(data_len, GFP_KERNEL);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
2877
c->buf = kmalloc(c->bufsize, GFP_ATOMIC);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3308
ram_cmp = kmalloc(MEMBLOCK, GFP_KERNEL);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
3546
bus->rxbuf = kmalloc(value, GFP_ATOMIC);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
752
tmpbuf = kmalloc(buflen, GFP_ATOMIC);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
901
bulkchunk = kmalloc(TRX_RDL_CHUNK, GFP_ATOMIC);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c
24632
buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
drivers/net/wireless/intel/ipw2x00/ipw2100.c
2316
priv->snapshot[i] = kmalloc(0x1000, GFP_ATOMIC);
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1221
error = kmalloc(size_add(struct_size(error, elem, elem_len),
drivers/net/wireless/intel/iwlegacy/3945-mac.c
2475
kmalloc(sizeof(struct il3945_scan_cmd) + IL_MAX_SCAN_SIZE,
drivers/net/wireless/intel/iwlegacy/3945-rs.c
809
buff = kmalloc(1024, GFP_KERNEL);
drivers/net/wireless/intel/iwlegacy/4965-mac.c
1228
*buf = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlegacy/4965-mac.c
875
kmalloc(sizeof(struct il_scan_cmd) + IL_MAX_SCAN_SIZE,
drivers/net/wireless/intel/iwlegacy/4965-rs.c
2576
buff = kmalloc(1024, GFP_KERNEL);
drivers/net/wireless/intel/iwlegacy/4965-rs.c
2680
buff = kmalloc(1024, GFP_KERNEL);
drivers/net/wireless/intel/iwlegacy/common.c
3037
txq->cmd[i] = kmalloc(len, GFP_KERNEL);
drivers/net/wireless/intel/iwlegacy/debug.c
325
buf = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlegacy/debug.c
401
buf = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
195
buf = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
87
buf = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/dvm/eeprom.c
939
e = kmalloc(sz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/dvm/lib.c
1009
pattern_cmd = kmalloc(cmd.len[0], GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/dvm/main.c
1883
*buf = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/dvm/rs.c
3092
buff = kmalloc(1024, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/dvm/rs.c
3179
buff = kmalloc(1024, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/dvm/scan.c
646
priv->scan_cmd = kmalloc(scan_cmd_size, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
3273
fwrt->dump.d3_debug_data = kmalloc(mac_cfg->base->d3_debug_data_length,
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
258
data = kmalloc(data_size, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
47
data = kmalloc(*data_size, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
1728
drv->fw.dbg.dest_tlv = kmalloc(dbg_dest_size, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/iwl-io.c
285
*buf = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/iwl-io.c
373
*buf = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mld/nan.c
99
data = kmalloc(conf->extra_nan_attrs_len +
drivers/net/wireless/intel/iwlwifi/mld/scan.c
2176
mld->scan.cmd = kmalloc(scan_cmd_size, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
642
pattern_cmd = kmalloc(cmd.len[0], GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
1059
buff = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
417
buff = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
739
buf = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c
1438
entry = kmalloc(sizeof(*entry) + lci_len + civic_len, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mvm/nvm.c
319
nvm_buffer = kmalloc(mvm->trans->mac_cfg->base->eeprom_size,
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
1454
mvm->scan_cmd = kmalloc(scan_size, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mvm/rs.c
3772
buff = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mvm/rs.c
3871
buff = kmalloc(1024, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/mvm/rs.c
3950
buff = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/intel/iwlwifi/pcie/utils.c
37
buf = kmalloc(alloc_size, GFP_ATOMIC);
drivers/net/wireless/intersil/p54/eeprom.c
428
priv->curve_data = kmalloc(sizeof(*priv->curve_data) + cd_len,
drivers/net/wireless/intersil/p54/eeprom.c
677
priv->output_limit = kmalloc(data[1] *
drivers/net/wireless/intersil/p54/eeprom.c
712
dst = kmalloc(sizeof(*dst) + payload_len, GFP_KERNEL);
drivers/net/wireless/intersil/p54/p54usb.c
512
tmp = buf = kmalloc(P54U_FW_BLOCK, GFP_KERNEL);
drivers/net/wireless/intersil/p54/p54usb.c
636
buf = kmalloc(512, GFP_KERNEL);
drivers/net/wireless/marvell/libertas/if_usb.c
255
cardp->ep_out_buf = kmalloc(MRVDRV_ETH_TX_PACKET_BUFFER_SIZE, GFP_KERNEL);
drivers/net/wireless/marvell/libertas_tf/if_usb.c
210
cardp->ep_out_buf = kmalloc(MRVDRV_ETH_TX_PACKET_BUFFER_SIZE,
drivers/net/wireless/marvell/mwifiex/scan.c
2898
priv->curr_bcn_buf = kmalloc(curr_bss->beacon_buf_size,
drivers/net/wireless/marvell/mwl8k.c
656
cmd = kmalloc(sizeof(*cmd) + 256, GFP_KERNEL);
drivers/net/wireless/marvell/mwl8k.c
698
buffer = kmalloc(1024, GFP_KERNEL);
drivers/net/wireless/mediatek/mt76/mt7603/mcu.c
321
req = kmalloc(len, GFP_KERNEL);
drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c
259
buf = kmalloc(max_payload, GFP_KERNEL);
drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
135
buff = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c
138
buff = kmalloc(bufsz, GFP_KERNEL);
drivers/net/wireless/mediatek/mt7601u/eeprom.c
358
eeprom = kmalloc(MT7601U_EEPROM_SIZE, GFP_KERNEL);
drivers/net/wireless/mediatek/mt7601u/init.c
177
vals = kmalloc(sizeof(*vals) * N_WCIDS * 2, GFP_KERNEL);
drivers/net/wireless/mediatek/mt7601u/init.c
206
vals = kmalloc(sizeof(*vals) * N_WCIDS * 2, GFP_KERNEL);
drivers/net/wireless/microchip/wilc1000/hif.c
1835
wid.val = kmalloc(wid.size, GFP_KERNEL);
drivers/net/wireless/microchip/wilc1000/hif.c
189
search_ssid_vals = kmalloc(valuesize + 1, GFP_KERNEL);
drivers/net/wireless/microchip/wilc1000/hif.c
1921
wid.val = kmalloc(wid.size, GFP_KERNEL);
drivers/net/wireless/microchip/wilc1000/hif.c
887
wid.val = kmalloc(wid.size, GFP_KERNEL);
drivers/net/wireless/microchip/wilc1000/hif.c
921
wid.val = kmalloc(wid.size, GFP_KERNEL);
drivers/net/wireless/microchip/wilc1000/hif.c
989
wid.val = kmalloc(wid.size, GFP_KERNEL);
drivers/net/wireless/microchip/wilc1000/wlan.c
1259
dma_buffer = kmalloc(blksz, GFP_KERNEL);
drivers/net/wireless/microchip/wilc1000/wlan.c
1779
wilc->tx_buffer = kmalloc(WILC_TX_BUFF_SIZE, GFP_KERNEL);
drivers/net/wireless/microchip/wilc1000/wlan.c
1787
wilc->rx_buffer = kmalloc(WILC_RX_BUFF_SIZE, GFP_KERNEL);
drivers/net/wireless/purelifi/plfxlc/firmware.c
115
fpga_dmabuff = kmalloc(PLF_FPGA_STATE_LEN, GFP_KERNEL);
drivers/net/wireless/purelifi/plfxlc/firmware.c
242
dma_buffer = kmalloc(PLF_SERIAL_LEN, GFP_KERNEL);
drivers/net/wireless/purelifi/plfxlc/firmware.c
65
fpga_dmabuff = kmalloc(PLF_FPGA_STATUS_LEN, GFP_KERNEL);
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c
43
rtlpriv->rtlhal.pfirmware = kmalloc(0x4000, GFP_KERNEL);
drivers/net/wireless/realtek/rtlwifi/rtl8192du/sw.c
147
rtlpriv->rtlhal.pfirmware = kmalloc(0x8000, GFP_KERNEL);
drivers/net/wireless/realtek/rtw88/efuse.c
156
phy_map = kmalloc(phy_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw88/efuse.c
157
log_map = kmalloc(log_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw88/fw.c
2303
buf = kmalloc(size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw88/wow.c
553
pno_req->channels = kmalloc(size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/coex.c
2565
tlv_v7 = kmalloc(len, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/coex.c
2579
tbl = kmalloc(n, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/coex.c
2671
v7 = kmalloc(sz, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/coex.c
2687
v1 = kmalloc(sz, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/debug.c
202
char *buf __free(kfree) = kmalloc(count + 1, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/debug.c
3453
bin = kmalloc(num, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/efuse.c
299
phy_map = kmalloc(phy_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/efuse.c
300
log_map = kmalloc(full_log_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/efuse.c
302
dav_phy_map = kmalloc(dav_phy_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/efuse.c
360
phycap_map = kmalloc(phycap_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/efuse_be.c
317
log_map = kmalloc(efuse_block->size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/efuse_be.c
355
phy_map = kmalloc(phy_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/efuse_be.c
357
dav_phy_map = kmalloc(dav_phy_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/efuse_be.c
412
phycap_map = kmalloc(phycap_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/wow.c
659
rekey_conf = kmalloc(sz, GFP_KERNEL);
drivers/net/wireless/rsi/rsi_91x_sdio.c
573
temp_buf = kmalloc(block_size, GFP_KERNEL);
drivers/net/wireless/rsi/rsi_91x_usb.c
186
buf = kmalloc(RSI_USB_CTRL_BUF_SIZE, GFP_KERNEL);
drivers/net/wireless/rsi/rsi_91x_usb.c
231
usb_reg_buf = kmalloc(RSI_USB_CTRL_BUF_SIZE, GFP_KERNEL);
drivers/net/wireless/rsi/rsi_91x_usb.c
639
rsi_dev->tx_buffer = kmalloc(2048, GFP_KERNEL);
drivers/net/wireless/silabs/wfx/fwio.c
236
buf = kmalloc(BOOTLOADER_LABEL_SIZE + 1, GFP_KERNEL);
drivers/net/wireless/silabs/wfx/hif_tx.c
196
struct wfx_hif_cnf_read_mib *reply = kmalloc(buf_len, GFP_KERNEL);
drivers/net/wireless/silabs/wfx/hwio.c
187
__le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL);
drivers/net/wireless/silabs/wfx/hwio.c
203
__le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL);
drivers/net/wireless/silabs/wfx/hwio.c
23
__le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL);
drivers/net/wireless/silabs/wfx/hwio.c
40
__le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL);
drivers/net/wireless/st/cw1200/fwio.c
151
buf = kmalloc(DOWNLOAD_BLOCK_SIZE, GFP_KERNEL | GFP_DMA);
drivers/net/wireless/st/cw1200/wsm.c
1778
buf->begin = kmalloc(FWLOAD_BLOCK_SIZE, GFP_KERNEL | GFP_DMA);
drivers/net/wireless/ti/wl1251/boot.c
326
buf = kmalloc(CHUNK_SIZE, GFP_KERNEL);
drivers/net/wireless/ti/wl18xx/debugfs.c
189
buf = kmalloc(len, GFP_KERNEL);
drivers/net/wireless/ti/wlcore/boot.c
132
static_data = kmalloc(len, GFP_KERNEL);
drivers/net/wireless/ti/wlcore/boot.c
180
chunk = kmalloc(CHUNK_SIZE, GFP_KERNEL);
drivers/net/wireless/ti/wlcore/debugfs.c
1051
buf = kmalloc(bytes, GFP_KERNEL);
drivers/net/wireless/ti/wlcore/debugfs.c
424
buf = kmalloc(DRIVER_STATE_BUF_LEN, GFP_KERNEL);
drivers/net/wireless/ti/wlcore/main.c
6456
wl->mbox = kmalloc(wl->mbox_size, GFP_KERNEL | GFP_DMA);
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
142
p = kmalloc(MAX_TRANSFER_SIZE, GFP_KERNEL);
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1893
req = kmalloc(req_len, GFP_KERNEL);
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
331
buf = kmalloc(len, GFP_KERNEL);
drivers/net/xen-netback/xenbus.c
555
node = kmalloc(maxlen, GFP_KERNEL);
drivers/net/xen-netback/xenbus.c
606
node = kmalloc(maxlen, GFP_KERNEL);
drivers/nfc/nfcmrvl/usb.c
117
buf = kmalloc(size, mem_flags);
drivers/ntb/hw/amd/ntb_hw_amd.c
862
buf = kmalloc(buf_size, GFP_KERNEL);
drivers/ntb/hw/idt/ntb_hw_idt.c
2347
strbuf = kmalloc(size, GFP_KERNEL);
drivers/ntb/hw/intel/ntb_hw_gen1.c
508
buf = kmalloc(buf_size, GFP_KERNEL);
drivers/ntb/hw/intel/ntb_hw_gen3.c
273
buf = kmalloc(buf_size, GFP_KERNEL);
drivers/ntb/hw/intel/ntb_hw_gen4.c
244
buf = kmalloc(buf_size, GFP_KERNEL);
drivers/ntb/test/ntb_perf.c
1192
buf = kmalloc(buf_size, GFP_KERNEL);
drivers/ntb/test/ntb_perf.c
1270
buf = kmalloc(PERF_BUF_LEN, GFP_KERNEL);
drivers/ntb/test/ntb_tool.c
650
buf = kmalloc(buf_size, GFP_KERNEL);
drivers/ntb/test/ntb_tool.c
741
buf = kmalloc(size, GFP_KERNEL);
drivers/ntb/test/ntb_tool.c
778
buf = kmalloc(size, GFP_KERNEL);
drivers/ntb/test/ntb_tool.c
884
buf = kmalloc(buf_size, GFP_KERNEL);
drivers/nvme/common/auth.c
677
hmac_data = kmalloc(/* output length */ 2 +
drivers/nvme/host/auth.c
267
chap->ctrl_key = kmalloc(dhvlen, GFP_KERNEL);
drivers/nvme/host/auth.c
444
challenge = kmalloc(chap->hash_len, GFP_KERNEL);
drivers/nvme/host/auth.c
508
challenge = kmalloc(chap->hash_len, GFP_KERNEL);
drivers/nvme/host/auth.c
591
chap->sess_key = kmalloc(chap->sess_key_len, GFP_KERNEL);
drivers/nvme/host/fc.c
387
newrec = kmalloc((sizeof(*newrec) + template->local_priv_sz),
drivers/nvme/host/fc.c
703
newrec = kmalloc((sizeof(*newrec) + lport->ops->remote_priv_sz),
drivers/nvme/host/tcp.c
1867
queue->pdu = kmalloc(rcv_pdu_size, GFP_KERNEL);
drivers/nvme/target/auth.c
310
challenge = kmalloc(shash_len, GFP_KERNEL);
drivers/nvme/target/auth.c
383
challenge = kmalloc(shash_len, GFP_KERNEL);
drivers/nvme/target/fabrics-cmd-auth.c
154
response = kmalloc(data->hl, GFP_KERNEL);
drivers/nvme/target/fabrics-cmd-auth.c
271
d = kmalloc(tl, GFP_KERNEL);
drivers/nvme/target/fabrics-cmd-auth.c
430
req->sq->dhchap_c1 = kmalloc(data->hl, GFP_KERNEL);
drivers/nvme/target/fabrics-cmd-auth.c
528
d = kmalloc(al, GFP_KERNEL);
drivers/nvme/target/pci-epf.c
1004
buf = kmalloc(length, GFP_KERNEL);
drivers/nvme/target/pci-epf.c
1152
seg->buf = kmalloc(seg->length, GFP_KERNEL);
drivers/nvmem/rmem.c
98
buf = kmalloc(header.size, GFP_KERNEL);
drivers/of/dynamic.c
1004
prop.value = kmalloc(prop.length, GFP_KERNEL);
drivers/of/module.c
70
str = kmalloc(size, GFP_KERNEL);
drivers/of/overlay.c
1038
new_fdt = kmalloc(size + FDT_ALIGN_SIZE, GFP_KERNEL);
drivers/of/unittest.c
2123
void *unittest_data __free(kfree) = kmalloc(size + FDT_ALIGN_SIZE, GFP_KERNEL);
drivers/of/unittest.c
296
buf = kmalloc(buf_size, GFP_KERNEL);
drivers/parisc/ccio-dma.c
1384
char *name = kmalloc(14, GFP_KERNEL);
drivers/parisc/dino.c
520
res->name = kmalloc(size+1, GFP_KERNEL);
drivers/parisc/dino.c
807
res->name = kmalloc(64, GFP_KERNEL);
drivers/parisc/eisa_eeprom.c
34
tmp = kmalloc(count, GFP_KERNEL);
drivers/parisc/eisa_enumerator.c
329
if (NULL == (board = kmalloc(8, GFP_KERNEL))) {
drivers/parport/daisy.c
175
deviceid = kmalloc(1024, GFP_KERNEL);
drivers/parport/daisy.c
498
deviceid = kmalloc(1024, GFP_KERNEL);
drivers/parport/probe.c
55
char *txt = kmalloc(strlen(str)+1, GFP_KERNEL);
drivers/pci/controller/pci-hyperv.c
3058
buffer = kmalloc(bufferlen, GFP_ATOMIC);
drivers/pci/controller/pci-hyperv.c
3070
buffer = kmalloc(bytes_recvd, GFP_ATOMIC);
drivers/pci/controller/pci-hyperv.c
3610
pkt = kmalloc(sizeof(*pkt) + size_res, GFP_KERNEL);
drivers/pci/hotplug/cpqphp_sysfs.c
140
dbg->data = kmalloc(MAX_OUTPUT, GFP_KERNEL);
drivers/pci/p2pdma.c
883
closest_pdevs = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/pci/slot.c
145
new_name = kmalloc(len, GFP_KERNEL);
drivers/pci/vgaarb.c
1081
lbuf = kmalloc(1024, GFP_KERNEL);
drivers/pci/vpd.c
353
buf = kmalloc(len, GFP_KERNEL);
drivers/pcmcia/cistpl.c
320
cis = kmalloc(sizeof(struct cis_cache_entry) + len, GFP_KERNEL);
drivers/pcmcia/cistpl.c
380
buf = kmalloc(256, GFP_KERNEL);
drivers/pcmcia/cistpl.c
419
s->fake_cis = kmalloc(len, GFP_KERNEL);
drivers/pcmcia/pcmcia_cis.c
42
buf = kmalloc(256, GFP_KERNEL);
drivers/perf/arm_pmuv3.c
1364
events_cpu->branch_stack = kmalloc(size, GFP_KERNEL);
drivers/platform/chrome/cros_ec_lightbar.c
104
msg = kmalloc(sizeof(*msg) + len, GFP_KERNEL);
drivers/platform/chrome/cros_ec_proto.c
301
msg = kmalloc(sizeof(*msg) + sizeof(*rwsig_action), GFP_KERNEL);
drivers/platform/chrome/cros_ec_proto.c
502
msg = kmalloc(sizeof(*msg) + max(sizeof(*rver), sizeof(*pver)),
drivers/platform/chrome/cros_ec_sysfs.c
123
msg = kmalloc(sizeof(*msg) + EC_HOST_PARAM_SIZE, GFP_KERNEL);
drivers/platform/chrome/cros_ec_sysfs.c
208
msg = kmalloc(sizeof(*msg) + sizeof(*resp), GFP_KERNEL);
drivers/platform/chrome/cros_ec_sysfs.c
243
msg = kmalloc(sizeof(*msg) + EC_HOST_PARAM_SIZE, GFP_KERNEL);
drivers/platform/chrome/cros_ec_sysfs.c
280
msg = kmalloc(sizeof(*msg) + EC_HOST_PARAM_SIZE, GFP_KERNEL);
drivers/platform/chrome/cros_ec_sysfs.c
62
msg = kmalloc(sizeof(*msg) + sizeof(*param), GFP_KERNEL);
drivers/platform/chrome/cros_ec_vbc.c
35
msg = kmalloc(sizeof(*msg) + payload, GFP_KERNEL);
drivers/platform/chrome/cros_ec_vbc.c
78
msg = kmalloc(sizeof(*msg) + para_sz, GFP_KERNEL);
drivers/platform/wmi/marshalling.c
213
str = kmalloc(chars + 1, GFP_KERNEL);
drivers/platform/x86/hp/hp-bioscfg/biosattr-interface.c
134
args = kmalloc(bios_args_size, GFP_KERNEL);
drivers/platform/x86/hp/hp-bioscfg/biosattr-interface.c
66
buffer = kmalloc(buffer_size + 1, GFP_KERNEL);
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
445
new_str = kmalloc(input_len, GFP_KERNEL);
drivers/platform/x86/hp/hp-wmi.c
549
args = kmalloc(bios_args_size, GFP_KERNEL);
drivers/platform/x86/intel/sdsi.c
440
info.buffer = kmalloc(SDSI_SIZE_READ_MSG, GFP_KERNEL);
drivers/platform/x86/intel/speed_select_if/isst_if_common.c
541
cmd_ptr = kmalloc(cb->cmd_size, GFP_KERNEL);
drivers/platform/x86/intel/vsec_tpmi.c
420
buffer = kmalloc(size, GFP_KERNEL);
drivers/platform/x86/uv_sysfs.c
662
pci_top_str = kmalloc(sz, GFP_KERNEL);
drivers/pnp/pnpbios/proc.c
110
buf = kmalloc(65536, GFP_KERNEL);
drivers/pnp/system.c
33
regionid = kmalloc(16, GFP_KERNEL);
drivers/ps3/ps3-vuart.c
437
tmp = kmalloc(bytes, GFP_KERNEL);
drivers/ps3/ps3-vuart.c
513
lb = kmalloc(sizeof(struct list_buffer) + bytes, GFP_KERNEL);
drivers/ps3/ps3-vuart.c
567
lb = kmalloc(sizeof(struct list_buffer) + bytes, GFP_ATOMIC);
drivers/ptp/ptp_chardev.c
621
event = kmalloc(EXTTS_BUFSIZE, GFP_KERNEL);
drivers/rapidio/rio_cm.c
334
cm->rx_buf[i] = kmalloc(RIO_MAX_MSG_SIZE, GFP_KERNEL);
drivers/ras/amd/fmpm.c
667
old = kmalloc(FMPM_MAX_REC_LEN, GFP_KERNEL);
drivers/regulator/core.c
1932
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/rpmsg/qcom_glink_native.c
1061
msg = kmalloc(msglen, GFP_ATOMIC);
drivers/rpmsg/qcom_glink_native.c
952
intent->data = kmalloc(chunk_size + left_size,
drivers/rpmsg/qcom_smd.c
826
channel->bounce_buffer = kmalloc(bb_size, GFP_KERNEL);
drivers/rtc/rtc-pcf2127.c
1400
buf = kmalloc(val_size + 1, GFP_KERNEL);
drivers/s390/block/dcssblk.c
577
local_buf = kmalloc(count + 1, GFP_KERNEL);
drivers/s390/block/dcssblk.c
779
local_buf = kmalloc(count + 1, GFP_KERNEL);
drivers/s390/char/keyboard.c
412
key_map = kmalloc(sizeof(plain_map),
drivers/s390/char/raw3270.c
155
rq->buffer = kmalloc(size, GFP_KERNEL | GFP_DMA);
drivers/s390/char/raw3270.c
864
ascebc = kmalloc(256, GFP_KERNEL);
drivers/s390/char/tape_core.c
485
device->modeset_byte = kmalloc(1, GFP_KERNEL | GFP_DMA);
drivers/s390/char/vmur.c
236
kbuf = kmalloc(reclen, GFP_KERNEL | GFP_DMA);
drivers/s390/cio/airq.c
157
iv->avail = kmalloc(size, GFP_KERNEL);
drivers/s390/cio/device_ops.c
509
util_str = kmalloc(sizeof(chp->desc_fmt3.util_str), GFP_KERNEL);
drivers/s390/crypto/ap_bus.c
1302
newmap = kmalloc(size, GFP_KERNEL);
drivers/s390/crypto/ap_bus.c
601
ap_msg->msg = kmalloc(maxmsgsize, GFP_KERNEL);
drivers/s390/crypto/pkey_api.c
672
protkey = kmalloc(protkeylen, GFP_KERNEL);
drivers/s390/crypto/zcrypt_ccamisc.c
254
cprbmem = kmalloc(len, GFP_KERNEL);
drivers/s390/crypto/zcrypt_ep11misc.c
368
cprb = kmalloc(len, GFP_KERNEL);
drivers/s390/crypto/zcrypt_queue.c
121
zq->reply.msg = kmalloc(reply_buf_size, GFP_KERNEL);
drivers/s390/net/ctcm_sysfs.c
83
sbuf = kmalloc(2048, GFP_KERNEL);
drivers/s390/net/smsgiucv.c
62
buffer = kmalloc(msg->length + 1, GFP_ATOMIC | GFP_DMA);
drivers/sbus/char/envctrl.c
881
pchild->tables = kmalloc(tbls_size, GFP_KERNEL);
drivers/scsi/a2091.c
77
wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len,
drivers/scsi/a3000.c
89
wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len,
drivers/scsi/aacraid/aachba.c
1788
identify_reply = kmalloc(datasize, GFP_KERNEL);
drivers/scsi/aacraid/aachba.c
1836
phys_luns = kmalloc(datasize, GFP_KERNEL);
drivers/scsi/aacraid/commctrl.c
667
p = kmalloc(sg_count[i], GFP_KERNEL);
drivers/scsi/aacraid/commctrl.c
732
p = kmalloc(sg_count[i], GFP_KERNEL);
drivers/scsi/aacraid/commctrl.c
788
p = kmalloc(sg_count[i], GFP_KERNEL);
drivers/scsi/aacraid/commctrl.c
844
p = kmalloc(sg_count[i], GFP_KERNEL);
drivers/scsi/aacraid/commctrl.c
887
p = kmalloc(sg_count[i], GFP_KERNEL);
drivers/scsi/aha152x.c
945
SCpnt->host_scribble = kmalloc(sizeof(struct aha152x_scdata), GFP_ATOMIC);
drivers/scsi/aic7xxx/aic79xx_osm.c
1236
new_name = kmalloc(strlen(buf) + 1, GFP_ATOMIC);
drivers/scsi/aic7xxx/aic7xxx_osm.c
1105
new_name = kmalloc(strlen(buf) + 1, GFP_ATOMIC);
drivers/scsi/aic94xx/aic94xx_sds.c
1000
el = kmalloc(size, GFP_KERNEL);
drivers/scsi/aic94xx/aic94xx_sds.c
252
asd_ha->hw_prof.ue.area = kmalloc(size, GFP_KERNEL);
drivers/scsi/aic94xx/aic94xx_sds.c
871
manuf_sec = kmalloc(size, GFP_KERNEL);
drivers/scsi/arcmsr/arcmsr_hba.c
2281
buf1 = kmalloc(128, GFP_ATOMIC);
drivers/scsi/arcmsr/arcmsr_hba.c
2364
buf1 = kmalloc(128, GFP_ATOMIC);
drivers/scsi/arcmsr/arcmsr_hba.c
3026
ver_addr = kmalloc(ARCMSR_API_DATA_BUFLEN, GFP_ATOMIC);
drivers/scsi/arcmsr/arcmsr_hba.c
3083
ver_addr = kmalloc(ARCMSR_API_DATA_BUFLEN, GFP_ATOMIC);
drivers/scsi/bnx2fc/bnx2fc_hwi.c
1907
hba->task_ctx_dma = kmalloc((task_ctx_arr_sz *
drivers/scsi/bnx2fc/bnx2fc_hwi.c
658
buf1 = buf = kmalloc((num_rq * BNX2FC_RQ_BUF_SZ),
drivers/scsi/bnx2fc/bnx2fc_io.c
304
cmgr->io_bdt_pool[i] = kmalloc(mem_size, GFP_KERNEL);
drivers/scsi/bnx2i/bnx2i_iscsi.c
332
hba->cid_que.cid_que_base = kmalloc(mem_size, GFP_KERNEL);
drivers/scsi/bnx2i/bnx2i_iscsi.c
338
hba->cid_que.conn_cid_tbl = kmalloc(mem_size, GFP_KERNEL);
drivers/scsi/ch.c
248
buffer = kmalloc(512, GFP_KERNEL);
drivers/scsi/ch.c
795
buffer = kmalloc(512, GFP_KERNEL);
drivers/scsi/dc395x.c
3517
ptr = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/scsi/device_handler/scsi_dh_alua.c
652
buff = kmalloc(bufflen, GFP_KERNEL);
drivers/scsi/fnic/fnic_fcs.c
594
buf = kmalloc(len, GFP_ATOMIC);
drivers/scsi/gvp11.c
87
kmalloc(wh->dma_bounce_len, GFP_KERNEL);
drivers/scsi/hpsa.c
7232
driver_version = kmalloc(size, GFP_KERNEL);
drivers/scsi/hpsa.c
7940
h->hba_inquiry_data = kmalloc(HBA_INQUIRY_BYTE_COUNT, GFP_KERNEL);
drivers/scsi/hpsa.c
8334
buf = kmalloc(64, GFP_KERNEL);
drivers/scsi/hpsa.c
9371
kmalloc(((h->ioaccel_maxsg + 1) *
drivers/scsi/hpsa.c
9424
kmalloc(((h->ioaccel_maxsg + 1) *
drivers/scsi/hpsa.c
9502
h->blockFetchTable = kmalloc(((SG_ENTRIES_IN_CMD + 1) *
drivers/scsi/lpfc/lpfc_bsg.c
3119
dataout = kmalloc(total_mem, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
153
buffer = kmalloc(LPFC_DEBUG_TRC_ENTRY_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
1962
debug->buffer = kmalloc(size, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
2012
debug->buffer = kmalloc(size, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
2053
debug->buffer = kmalloc(LPFC_HBQINFO_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
2140
debug->buffer = kmalloc(LPFC_HDWQINFO_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
219
buffer = kmalloc(LPFC_DEBUG_TRC_ENTRY_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
2324
debug->buffer = kmalloc(LPFC_DUMPHBASLIM_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
2366
debug->buffer = kmalloc(LPFC_DUMPHOSTSLIM_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
2530
debug->buffer = kmalloc(LPFC_NODELIST_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
2696
debug->buffer = kmalloc(LPFC_NVMESTAT_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
2838
debug->buffer = kmalloc(LPFC_IOKTIME_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
2965
debug->buffer = kmalloc(LPFC_NVMEIO_TRC_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
3345
debug->buffer = kmalloc(LPFC_PCI_CFG_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
3640
debug->buffer = kmalloc(LPFC_PCI_BAR_RD_BUF_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
4085
debug->buffer = kmalloc(LPFC_QUE_INFO_GET_BUF_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
4297
debug->buffer = kmalloc(LPFC_QUE_ACC_BUF_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
4671
debug->buffer = kmalloc(LPFC_DRB_ACC_BUF_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
4889
debug->buffer = kmalloc(LPFC_CTL_ACC_BUF_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
5082
debug->buffer = kmalloc(LPFC_MBX_ACC_BUF_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
5448
debug->buffer = kmalloc(LPFC_EXT_ACC_BUF_SIZE, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_debugfs.c
670
buffer = kmalloc(1024, GFP_KERNEL);
drivers/scsi/lpfc/lpfc_els.c
8075
rscn_event_data = kmalloc(sizeof(struct lpfc_rscn_event_header) +
drivers/scsi/lpfc/lpfc_init.c
242
lpfc_vpd_data = kmalloc(DMP_VPD_SIZE, GFP_KERNEL);
drivers/scsi/mpi3mr/mpi3mr_app.c
1247
hbd_status = kmalloc(length, GFP_KERNEL);
drivers/scsi/mpt3sas/mpt3sas_config.c
2639
config_page = kmalloc(config_page_sz, GFP_KERNEL);
drivers/scsi/ps3rom.c
355
dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA);
drivers/scsi/qla2xxx/qla_sup.c
1174
data = kmalloc(NPIV_CONFIG_SIZE, GFP_KERNEL);
drivers/scsi/qla2xxx/qla_target.c
4660
cdb = kmalloc(cdb_len, GFP_ATOMIC);
drivers/scsi/scsi.c
456
vpd_buf = kmalloc(sizeof(*vpd_buf) + vpd_len, GFP_KERNEL);
drivers/scsi/scsi.c
673
buf = kmalloc(SCSI_CDL_CHECK_BUF_LEN, GFP_KERNEL);
drivers/scsi/scsi_lib.c
2289
real_buffer = kmalloc(8 + len, GFP_KERNEL);
drivers/scsi/scsi_lib.c
2309
real_buffer = kmalloc(4 + len, GFP_KERNEL);
drivers/scsi/scsi_logging.c
21
return kmalloc(*len, GFP_ATOMIC);
drivers/scsi/scsi_scan.c
1225
result = kmalloc(result_len, GFP_KERNEL);
drivers/scsi/scsi_scan.c
1504
lun_data = kmalloc(length, GFP_KERNEL);
drivers/scsi/scsi_scan.c
161
data = kmalloc(sizeof(*data), GFP_KERNEL);
drivers/scsi/sd.c
3561
buffer = kmalloc(buf_len, GFP_KERNEL);
drivers/scsi/sd.c
3694
buffer = kmalloc(buf_len, GFP_KERNEL);
drivers/scsi/sd.c
3742
buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL);
drivers/scsi/smartpqi/smartpqi_init.c
1034
buffer = kmalloc(buffer_length, GFP_KERNEL);
drivers/scsi/smartpqi/smartpqi_init.c
1085
buffer = kmalloc(buffer_length, GFP_KERNEL);
drivers/scsi/smartpqi/smartpqi_init.c
1182
lun_data = kmalloc(lun_data_length, GFP_KERNEL);
drivers/scsi/smartpqi/smartpqi_init.c
1333
internal_logdev_list = kmalloc(logdev_data_length +
drivers/scsi/smartpqi/smartpqi_init.c
1411
buffer = kmalloc(64, GFP_KERNEL);
drivers/scsi/smartpqi/smartpqi_init.c
1496
raid_map = kmalloc(raid_map_size, GFP_KERNEL);
drivers/scsi/smartpqi/smartpqi_init.c
1576
buffer = kmalloc(64, GFP_KERNEL);
drivers/scsi/smartpqi/smartpqi_init.c
1709
buffer = kmalloc(64, GFP_KERNEL);
drivers/scsi/smartpqi/smartpqi_init.c
5086
event_config = kmalloc(PQI_REPORT_EVENT_CONFIG_BUFFER_LENGTH,
drivers/scsi/smartpqi/smartpqi_init.c
5222
io_request->iu = kmalloc(ctrl_info->max_inbound_iu_length, GFP_KERNEL);
drivers/scsi/smartpqi/smartpqi_init.c
8215
config_table = kmalloc(table_length, GFP_KERNEL);
drivers/scsi/sr.c
829
buffer = kmalloc(512, GFP_KERNEL);
drivers/scsi/sr_ioctl.c
585
raw_sector = kmalloc(2048, GFP_KERNEL);
drivers/scsi/sr_vendor.c
134
buffer = kmalloc(512, GFP_KERNEL);
drivers/scsi/sr_vendor.c
182
buffer = kmalloc(512, GFP_KERNEL);
drivers/scsi/virtio_scsi.c
349
char *inq_result = kmalloc(inq_result_len, GFP_KERNEL);
drivers/soc/fsl/dpaa2-console.c
211
kbuf = kmalloc(bytes, GFP_KERNEL);
drivers/soc/qcom/mdt_loader.c
200
data = kmalloc(ehdr_size + hash_size, GFP_KERNEL);
drivers/soc/qcom/smd-rpm.c
114
pkt = kmalloc(size, GFP_ATOMIC);
drivers/soc/samsung/s3c-pm-check.c
99
crcs = kmalloc(crc_size+4, GFP_KERNEL);
drivers/spi/spi-au1550.c
280
hw->dma_rx_tmpbuf = kmalloc(size, GFP_KERNEL);
drivers/spi/spi-fsl-cpm.c
123
dst = kmalloc(t->len, GFP_KERNEL);
drivers/spi/spi-fsl-cpm.c
226
fsl_dummy_rx = kmalloc(SPI_MRBLR, GFP_KERNEL);
drivers/spi/spi-mtk-snfi.c
333
snf->buf = kmalloc(size, GFP_KERNEL);
drivers/spi/spi-pl022.c
1012
pl022->dummypage = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/spi/spi-pl022.c
1056
pl022->dummypage = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/spi/spi-qpic-snand.c
305
snandc->qspi->oob_buf = kmalloc(mtd->writesize + mtd->oobsize,
drivers/spi/spi-zynq-qspi.c
568
tmpbuf = kmalloc(op->dummy.nbytes, GFP_KERNEL);
drivers/spi/spi.c
4909
local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx),
drivers/spi/spi.c
5110
buf = kmalloc(SPI_BUFSIZ, GFP_KERNEL);
drivers/spi/spidev.c
590
spidev->tx_buffer = kmalloc(bufsiz, GFP_KERNEL);
drivers/spi/spidev.c
598
spidev->rx_buffer = kmalloc(bufsiz, GFP_KERNEL);
drivers/staging/greybus/camera.c
536
req = kmalloc(req_size, GFP_KERNEL);
drivers/staging/greybus/camera.c
537
resp = kmalloc(resp_size, GFP_KERNEL);
drivers/staging/greybus/camera.c
661
req = kmalloc(req_size, GFP_KERNEL);
drivers/staging/greybus/camera.c
876
caps = kmalloc(size, GFP_KERNEL);
drivers/staging/greybus/loopback.c
514
request = kmalloc(len + sizeof(*request), GFP_KERNEL);
drivers/staging/greybus/loopback.c
535
request = kmalloc(len + sizeof(*request), GFP_KERNEL);
drivers/staging/greybus/loopback.c
538
response = kmalloc(len + sizeof(*response), GFP_KERNEL);
drivers/staging/greybus/loopback.c
579
request = kmalloc(len + sizeof(*request), GFP_KERNEL);
drivers/staging/greybus/loopback.c
627
request = kmalloc(len + sizeof(*request), GFP_KERNEL);
drivers/staging/greybus/raw.c
132
request = kmalloc(len + sizeof(*request), GFP_KERNEL);
drivers/staging/media/atomisp/pci/sh_css.c
5822
descr->in_info = kmalloc(descr->num_stage *
drivers/staging/media/atomisp/pci/sh_css.c
5829
descr->internal_out_info = kmalloc(descr->num_stage *
drivers/staging/media/atomisp/pci/sh_css.c
5836
descr->out_info = kmalloc(descr->num_stage *
drivers/staging/media/atomisp/pci/sh_css.c
5843
descr->vf_info = kmalloc(descr->num_stage *
drivers/staging/media/atomisp/pci/sh_css.c
5850
descr->is_output_stage = kmalloc(descr->num_stage * sizeof(bool),
drivers/staging/media/atomisp/pci/sh_css.c
5977
descr->internal_out_info = kmalloc(descr->num_stage *
drivers/staging/media/atomisp/pci/sh_css.c
5984
descr->out_info = kmalloc(descr->num_stage *
drivers/staging/media/atomisp/pci/sh_css.c
5991
descr->vf_info = kmalloc(descr->num_stage *
drivers/staging/media/atomisp/pci/sh_css.c
5998
descr->is_output_stage = kmalloc(descr->num_stage * sizeof(bool),
drivers/staging/media/atomisp/pci/sh_css_firmware.c
144
char *parambuf = kmalloc(paramstruct_size + configstruct_size +
drivers/staging/media/atomisp/pci/sh_css_firmware.c
256
sh_css_blob_info = kmalloc(
drivers/staging/media/ipu7/ipu7-cpd.c
222
buf = kmalloc(ONLINE_METADATA_SIZE, GFP_KERNEL);
drivers/staging/octeon/ethernet-mem.c
94
memory = kmalloc(size + 256, GFP_ATOMIC);
drivers/staging/rtl8723bs/core/rtw_cmd.c
1696
c2h_evt = kmalloc(16, GFP_ATOMIC);
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
643
efuseTbl = kmalloc(EFUSE_MAX_MAP_LEN, GFP_ATOMIC);
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
731
efuseTbl = kmalloc(EFUSE_BT_MAP_LEN, GFP_ATOMIC);
drivers/staging/rtl8723bs/hal/sdio_ops.c
184
tmpbuf = kmalloc(8, GFP_ATOMIC);
drivers/staging/rtl8723bs/hal/sdio_ops.c
231
tmpbuf = kmalloc(n, GFP_ATOMIC);
drivers/staging/rtl8723bs/hal/sdio_ops.c
334
tmpbuf = kmalloc(n, GFP_ATOMIC);
drivers/staging/rtl8723bs/hal/sdio_ops.c
506
tmpbuf = kmalloc(n, GFP_ATOMIC);
drivers/staging/rtl8723bs/hal/sdio_ops.c
547
tmpbuf = kmalloc(n, GFP_ATOMIC);
drivers/staging/rtl8723bs/hal/sdio_ops.c
586
tmpbuf = kmalloc(cnt, GFP_ATOMIC);
drivers/staging/rtl8723bs/hal/sdio_ops.c
886
status = kmalloc(4, GFP_ATOMIC);
drivers/staging/vme_user/vme_fake.c
998
void *alloc = kmalloc(size, GFP_KERNEL);
drivers/staging/vme_user/vme_tsi148.c
740
image->bus_resource.name = kmalloc(VMENAMSIZ + 3, GFP_ATOMIC);
drivers/staging/vme_user/vme_user.c
619
image[i].kern_buf = kmalloc(image[i].size_buf, GFP_KERNEL);
drivers/target/iscsi/iscsi_target.c
1111
cdb = kmalloc(be16_to_cpu(ecdb_ahdr->ahslength) + 15,
drivers/target/iscsi/iscsi_target.c
2603
overflow_buf = kmalloc(length - rx_size, GFP_KERNEL);
drivers/target/iscsi/iscsi_target_auth.c
364
desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL);
drivers/target/sbp/sbp_target.c
1114
req->cmd_buf = kmalloc(cmd_len, GFP_KERNEL);
drivers/target/sbp/sbp_target.c
1148
pg_tbl = kmalloc(pg_tbl_sz, GFP_KERNEL);
drivers/thunderbolt/dma_test.c
709
dma_test_pattern = kmalloc(DMA_TEST_FRAME_SIZE, GFP_KERNEL);
drivers/tty/hvc/hvc_iucv.c
162
bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA);
drivers/tty/hvc/hvc_iucv.c
245
rb->mbuf = kmalloc(rb->msg.length, GFP_ATOMIC | GFP_DMA);
drivers/tty/ipwireless/hardware.c
580
packet = kmalloc(sizeof(struct ipw_rx_packet)
drivers/tty/ipwireless/hardware.c
592
packet = kmalloc(sizeof(struct ipw_rx_packet) +
drivers/tty/ipwireless/network.c
126
buf = kmalloc(skb->len + 2, GFP_ATOMIC);
drivers/tty/n_gsm.c
3281
gsm->buf = kmalloc(MAX_MRU + 1, GFP_KERNEL);
drivers/tty/n_gsm.c
3286
gsm->txframe = kmalloc(2 * (MAX_MTU + PROT_OVERHEAD - 1), GFP_KERNEL);
drivers/tty/n_gsm.c
925
struct gsm_msg *m = kmalloc(sizeof(struct gsm_msg) + len + HDR_LEN,
drivers/tty/nozomi.c
1333
dc->send_buf = kmalloc(SEND_BUF_MAX, GFP_KERNEL);
drivers/tty/serial/amba-pl011.c
1104
uap->dmatx.buf = kmalloc(PL011_DMA_BUFFER_SIZE, GFP_KERNEL | __GFP_DMA);
drivers/tty/serial/atmel_serial.c
1664
pdc->buf = kmalloc(PDC_BUFFER_SIZE, GFP_KERNEL);
drivers/tty/serial/atmel_serial.c
2924
data = kmalloc(ATMEL_SERIAL_RX_SIZE, GFP_KERNEL);
drivers/tty/serial/fsl_linflexuart.c
599
earlycon_buf.content = kmalloc(EARLYCON_BUFFER_INITIAL_CAP,
drivers/tty/serial/samsung_tty.c
1106
dma->rx_buf = kmalloc(dma->rx_size, GFP_KERNEL);
drivers/tty/synclink_gt.c
2339
info->tx_buf = kmalloc(info->max_frame_size, GFP_KERNEL);
drivers/tty/synclink_gt.c
3243
info->tmp_rbuf = kmalloc(info->max_frame_size + 5, GFP_KERNEL);
drivers/tty/tty_audit.c
42
buf->data = kmalloc(TTY_AUDIT_BUF_SIZE, GFP_KERNEL);
drivers/tty/vt/consolemap.c
237
inv = dict->inverse_translations[m] = kmalloc(MAX_GLYPH,
drivers/tty/vt/keyboard.c
1928
unsigned short __free(kfree) *new_map = kmalloc(sizeof(plain_map), GFP_KERNEL);
drivers/tty/vt/keyboard.c
2014
char __free(kfree) *kbs = kmalloc(len, GFP_KERNEL);
drivers/usb/atm/cxacru.c
718
buf = kmalloc(buflen, GFP_KERNEL);
drivers/usb/atm/ueagle-atm.c
2161
intr = kmalloc(size, GFP_KERNEL);
drivers/usb/atm/usbatm.c
1167
instance->cell_buf = kmalloc(instance->rx_channel.stride, GFP_KERNEL);
drivers/usb/chipidea/host.c
425
temp = kmalloc(sizeof(*temp) + ALIGN(urb->transfer_buffer_length, 4), mem_flags);
drivers/usb/chipidea/udc.c
614
buf = kmalloc(rounded, GFP_KERNEL);
drivers/usb/class/cdc-acm.c
1482
acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL);
drivers/usb/class/cdc-wdm.c
1074
desc->ubuf = kmalloc(desc->wMaxCommand, GFP_KERNEL);
drivers/usb/class/cdc-wdm.c
1078
desc->sbuf = kmalloc(desc->wMaxPacketSize, GFP_KERNEL);
drivers/usb/class/cdc-wdm.c
1082
desc->inbuf = kmalloc(desc->wMaxCommand, GFP_KERNEL);
drivers/usb/class/usblp.c
1163
usblp->device_id_string = kmalloc(USBLP_DEVICE_ID_SIZE, GFP_KERNEL);
drivers/usb/class/usblp.c
1174
usblp->readbuf = kmalloc(USBLP_BUF_SIZE_IN, GFP_KERNEL);
drivers/usb/class/usblp.c
1181
usblp->statusbuf = kmalloc(STATUS_BUF_SIZE, GFP_KERNEL);
drivers/usb/class/usblp.c
726
writebuf = kmalloc(transfer_length, GFP_KERNEL);
drivers/usb/class/usbtmc.c
1332
buffer = kmalloc(USBTMC_HEADER_SIZE, GFP_KERNEL);
drivers/usb/class/usbtmc.c
1394
buffer = kmalloc(bufsize, GFP_KERNEL);
drivers/usb/class/usbtmc.c
1679
buffer = kmalloc(USBTMC_BUFSIZE, GFP_KERNEL);
drivers/usb/class/usbtmc.c
1836
buffer = kmalloc(0x18, GFP_KERNEL);
drivers/usb/class/usbtmc.c
1905
buffer = kmalloc(2, GFP_KERNEL);
drivers/usb/class/usbtmc.c
1954
buffer = kmalloc(request.req.wLength, GFP_KERNEL);
drivers/usb/class/usbtmc.c
2455
data->iin_buffer = kmalloc(data->iin_wMaxPacketSize,
drivers/usb/class/usbtmc.c
278
buffer = kmalloc(USBTMC_BUFSIZE, GFP_KERNEL);
drivers/usb/class/usbtmc.c
407
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/class/usbtmc.c
494
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/class/usbtmc.c
669
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/core/buffer.c
134
return kmalloc(size, mem_flags);
drivers/usb/core/config.c
949
desc = kmalloc(USB_DT_CONFIG_SIZE, GFP_KERNEL);
drivers/usb/core/config.c
977
bigbuffer = kmalloc(length, GFP_KERNEL);
drivers/usb/core/devio.c
1320
tbuf = kmalloc(len1, GFP_KERNEL | __GFP_NOWARN);
drivers/usb/core/devio.c
1820
buf = kmalloc(u, GFP_KERNEL);
drivers/usb/core/devio.c
1843
as->urb->transfer_buffer = kmalloc(uurb->buffer_length,
drivers/usb/core/devio.c
2335
buf = kmalloc(size, GFP_KERNEL);
drivers/usb/core/hcd.c
2192
buf = kmalloc(USB_DT_DEVICE_SIZE, GFP_KERNEL);
drivers/usb/core/hub.c
4919
buf = kmalloc(GET_DESCRIPTOR_BUFSIZE, GFP_NOIO);
drivers/usb/core/hub.c
5347
buf = kmalloc(len, GFP_NOIO);
drivers/usb/core/message.c
1038
tbuf = kmalloc(256, GFP_NOIO);
drivers/usb/core/message.c
1086
buf = kmalloc(MAX_USB_STRING_SIZE, GFP_NOIO);
drivers/usb/core/message.c
1090
smallbuf = kmalloc(++len, GFP_NOIO);
drivers/usb/core/message.c
1203
status = kmalloc(length, GFP_KERNEL);
drivers/usb/core/message.c
287
data = kmalloc(size, memflags);
drivers/usb/dwc2/gadget.c
1298
hs_req->req.buf = kmalloc(hs_req->req.length, GFP_ATOMIC);
drivers/usb/dwc2/hcd.c
2487
kmalloc_ptr = kmalloc(kmalloc_size, mem_flags);
drivers/usb/gadget/composite.c
1422
uc = kmalloc(mem, GFP_KERNEL);
drivers/usb/gadget/composite.c
2463
cdev->os_desc_req->buf = kmalloc(USB_COMP_EP0_OS_DESC_BUFSIZ,
drivers/usb/gadget/config.c
82
mem = kmalloc(bytes, GFP_KERNEL);
drivers/usb/gadget/configfs.c
128
str = kmalloc(USB_MAX_STRING_WITH_NULL_LEN, GFP_KERNEL);
drivers/usb/gadget/function/f_ecm.c
759
request->buf = kmalloc(ECM_STATUS_BYTECOUNT, GFP_KERNEL);
drivers/usb/gadget/function/f_eem.c
453
req->buf = kmalloc(skb2->len, GFP_KERNEL);
drivers/usb/gadget/function/f_fs.c
3078
char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL);
drivers/usb/gadget/function/f_fs.c
604
data = kmalloc(len, GFP_KERNEL);
drivers/usb/gadget/function/f_fs.c
843
return kmalloc(data_len, GFP_KERNEL);
drivers/usb/gadget/function/f_mass_storage.c
2763
bh->buf = kmalloc(FSG_BUFLEN, GFP_KERNEL);
drivers/usb/gadget/function/f_mass_storage.c
2936
pathbuf = kmalloc(PATH_MAX, GFP_KERNEL);
drivers/usb/gadget/function/f_ncm.c
1524
request->buf = kmalloc(NCM_STATUS_BYTECOUNT, GFP_KERNEL);
drivers/usb/gadget/function/f_printer.c
244
req->buf = kmalloc(len, gfp_flags);
drivers/usb/gadget/function/f_rndis.c
751
request->buf = kmalloc(STATUS_BYTECOUNT, GFP_KERNEL);
drivers/usb/gadget/function/f_tcm.c
1130
cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC);
drivers/usb/gadget/function/f_tcm.c
223
cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC);
drivers/usb/gadget/function/f_tcm.c
333
fu->cmd[0].buf = kmalloc(fu->ep_out->maxpacket, GFP_KERNEL);
drivers/usb/gadget/function/f_tcm.c
565
cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC);
drivers/usb/gadget/function/f_tcm.c
911
fu->cmd[i].buf = kmalloc(fu->ep_cmd->maxpacket, GFP_KERNEL);
drivers/usb/gadget/function/f_uvc.c
617
mem = kmalloc((n_desc + 1) * sizeof(*src) + bytes, GFP_KERNEL);
drivers/usb/gadget/function/f_uvc.c
846
uvc->control_buf = kmalloc(UVC_MAX_REQUEST_SIZE, GFP_KERNEL);
drivers/usb/gadget/function/rndis.c
1057
r = kmalloc(sizeof(rndis_resp_t) + length, GFP_ATOMIC);
drivers/usb/gadget/function/u_serial.c
177
req->buf = kmalloc(len, kmalloc_flags);
drivers/usb/gadget/function/uvc_video.c
570
ureq->req_buffer = kmalloc(video->req_size, GFP_KERNEL);
drivers/usb/gadget/legacy/dbgp.c
291
dbgp.req->buf = kmalloc(DBGP_REQ_EP0_LEN, GFP_KERNEL);
drivers/usb/gadget/legacy/inode.c
607
buf = kmalloc(len, GFP_KERNEL);
drivers/usb/gadget/legacy/inode.c
669
buf = kmalloc(len, GFP_KERNEL);
drivers/usb/gadget/legacy/inode.c
901
req->buf = kmalloc(len, GFP_ATOMIC);
drivers/usb/gadget/legacy/raw_gadget.c
510
driver_driver_name = kmalloc(DRIVER_DRIVER_NAME_LENGTH_MAX, GFP_KERNEL);
drivers/usb/gadget/legacy/raw_gadget.c
518
udc_driver_name = kmalloc(UDC_NAME_LENGTH_MAX, GFP_KERNEL);
drivers/usb/gadget/legacy/raw_gadget.c
529
udc_device_name = kmalloc(UDC_NAME_LENGTH_MAX, GFP_KERNEL);
drivers/usb/gadget/legacy/raw_gadget.c
676
data = kmalloc(io->length, GFP_KERNEL);
drivers/usb/gadget/legacy/raw_gadget.c
73
event = kmalloc(sizeof(*event) + length, GFP_ATOMIC);
drivers/usb/gadget/u_f.c
22
req->buf = kmalloc(req->length, GFP_ATOMIC);
drivers/usb/gadget/udc/atmel_usba_udc.c
148
data = kmalloc(inode->i_size, GFP_KERNEL);
drivers/usb/gadget/udc/fsl_udc_core.c
2286
udc->status_req->req.buf = kmalloc(8, GFP_KERNEL);
drivers/usb/host/octeon-hcd.c
437
temp = kmalloc(ALIGN(urb->transfer_buffer_length, sizeof(u32)) +
drivers/usb/host/uhci-debug.c
568
up->data = kmalloc(MAX_OUTPUT, GFP_KERNEL);
drivers/usb/host/uhci-hcd.c
870
errbuf = kmalloc(ERRBUF_LEN, GFP_KERNEL);
drivers/usb/host/xhci-dbgtty.c
240
req->buf = kmalloc(req->length, GFP_KERNEL);
drivers/usb/image/mdc800.c
1003
mdc800->irq_urb_buffer=kmalloc (8, GFP_KERNEL);
drivers/usb/image/mdc800.c
1006
mdc800->write_urb_buffer=kmalloc (8, GFP_KERNEL);
drivers/usb/image/mdc800.c
1009
mdc800->download_urb_buffer=kmalloc (64, GFP_KERNEL);
drivers/usb/image/microtek.c
734
new_desc->context.scsi_status = kmalloc(1, GFP_KERNEL);
drivers/usb/misc/adutux.c
683
dev->read_buffer_primary = kmalloc((4 * in_end_size), GFP_KERNEL);
drivers/usb/misc/adutux.c
693
dev->read_buffer_secondary = kmalloc((4 * in_end_size), GFP_KERNEL);
drivers/usb/misc/adutux.c
703
dev->interrupt_in_buffer = kmalloc(in_end_size, GFP_KERNEL);
drivers/usb/misc/adutux.c
713
dev->interrupt_out_buffer = kmalloc(out_end_size, GFP_KERNEL);
drivers/usb/misc/appledisplay.c
241
pdata->msgdata = kmalloc(ACD_MSG_BUFFER_LEN, GFP_KERNEL);
drivers/usb/misc/chaoskey.c
153
dev->buf = kmalloc(size, GFP_KERNEL);
drivers/usb/misc/cytherm.c
127
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/misc/cytherm.c
162
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/misc/cytherm.c
191
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/misc/cytherm.c
216
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/misc/cytherm.c
246
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/misc/cytherm.c
271
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/misc/cytherm.c
84
buffer = kmalloc(8, GFP_KERNEL);
drivers/usb/misc/emi26.c
82
buf = kmalloc(FW_LOAD_SIZE, GFP_KERNEL);
drivers/usb/misc/emi62.c
91
buf = kmalloc(FW_LOAD_SIZE, GFP_KERNEL);
drivers/usb/misc/idmouse.c
352
dev->bulk_in_buffer = kmalloc(IMGSIZE + dev->bulk_in_size, GFP_KERNEL);
drivers/usb/misc/iowarrior.c
851
dev->int_in_buffer = kmalloc(dev->report_size, GFP_KERNEL);
drivers/usb/misc/isight_firmware.c
40
unsigned char *buf = kmalloc(50, GFP_KERNEL);
drivers/usb/misc/ldusb.c
673
buffer = kmalloc(256, GFP_KERNEL);
drivers/usb/misc/ldusb.c
702
dev->interrupt_in_buffer = kmalloc(dev->interrupt_in_endpoint_size, GFP_KERNEL);
drivers/usb/misc/legousbtower.c
773
dev->read_buffer = kmalloc(read_buffer_size, GFP_KERNEL);
drivers/usb/misc/legousbtower.c
776
dev->interrupt_in_buffer = kmalloc(usb_endpoint_maxp(dev->interrupt_in_endpoint), GFP_KERNEL);
drivers/usb/misc/legousbtower.c
782
dev->interrupt_out_buffer = kmalloc(write_buffer_size, GFP_KERNEL);
drivers/usb/misc/sisusbvga/sisusbvga.c
2829
sisusb->ibuf = kmalloc(SISUSB_IBUF_SIZE, GFP_KERNEL);
drivers/usb/misc/sisusbvga/sisusbvga.c
2838
sisusb->obuf[i] = kmalloc(SISUSB_OBUF_SIZE, GFP_KERNEL);
drivers/usb/misc/usblcd.c
356
dev->bulk_in_buffer = kmalloc(dev->bulk_in_size, GFP_KERNEL);
drivers/usb/misc/usbtest.c
1832
buf = kmalloc(length + offset, GFP_KERNEL);
drivers/usb/misc/usbtest.c
2799
dev->buf = kmalloc(TBUF_SIZE, GFP_KERNEL);
drivers/usb/misc/usbtest.c
293
urb->transfer_buffer = kmalloc(bytes + offset, GFP_KERNEL);
drivers/usb/misc/yurex.c
228
dev->cntl_req = kmalloc(YUREX_BUF_SIZE, GFP_KERNEL);
drivers/usb/mon/mon_text.c
343
rp->printf_buf = kmalloc(rp->printf_size, GFP_KERNEL);
drivers/usb/musb/musb_host.c
2602
kmalloc_ptr = kmalloc(kmalloc_size, mem_flags);
drivers/usb/serial/ark3116.c
318
buf = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/cp210x.c
1843
config_buf = kmalloc(config_size, GFP_KERNEL);
drivers/usb/serial/cp210x.c
2082
buf = kmalloc(2, GFP_KERNEL);
drivers/usb/serial/f81534.c
222
tmp = kmalloc(sizeof(u8), GFP_KERNEL);
drivers/usb/serial/f81534.c
261
tmp = kmalloc(sizeof(u8), GFP_KERNEL);
drivers/usb/serial/ftdi_sio.c
1990
buf = kmalloc(4, GFP_KERNEL);
drivers/usb/serial/ftdi_sio.c
2030
buf = kmalloc(2, GFP_KERNEL);
drivers/usb/serial/ftdi_sio.c
2065
cbus_cfg_buf = kmalloc(cbus_cfg_size, GFP_KERNEL);
drivers/usb/serial/ftdi_sio.c
2753
buf = kmalloc(2, GFP_KERNEL);
drivers/usb/serial/io_edgeport.c
1262
buffer = kmalloc(count+2, GFP_ATOMIC);
drivers/usb/serial/io_edgeport.c
1973
transfer_buffer = kmalloc(64, GFP_KERNEL);
drivers/usb/serial/io_edgeport.c
2018
transfer_buffer = kmalloc(64, GFP_KERNEL);
drivers/usb/serial/io_edgeport.c
2060
transfer_buffer = kmalloc(64, GFP_KERNEL);
drivers/usb/serial/io_edgeport.c
2106
buffer = kmalloc(10, GFP_ATOMIC);
drivers/usb/serial/io_edgeport.c
2213
cmdBuffer = kmalloc(0x100, GFP_ATOMIC);
drivers/usb/serial/io_edgeport.c
2307
cmdBuffer = kmalloc(0x10, GFP_ATOMIC);
drivers/usb/serial/io_edgeport.c
2820
kmalloc(buffer_size, GFP_KERNEL);
drivers/usb/serial/io_edgeport.c
2857
kmalloc(buffer_size, GFP_KERNEL);
drivers/usb/serial/io_edgeport.c
917
edge_port->txfifo.fifo = kmalloc(edge_port->maxTxCredits, GFP_KERNEL);
drivers/usb/serial/io_ti.c
1174
record = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/io_ti.c
1269
header = kmalloc(HEADER_SIZE, GFP_KERNEL);
drivers/usb/serial/io_ti.c
1276
vheader = kmalloc(HEADER_SIZE, GFP_KERNEL);
drivers/usb/serial/io_ti.c
1458
buffer = kmalloc(buffer_size, GFP_KERNEL);
drivers/usb/serial/io_ti.c
416
temp = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/io_ti.c
539
lsr = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/io_ti.c
687
buffer = kmalloc(TI_MAX_I2C_SIZE, GFP_KERNEL);
drivers/usb/serial/io_ti.c
825
buffer = kmalloc(buffer_size, GFP_KERNEL);
drivers/usb/serial/io_ti.c
871
data = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/ir-usb.c
442
transfer_buffer = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/iuu_phoenix.c
1083
buf = kmalloc(5, GFP_KERNEL);
drivers/usb/serial/iuu_phoenix.c
313
buf = kmalloc(8, GFP_KERNEL);
drivers/usb/serial/iuu_phoenix.c
539
rxcmd = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/iuu_phoenix.c
744
buf = kmalloc(4, GFP_KERNEL);
drivers/usb/serial/iuu_phoenix.c
773
buf = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/iuu_phoenix.c
798
dataout = kmalloc(5, GFP_KERNEL);
drivers/usb/serial/mct_u232.c
183
buf = kmalloc(MCT_U232_MAX_SIZE, GFP_KERNEL);
drivers/usb/serial/mct_u232.c
254
buf = kmalloc(MCT_U232_MAX_SIZE, GFP_KERNEL);
drivers/usb/serial/mct_u232.c
278
buf = kmalloc(MCT_U232_MAX_SIZE, GFP_KERNEL);
drivers/usb/serial/mct_u232.c
311
buf = kmalloc(MCT_U232_MAX_SIZE, GFP_KERNEL);
drivers/usb/serial/mos7720.c
1083
urb->transfer_buffer = kmalloc(URB_TRANSFER_BUFFER_SIZE,
drivers/usb/serial/mos7720.c
217
buf = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/mos7720.c
869
urb->transfer_buffer = kmalloc(URB_TRANSFER_BUFFER_SIZE,
drivers/usb/serial/mos7840.c
1407
buf = kmalloc(VENDOR_READ_LENGTH, GFP_KERNEL);
drivers/usb/serial/mos7840.c
239
buf = kmalloc(VENDOR_READ_LENGTH, GFP_KERNEL);
drivers/usb/serial/mos7840.c
297
buf = kmalloc(VENDOR_READ_LENGTH, GFP_KERNEL);
drivers/usb/serial/mos7840.c
519
urb->transfer_buffer = kmalloc(URB_TRANSFER_BUFFER_SIZE,
drivers/usb/serial/mos7840.c
865
urb->transfer_buffer = kmalloc(URB_TRANSFER_BUFFER_SIZE,
drivers/usb/serial/mxuport.c
1007
fw_buf = kmalloc(DOWN_BLOCK_SIZE, GFP_KERNEL);
drivers/usb/serial/mxuport.c
774
buf = kmalloc(2, GFP_KERNEL);
drivers/usb/serial/mxuport.c
854
buf = kmalloc(4, GFP_KERNEL);
drivers/usb/serial/oti6858.c
201
new_setup = kmalloc(OTI6858_CTRL_PKT_SIZE, GFP_KERNEL);
drivers/usb/serial/oti6858.c
287
allow = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/oti6858.c
510
buf = kmalloc(OTI6858_CTRL_PKT_SIZE, GFP_KERNEL);
drivers/usb/serial/pl2303.c
306
buf = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/pl2303.c
479
buf = kmalloc(7, GFP_KERNEL);
drivers/usb/serial/pl2303.c
520
buf = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/quatech2.c
633
serial_priv->read_buffer = kmalloc(QT2_READ_BUFFER_SIZE, GFP_KERNEL);
drivers/usb/serial/quatech2.c
668
port_priv->write_buffer = kmalloc(QT2_WRITE_BUFFER_SIZE, GFP_KERNEL);
drivers/usb/serial/sierra.c
709
buf = kmalloc(len, mem_flags);
drivers/usb/serial/ti_usb_3410_5052.c
1362
data = kmalloc(size, GFP_KERNEL);
drivers/usb/serial/ti_usb_3410_5052.c
1521
data = kmalloc(size, GFP_KERNEL);
drivers/usb/serial/ti_usb_3410_5052.c
1642
buffer = kmalloc(buffer_size, GFP_KERNEL);
drivers/usb/serial/usb-serial.c
858
port->bulk_in_buffers[i] = kmalloc(buffer_size, GFP_KERNEL);
drivers/usb/serial/usb-serial.c
895
port->bulk_out_buffers[i] = kmalloc(buffer_size, GFP_KERNEL);
drivers/usb/serial/usb-serial.c
922
port->interrupt_in_buffer = kmalloc(buffer_size, GFP_KERNEL);
drivers/usb/serial/usb-serial.c
947
port->interrupt_out_buffer = kmalloc(buffer_size, GFP_KERNEL);
drivers/usb/serial/usb_wwan.c
472
buffer = kmalloc(OUT_BUFLEN, GFP_KERNEL);
drivers/usb/serial/visor.c
256
transfer_buffer = kmalloc(0x12, GFP_KERNEL);
drivers/usb/serial/visor.c
319
transfer_buffer = kmalloc(sizeof(*connection_info), GFP_KERNEL);
drivers/usb/serial/visor.c
412
transfer_buffer = kmalloc(sizeof(*connection_info), GFP_KERNEL);
drivers/usb/serial/visor.c
524
data = kmalloc(1, GFP_KERNEL);
drivers/usb/serial/whiteheat.c
228
command = kmalloc(2, GFP_KERNEL);
drivers/usb/serial/whiteheat.c
234
result = kmalloc(sizeof(*hw_info) + 1, GFP_KERNEL);
drivers/usb/serial/xr_serial.c
277
dmabuf = kmalloc(len, GFP_KERNEL);
drivers/usb/storage/alauda.c
1031
buffer = kmalloc(len, GFP_NOIO);
drivers/usb/storage/alauda.c
939
buffer = kmalloc(len, GFP_NOIO);
drivers/usb/storage/datafab.c
169
buffer = kmalloc(alloclen, GFP_NOIO);
drivers/usb/storage/datafab.c
253
buffer = kmalloc(alloclen, GFP_NOIO);
drivers/usb/storage/datafab.c
331
buf = kmalloc(512, GFP_NOIO);
drivers/usb/storage/datafab.c
402
reply = kmalloc(512, GFP_NOIO);
drivers/usb/storage/ene_ub6250.c
1220
PageBuf = kmalloc(MS_BYTES_PER_PAGE, GFP_KERNEL);
drivers/usb/storage/ene_ub6250.c
1677
buf = kmalloc(blenByte, GFP_KERNEL);
drivers/usb/storage/ene_ub6250.c
1777
buf = kmalloc(blenByte, GFP_KERNEL);
drivers/usb/storage/ene_ub6250.c
1962
PageBuffer0 = kmalloc(MS_BYTES_PER_PAGE, GFP_KERNEL);
drivers/usb/storage/ene_ub6250.c
1963
PageBuffer1 = kmalloc(MS_BYTES_PER_PAGE, GFP_KERNEL);
drivers/usb/storage/ene_ub6250.c
2344
info->bbuf = kmalloc(512, GFP_KERNEL);
drivers/usb/storage/isd200.c
1471
info->RegsBuf = kmalloc(sizeof(info->ATARegs), GFP_KERNEL);
drivers/usb/storage/isd200.c
1472
info->srb.sense_buffer = kmalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL);
drivers/usb/storage/jumpshot.c
181
buffer = kmalloc(alloclen, GFP_NOIO);
drivers/usb/storage/jumpshot.c
258
buffer = kmalloc(alloclen, GFP_NOIO);
drivers/usb/storage/jumpshot.c
333
reply = kmalloc(512, GFP_NOIO);
drivers/usb/storage/karma.c
182
data->recv = kmalloc(RIO_RECV_LEN, GFP_NOIO);
drivers/usb/storage/realtek_cr.c
366
buf = kmalloc(len, GFP_NOIO);
drivers/usb/storage/realtek_cr.c
426
buf = kmalloc(len, GFP_NOIO);
drivers/usb/storage/sddr09.c
1001
buffer = kmalloc(len, GFP_NOIO);
drivers/usb/storage/sddr09.c
1224
buffer = kmalloc(alloc_len, GFP_NOIO);
drivers/usb/storage/sddr09.c
680
buf = kmalloc(bulklen, GFP_NOIO);
drivers/usb/storage/sddr09.c
756
buffer = kmalloc(len, GFP_NOIO);
drivers/usb/storage/sddr09.c
990
blockbuffer = kmalloc(blocklen, GFP_NOIO);
drivers/usb/storage/sddr55.c
211
buffer = kmalloc(len, GFP_NOIO);
drivers/usb/storage/sddr55.c
338
buffer = kmalloc(len, GFP_NOIO);
drivers/usb/storage/shuttle_usbat.c
1067
reply = kmalloc(512, GFP_NOIO);
drivers/usb/storage/shuttle_usbat.c
1152
buffer = kmalloc(alloclen, GFP_NOIO);
drivers/usb/storage/shuttle_usbat.c
1243
buffer = kmalloc(alloclen, GFP_NOIO);
drivers/usb/storage/shuttle_usbat.c
1346
buffer = kmalloc(len, GFP_NOIO);
drivers/usb/typec/ucsi/ucsi_stm32g0.c
269
data8 = kmalloc(STM32G0_I2C_BL_SZ + 2, GFP_KERNEL);
drivers/usb/typec/ucsi/ucsi_stm32g0.c
387
buf = kmalloc(sizeof(command) + 1, GFP_KERNEL);
drivers/usb/usb-skeleton.c
522
dev->bulk_in_buffer = kmalloc(dev->bulk_in_size, GFP_KERNEL);
drivers/vfio/pci/vfio_pci_config.c
1761
map = kmalloc(pdev->cfg_size, GFP_KERNEL_ACCOUNT);
drivers/vfio/pci/vfio_pci_config.c
1765
vconfig = kmalloc(pdev->cfg_size, GFP_KERNEL_ACCOUNT);
drivers/vfio/pci/vfio_pci_zdev.c
72
cap = kmalloc(cap_size, GFP_KERNEL);
drivers/vfio/pci/vfio_pci_zdev.c
97
cap = kmalloc(cap_size, GFP_KERNEL);
drivers/video/console/sticon.c
176
new_font = kmalloc(sizeof(*new_font) + size, STI_LOWMEM);
drivers/video/fbdev/core/bitblit.c
176
buf = kmalloc(cellsize, GFP_ATOMIC);
drivers/video/fbdev/core/fb_ddc.c
26
unsigned char *buf = kmalloc(EDID_LENGTH, GFP_KERNEL);
drivers/video/fbdev/core/fb_io_fops.c
106
buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count,
drivers/video/fbdev/core/fb_io_fops.c
36
buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count,
drivers/video/fbdev/core/fb_logo.c
299
palette = kmalloc(256 * 4, GFP_KERNEL);
drivers/video/fbdev/core/fbcon.c
671
save = kmalloc(array3_size(logo_lines, new_cols, 2),
drivers/video/fbdev/core/fbcon_ccw.c
156
buf = kmalloc(cellsize, GFP_KERNEL);
drivers/video/fbdev/core/fbcon_cw.c
141
buf = kmalloc(cellsize, GFP_KERNEL);
drivers/video/fbdev/core/fbcon_ud.c
178
buf = kmalloc(cellsize, GFP_KERNEL);
drivers/video/fbdev/core/fbmem.c
479
fb_info->pixmap.addr = kmalloc(FBPIXMAPSIZE, GFP_KERNEL);
drivers/video/fbdev/core/softcursor.c
41
par->cursor_src = kmalloc(par->cursor_size, GFP_ATOMIC);
drivers/video/fbdev/i810/i810_main.c
1517
u8 *data = kmalloc(64 * 8, GFP_ATOMIC);
drivers/video/fbdev/matrox/g450_pll.c
501
arr = kmalloc(sizeof(*arr) * MNP_TABLE_SIZE * 2, GFP_KERNEL);
drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c
102
new_compat = kmalloc(new_len, GFP_KERNEL);
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
2239
edid = kmalloc(len, GFP_KERNEL);
drivers/video/fbdev/pm2fb.c
1667
info->pixmap.addr = kmalloc(PM2_PIXMAP_SIZE, GFP_KERNEL);
drivers/video/fbdev/pm3fb.c
1405
info->pixmap.addr = kmalloc(PM3_PIXMAP_SIZE, GFP_KERNEL);
drivers/video/fbdev/s1d13xxxfb.c
930
s1dfb->disp_save = kmalloc(info->fix.smem_len, GFP_KERNEL);
drivers/video/fbdev/s1d13xxxfb.c
943
s1dfb->regs_save = kmalloc(info->fix.mmio_len, GFP_KERNEL);
drivers/video/fbdev/sis/sis_main.c
3218
poha = kmalloc(SIS_OH_ALLOC_SIZE, GFP_KERNEL);
drivers/video/fbdev/skeletonfb.c
735
info->pixmap.addr = kmalloc(PIXMAP_SIZE, GFP_KERNEL);
drivers/video/fbdev/sm712fb.c
1053
buffer = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/video/fbdev/sm712fb.c
1122
buffer = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/video/fbdev/smscufx.c
144
u32 *buf = kmalloc(4, GFP_KERNEL);
drivers/video/fbdev/smscufx.c
1467
edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
drivers/video/fbdev/smscufx.c
170
u32 *buf = kmalloc(4, GFP_KERNEL);
drivers/video/fbdev/tridentfb.c
1615
info->pixmap.addr = kmalloc(4096, GFP_KERNEL);
drivers/video/fbdev/udlfb.c
1261
edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
drivers/video/fbdev/udlfb.c
790
rbuf = kmalloc(2, GFP_KERNEL);
drivers/video/fbdev/uvesafb.c
361
state = kmalloc(par->vbe_state_size, GFP_KERNEL);
drivers/video/sticore.c
761
raw = kmalloc(size, STI_LOWMEM);
drivers/video/sticore.c
795
raw = kmalloc(size, STI_LOWMEM);
drivers/virt/fsl_hypervisor.c
239
sg_list_unaligned = kmalloc(num_pages * sizeof(struct fh_sg_list) +
drivers/virt/fsl_hypervisor.c
363
propval = kmalloc(param.proplen, GFP_KERNEL);
drivers/virt/vboxguest/vboxguest_linux.c
143
buf = kmalloc(size, GFP_KERNEL);
drivers/virtio/virtio_ring.c
1474
desc = kmalloc(size, gfp);
drivers/virtio/virtio_ring.c
561
desc = kmalloc(size, gfp);
drivers/w1/masters/ds2490.c
714
buf = kmalloc(bufsize, GFP_KERNEL);
drivers/w1/masters/ds2490.c
934
tbuf = kmalloc(len, GFP_KERNEL);
drivers/w1/w1_netlink.c
404
cn = kmalloc(PAGE_SIZE, GFP_KERNEL);
drivers/watchdog/diag288_wdt.c
167
cmd_buf = kmalloc(MAX_CMDLEN, GFP_KERNEL);
drivers/watchdog/pcwd_usb.c
218
buf = kmalloc(6, GFP_KERNEL);
drivers/xen/sys-hypervisor.c
107
extra = kmalloc(XEN_EXTRAVERSION_LEN, GFP_KERNEL);
drivers/xen/sys-hypervisor.c
258
caps = kmalloc(XEN_CAPABILITIES_INFO_LEN, GFP_KERNEL);
drivers/xen/sys-hypervisor.c
276
cset = kmalloc(XEN_CHANGESET_INFO_LEN, GFP_KERNEL);
drivers/xen/sys-hypervisor.c
370
buildid = kmalloc(sizeof(*buildid) + ret, GFP_KERNEL);
drivers/xen/xenbus/xenbus_client.c
306
printf_buffer = kmalloc(PRINTF_BUFFER_SIZE, GFP_KERNEL);
drivers/xen/xenbus/xenbus_comms.c
264
state.alloc = kmalloc(len, GFP_NOIO | __GFP_HIGH);
drivers/xen/xenbus/xenbus_xs.c
293
req = kmalloc(sizeof(*req) + sizeof(*vec), GFP_KERNEL);
drivers/xen/xenbus/xenbus_xs.c
421
ret = kmalloc(*num * sizeof(char *) + len, GFP_NOIO | __GFP_HIGH);
fs/afs/addr_prefs.c
221
preflist = kmalloc(size, GFP_KERNEL);
fs/afs/cell.c
144
cell->name = kmalloc(1 + namelen + 1 +
fs/afs/cmservice.c
216
call->buffer = kmalloc(array3_size(call->count, 3, 4),
fs/afs/cmservice.c
577
call->buffer = kmalloc(size, GFP_KERNEL);
fs/afs/dir.c
922
p = buf = kmalloc(AFSNAMEMAX, GFP_KERNEL);
fs/afs/rxrpc.c
285
call->request = kmalloc(request_size, GFP_NOFS);
fs/afs/rxrpc.c
292
call->buffer = kmalloc(reply_max, GFP_NOFS);
fs/afs/vl_probe.c
252
waits = kmalloc(array_size(vllist->nr_servers, sizeof(*waits)), GFP_KERNEL);
fs/afs/vlclient.c
707
cell_name = kmalloc(namesz + 1, GFP_KERNEL);
fs/autofs/waitq.c
344
name = kmalloc(NAME_MAX + 1, GFP_KERNEL);
fs/befs/linuxvfs.c
525
*out = result = kmalloc(maxlen, GFP_NOFS);
fs/befs/linuxvfs.c
604
*out = result = kmalloc(maxlen, GFP_NOFS);
fs/binfmt_elf.c
540
elf_phdata = kmalloc(size, GFP_KERNEL);
fs/binfmt_elf.c
894
elf_interpreter = kmalloc(elf_ppnt->p_filesz, GFP_KERNEL);
fs/binfmt_elf_fdpic.c
152
params->phdrs = kmalloc(size, GFP_KERNEL);
fs/binfmt_elf_fdpic.c
242
interpreter_name = kmalloc(phdr->p_filesz, GFP_KERNEL);
fs/binfmt_flat.c
192
strm.workspace = kmalloc(zlib_inflate_workspacesize(), GFP_KERNEL);
fs/binfmt_flat.c
196
buf = kmalloc(LBUFSIZE, GFP_KERNEL);
fs/binfmt_misc.c
366
e = kmalloc(memsize, GFP_KERNEL_ACCOUNT);
fs/binfmt_misc.c
478
char *masked = kmalloc(e->size, GFP_KERNEL_ACCOUNT);
fs/btrfs/ctree.c
3937
buf = kmalloc(item_size, GFP_NOFS);
fs/btrfs/inode.c
7143
tmp = kmalloc(inline_size, GFP_NOFS);
fs/btrfs/inode.c
9520
tmp = kmalloc(count, GFP_NOFS);
fs/btrfs/props.c
214
name_buf = kmalloc(name_buf_len, GFP_NOFS);
fs/btrfs/props.c
230
value_buf = kmalloc(data_len, GFP_NOFS);
fs/btrfs/relocation.c
4451
space_runs = kmalloc(sizeof(*space_runs) * extent_count, GFP_NOFS);
fs/btrfs/relocation.c
4502
bitmap = kmalloc(data_size, GFP_NOFS);
fs/btrfs/relocation.c
4540
entries = kmalloc(sizeof(*entries) * max_entries, GFP_NOFS);
fs/btrfs/relocation.c
593
root_item = kmalloc(sizeof(*root_item), GFP_NOFS);
fs/btrfs/send.c
1118
buf = kmalloc(buf_len, GFP_KERNEL);
fs/btrfs/send.c
2323
nce = kmalloc(sizeof(*nce) + fs_path_len(dest), GFP_KERNEL);
fs/btrfs/send.c
2469
name = kmalloc(BTRFS_PATH_NAME_MAX, GFP_KERNEL);
fs/btrfs/send.c
512
tmp_buf = kmalloc(len, GFP_KERNEL);
fs/btrfs/send.c
5776
buf = kmalloc(buf_len, GFP_KERNEL);
fs/btrfs/super.c
818
name = kmalloc(PATH_MAX, GFP_KERNEL);
fs/btrfs/sysfs.c
1757
str = kmalloc(bufsize, GFP_KERNEL);
fs/btrfs/tests/extent-io-tests.c
520
bitmap = kmalloc(nodesize, GFP_KERNEL);
fs/btrfs/tree-log.c
2565
name = kmalloc(name_len, GFP_NOFS);
fs/btrfs/tree-log.c
534
src_copy = kmalloc(item_size, GFP_NOFS);
fs/btrfs/tree-log.c
695
buf = kmalloc(len, GFP_NOFS);
fs/btrfs/volumes.c
5965
map = kmalloc(btrfs_chunk_map_size(num_stripes), gfp);
fs/btrfs/xattr.c
501
name = kmalloc(name_len, GFP_KERNEL);
fs/btrfs/zlib.c
87
workspace->buf = kmalloc(ZLIB_DFLTCC_BUF_SIZE,
fs/btrfs/zlib.c
93
workspace->buf = kmalloc(fs_info->sectorsize, GFP_KERNEL);
fs/btrfs/zstd.c
385
workspace->buf = kmalloc(fs_info->sectorsize, GFP_KERNEL);
fs/cachefiles/key.c
107
name = kmalloc(b64len + 1, GFP_KERNEL);
fs/cachefiles/key.c
58
name = kmalloc(len + 1, GFP_KERNEL);
fs/cachefiles/key.c
87
name = kmalloc(nlen, GFP_KERNEL);
fs/cachefiles/volume.c
41
name = kmalloc(len + 3, GFP_NOFS);
fs/cachefiles/xattr.c
113
buf = kmalloc(tlen, GFP_KERNEL);
fs/cachefiles/xattr.c
223
buf = kmalloc(len, GFP_KERNEL);
fs/cachefiles/xattr.c
273
buf = kmalloc(len, GFP_KERNEL);
fs/cachefiles/xattr.c
53
buf = kmalloc(sizeof(struct cachefiles_xattr) + len, GFP_KERNEL);
fs/ceph/caps.c
4285
extra->fscrypt_auth = kmalloc(extra->fscrypt_auth_len,
fs/ceph/crypto.c
239
cryptbuf = kmalloc(len > CEPH_NOHASH_NAME_MAX ? NAME_MAX : len,
fs/ceph/dir.c
1001
req->r_path2 = kmalloc(BASE64_CHARS(osd_link.len) + 1, GFP_KERNEL);
fs/ceph/dir.c
117
char *buf = kmalloc(len+1, GFP_KERNEL);
fs/ceph/dir.c
2160
dfi->dir_info = kmalloc(bufsize, GFP_KERNEL);
fs/ceph/inode.c
946
sym = kmalloc(enclen + 1, GFP_NOFS);
fs/ceph/mds_client.c
218
info->fscrypt_auth = kmalloc(info->fscrypt_auth_len,
fs/ceph/mds_client.c
227
info->fscrypt_file = kmalloc(info->fscrypt_file_len,
fs/ceph/mds_client.c
2666
cryptbuf = kmalloc(len, GFP_KERNEL);
fs/ceph/mds_client.c
5735
_tpath = kmalloc(n, GFP_NOFS);
fs/configfs/dir.c
1353
name = kmalloc(dentry->d_name.len + 1, GFP_KERNEL);
fs/coredump.c
208
pathbuf = kmalloc(PATH_MAX, GFP_KERNEL);
fs/cramfs/inode.c
718
buf = kmalloc(CRAMFS_MAXPATHLEN, GFP_KERNEL);
fs/crypto/fname.c
223
crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS);
fs/crypto/fname.c
364
fname->crypto_buf.name = kmalloc(fname->crypto_buf.len,
fs/crypto/fname.c
389
fname->crypto_buf.name = kmalloc(FSCRYPT_NOKEY_NAME_MAX, GFP_KERNEL);
fs/crypto/hooks.c
305
sd = kmalloc(disk_link->len, GFP_NOFS);
fs/dcache.c
1757
struct external_name *p = kmalloc(size + name->len,
fs/debugfs/file.c
1030
copy = kmalloc(len, GFP_KERNEL);
fs/debugfs/file.c
1075
new = kmalloc(pos + count + 1, GFP_KERNEL);
fs/debugfs/file.c
1248
buf = kmalloc(size+1, GFP_KERNEL);
fs/dlm/debug_fs.c
712
buf = kmalloc(PAGE_SIZE, GFP_NOFS);
fs/dlm/dir.c
72
last_name = kmalloc(DLM_RESNAME_MAXLEN, GFP_NOFS);
fs/dlm/lockspace.c
512
ls->ls_recover_buf = kmalloc(DLM_MAX_SOCKET_BUFSIZE, GFP_NOFS);
fs/dlm/lowcomms.c
845
pentry->buf = kmalloc(buflen, GFP_NOFS);
fs/dlm/requestqueue.c
40
e = kmalloc(sizeof(struct rq_entry) + length, GFP_ATOMIC);
fs/ecryptfs/crypto.c
1386
kmalloc(filename->encrypted_filename_size, GFP_KERNEL);
fs/ecryptfs/crypto.c
1824
(*encoded_name) = kmalloc((*encoded_name_size) + 1, GFP_KERNEL);
fs/ecryptfs/crypto.c
1913
decoded_name = kmalloc(decoded_name_size, GFP_KERNEL);
fs/ecryptfs/crypto.c
61
(*algified_name) = kmalloc(algified_name_len, GFP_KERNEL);
fs/ecryptfs/keystore.c
1031
(*filename) = kmalloc(((*filename_size) + 1), GFP_KERNEL);
fs/ecryptfs/keystore.c
162
*packet = kmalloc(data_len, GFP_KERNEL);
fs/ecryptfs/keystore.c
307
*packet = kmalloc(data_len, GFP_KERNEL);
fs/ecryptfs/keystore.c
950
s->decrypted_filename = kmalloc(s->block_aligned_filename_size,
fs/ecryptfs/messaging.c
368
ecryptfs_daemon_hash = kmalloc((sizeof(struct hlist_head)
fs/ecryptfs/messaging.c
379
ecryptfs_msg_ctx_arr = kmalloc((sizeof(struct ecryptfs_msg_ctx)
fs/ecryptfs/miscdev.c
152
msg = kmalloc((sizeof(*msg) + data_size), GFP_KERNEL);
fs/ecryptfs/mmap.c
361
file_size_virt = kmalloc(sizeof(u64), GFP_KERNEL);
fs/efivarfs/file.c
103
data = kmalloc(datasize + sizeof(attributes), GFP_KERNEL);
fs/efivarfs/vars.c
236
name = kmalloc(len + 1 + EFI_VARIABLE_GUID_LEN + 1, GFP_KERNEL);
fs/efivarfs/vars.c
263
utf8_name = kmalloc(utf8_size + 1, GFP_KERNEL);
fs/erofs/super.c
105
buffer = kmalloc(len, GFP_KERNEL);
fs/erofs/xattr.c
582
value = kmalloc(rc, GFP_KERNEL);
fs/erofs/xattr.c
639
fp->opaque = kmalloc(fp->size, GFP_KERNEL);
fs/ext2/acl.c
166
value = kmalloc(retval, GFP_KERNEL);
fs/ext2/acl.c
99
ext_acl = kmalloc(sizeof(ext2_acl_header) + acl->a_count *
fs/ext4/acl.c
167
value = kmalloc(retval, GFP_NOFS);
fs/ext4/acl.c
98
ext_acl = kmalloc(sizeof(ext4_acl_header) + acl->a_count *
fs/ext4/inline.c
1101
buf = kmalloc(inline_size, GFP_NOFS);
fs/ext4/inline.c
1287
dir_buf = kmalloc(inline_size, GFP_NOFS);
fs/ext4/inline.c
1406
dir_buf = kmalloc(inline_size, GFP_NOFS);
fs/ext4/inline.c
1522
link = kmalloc(inline_size + 1, GFP_NOFS);
fs/ext4/inline.c
1906
value = kmalloc(value_len, GFP_NOFS);
fs/ext4/mballoc.c
3445
meta_group_info = kmalloc(metalen, GFP_NOFS);
fs/ext4/mballoc.c
3726
sbi->s_mb_offsets = kmalloc(i, GFP_KERNEL);
fs/ext4/mballoc.c
3733
sbi->s_mb_maxs = kmalloc(i, GFP_KERNEL);
fs/ext4/mballoc.c
625
grp->bb_bitmap = kmalloc(sb->s_blocksize, GFP_NOFS);
fs/ext4/namei.c
1376
buf = kmalloc(EXT4_NAME_LEN, GFP_NOFS);
fs/ext4/super.c
6149
char *save = kmalloc(EXT4_S_ERR_LEN, GFP_KERNEL);
fs/ext4/xattr.c
2623
b_entry_name = kmalloc(entry->e_name_len + 1, GFP_NOFS);
fs/f2fs/f2fs.h
3679
return kmalloc(size, flags);
fs/fuse/acl.c
38
value = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/fuse/dev.c
2060
u64 *nodeids __free(kfree) = kmalloc(sizeof(u64) * batch, GFP_KERNEL);
fs/fuse/virtio_fs.c
709
req->argbuf = kmalloc(len, gfp);
fs/gfs2/dir.c
1327
ptr = kmalloc(size, GFP_NOFS | __GFP_NOWARN);
fs/gfs2/dir.c
355
hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN);
fs/gfs2/glock.c
2598
seq->buf = kmalloc(GFS2_SEQ_GOODSIZE, GFP_KERNEL | __GFP_NOWARN);
fs/gfs2/ops_fstype.c
224
sb = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/gfs2/rgrp.c
2273
bi->bi_clone = kmalloc(bi->bi_bh->b_size,
fs/gfs2/xattr.c
556
data = kmalloc(len, GFP_NOFS);
fs/hfsplus/dir.c
147
strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_MAX_STRLEN + 1, GFP_KERNEL);
fs/hfsplus/part_tbl.c
134
buf = kmalloc(hfsplus_min_io_size(sb), GFP_KERNEL);
fs/hfsplus/wrapper.c
153
sbi->s_vhdr_buf = kmalloc(hfsplus_min_io_size(sb), GFP_KERNEL);
fs/hfsplus/wrapper.c
156
sbi->s_backup_vhdr_buf = kmalloc(hfsplus_min_io_size(sb), GFP_KERNEL);
fs/hfsplus/xattr.c
550
xattr_name = kmalloc(xattr_name_len, GFP_KERNEL);
fs/hfsplus/xattr.c
708
xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1,
fs/hfsplus/xattr_security.c
44
xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1,
fs/hostfs/hostfs_kern.c
144
name = kmalloc(PATH_MAX, GFP_KERNEL);
fs/hostfs/hostfs_kern.c
902
link = kmalloc(PATH_MAX, GFP_KERNEL);
fs/hpfs/buffer.c
141
qbh->data = data = kmalloc(2048, GFP_NOFS);
fs/hpfs/buffer.c
191
if (!(qbh->data = kmalloc(2048, GFP_NOFS))) {
fs/hpfs/dnode.c
1013
if (!(name2 = kmalloc(256, GFP_NOFS))) {
fs/hpfs/dnode.c
252
if (!(nname = kmalloc(256, GFP_NOFS))) {
fs/hpfs/dnode.c
289
if (!nd) if (!(nd = kmalloc(0x924, GFP_NOFS))) {
fs/hpfs/dnode.c
496
if (!(nde = kmalloc(le16_to_cpu(de->length), GFP_NOFS))) {
fs/hpfs/dnode.c
610
if (!(de_cp = kmalloc(le16_to_cpu(de->length), GFP_NOFS))) {
fs/hpfs/dnode.c
673
if (!(de_cp = kmalloc(le16_to_cpu(de_prev->length), GFP_NOFS))) {
fs/hpfs/ea.c
142
if (!(ret = kmalloc((*size = ea_valuelen(ea)) + 1, GFP_NOFS))) {
fs/hpfs/ea.c
168
if (!(ret = kmalloc((*size = ea_valuelen(ea)) + 1, GFP_NOFS))) {
fs/hpfs/ea.c
54
if (!(ret = kmalloc(size + 1, GFP_NOFS))) {
fs/hpfs/map.c
95
if (!(cp_table = kmalloc(256, GFP_KERNEL))) {
fs/hpfs/name.c
67
if (!(to = kmalloc(len, GFP_KERNEL))) {
fs/iomap/swapfile.c
81
buf = kmalloc(PATH_MAX, GFP_KERNEL);
fs/isofs/inode.c
1218
tmpde = kmalloc(256, GFP_KERNEL);
fs/isofs/inode.c
1300
tmpde = kmalloc(de_len, GFP_KERNEL);
fs/isofs/rock.c
107
rs->buffer = kmalloc(rs->cont_size, GFP_KERNEL);
fs/jbd2/journal.c
1182
s->stats = kmalloc(size, GFP_KERNEL);
fs/jffs2/acl.c
196
value = kmalloc(rc, GFP_KERNEL);
fs/jffs2/compr.c
190
tmp_buf = kmalloc(orig_slen, GFP_KERNEL);
fs/jffs2/compr.c
82
output_buf = kmalloc(*cdatalen, GFP_KERNEL);
fs/jffs2/debug.c
132
buf = kmalloc(len, GFP_KERNEL);
fs/jffs2/erase.c
349
ebuf = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/jffs2/fs.c
62
mdata = kmalloc(f->metadata->size, GFP_USER);
fs/jffs2/gc.c
624
node = kmalloc(rawlen, GFP_KERNEL);
fs/jffs2/gc.c
779
mdata = kmalloc(fn->size, GFP_KERNEL);
fs/jffs2/gc.c
915
rd = kmalloc(rawlen, GFP_KERNEL);
fs/jffs2/malloc.c
100
ret = kmalloc(sizeof(struct jffs2_full_dirent) + namesize, GFP_KERNEL);
fs/jffs2/read.c
101
decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNEL);
fs/jffs2/read.c
93
readbuf = kmalloc(je32_to_cpu(ri->csize), GFP_KERNEL);
fs/jffs2/readinode.c
1271
f->target = kmalloc(csize + 1, GFP_KERNEL);
fs/jffs2/readinode.c
79
buffer = kmalloc(len, GFP_KERNEL);
fs/jffs2/readinode.c
997
buf = kmalloc(len, GFP_KERNEL);
fs/jffs2/scan.c
525
sumptr = kmalloc(sumlen, GFP_KERNEL);
fs/jffs2/summary.c
137
kmalloc(sizeof(struct jffs2_sum_dirent_mem) + rd->nsize, GFP_KERNEL);
fs/jffs2/summary.c
283
kmalloc(sizeof(struct jffs2_sum_dirent_mem) + node->d.nsize, GFP_KERNEL);
fs/jffs2/summary.c
37
c->summary->sum_buf = kmalloc(sum_size, GFP_KERNEL);
fs/jffs2/wbuf.c
1207
c->wbuf = kmalloc(c->wbuf_pagesize, GFP_KERNEL);
fs/jffs2/wbuf.c
1218
c->wbuf_verify = kmalloc(c->wbuf_pagesize, GFP_KERNEL);
fs/jffs2/wbuf.c
1268
c->wbuf = kmalloc(c->wbuf_pagesize, GFP_KERNEL);
fs/jffs2/wbuf.c
1273
c->wbuf_verify = kmalloc(c->wbuf_pagesize, GFP_KERNEL);
fs/jffs2/wbuf.c
1305
c->wbuf = kmalloc(c->wbuf_pagesize, GFP_KERNEL);
fs/jffs2/wbuf.c
1310
c->wbuf_verify = kmalloc(c->wbuf_pagesize, GFP_KERNEL);
fs/jffs2/wbuf.c
1338
c->wbuf = kmalloc(c->wbuf_pagesize, GFP_KERNEL);
fs/jffs2/wbuf.c
340
buf = kmalloc(end - start, GFP_KERNEL);
fs/jffs2/xattr.c
216
data = kmalloc(length, GFP_KERNEL);
fs/jffs2/xattr.c
367
data = kmalloc(name_len + 1 + xsize, GFP_KERNEL);
fs/jfs/acl.c
41
value = kmalloc(size, GFP_KERNEL);
fs/jfs/xattr.c
1031
name = kmalloc(XATTR_SECURITY_PREFIX_LEN +
fs/jfs/xattr.c
489
ea_buf->xattr = kmalloc(ea_buf->max_size, GFP_KERNEL);
fs/kernfs/file.c
250
buf = kmalloc(len, GFP_KERNEL);
fs/kernfs/file.c
329
buf = kmalloc(len + 1, GFP_KERNEL);
fs/kernfs/file.c
691
of->prealloc_buf = kmalloc(len + 1, GFP_KERNEL);
fs/libfs.c
1911
decrypted_name.name = kmalloc(de_name_len, GFP_KERNEL);
fs/lockd/svclock.c
431
void *data = kmalloc(lock->oh.len, GFP_KERNEL);
fs/lockd/svcshare.c
46
share = kmalloc(sizeof(*share) + oh->len,
fs/namei.c
159
char *p __free(kfree) = kmalloc(PATH_MAX, GFP_KERNEL);
fs/namespace.c
4032
copy = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/namespace.c
5984
ks = kmalloc(sizeof(*ks), GFP_KERNEL_ACCOUNT);
fs/nfs/fscache.c
101
key = kmalloc(NFS_MAX_KEY_LEN + 24, GFP_KERNEL);
fs/nfs/namespace.c
296
buffer = kmalloc(4096, GFP_USER);
fs/nfs/nfs42xattr.c
202
buf = kmalloc(alloclen, GFP_KERNEL);
fs/nfs/nfs4idmap.c
264
*desc = kmalloc(desclen, GFP_KERNEL);
fs/nfs/nfs4namespace.c
139
buf = kmalloc(4096, GFP_KERNEL);
fs/nfs/nfs4namespace.c
308
ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL);
fs/nfs/nfs4namespace.c
320
source = kmalloc(len + 1 + ctx->nfs_server.export_path_len + 1,
fs/nfs/nfs4namespace.c
69
p = buf = kmalloc(len + 1, GFP_KERNEL);
fs/nfs/nfs4proc.c
4055
servername = kmalloc(srv_loc->len + 1, GFP_KERNEL);
fs/nfs/nfs4proc.c
6020
acl = kmalloc(buflen, GFP_KERNEL);
fs/nfs/nfs4proc.c
6451
str = kmalloc(len, GFP_KERNEL);
fs/nfs/nfs4proc.c
6498
str = kmalloc(len, GFP_KERNEL);
fs/nfs/read.c
117
hdr->res.scratch = kmalloc(size, GFP_KERNEL);
fs/nfsd/export.c
104
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/nfsd/export.c
633
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/nfsd/nfs4acl.c
160
*acl = kmalloc(nfs4_acl_bytes(size), GFP_KERNEL);
fs/nfsd/nfs4idmap.c
217
buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/nfsd/nfs4idmap.c
386
buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/nfsd/nfs4proc.c
2457
buf = kmalloc(count << 2, GFP_KERNEL);
fs/nfsd/nfs4recover.c
1564
result = kmalloc(len, GFP_KERNEL);
fs/nfsd/nfs4recover.c
1593
result = kmalloc(len, GFP_KERNEL);
fs/nfsd/nfs4recover.c
1620
result = kmalloc(len, GFP_KERNEL);
fs/nfsd/nfs4recover.c
1645
result = kmalloc(len, GFP_KERNEL);
fs/nfsd/nfscache.c
604
cachv->iov_base = kmalloc(bufsize, GFP_KERNEL);
fs/notify/fanotify/fanotify.c
445
ext_buf = kmalloc(fh_len, gfp);
fs/notify/fanotify/fanotify.c
661
fne = kmalloc(size, gfp);
fs/notify/fanotify/fanotify_user.c
1590
hash = kmalloc(sizeof(struct hlist_head) << FANOTIFY_HTABLE_BITS,
fs/notify/inotify/inotify_fsnotify.c
96
event = kmalloc(alloc_len, GFP_KERNEL_ACCOUNT | __GFP_RETRY_MAYFAIL);
fs/ntfs3/attrlist.c
322
void *ptr = kmalloc(new_asize, GFP_NOFS);
fs/ntfs3/dir.c
471
name = kmalloc(PATH_MAX, GFP_KERNEL);
fs/ntfs3/fslog.c
1161
to_free = kmalloc(log->page_size, GFP_NOFS);
fs/ntfs3/fslog.c
1636
page_bufs = kmalloc(log->page_size * 0x10, GFP_NOFS);
fs/ntfs3/fslog.c
2191
page = kmalloc(log->page_size, GFP_NOFS);
fs/ntfs3/fslog.c
2366
rst = kmalloc(len, GFP_NOFS);
fs/ntfs3/fslog.c
2425
void *lr = kmalloc(len, GFP_NOFS);
fs/ntfs3/fslog.c
3207
buffer_le = kmalloc(bytes, GFP_NOFS);
fs/ntfs3/fslog.c
3799
log->one_page_buf = kmalloc(log->page_size, GFP_NOFS);
fs/ntfs3/fslog.c
4619
oe->ptr = kmalloc(t16, GFP_NOFS);
fs/ntfs3/fsntfs.c
2035
p = kmalloc(*size, GFP_NOFS);
fs/ntfs3/fsntfs.c
2658
struct cpu_str *uni = kmalloc(PATH_MAX, GFP_KERNEL);
fs/ntfs3/index.c
1058
ib = kmalloc(bytes, GFP_NOFS);
fs/ntfs3/index.c
1841
up_e = kmalloc(sp_size + sizeof(u64), GFP_NOFS);
fs/ntfs3/index.c
2229
re = kmalloc(le16_to_cpu(te->size) + sizeof(u64), GFP_NOFS);
fs/ntfs3/inode.c
1841
link_path_buffer = kmalloc(PATH_MAX, GFP_NOFS);
fs/ntfs3/inode.c
1854
translated = kmalloc(PATH_MAX, GFP_NOFS);
fs/ntfs3/inode.c
1957
rp = kmalloc(size, GFP_NOFS);
fs/ntfs3/inode.c
2081
ret = kmalloc(PAGE_SIZE, GFP_NOFS);
fs/ntfs3/namei.c
306
de = kmalloc(PATH_MAX, GFP_KERNEL);
fs/ntfs3/namei.c
409
uni = kmalloc(PATH_MAX, GFP_NOWAIT);
fs/ntfs3/namei.c
470
uni1 = kmalloc(PATH_MAX, GFP_NOWAIT);
fs/ntfs3/namei.c
71
struct cpu_str *uni = kmalloc(PATH_MAX, GFP_KERNEL);
fs/ntfs3/record.c
105
mi->mrec = kmalloc(sbi->record_size, GFP_NOFS);
fs/ntfs3/super.c
129
kmalloc(sizeof(s_name_buf), GFP_NOFS);
fs/ntfs3/super.c
536
label = kmalloc(count, GFP_NOFS);
fs/ntfs3/xattr.c
118
ea_p = kmalloc(size_add(size, add_bytes), GFP_NOFS);
fs/ntfs3/xattr.c
559
buf = kmalloc(PATH_MAX, GFP_KERNEL);
fs/ocfs2/acl.c
135
value = kmalloc(retval, GFP_NOFS);
fs/ocfs2/acl.c
86
ocfs2_acl = kmalloc(*size, GFP_NOFS);
fs/ocfs2/cluster/heartbeat.c
1288
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/ocfs2/cluster/heartbeat.c
1396
*db = kmalloc(db_len, GFP_KERNEL);
fs/ocfs2/cluster/heartbeat.c
1676
reg->hr_tmp_block = kmalloc(reg->hr_block_bytes, GFP_KERNEL);
fs/ocfs2/cluster/netdebug.c
454
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/ocfs2/dir.c
3859
tmp_dx_leaf = kmalloc(osb->sb->s_blocksize, GFP_NOFS);
fs/ocfs2/dlm/dlmdebug.c
564
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/ocfs2/dlm/dlmdomain.c
1109
local = kmalloc(sizeof(qr->qr_regions), GFP_KERNEL);
fs/ocfs2/dlm/dlmrecovery.c
1384
buf = kmalloc(be16_to_cpu(msg->data_len), GFP_NOFS);
fs/ocfs2/localalloc.c
508
*alloc_copy = kmalloc(alloc_bh->b_size, GFP_KERNEL);
fs/ocfs2/quota_local.c
305
rc->rc_bitmap = kmalloc(sb->s_blocksize, GFP_NOFS);
fs/ocfs2/super.c
2050
osb->vol_label = kmalloc(OCFS2_MAX_VOL_LABEL_LEN, GFP_KERNEL);
fs/ocfs2/super.c
348
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/ocfs2/xattr.c
4428
bucket_buf = kmalloc(OCFS2_XATTR_BUCKET_SIZE, GFP_NOFS);
fs/orangefs/acl.c
40
value = kmalloc(ORANGEFS_MAX_XATTR_VALUELEN, GFP_KERNEL);
fs/orangefs/orangefs-debugfs.c
397
buf = kmalloc(ORANGEFS_MAX_DEBUG_STRING_LEN, GFP_KERNEL);
fs/overlayfs/dir.c
1021
buf = ret = kmalloc(buflen, GFP_KERNEL);
fs/overlayfs/params.c
473
buf = kmalloc(PATH_MAX, GFP_KERNEL_ACCOUNT);
fs/overlayfs/readdir.c
84
cf_name = kmalloc(NAME_MAX, GFP_KERNEL);
fs/overlayfs/xattrs.c
159
escaped = kmalloc(escaped_len + 1, GFP_KERNEL);
fs/posix_acl.c
842
ext_acl = kmalloc(size, gfp);
fs/proc/base.c
1824
char *tmp = kmalloc(PATH_MAX, GFP_KERNEL);
fs/proc/generic.c
459
ent->name = kmalloc(qstr.len + 1, GFP_KERNEL);
fs/proc/kcore.c
645
filp->private_data = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/proc/self.c
22
name = kmalloc(10 + 1, dentry ? GFP_KERNEL : GFP_ATOMIC);
fs/proc/task_mmu.c
740
name_buf = kmalloc(name_buf_sz, GFP_KERNEL);
fs/proc/thread_self.c
22
name = kmalloc(10 + 6 + 10 + 1, dentry ? GFP_KERNEL : GFP_ATOMIC);
fs/proc/vmcore.c
754
notes_section = kmalloc(max_sz, GFP_KERNEL);
fs/proc/vmcore.c
945
notes_section = kmalloc(max_sz, GFP_KERNEL);
fs/pstore/ftrace.c
195
merged_buf = kmalloc(total, GFP_KERNEL);
fs/pstore/zone.c
1047
record->buf = kmalloc(len, GFP_KERNEL);
fs/pstore/zone.c
1173
zone->buffer = kmalloc(size, GFP_KERNEL);
fs/pstore/zone.c
986
record->buf = kmalloc(size, GFP_KERNEL);
fs/quota/quota_tree.c
117
char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/quota/quota_tree.c
169
char *tmpbuf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/quota/quota_tree.c
216
char *tmpbuf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/quota/quota_tree.c
264
char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/quota/quota_tree.c
338
char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/quota/quota_tree.c
444
char *ddquot = kmalloc(info->dqi_entry_size, GFP_KERNEL);
fs/quota/quota_tree.c
483
char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/quota/quota_tree.c
547
char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/quota/quota_tree.c
625
char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/quota/quota_tree.c
663
char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/quota/quota_tree.c
751
ddquot = kmalloc(info->dqi_entry_size, GFP_KERNEL);
fs/quota/quota_tree.c
795
char *buf = kmalloc(info->dqi_usable_bs, GFP_KERNEL);
fs/romfs/super.c
484
rsb = kmalloc(512, GFP_KERNEL);
fs/smb/client/cifs_unicode.c
340
dst = kmalloc(len, GFP_KERNEL);
fs/smb/client/cifs_unicode.c
622
dst = kmalloc(len, GFP_KERNEL);
fs/smb/client/cifsacl.c
116
sidstr = kmalloc(3 + SID_STRING_BASE_SIZE +
fs/smb/client/cifsacl.c
1680
pnntsd = kmalloc(nsecdesclen, GFP_KERNEL);
fs/smb/client/cifsencrypt.c
227
*name = kmalloc(nlen, GFP_KERNEL);
fs/smb/client/cifsencrypt.c
275
user = kmalloc(2 + (len * 2), GFP_KERNEL);
fs/smb/client/cifsencrypt.c
293
domain = kmalloc(2 + (len * 2), GFP_KERNEL);
fs/smb/client/cifsencrypt.c
305
server = kmalloc(2 + (len * 2), GFP_KERNEL);
fs/smb/client/cifsencrypt.c
355
spn = kmalloc(len, GFP_KERNEL);
fs/smb/client/cifsencrypt.c
368
rsp = kmalloc(len, GFP_KERNEL);
fs/smb/client/cifsfs.c
1240
target_path = kmalloc(PATH_MAX, GFP_KERNEL);
fs/smb/client/connect.c
2191
desc = kmalloc(desc_sz, GFP_KERNEL);
fs/smb/client/dir.c
190
npath = kmalloc(size, GFP_KERNEL);
fs/smb/client/dir.c
57
full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL);
fs/smb/client/dns_resolve.c
85
s = kmalloc(len, GFP_KERNEL);
fs/smb/client/fs_context.c
632
s = kmalloc(ulen + plen + 1, GFP_KERNEL);
fs/smb/client/inode.c
641
symlink_buf_utf16 = kmalloc(fattr->cf_eof-8 + 1, GFP_KERNEL);
fs/smb/client/link.c
144
buf = kmalloc(CIFS_MF_SYMLINK_FILE_SIZE, GFP_KERNEL);
fs/smb/client/link.c
184
buf = kmalloc(CIFS_MF_SYMLINK_FILE_SIZE, GFP_KERNEL);
fs/smb/client/misc.c
1049
path = kmalloc(len, GFP_KERNEL);
fs/smb/client/misc.c
736
__le16 *tmp = kmalloc(strlen(searchName)*2 + 2,
fs/smb/client/misc.c
813
*sdesc = kmalloc(sizeof(struct shash_desc) + crypto_shash_descsize(alg), GFP_KERNEL);
fs/smb/client/namespace.c
90
dev = kmalloc(2 + unclen + 1 + pplen + 1, GFP_KERNEL);
fs/smb/client/readdir.c
1176
tmp_buf = kmalloc(UNICODE_NAME_MAX, GFP_KERNEL);
fs/smb/client/reparse.c
924
linux_target = kmalloc(symlinkroot_len + 1 + abs_path_len, GFP_KERNEL);
fs/smb/client/reparse.c
949
linux_target = kmalloc(levels*3 + smb_target_len, GFP_KERNEL);
fs/smb/client/sess.c
794
*pbuffer = kmalloc(len, GFP_KERNEL);
fs/smb/client/sess.c
856
*pbuffer = kmalloc(len, GFP_KERNEL);
fs/smb/client/sess.c
927
*pbuffer = kmalloc(len, GFP_KERNEL);
fs/smb/client/smb1session.c
270
ses->serverOS = kmalloc(len + 1, GFP_KERNEL);
fs/smb/client/smb1session.c
287
ses->serverNOS = kmalloc(len + 1, GFP_KERNEL);
fs/smb/client/smb1session.c
334
sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL);
fs/smb/client/smb2pdu.c
2114
unc_path = kmalloc(MAX_SHARENAME_LENGTH * 2, GFP_KERNEL);
fs/smb/client/smb2pdu.c
3949
*data = kmalloc(*dlen, GFP_KERNEL);
fs/smb/client/unc.c
39
dst = kmalloc((len + 1), GFP_KERNEL);
fs/smb/client/xattr.c
173
pacl = kmalloc(size, GFP_KERNEL);
fs/smb/server/asn1.c
107
buf = kmalloc(total_len, KSMBD_DEFAULT_GFP);
fs/smb/server/asn1.c
143
buf = kmalloc(total_len, KSMBD_DEFAULT_GFP);
fs/smb/server/auth.c
333
name = kmalloc(2 + UNICODE_LEN(len), KSMBD_DEFAULT_GFP);
fs/smb/server/mgmt/user_config.c
48
user->passkey = kmalloc(resp->hash_sz, KSMBD_DEFAULT_GFP);
fs/smb/server/misc.c
170
pathname = kmalloc(PATH_MAX, KSMBD_DEFAULT_GFP);
fs/smb/server/misc.c
187
nt_pathname = kmalloc(prefix + ab_pathname_len + 1, KSMBD_DEFAULT_GFP);
fs/smb/server/misc.c
303
new_name = kmalloc(path_len + name_len + 2, KSMBD_DEFAULT_GFP);
fs/smb/server/misc.c
329
conv = kmalloc(sz, KSMBD_DEFAULT_GFP);
fs/smb/server/smb2pdu.c
2394
attr_name = kmalloc(XATTR_NAME_MAX + 1, KSMBD_DEFAULT_GFP);
fs/smb/server/smb2pdu.c
5099
stream_buf = kmalloc(streamlen + 1, KSMBD_DEFAULT_GFP);
fs/smb/server/smb2pdu.c
6172
pathname = kmalloc(PATH_MAX, KSMBD_DEFAULT_GFP);
fs/smb/server/smb2pdu.c
7684
argv = kmalloc(sizeof(void *), KSMBD_DEFAULT_GFP);
fs/smb/server/smbacl.c
1108
aces_base = kmalloc(sizeof(struct smb_ace) * num_aces * 2,
fs/smb/server/unicode.c
300
dst = kmalloc(len, KSMBD_DEFAULT_GFP);
fs/smb/server/unicode.c
312
dst = kmalloc(len, KSMBD_DEFAULT_GFP);
fs/smb/server/vfs.c
840
buf = kmalloc(xattr_len + 1, KSMBD_DEFAULT_GFP);
fs/smb/server/vfs_cache.c
1069
pathname = kmalloc(PATH_MAX, KSMBD_DEFAULT_GFP);
fs/squashfs/cache.c
269
entry->data[j] = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/squashfs/cache.c
420
table = buffer = kmalloc(length, GFP_KERNEL);
fs/squashfs/decompressor.c
98
buffer = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/squashfs/dir.c
110
dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL);
fs/squashfs/file.c
167
__le32 *blist = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/squashfs/file.c
707
blist = kmalloc(SQUASHFS_SCAN_INDEXES << 2, GFP_KERNEL);
fs/squashfs/namei.c
136
dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL);
fs/squashfs/namei.c
74
index = kmalloc(sizeof(*index) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL);
fs/squashfs/page_actor.c
119
actor->tmp_buffer = kmalloc(PAGE_SIZE, GFP_KERNEL);
fs/squashfs/xattr.c
116
char *target = kmalloc(name_len, GFP_KERNEL);
fs/ubifs/auth.c
454
hmac = kmalloc(hmac_len, GFP_NOFS);
fs/ubifs/auth.c
480
state = kmalloc(crypto_shash_descsize(src->tfm), GFP_NOFS);
fs/ubifs/auth.c
98
desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL);
fs/ubifs/commit.c
536
idx = kmalloc(c->max_idx_node_sz, GFP_NOFS);
fs/ubifs/commit.c
598
i = kmalloc(sz, GFP_NOFS);
fs/ubifs/debug.c
1206
dent1 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS);
fs/ubifs/debug.c
1209
dent2 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS);
fs/ubifs/debug.c
1966
ino = kmalloc(zbr->len, GFP_NOFS);
fs/ubifs/debug.c
2020
node = kmalloc(zbr->len, GFP_NOFS);
fs/ubifs/debug.c
2261
ino = kmalloc(zbr->len, GFP_NOFS);
fs/ubifs/dir.c
1220
ui->data = kmalloc(disk_link.len, GFP_NOFS);
fs/ubifs/dir.c
239
dent = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS);
fs/ubifs/file.c
123
dn = kmalloc(UBIFS_MAX_DATA_NODE_SZ, GFP_NOFS);
fs/ubifs/file.c
740
bu->buf = kmalloc(bu->buf_len, GFP_NOFS | __GFP_NOWARN);
fs/ubifs/gc.c
413
auth = kmalloc(ubifs_auth_node_sz(c), GFP_NOFS);
fs/ubifs/io.c
1149
wbuf->buf = kmalloc(c->max_write_size, GFP_KERNEL);
fs/ubifs/io.c
1154
wbuf->inodes = kmalloc(size, GFP_KERNEL);
fs/ubifs/journal.c
1010
ino_start = ino = kmalloc(write_len, GFP_NOFS);
fs/ubifs/journal.c
1631
buf = kmalloc(out_len, GFP_NOFS);
fs/ubifs/journal.c
1719
ino = kmalloc(sz, GFP_NOFS);
fs/ubifs/journal.c
876
data = kmalloc(dlen + auth_len, GFP_NOFS | __GFP_NOWARN);
fs/ubifs/log.c
369
buf = cs = kmalloc(max_len, GFP_NOFS);
fs/ubifs/lpt.c
1676
buf = kmalloc(bufsiz, GFP_NOFS);
fs/ubifs/lpt.c
1786
c->lpt_nod_buf = kmalloc(i, GFP_KERNEL);
fs/ubifs/orphan.c
539
ino = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS);
fs/ubifs/orphan.c
917
ci.node = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS);
fs/ubifs/recovery.c
304
c->rcvrd_mst_node = kmalloc(sz, GFP_KERNEL);
fs/ubifs/recovery.c
806
cs_node = kmalloc(UBIFS_CS_NODE_SZ, GFP_KERNEL);
fs/ubifs/replay.c
450
nbuf = kmalloc(nlen + 1, GFP_KERNEL);
fs/ubifs/sb.c
526
sup = kmalloc(ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size), GFP_NOFS);
fs/ubifs/super.c
1157
c->bu.buf = kmalloc(c->max_bu_buf_len, GFP_KERNEL | __GFP_NOWARN);
fs/ubifs/super.c
121
ino = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS);
fs/ubifs/super.c
1266
c->write_reserve_buf = kmalloc(COMPRESSED_DATA_NODE_BUF_SZ + \
fs/ubifs/super.c
1310
c->cbuf = kmalloc(sz, GFP_NOFS);
fs/ubifs/super.c
171
ui->data = kmalloc(ui->data_len + 1, GFP_NOFS);
fs/ubifs/super.c
1726
c->write_reserve_buf = kmalloc(COMPRESSED_DATA_NODE_BUF_SZ + \
fs/ubifs/super.c
197
ui->data = kmalloc(ui->data_len + 1, GFP_NOFS);
fs/ubifs/tnc.c
2748
dent = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS);
fs/ubifs/tnc.c
3040
dent = kmalloc(zbr->len, GFP_NOFS);
fs/ubifs/tnc.c
576
dent = kmalloc(zbr->len, GFP_NOFS);
fs/ubifs/tnc.c
864
dent = kmalloc(zbr->len, GFP_NOFS);
fs/ubifs/tnc_misc.c
296
idx = kmalloc(c->max_idx_node_sz, GFP_NOFS);
fs/ubifs/xattr.c
269
xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS);
fs/ubifs/xattr.c
327
xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS);
fs/ubifs/xattr.c
570
xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS);
fs/ubifs/xattr.c
613
name = kmalloc(XATTR_SECURITY_PREFIX_LEN +
fs/udf/dir.c
71
fname = kmalloc(UDF_NAME_LEN, GFP_KERNEL);
fs/udf/directory.c
262
iter->namebuf = kmalloc(UDF_NAME_LEN_CS0, GFP_KERNEL | __GFP_NOFAIL);
fs/udf/inode.c
1667
iinfo->i_data = kmalloc(size, GFP_KERNEL);
fs/udf/namei.c
586
name = kmalloc(UDF_NAME_LEN_CS0, GFP_KERNEL);
fs/udf/namei.c
62
fname = kmalloc(UDF_NAME_LEN, GFP_KERNEL);
fs/ufs/super.c
469
base = space = kmalloc(size, GFP_NOFS);
fs/vboxsf/dir.c
443
ssymname = kmalloc(SHFLSTRING_HEADER_SIZE + symname_size, GFP_KERNEL);
fs/vboxsf/super.c
164
folder_name = kmalloc(SHFLSTRING_HEADER_SIZE + size, GFP_KERNEL);
fs/vboxsf/utils.c
485
b->buf = kmalloc(DIR_BUFFER_SIZE, GFP_KERNEL);
fs/verity/open.c
328
desc = kmalloc(res, GFP_KERNEL);
fs/xfs/libxfs/xfs_attr_leaf.c
1045
tmpbuffer = kmalloc(size, GFP_KERNEL | __GFP_NOFAIL);
fs/xfs/libxfs/xfs_da_btree.c
2357
mapp = kmalloc(sizeof(*mapp) * count,
fs/xfs/libxfs/xfs_dir2_block.c
1119
sfp = kmalloc(ifp->if_bytes, GFP_KERNEL | __GFP_NOFAIL);
fs/xfs/libxfs/xfs_dir2_sf.c
1154
buf = kmalloc(oldsize, GFP_KERNEL | __GFP_NOFAIL);
fs/xfs/libxfs/xfs_dir2_sf.c
1226
buf = kmalloc(oldsize, GFP_KERNEL | __GFP_NOFAIL);
fs/xfs/libxfs/xfs_dir2_sf.c
279
sfp = kmalloc(mp->m_sb.sb_inodesize, GFP_KERNEL | __GFP_NOFAIL);
fs/xfs/libxfs/xfs_dir2_sf.c
527
buf = kmalloc(old_isize, GFP_KERNEL | __GFP_NOFAIL);
fs/xfs/libxfs/xfs_exchmaps.c
501
buf = kmalloc(ip->i_disk_size + 1,
fs/xfs/libxfs/xfs_inode_fork.c
386
ifp->if_broot = kmalloc(new_size,
fs/xfs/libxfs/xfs_inode_fork.c
420
ifp->if_broot = kmalloc(new_size, GFP_KERNEL | __GFP_NOFAIL);
fs/xfs/libxfs/xfs_inode_fork.c
57
char *new_data = kmalloc(mem_size,
fs/xfs/xfs_attr_list.c
117
sbp = sbuf = kmalloc(sbsize,
fs/xfs/xfs_buf.c
132
bp->b_addr = kmalloc(size, gfp_mask | __GFP_NOFAIL);
fs/xfs/xfs_iops.c
521
link = kmalloc(XFS_SYMLINK_MAXLEN+1, GFP_KERNEL);
fs/xfs/xfs_iwalk.c
155
iwag->recs = kmalloc(size, GFP_KERNEL | __GFP_RETRY_MAYFAIL);
fs/xfs/xfs_log_priv.h
709
p = kmalloc(buf_size, flags);
fs/xfs/xfs_qm.c
1173
map = kmalloc(XFS_DQITER_MAP_SIZE * sizeof(*map),
fs/zonefs/super.c
1114
super = kmalloc(ZONEFS_SUPER_SIZE, GFP_KERNEL);
fs/zonefs/super.c
807
fname = kmalloc(ZONEFS_NAME_MAX, GFP_KERNEL);
include/acpi/platform/aclinuxex.h
54
kmalloc(_size, irqs_disabled() ? GFP_ATOMIC : GFP_KERNEL)
include/crypto/aead.h
523
req = kmalloc(sizeof(*req) + crypto_aead_reqsize(tfm), gfp);
include/crypto/akcipher.h
187
req = kmalloc(sizeof(*req) + crypto_akcipher_reqsize(tfm), gfp);
include/crypto/kpp.h
185
req = kmalloc(sizeof(*req) + crypto_kpp_reqsize(tfm), gfp);
include/linux/ceph/decode.h
118
buf = kmalloc(len + 1, gfp);
include/linux/decompress/mm.h
89
#define malloc(a) kmalloc(a, GFP_KERNEL)
include/linux/fs.h
2584
#define __getname() kmalloc(PATH_MAX, GFP_KERNEL)
include/linux/nodemask.h
521
type *name = kmalloc(sizeof(*name), gfp_flags)
include/linux/slab.h
1009
__alloc_objs(kmalloc, default_gfp(__VA_ARGS__), typeof(VAR_OR_TYPE), 1)
include/linux/slab.h
1021
__alloc_objs(kmalloc, default_gfp(__VA_ARGS__), typeof(VAR_OR_TYPE), COUNT)
include/linux/slab.h
1036
__alloc_flex(kmalloc, default_gfp(__VA_ARGS__), typeof(VAR_OR_TYPE), FAM, COUNT)
include/net/tcp.h
2727
dopt = kmalloc(opt_size, GFP_ATOMIC);
include/trace/events/kmem.h
57
TRACE_EVENT(kmalloc,
init/do_mounts_rd.c
230
buf = kmalloc(BLOCK_SIZE, GFP_KERNEL);
init/do_mounts_rd.c
66
buf = kmalloc(size, GFP_KERNEL);
init/initramfs_test.c
175
cpio_srcbuf = kmalloc(CPIO_HDRLEN + PATH_MAX + 3, GFP_KERNEL);
init/initramfs_test.c
219
cpio_srcbuf = kmalloc(CPIO_HDRLEN + c[0].namesize + c[0].filesize + 6,
init/initramfs_test.c
275
cpio_srcbuf = kmalloc(8192, GFP_KERNEL);
init/initramfs_test.c
331
cpio_srcbuf = kmalloc(8192, GFP_KERNEL);
init/initramfs_test.c
361
p = cpio_srcbuf = kmalloc(len, GFP_KERNEL);
io_uring/alloc_cache.c
40
obj = kmalloc(cache->elem_size, gfp);
io_uring/io_uring.h
359
req->async_data = kmalloc(def->async_size, GFP_KERNEL);
io_uring/napi.c
60
e = kmalloc(sizeof(*e), GFP_NOWAIT);
ipc/msgutil.c
76
seg = kmalloc(sizeof(*seg) + alen, GFP_KERNEL_ACCOUNT);
kernel/audit.c
2198
pathname = kmalloc(PATH_MAX+11, ab->gfp_mask);
kernel/auditfilter.c
140
str = kmalloc(len + 1, GFP_KERNEL);
kernel/auditsc.c
1150
buf_head = kmalloc(MAX_EXECVE_AUDIT_LEN + 1, GFP_KERNEL);
kernel/auditsc.c
1590
buf = kmalloc(MAX_PROCTITLE_AUDIT_LEN, GFP_KERNEL);
kernel/bpf/arraymap.c
709
value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN);
kernel/bpf/bpf_struct_ops.c
955
value = kmalloc(map->value_size, GFP_USER | __GFP_NOWARN);
kernel/bpf/btf.c
9391
new_cands = kmalloc(sizeof_cands(cands->cnt + 1), GFP_KERNEL_ACCOUNT);
kernel/bpf/cgroup.c
2065
void *p = kmalloc(ctx.optlen, GFP_USER);
kernel/bpf/hashtab.c
2228
value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN);
kernel/cgroup/cgroup-v1.c
814
pathbuf = kmalloc(PATH_MAX, GFP_KERNEL);
kernel/cgroup/cgroup-v1.c
815
agentbuf = kmalloc(PATH_MAX, GFP_KERNEL);
kernel/cgroup/cgroup.c
1905
buf = kmalloc(PATH_MAX, GFP_KERNEL);
kernel/cgroup/cgroup.c
6582
buf = kmalloc(PATH_MAX, GFP_KERNEL);
kernel/cgroup/cpuset-v1.c
423
buf = kmalloc(PATH_MAX, GFP_KERNEL);
kernel/cgroup/debug.c
91
name_buf = kmalloc(NAME_MAX + 1, GFP_KERNEL);
kernel/debug/kdb/kdb_main.c
314
ep = kmalloc(varlen + vallen + 2, GFP_KDB);
kernel/debug/kdb/kdb_support.c
248
char *s = kmalloc(n, type);
kernel/debug/kdb/kdb_support.c
274
s = kmalloc(len, type);
kernel/events/core.c
9548
pathname = kmalloc(PATH_MAX, GFP_KERNEL);
kernel/events/core.c
9716
buf = kmalloc(PATH_MAX, GFP_KERNEL);
kernel/locking/locktorture.c
1046
buf = kmalloc(size, GFP_KERNEL);
kernel/locking/locktorture.c
1058
buf = kmalloc(size, GFP_KERNEL);
kernel/module/kmod.c
84
char **argv = kmalloc(sizeof(char *[5]), GFP_KERNEL);
kernel/module/livepatch.c
24
mod->klp_info = kmalloc(size, GFP_KERNEL);
kernel/module/main.c
1794
buf = kmalloc(total_len, GFP_KERNEL);
kernel/panic.c
333
panic_force_buf = kmalloc(PANIC_MSG_BUFSZ, GFP_KERNEL);
kernel/params.c
52
p = kmalloc(size_add(sizeof(*p), size), GFP_KERNEL);
kernel/printk/printk.c
1585
text = kmalloc(PRINTK_MESSAGE_MAX, GFP_KERNEL);
kernel/printk/printk.c
1690
text = kmalloc(PRINTK_MESSAGE_MAX, GFP_KERNEL);
kernel/printk/printk.c
762
buf = kmalloc(len+1, GFP_KERNEL);
kernel/rcu/refscale.c
1321
buf = kmalloc(800 + 64, GFP_KERNEL);
kernel/sched/isolation.c
126
trial = kmalloc(cpumask_size(), GFP_KERNEL);
kernel/sched/isolation.c
181
struct cpumask *omask, *nmask = kmalloc(cpumask_size(), GFP_KERNEL);
kernel/taskstats.c
367
data = kmalloc(len, GFP_KERNEL);
kernel/trace/bpf_trace.c
2988
buf = kmalloc(upath_size, GFP_KERNEL);
kernel/trace/bpf_trace.c
3038
buf = kmalloc(PATH_MAX, GFP_KERNEL);
kernel/trace/remote_test.c
92
desc = kmalloc(desc_size, GFP_KERNEL);
kernel/trace/ring_buffer.c
6199
iter->event = kmalloc(iter->event_size, flags);
kernel/trace/trace.c
10592
kbuf = kmalloc(WRITE_BUFSIZE, GFP_KERNEL);
kernel/trace/trace.c
10655
test = kmalloc(strlen(name) + 3, GFP_KERNEL);
kernel/trace/trace.c
1422
parser->buffer = kmalloc(size, GFP_KERNEL);
kernel/trace/trace.c
1802
selftest = kmalloc(sizeof(*selftest), GFP_KERNEL);
kernel/trace/trace.c
3183
temp = kmalloc(iter->ent_size, GFP_KERNEL);
kernel/trace/trace.c
3974
iter->temp = kmalloc(128, GFP_KERNEL);
kernel/trace/trace.c
4391
mask_str = kmalloc(len, GFP_KERNEL);
kernel/trace/trace.c
8457
buf = kmalloc(DYN_INFO_BUF_SIZE, GFP_KERNEL);
kernel/trace/trace_eprobe.c
863
gbuf = kmalloc(MAX_EVENT_NAME_LEN, GFP_KERNEL);
kernel/trace/trace_eprobe.c
876
buf2 = kmalloc(MAX_EVENT_NAME_LEN, GFP_KERNEL);
kernel/trace/trace_events.c
4871
test_malloc = kmalloc(1234, GFP_KERNEL);
kernel/trace/trace_events_filter.c
1877
tmp = kmalloc((i - maskstart) + 1, GFP_KERNEL);
kernel/trace/trace_events_synth.c
649
print_fmt = kmalloc(len + 1, GFP_KERNEL);
kernel/trace/trace_events_user.c
1427
print_fmt = kmalloc(len, GFP_KERNEL_ACCOUNT);
kernel/trace/trace_events_user.c
1871
dyn_field_name = kmalloc(dyn_len, GFP_KERNEL);
kernel/trace/trace_events_user.c
1872
field_name = kmalloc(len, GFP_KERNEL);
kernel/trace/trace_events_user.c
2008
fixed = kmalloc(len + 1, GFP_KERNEL);
kernel/trace/trace_events_user.c
349
system_name = kmalloc(len, GFP_KERNEL);
kernel/trace/trace_fprobe.c
1280
gbuf = kmalloc(MAX_EVENT_NAME_LEN, GFP_KERNEL);
kernel/trace/trace_fprobe.c
1290
ebuf = kmalloc(MAX_EVENT_NAME_LEN, GFP_KERNEL);
kernel/trace/trace_fprobe.c
1318
sbuf = kmalloc(KSYM_NAME_LEN, GFP_KERNEL);
kernel/trace/trace_fprobe.c
1328
abuf = kmalloc(MAX_BTF_ARGS_LEN, GFP_KERNEL);
kernel/trace/trace_kprobe.c
1000
ebuf = kmalloc(MAX_EVENT_NAME_LEN, GFP_KERNEL);
kernel/trace/trace_kprobe.c
1013
abuf = kmalloc(MAX_BTF_ARGS_LEN, GFP_KERNEL);
kernel/trace/trace_kprobe.c
989
gbuf = kmalloc(MAX_EVENT_NAME_LEN, GFP_KERNEL);
kernel/trace/trace_osnoise.c
2289
mask_str = kmalloc(len, GFP_KERNEL);
kernel/trace/trace_printk.c
74
fmt = kmalloc(strlen(*iter) + 1, GFP_KERNEL);
kernel/trace/trace_probe.c
1528
parg->fmt = kmalloc(len, GFP_KERNEL);
kernel/trace/trace_probe.c
1817
tmpbuf = kmalloc(bufsize, GFP_KERNEL);
kernel/trace/trace_probe.c
1974
print_fmt = kmalloc(len + 1, GFP_KERNEL);
kernel/trace/trace_remote.c
1187
s = kmalloc(sizeof(*s), GFP_KERNEL);
kernel/trace/trace_remote.c
1210
s = kmalloc(sizeof(*s), GFP_KERNEL);
kernel/trace/trace_syscalls.c
506
print_fmt = kmalloc(len + 1, GFP_KERNEL);
kernel/trace/trace_syscalls.c
562
arg = kmalloc(len, GFP_KERNEL);
kernel/trace/trace_uprobe.c
655
gbuf = kmalloc(MAX_EVENT_NAME_LEN, GFP_KERNEL);
kernel/trace/trace_uprobe.c
677
buf = kmalloc(MAX_EVENT_NAME_LEN, GFP_KERNEL);
lib/bch.c
1180
ptr = kmalloc(size, GFP_KERNEL);
lib/crypto/mldsa.c
553
kmalloc(sizeof(*ws) + (l * sizeof(ws->z[0])) + (k * N),
lib/crypto/mpi/mpicoder.c
218
buf = kmalloc(n, GFP_KERNEL);
lib/crypto/mpi/mpiutil.c
66
return kmalloc(len, GFP_KERNEL);
lib/fonts/fonts.c
93
font_data = kmalloc(alloc_size, GFP_USER);
lib/inflate.c
273
#define malloc(a) kmalloc(a, GFP_KERNEL)
lib/kobject.c
495
devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL);
lib/kobject.c
561
devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL);
lib/kunit/assert.c
104
buffer = kmalloc(len+1, GFP_KERNEL);
lib/kunit/string-stream.c
25
frag->fragment = kmalloc(len, gfp);
lib/math/prime_numbers.c
137
new = kmalloc(sizeof(*new) + bitmap_size(sz),
lib/nlattr.c
816
dst = kmalloc(srclen + 1, flags);
lib/ref_tracker.c
161
sbuf = kmalloc(STACK_BUF_SIZE, GFP_NOWAIT);
lib/string_helpers.c
664
dst = kmalloc(dlen + 1, gfp);
lib/string_helpers.c
685
buffer = kmalloc(PAGE_SIZE, GFP_KERNEL);
lib/string_helpers.c
721
temp = kmalloc(PATH_MAX + 11, GFP_KERNEL);
lib/test_bitmap.c
535
unsigned long *bmap = kmalloc(PAGE_SIZE, GFP_KERNEL);
lib/test_bitmap.c
536
char *buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
lib/test_bpf.c
14773
return kmalloc(test->test[sub].data_size, GFP_KERNEL);
lib/test_meminit.c
109
buf = kmalloc(size, GFP_KERNEL);
lib/test_meminit.c
115
buf = kmalloc(size, GFP_KERNEL);
lib/test_meminit.c
264
buf_copy = kmalloc(size, GFP_ATOMIC);
lib/test_meminit.c
307
buf_contents = kmalloc(size, GFP_KERNEL);
lib/test_objpool.c
108
alloc = atomic_long_read(&test->data.kmalloc.alloc);
lib/test_objpool.c
109
free = atomic_long_read(&test->data.kmalloc.free);
lib/test_objpool.c
41
struct ot_mem_stat kmalloc;
lib/test_objpool.c
90
atomic_long_add(size, &test->data.kmalloc.alloc);
lib/test_objpool.c
98
atomic_long_add(size, &test->data.kmalloc.free);
lib/tests/base64_kunit.c
43
u8 *in = kmalloc(size, GFP_KERNEL);
lib/tests/base64_kunit.c
44
char *enc = kmalloc(outlen, GFP_KERNEL);
lib/tests/base64_kunit.c
45
u8 *decoded = kmalloc(size, GFP_KERNEL);
lib/tests/fortify_kunit.c
224
checker(expected_size, kmalloc(alloc_size, gfp), \
lib/tests/fortify_kunit.c
255
orig = kmalloc(alloc_size, gfp); \
lib/tests/fortify_kunit.c
260
orig = kmalloc(alloc_size, gfp); \
lib/tests/fortify_kunit.c
265
orig = kmalloc(alloc_size, gfp); \
lib/tests/fortify_kunit.c
277
DEFINE_ALLOC_SIZE_TEST_PAIR(kmalloc)
lib/tests/overflow_kunit.c
657
DEFINE_TEST_ALLOC(kmalloc, kfree, 0, 1, 0);
lib/tests/overflow_kunit.c
684
check_allocation_overflow(kmalloc);
lib/tests/printf_kunit.c
776
alloced_buffer = kmalloc(BUF_SIZE + 2*PAD_SIZE, GFP_KERNEL);
lib/tests/scanf_kunit.c
783
test_buffer = kmalloc(BUF_SIZE, GFP_KERNEL);
lib/tests/scanf_kunit.c
787
fmt_buffer = kmalloc(BUF_SIZE, GFP_KERNEL);
lib/tests/slub_kunit.c
357
objects[j] = kmalloc(64, gfp);
lib/tests/string_helpers_kunit.c
575
dst = kmalloc(len, GFP_KERNEL);
lib/tests/string_helpers_kunit.c
587
dst = kmalloc(len, GFP_KERNEL);
lib/zlib_inflate/infutil.c
20
strm->workspace = kmalloc(zlib_inflate_workspacesize(), GFP_KERNEL);
mm/kasan/kasan_test_c.c
1013
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
1630
ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO);
mm/kasan/kasan_test_c.c
1656
ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO);
mm/kasan/kasan_test_c.c
1679
ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO);
mm/kasan/kasan_test_c.c
1683
src = kmalloc(KASAN_GRANULE_SIZE, GFP_KERNEL | __GFP_ZERO);
mm/kasan/kasan_test_c.c
2005
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
203
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
2043
ptr = kmalloc(128, GFP_KERNEL);
mm/kasan/kasan_test_c.c
2069
ptr = kmalloc(128, GFP_KERNEL);
mm/kasan/kasan_test_c.c
2125
ptr = kmalloc(size - KASAN_GRANULE_SIZE, GFP_KERNEL);
mm/kasan/kasan_test_c.c
232
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
292
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
311
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
325
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
337
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
388
ptr1 = kmalloc(size1, GFP_KERNEL);
mm/kasan/kasan_test_c.c
423
ptr1 = kmalloc(size1, GFP_KERNEL);
mm/kasan/kasan_test_c.c
490
ptr1 = kmalloc(size1, GFP_KERNEL);
mm/kasan/kasan_test_c.c
511
ptr1 = RELOC_HIDE(kmalloc(sizeof(*ptr1) - 3, GFP_KERNEL), 0);
mm/kasan/kasan_test_c.c
557
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
575
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
593
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
611
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
628
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
653
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
672
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
688
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
708
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
722
ptr1 = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
727
ptr2 = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
757
ptr1 = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
761
ptr2 = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
877
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
891
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
921
ptr = kmalloc(size, GFP_KERNEL);
mm/kasan/kasan_test_c.c
999
ptr = kmalloc(size, GFP_KERNEL);
mm/kfence/kfence_test.c
284
alloc = kmalloc(size, gfp);
mm/kmsan/kmsan_test.c
372
var = kmalloc(80, GFP_KERNEL);
mm/memblock.c
462
new_array = kmalloc(new_size, GFP_KERNEL);
mm/memcontrol.c
4590
char *buf = kmalloc(SEQ_BUF_SIZE, GFP_KERNEL);
mm/memfd.c
436
name = kmalloc(NAME_MAX + 1, GFP_KERNEL);
mm/page_owner.c
556
kbuf = kmalloc(count, GFP_KERNEL);
mm/process_vm_access.c
188
process_pages = kmalloc(min_t(size_t, PVM_MAX_KMALLOC_PAGES * PAGE_SIZE,
mm/shmem.c
4284
new_xattr->name = kmalloc(XATTR_SECURITY_PREFIX_LEN + len,
mm/slab_common.c
1261
EXPORT_TRACEPOINT_SYMBOL(kmalloc);
mm/slub.c
9527
char *name = kmalloc(ID_STR_LENGTH, GFP_KERNEL);
net/802/garp.c
188
attr = kmalloc(sizeof(*attr) + len, GFP_ATOMIC);
net/802/mrp.c
277
attr = kmalloc(sizeof(*attr) + len, GFP_ATOMIC);
net/9p/client.c
110
fc->sdata = kmalloc(alloc_msize, GFP_NOFS);
net/9p/protocol.c
313
*sptr = kmalloc(len + 1, GFP_NOFS);
net/atm/addr.c
149
tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC);
net/atm/resources.c
211
tmp_buf = kmalloc(size, GFP_ATOMIC);
net/batman-adv/bat_iv_ogm.c
205
ogm_buff = kmalloc(hard_iface->bat_iv.ogm_buff_len, GFP_ATOMIC);
net/batman-adv/translation-table.c
2574
orig_node->tt_buff = kmalloc(tt_buff_len, GFP_ATOMIC);
net/batman-adv/translation-table.c
827
*tt_data = kmalloc(tvlv_len, GFP_ATOMIC);
net/batman-adv/translation-table.c
906
*tt_data = kmalloc(tvlv_len, GFP_ATOMIC);
net/batman-adv/tvlv.c
283
new_buff = kmalloc(min_packet_len + additional_packet_len, GFP_ATOMIC);
net/bluetooth/ecdh_helper.c
109
tmp = kmalloc(32, GFP_KERNEL);
net/bluetooth/ecdh_helper.c
118
buf = kmalloc(buf_len, GFP_KERNEL);
net/bluetooth/ecdh_helper.c
153
tmp = kmalloc(64, GFP_KERNEL);
net/bluetooth/ecdh_helper.c
53
tmp = kmalloc(64, GFP_KERNEL);
net/bluetooth/hci_conn.c
2693
cl = kmalloc(size, GFP_KERNEL);
net/bluetooth/hci_sync.c
568
inst_ptr = kmalloc(1, GFP_KERNEL);
net/bluetooth/mgmt.c
399
rp = kmalloc(rp_size, GFP_KERNEL);
net/bluetooth/mgmt.c
451
rp = kmalloc(rp_len, GFP_ATOMIC);
net/bluetooth/mgmt.c
509
rp = kmalloc(rp_len, GFP_ATOMIC);
net/bluetooth/mgmt.c
5330
rp = kmalloc(rp_size, GFP_KERNEL);
net/bluetooth/mgmt.c
8248
mgmt_rp = kmalloc(sizeof(*mgmt_rp) + eir_len, GFP_KERNEL);
net/bluetooth/mgmt.c
8356
rp = kmalloc(rp_len, GFP_ATOMIC);
net/bluetooth/mgmt.c
8534
rp = kmalloc(rp_len, GFP_ATOMIC);
net/bluetooth/msft.c
527
cp = kmalloc(total_size, GFP_KERNEL);
net/bluetooth/selftest.c
148
tmp = kmalloc(64, GFP_KERNEL);
net/bridge/br_ioctl.c
69
buf = kmalloc(size, GFP_USER);
net/can/isotp.c
525
u8 *newbuf = kmalloc(max_pdu_size, GFP_ATOMIC);
net/can/isotp.c
983
u8 *newbuf = kmalloc(max_pdu_size, GFP_KERNEL);
net/ceph/crypto.c
147
buf = kmalloc(blen, GFP_NOFS);
net/ceph/osdmap.c
167
cn = kmalloc(sizeof(*cn) + name_len + 1, GFP_NOIO);
net/ceph/osdmap.c
2141
dest->name = kmalloc(src->name_len + 1,
net/ceph/osdmap.c
2193
external_name = kmalloc(len + 1, gfp);
net/ceph/osdmap.c
2410
buf = kmalloc(total, GFP_NOIO | __GFP_NOFAIL);
net/ceph/osdmap.c
2892
loc = kmalloc(sizeof(*loc) + type_name_len + name_len + 2, GFP_NOIO);
net/ceph/osdmap.c
714
pg = kmalloc(sizeof(*pg) + payload_len, GFP_NOIO);
net/ceph/string_table.c
40
cs = kmalloc(sizeof(*cs) + len + 1, GFP_NOFS);
net/core/dev.c
1540
new_alias = kmalloc(sizeof(*new_alias) + len + 1, GFP_KERNEL);
net/core/dev_addr_lists.c
60
ha = kmalloc(alloc_size, GFP_ATOMIC);
net/core/flow_offload.c
223
cookie = kmalloc(sizeof(*cookie) + len, gfp);
net/core/hwbm.c
31
buf = kmalloc(frag_size, gfp);
net/core/sock.c
2247
sk = kmalloc(prot->obj_size, priority);
net/core/sock.c
2883
mem = kmalloc(size, priority);
net/core/sysctl_net_core.c
73
kbuf = kmalloc(len, GFP_KERNEL);
net/devlink/region.c
802
data = kmalloc(DEVLINK_REGION_READ_CHUNK_SIZE, GFP_KERNEL);
net/dns_resolver/dns_query.c
93
desc = kmalloc(desclen, GFP_KERNEL);
net/ethtool/cmis_cdb.c
504
page_data->data = kmalloc(page_data->length, GFP_KERNEL);
net/ethtool/eeprom.c
125
page_data.data = kmalloc(page_data.length, GFP_KERNEL);
net/ethtool/eeprom.c
72
data = kmalloc(eeprom.len, GFP_KERNEL);
net/ethtool/netlink.c
518
reply_data = kmalloc(ops->reply_data_size, GFP_KERNEL);
net/ethtool/netlink.c
668
reply_data = kmalloc(ops->reply_data_size, GFP_KERNEL);
net/ethtool/netlink.c
722
reply_data = kmalloc(ops->reply_data_size, GFP_KERNEL);
net/ethtool/netlink.c
992
reply_data = kmalloc(ops->reply_data_size, GFP_KERNEL);
net/ipv4/ah4.c
39
return kmalloc(len, GFP_ATOMIC);
net/ipv4/cipso_ipv4.c
1873
buf = kmalloc(buf_len, GFP_ATOMIC);
net/ipv4/cipso_ipv4.c
1949
buf = kmalloc(buf_len, GFP_ATOMIC);
net/ipv4/esp4.c
1059
key = kmalloc(keylen, GFP_KERNEL);
net/ipv4/esp4.c
66
return kmalloc(len, GFP_ATOMIC);
net/ipv4/ip_output.c
1314
cork->opt = kmalloc(sizeof(struct ip_options) + 40,
net/ipv4/ip_sockglue.c
671
msf = kmalloc(IP_MSFILTER_SIZE(numsrc), GFP_KERNEL);
net/ipv4/ip_sockglue.c
815
p = kmalloc(optlen + 4, GFP_KERNEL);
net/ipv4/sysctl_net_ipv4.c
245
tbl.data = kmalloc(tbl.maxlen, GFP_USER);
net/ipv4/sysctl_net_ipv4.c
261
tbl.data = kmalloc(tbl.maxlen, GFP_USER);
net/ipv4/sysctl_net_ipv4.c
307
tbl.data = kmalloc(tbl.maxlen, GFP_KERNEL);
net/ipv4/sysctl_net_ipv4.c
384
tbl.data = kmalloc(tbl.maxlen, GFP_USER);
net/ipv4/tcp_ao.c
1059
traffic_key = kmalloc(tcp_ao_digest_size(key), GFP_ATOMIC);
net/ipv4/tcp_ao.c
1352
tmp_key = kmalloc(cmd->keylen, GFP_KERNEL);
net/ipv4/tcp_ao.c
571
hash_buf = kmalloc(tkey_len, GFP_ATOMIC);
net/ipv4/tcp_ao.c
631
hash_buf = kmalloc(tkey_len, GFP_ATOMIC);
net/ipv4/tcp_ao.c
687
hash_buf = kmalloc(tcp_ao_digest_size(ao_key), GFP_ATOMIC);
net/ipv4/tcp_ao.c
775
*traffic_key = kmalloc(tcp_ao_digest_size(*key), GFP_ATOMIC);
net/ipv4/tcp_ao.c
828
tkey_buf = kmalloc(tcp_ao_digest_size(key), GFP_ATOMIC);
net/ipv4/tcp_ao.c
919
hash_buf = kmalloc(tcp_ao_digest_size(key), GFP_ATOMIC);
net/ipv4/tcp_ipv4.c
1119
key.traffic_key = kmalloc(tcp_ao_digest_size(key.ao_key), GFP_ATOMIC);
net/ipv4/tcp_sigpool.c
66
stf = kmalloc(stf_sz, GFP_KERNEL);
net/ipv6/ah6.c
91
return kmalloc(len, GFP_ATOMIC);
net/ipv6/esp6.c
1096
key = kmalloc(keylen, GFP_KERNEL);
net/ipv6/esp6.c
83
return kmalloc(len, GFP_ATOMIC);
net/ipv6/ip6_flowlabel.c
394
fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL);
net/ipv6/ipv6_sockglue.c
232
p = kmalloc(optlen + 4, GFP_KERNEL);
net/ipv6/tcp_ao.c
155
hash_buf = kmalloc(tcp_ao_digest_size(ao_key), GFP_ATOMIC);
net/ipv6/tcp_ipv6.c
1232
key.traffic_key = kmalloc(tcp_ao_digest_size(key.ao_key), GFP_ATOMIC);
net/key/af_key.c
1193
x->aalg = kmalloc(sizeof(*x->aalg) + keysize, GFP_KERNEL);
net/key/af_key.c
1232
x->ealg = kmalloc(sizeof(*x->ealg) + keysize, GFP_KERNEL);
net/key/af_key.c
469
uctx = kmalloc((sizeof(*uctx)+ctx_size), gfp);
net/mac80211/debugfs_key.c
301
char *buf = kmalloc(bufsize, GFP_KERNEL);
net/mac80211/debugfs_sta.c
1054
buf = kmalloc(buf_sz, GFP_KERNEL);
net/mac80211/debugfs_sta.c
352
char *buf = kmalloc(bufsz, GFP_KERNEL);
net/mac80211/debugfs_sta.c
680
buf = kmalloc(buf_sz, GFP_KERNEL);
net/mac80211/rc80211_minstrel_ht_debugfs.c
152
ms = kmalloc(32768, GFP_KERNEL);
net/mac80211/rc80211_minstrel_ht_debugfs.c
300
ms = kmalloc(32768, GFP_KERNEL);
net/mac80211/scan.c
780
local->hw_scan_req = kmalloc(struct_size(local->hw_scan_req,
net/mac80211/wpa.c
1055
mic = kmalloc(IEEE80211_GMAC_MIC_LEN, GFP_ATOMIC);
net/mctp/device.c
226
tmp_addrs = kmalloc(mdev->num_addrs + 1, GFP_KERNEL);
net/mctp/test/route-test.c
1107
dev->mdev->addrs = kmalloc(sizeof(u8), GFP_KERNEL);
net/mctp/test/sock-test.c
32
addrs = kmalloc(1, GFP_KERNEL);
net/mptcp/ctrl.c
157
tbl.data = kmalloc(tbl.maxlen, GFP_USER);
net/mptcp/ctrl.c
263
tbl.data = kmalloc(tbl.maxlen, GFP_USER);
net/netfilter/ipset/ip_set_core.c
361
c = kmalloc(sizeof(*c) + len + 1, GFP_ATOMIC);
net/netfilter/ipset/ip_set_hash_gen.h
641
tmp = kmalloc(dsize, GFP_KERNEL);
net/netfilter/ipvs/ip_vs_sync.c
1875
tinfo->buf = kmalloc(ipvs->bcfg.sync_maxlen,
net/netfilter/ipvs/ip_vs_sync.c
337
sb->mesg = kmalloc(len, GFP_ATOMIC);
net/netfilter/ipvs/ip_vs_sync.c
425
sb->mesg = kmalloc(len, GFP_ATOMIC);
net/netfilter/nf_conntrack_h323_main.c
1782
h323_buffer = kmalloc(H323_MAX_SIZE + 1, GFP_KERNEL);
net/netfilter/nf_conntrack_irc.c
278
irc_buffer = kmalloc(MAX_SEARCH_SIZE + 1, GFP_KERNEL);
net/netfilter/nf_queue.c
194
entry = kmalloc(sizeof(*entry) + route_key_size, GFP_ATOMIC);
net/netfilter/nft_compat.c
540
priv->info = kmalloc(XT_ALIGN(m->matchsize), GFP_KERNEL_ACCOUNT);
net/netfilter/nft_log.c
110
priv->prefix = kmalloc(nla_len(nla) + 1, GFP_KERNEL_ACCOUNT);
net/netfilter/xt_dccp.c
168
dccp_optbuf = kmalloc(256 * 4, GFP_KERNEL);
net/netfilter/xt_hashlimit.c
1064
bucket = kmalloc(sizeof(unsigned int), GFP_ATOMIC);
net/netlabel/netlabel_mgmt.c
94
entry->domain = kmalloc(tmp_size, GFP_KERNEL);
net/netrom/nr_route.c
146
if ((nr_neigh = kmalloc(sizeof(*nr_neigh), GFP_ATOMIC)) == NULL) {
net/netrom/nr_route.c
185
if ((nr_node = kmalloc(sizeof(*nr_node), GFP_ATOMIC)) == NULL) {
net/netrom/nr_route.c
392
if ((nr_neigh = kmalloc(sizeof(*nr_neigh), GFP_ATOMIC)) == NULL)
net/nfc/hci/command.c
156
tmp = kmalloc(1 + param_len, GFP_KERNEL);
net/nfc/llcp_commands.c
679
msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN);
net/nfc/llcp_commands.c
745
msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN);
net/nfc/nci/hci.c
575
tmp = kmalloc(1 + param_len, GFP_KERNEL);
net/openvswitch/datapath.c
1694
dp_nlsk_pids = kmalloc(sizeof(*dp_nlsk_pids) + nla_len(ids),
net/openvswitch/flow_netlink.c
2287
sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL);
net/openvswitch/vport.c
411
vport_portids = kmalloc(sizeof(*vport_portids) + nla_len(ids),
net/rxrpc/rxgk.c
1158
auth = kmalloc(auth_len, GFP_NOFS);
net/rxrpc/rxkad.c
1200
ticket = kmalloc(ticket_len, GFP_NOFS);
net/rxrpc/rxkad.c
207
tmpbuf = kmalloc(tmpsize, GFP_KERNEL);
net/sched/sch_fifo.c
243
nla = kmalloc(nla_attr_size(sizeof(struct tc_fifo_qopt)), GFP_KERNEL);
net/sched/sch_multiq.c
188
removed = kmalloc(sizeof(*removed) * (q->max_bands - qopt->bands),
net/sctp/auth.c
68
key = kmalloc(sizeof(struct sctp_auth_bytes) + key_len, gfp);
net/sctp/bind_addr.c
240
retval.v = kmalloc(len, gfp);
net/sctp/sm_make_chunk.c
1015
payload = kmalloc(paylen, GFP_KERNEL);
net/sctp/socket.c
6324
addrs = kmalloc(space_left, GFP_USER | __GFP_NOWARN);
net/sctp/socket.c
7186
ids = kmalloc(len, GFP_USER | __GFP_NOWARN);
net/sunrpc/auth_gss/auth_gss.c
1435
string = kmalloc(len + 1, GFP_KERNEL);
net/sunrpc/auth_gss/auth_gss.c
1715
seq = kmalloc(4, GFP_KERNEL);
net/sunrpc/auth_gss/auth_gss.c
2030
mic.data = kmalloc(len, GFP_KERNEL);
net/sunrpc/auth_gss/auth_gss.c
740
buf = kmalloc(mlen, GFP_KERNEL);
net/sunrpc/auth_gss/gss_krb5_crypto.c
178
checksumdata = kmalloc(crypto_ahash_digestsize(tfm), GFP_KERNEL);
net/sunrpc/auth_gss/gss_krb5_crypto.c
407
data = kmalloc(GSS_KRB5_MAX_BLOCKSIZE * 2, GFP_KERNEL);
net/sunrpc/auth_gss/gss_krb5_crypto.c
740
checksumdata = kmalloc(crypto_ahash_digestsize(tfm), GFP_KERNEL);
net/sunrpc/auth_gss/gss_krb5_keys.c
174
inblockdata = kmalloc(blocksize, gfp_mask);
net/sunrpc/auth_gss/gss_krb5_keys.c
178
outblockdata = kmalloc(blocksize, gfp_mask);
net/sunrpc/auth_gss/gss_krb5_keys.c
277
inblock.data = kmalloc(inblock.len, gfp_mask);
net/sunrpc/auth_gss/gss_krb5_keys.c
406
DR.data = kmalloc(DR.len, gfp_mask);
net/sunrpc/auth_gss/gss_krb5_keys.c
528
K1.data = kmalloc(K1.len, gfp_mask);
net/sunrpc/auth_gss/gss_krb5_mech.c
306
keyout.data = kmalloc(GSS_KRB5_MAX_KEYLEN, gfp_mask);
net/sunrpc/auth_gss/gss_mech_switch.c
52
new = kmalloc(strlen(name) + strlen(prefix) + 1, GFP_KERNEL);
net/sunrpc/auth_gss/svcauth_gss.c
1185
rsikey.in_token.data = kmalloc(len, GFP_KERNEL);
net/sunrpc/cache.c
1240
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
net/sunrpc/sched.c
1067
buf = kmalloc(size, gfp);
net/sunrpc/svc.c
1781
result = kmalloc(total + 1, GFP_KERNEL);
net/sunrpc/svc_xprt.c
1232
dr = kmalloc(size, GFP_KERNEL);
net/sunrpc/xdr.c
1979
elem = kmalloc(desc->elem_size, GFP_KERNEL);
net/sunrpc/xdr.c
2017
elem = kmalloc(desc->elem_size,
net/sunrpc/xdr.c
2057
elem = kmalloc(desc->elem_size,
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
118
rqst->rq_rbuffer = kmalloc(rqst->rq_rcvsize, GFP_NOIO | __GFP_NOWARN);
net/sunrpc/xprtrdma/verbs.c
1282
buf = kmalloc(size, flags);
net/tipc/crypto.c
2310
skey = kmalloc(size, GFP_ATOMIC);
net/tipc/crypto.c
696
mem = kmalloc(len, GFP_ATOMIC);
net/tipc/monitor.c
545
dom = kmalloc(new_dlen, GFP_ATOMIC);
net/tls/tls_device.c
897
orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + cipher_desc->iv,
net/tls/tls_device_fallback.c
319
buf = kmalloc(buf_len, GFP_ATOMIC);
net/tls/tls_sw.c
1571
mem = kmalloc(aead_size + struct_size(dctx, sg, size_add(n_sgin, n_sgout)),
net/unix/af_unix.c
311
addr = kmalloc(sizeof(*addr) + addr_len, GFP_KERNEL);
net/vmw_vsock/vmci_transport.c
1718
dg = kmalloc(len + sizeof(*dg), GFP_KERNEL);
net/wireless/mlme.c
241
char *buf = kmalloc(128, gfp);
net/wireless/nl80211.c
15408
mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL);
net/wireless/nl80211.c
15652
mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL);
net/wireless/scan.c
2505
new_ie = kmalloc(IEEE80211_MAX_DATA_LEN, gfp);
net/wireless/scan.c
2509
profile = kmalloc(tx_data->ielen, gfp);
net/wireless/scan.c
2992
new_ie = kmalloc(IEEE80211_MAX_DATA_LEN, gfp);
net/wireless/sme.c
513
buf = kmalloc(ies_len + rdev->wiphy.extended_capabilities_len + 2,
net/xfrm/xfrm_state.c
1950
uctx = kmalloc(size, GFP_KERNEL);
net/xfrm/xfrm_user.c
657
p = kmalloc(sizeof(*p) + (ualg->alg_key_len + 7) / 8, GFP_KERNEL);
samples/kmemleak/kmemleak-test.c
43
pr_info("kmalloc(32) = 0x%px\n", kmalloc(32, GFP_KERNEL));
samples/kmemleak/kmemleak-test.c
44
pr_info("kmalloc(32) = 0x%px\n", kmalloc(32, GFP_KERNEL));
samples/kmemleak/kmemleak-test.c
45
pr_info("kmalloc(1024) = 0x%px\n", kmalloc(1024, GFP_KERNEL));
samples/kmemleak/kmemleak-test.c
46
pr_info("kmalloc(1024) = 0x%px\n", kmalloc(1024, GFP_KERNEL));
samples/kmemleak/kmemleak-test.c
47
pr_info("kmalloc(2048) = 0x%px\n", kmalloc(2048, GFP_KERNEL));
samples/kmemleak/kmemleak-test.c
48
pr_info("kmalloc(2048) = 0x%px\n", kmalloc(2048, GFP_KERNEL));
samples/kmemleak/kmemleak-test.c
49
pr_info("kmalloc(4096) = 0x%px\n", kmalloc(4096, GFP_KERNEL));
samples/kmemleak/kmemleak-test.c
50
pr_info("kmalloc(4096) = 0x%px\n", kmalloc(4096, GFP_KERNEL));
samples/kmemleak/kmemleak-test.c
77
per_cpu(kmemleak_test_pointer, i) = kmalloc(129, GFP_KERNEL);
security/apparmor/apparmorfs.c
1671
s = buffer = kmalloc(size, GFP_KERNEL);
security/apparmor/apparmorfs.c
1793
profile->dirname = kmalloc(len + id_len + 1, GFP_KERNEL);
security/apparmor/label.c
1688
*strp = kmalloc(size + 1, gfp);
security/apparmor/lsm.c
2200
aa_buf = kmalloc(aa_g_path_max, flags);
security/apparmor/lsm.c
2307
aa_buf = kmalloc(aa_g_path_max, GFP_KERNEL |
security/apparmor/lsm.c
862
largs = args = kmalloc(size + 1, GFP_KERNEL);
security/apparmor/policy.c
744
name = kmalloc(name_sz, gfp);
security/apparmor/policy.c
754
name = kmalloc(name_sz, gfp);
security/apparmor/procattr.c
47
*string = kmalloc(len + 2, GFP_KERNEL);
security/commoncap.c
607
nscap = kmalloc(newsize, GFP_ATOMIC);
security/inode.c
333
str_tmp = kmalloc(len_tmp, GFP_KERNEL);
security/integrity/evm/evm_crypto.c
122
desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm),
security/integrity/evm/evm_crypto.c
199
p = asciihex = kmalloc(count * 2 + 1, GFP_KERNEL);
security/integrity/evm/evm_secfs.c
148
temp = kmalloc(size + 1, GFP_KERNEL);
security/integrity/ima/ima_appraise.c
760
pathbuf = kmalloc(PATH_MAX, GFP_KERNEL);
security/integrity/ima/ima_template_lib.c
718
buffer = kmalloc(rc, GFP_KERNEL);
security/integrity/platform_certs/load_powerpc.c
41
db = kmalloc(*size, GFP_KERNEL);
security/integrity/platform_certs/load_uefi.c
81
db = kmalloc(lsize, GFP_KERNEL);
security/keys/big_key.c
130
void *data = kmalloc(datalen, GFP_KERNEL);
security/keys/big_key.c
92
enckey = kmalloc(CHACHA20POLY1305_KEY_SIZE, GFP_KERNEL);
security/keys/dh.c
103
outbuf = kmalloc(outbuf_len, GFP_KERNEL);
security/keys/dh.c
201
secret = kmalloc(secretlen, GFP_KERNEL);
security/keys/encrypted-keys/encrypted.c
280
ascii_buf = kmalloc(asciiblob_len + 1, GFP_KERNEL);
security/keys/encrypted-keys/encrypted.c
541
pad = kmalloc(AES_BLOCK_SIZE, GFP_KERNEL);
security/keys/encrypted-keys/encrypted.c
802
datablob = kmalloc(datalen + 1, GFP_KERNEL);
security/keys/encrypted-keys/encrypted.c
863
buf = kmalloc(datalen + 1, GFP_KERNEL);
security/keys/keyctl_pkey.c
251
out = kmalloc(params.out_len, GFP_KERNEL);
security/keys/trusted-keys/trusted_core.c
168
orig_datablob = datablob = kmalloc(datalen + 1, GFP_KERNEL);
security/keys/trusted-keys/trusted_core.c
251
orig_datablob = datablob = kmalloc(datalen + 1, GFP_KERNEL);
security/keys/trusted-keys/trusted_dcp.c
210
plain_blob_key = kmalloc(AES_KEYSIZE_128, GFP_KERNEL);
security/keys/trusted-keys/trusted_dcp.c
264
plain_blob_key = kmalloc(AES_KEYSIZE_128, GFP_KERNEL);
security/keys/trusted-keys/trusted_dcp.c
307
buf = kmalloc(AES_BLOCK_SIZE, GFP_KERNEL);
security/keys/trusted-keys/trusted_pkwm.c
100
input_buf = kmalloc(ALIGN(input_len, 4096), GFP_KERNEL);
security/keys/trusted-keys/trusted_pkwm.c
137
input_buf = kmalloc(ALIGN(input_len, 4096), GFP_KERNEL);
security/keys/trusted-keys/trusted_tpm2.c
119
blob = kmalloc(ctx.priv_len + ctx.pub_len + 4, GFP_KERNEL);
security/keys/trusted-keys/trusted_tpm2.c
28
u8 *scratch = kmalloc(SCRATCH_SIZE, GFP_KERNEL);
security/keys/user_defined.c
67
upayload = kmalloc(sizeof(*upayload) + datalen, GFP_KERNEL);
security/landlock/domain.c
57
buffer = kmalloc(buffer_size, GFP_KERNEL);
security/selinux/hooks.c
1377
context = kmalloc(len + 1, GFP_NOFS);
security/selinux/hooks.c
1392
context = kmalloc(len + 1, GFP_NOFS);
security/selinux/hooks.c
3759
context = kmalloc(clen, GFP_KERNEL);
security/selinux/ss/policydb.c
1110
str = kmalloc(len + 1, flags | __GFP_NOWARN);
security/selinux/ss/services.c
1291
scontextp = kmalloc(*scontext_len, GFP_ATOMIC);
security/tomoyo/audit.c
156
char *buffer = kmalloc(tomoyo_buffer_len, GFP_NOFS);
security/tomoyo/common.c
2166
buffer = kmalloc(len, GFP_NOFS | __GFP_ZERO);
security/tomoyo/realpath.c
251
buf = kmalloc(buf_len, GFP_NOFS);
sound/core/compress_offload.c
609
buffer = kmalloc(buffer_size, GFP_KERNEL);
sound/core/init.c
367
card->value_buf = kmalloc(sizeof(*card->value_buf), GFP_KERNEL);
sound/core/oss/mixer_oss.c
1186
tbl = kmalloc(sizeof(*tbl), GFP_KERNEL);
sound/core/oss/mixer_oss.c
896
kmalloc(sizeof(*info), GFP_KERNEL);
sound/core/seq/seq_midi_event.c
111
dev->buf = kmalloc(bufsize, GFP_KERNEL);
sound/drivers/pcmtest.c
699
patt_bufs[i].buf = kmalloc(MAX_PATTERN_LEN, GFP_KERNEL);
sound/firewire/bebob/bebob_maudio.c
151
buf = kmalloc(size, GFP_KERNEL);
sound/firewire/bebob/bebob_maudio.c
183
buf = kmalloc(12, GFP_KERNEL);
sound/firewire/bebob/bebob_maudio.c
628
buf = kmalloc(METER_SIZE_SPECIAL - 4, GFP_KERNEL);
sound/firewire/bebob/bebob_proc.c
84
buf = kmalloc(size, GFP_KERNEL);
sound/firewire/bebob/bebob_stream.c
793
buf = kmalloc(FORMAT_MAXIMUM_LENGTH, GFP_KERNEL);
sound/firewire/dice/dice-transaction.c
171
buffer = kmalloc(2 * 8, GFP_KERNEL);
sound/firewire/dice/dice-transaction.c
221
buffer = kmalloc(2 * 8, GFP_KERNEL);
sound/firewire/oxfw/oxfw-command.c
16
buf = kmalloc(len + 10, GFP_KERNEL);
sound/firewire/oxfw/oxfw-spkr.c
35
buf = kmalloc(11, GFP_KERNEL);
sound/firewire/oxfw/oxfw-spkr.c
93
buf = kmalloc(12, GFP_KERNEL);
sound/firewire/oxfw/oxfw-stream.c
498
format = kmalloc(len, GFP_KERNEL);
sound/firewire/oxfw/oxfw-stream.c
714
buf = kmalloc(AVC_GENERIC_FRAME_MAXIMUM_BYTES, GFP_KERNEL);
sound/isa/gus/gus_dma.c
217
block = kmalloc(sizeof(*block), atomic ? GFP_ATOMIC : GFP_KERNEL);
sound/isa/wavefront/wavefront_synth.c
1219
msample_hdr = kmalloc(WF_MSAMPLE_BYTES, GFP_KERNEL);
sound/oss/dmasound/dmasound_q40.c
364
return kmalloc(size, flags); /* change to vmalloc */
sound/pci/cs46xx/dsp_spos.c
233
ins->code.data = kmalloc(DSP_CODE_BYTE_SIZE, GFP_KERNEL);
sound/pci/emu10k1/emufx.c
691
tlv = kmalloc(data[1] + sizeof(data), GFP_KERNEL);
sound/pci/emu10k1/emuproc.c
406
tmp = kmalloc(count + 8, GFP_KERNEL);
sound/pci/pcxhr/pcxhr.c
1555
mgr->prmh = kmalloc(sizeof(*mgr->prmh) +
sound/sh/sh_dac_audio.c
323
chip->data_buffer = kmalloc(chip->pdata->buffer_size, GFP_KERNEL);
sound/soc/codecs/cros_ec_codec.c
83
msg = kmalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL);
sound/soc/codecs/cs-amp-lib.c
367
data = kmalloc(data_size, GFP_KERNEL);
sound/soc/codecs/rt5514-spi.c
403
write_buf = kmalloc(RT5514_SPI_BUF_LEN + 6, GFP_KERNEL);
sound/soc/codecs/wm_adsp.c
1404
compr->raw_buf = kmalloc(size, GFP_DMA | GFP_KERNEL);
sound/soc/fsl/imx-audmux.c
73
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
sound/soc/intel/avs/ipc.c
256
data = kmalloc(data_size, GFP_KERNEL);
sound/soc/intel/avs/topology.c
1873
buf = kmalloc(size, GFP_KERNEL);
sound/soc/sdca/sdca_ump.c
150
*msg = kmalloc(msg_len, GFP_KERNEL);
sound/soc/soc-dapm.c
179
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
sound/soc/soc-dapm.c
2462
buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
sound/soc/soc-pcm.c
245
buf = kmalloc(out_count, GFP_KERNEL);
sound/soc/sof/debug.c
209
reply = kmalloc(SOF_IPC_MSG_MAX_SIZE, GFP_KERNEL);
sound/soc/sof/ipc3-dtrace.c
160
msg = kmalloc(size, GFP_KERNEL);
sound/soc/sof/ipc3.c
1068
msg_buf = kmalloc(hdr.size, GFP_KERNEL);
sound/soc/sof/ipc4-control.c
260
data = kmalloc(data_size, GFP_KERNEL);
sound/soc/sof/ipc4-mtrace.c
130
core_data->log_buffer = kmalloc(SOF_IPC4_DEBUG_SLOT_SIZE, GFP_KERNEL);
sound/soc/sof/ipc4.c
755
ipc4_msg->data_ptr = kmalloc(data_size, GFP_KERNEL);
sound/soc/sof/sof-client-probes-ipc3.c
194
msg = kmalloc(size, GFP_KERNEL);
sound/soc/sof/sof-client-probes-ipc3.c
224
msg = kmalloc(size, GFP_KERNEL);
sound/soc/sof/sof-client-probes-ipc3.c
70
msg = kmalloc(size, GFP_KERNEL);
sound/synth/util_mem.c
102
blk = kmalloc(sizeof(struct snd_util_memblk) + hdr->block_extra_size,
sound/usb/6fire/comm.c
113
buffer = kmalloc(13, GFP_KERNEL);
sound/usb/6fire/comm.c
131
buffer = kmalloc(13, GFP_KERNEL);
sound/usb/6fire/firmware.c
273
u8 *buffer = kmalloc(FPGA_BUFSIZE, GFP_KERNEL);
sound/usb/fcp.c
194
req = kmalloc(req_buf_size, GFP_KERNEL);
sound/usb/fcp.c
200
resp = kmalloc(resp_buf_size, GFP_KERNEL);
sound/usb/fcp.c
308
kmalloc(private->step0_resp_size, GFP_KERNEL);
sound/usb/fcp.c
313
kmalloc(private->step2_resp_size, GFP_KERNEL);
sound/usb/fcp.c
489
kmalloc(buf_size, GFP_KERNEL);
sound/usb/fcp.c
576
data = kmalloc(buf_size, GFP_KERNEL);
sound/usb/fcp.c
983
transfer_buffer = kmalloc(private->wMaxPacketSize, GFP_KERNEL);
sound/usb/format.c
168
fp->rate_table = kmalloc(sizeof(int), GFP_KERNEL);
sound/usb/line6/driver.c
268
char *buffer = kmalloc(size + SYSEX_EXTRA_SIZE, GFP_ATOMIC);
sound/usb/line6/driver.c
419
status = kmalloc(1, GFP_KERNEL);
sound/usb/line6/midibuf.c
51
this->buf = kmalloc(size, GFP_KERNEL);
sound/usb/line6/pcm.c
158
kmalloc(array3_size(line6pcm->line6->iso_buffers,
sound/usb/mixer.c
2938
namelist[i] = kmalloc(MAX_ITEM_NAME_LEN, GFP_KERNEL);
sound/usb/mixer.c
3705
transfer_buffer = kmalloc(buffer_length, GFP_KERNEL);
sound/usb/mixer_scarlett2.c
2384
req = kmalloc(req_buf_size, GFP_KERNEL);
sound/usb/mixer_scarlett2.c
2390
resp = kmalloc(resp_buf_size, GFP_KERNEL);
sound/usb/mixer_scarlett2.c
2602
req = kmalloc(buf_size, GFP_KERNEL);
sound/usb/mixer_scarlett2.c
8317
transfer_buffer = kmalloc(private->wMaxPacketSize, GFP_KERNEL);
sound/usb/mixer_scarlett2.c
9277
kmalloc(block_size, GFP_KERNEL);
sound/usb/usx2y/us144mkii.c
230
kmalloc(CAPTURE_RING_BUFFER_SIZE, GFP_KERNEL);
sound/usb/usx2y/us144mkii.c
235
kmalloc(RAW_BYTES_PER_DECODE_BLOCK, GFP_KERNEL);
sound/usb/usx2y/us144mkii.c
240
kmalloc(FRAMES_PER_DECODE_BLOCK * DECODED_CHANNELS_PER_FRAME *
sound/usb/usx2y/us144mkii.c
247
kmalloc(FRAMES_PER_DECODE_BLOCK * DECODED_CHANNELS_PER_FRAME *
sound/usb/usx2y/us144mkii.c
446
kmalloc(1, GFP_KERNEL);
sound/usb/usx2y/us144mkii_controls.c
387
kmalloc(3, GFP_KERNEL);
sound/usb/usx2y/usbusx2y.c
301
usx2y->in04_buf = kmalloc(21, GFP_KERNEL);
tools/include/linux/slab.h
11
#define kzalloc_node(size, flags, node) kmalloc(size, flags)
tools/include/linux/slab.h
140
return kmalloc(size, gfp | __GFP_ZERO);
tools/include/linux/slab.h
33
void *kmalloc(size_t size, gfp_t gfp);
tools/testing/nvdimm/test/nfit.c
2865
result = kmalloc(sizeof(union acpi_object) + size, GFP_KERNEL);
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
521
struct_arg3 = kmalloc((sizeof(struct bpf_testmod_struct_arg_3) +
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
966
data = kmalloc(sizeof(*data), GFP_ATOMIC);
tools/testing/selftests/livepatch/test_modules/test_klp_shadow_vars.c
45
sp = kmalloc(sizeof(*sp), GFP_ATOMIC);
tools/virtio/linux/dma-mapping.h
17
void *__dma_alloc_coherent_p = kmalloc((s), (f)); \
tools/virtio/linux/kernel.h
65
return kmalloc(n * s, gfp);
tools/virtio/linux/kernel.h
70
void *p = kmalloc(s, gfp);
tools/virtio/linux/kernel.h
78
return kmalloc(s, gfp);
tools/virtio/ringtest/ptr_ring.c
40
return kmalloc(size, flags | __GFP_ZERO);
tools/virtio/ringtest/ptr_ring.c
47
return kmalloc(n * size, flags);
virt/kvm/kvm_main.c
6320
char *tmp, *p = kmalloc(PATH_MAX, GFP_KERNEL);