/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/ |
D | tusb.c | 208 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tusb_ioctl() 220 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tusb_ioctl() 299 (struct usb_device *)kmalloc(sizeof(struct usb_device), GFP_KERNEL); in test_find_usbdev() 301 (struct usb_bus *)kmalloc(sizeof(struct usb_bus), GFP_KERNEL); in test_find_usbdev() 350 (struct pci_dev *)kmalloc(sizeof(struct pci_dev), GFP_KERNEL); in test_find_hcd()
|
/third_party/uboot/u-boot-2020.01/fs/yaffs2/ |
D | yaffs_allocator.c | 115 new_tnodes = kmalloc(n_tnodes * dev->tnode_size, GFP_NOFS); in yaffs_create_tnodes() 142 tnl = kmalloc(sizeof(struct yaffs_tnode_list), GFP_NOFS); in yaffs_create_tnodes() 258 new_objs = kmalloc(n_obj * sizeof(struct yaffs_obj), GFP_NOFS); in yaffs_create_free_objs() 259 list = kmalloc(sizeof(struct yaffs_obj_list), GFP_NOFS); in yaffs_create_free_objs() 350 allocator = kmalloc(sizeof(struct yaffs_allocator), GFP_NOFS); in yaffs_init_raw_tnodes_and_objs()
|
D | yaffs_summary.c | 89 dev->sum_tags = kmalloc(sum_tags_bytes, GFP_NOFS); in yaffs_summary_init() 90 dev->gc_sum_tags = kmalloc(sum_tags_bytes, GFP_NOFS); in yaffs_summary_init()
|
D | yaffs_checkptrw.c | 155 kmalloc(dev->param.total_bytes_per_chunk, GFP_NOFS); in yaffs2_checkpt_open() 182 kmalloc(sizeof(int) * dev->checkpt_max_blocks, GFP_NOFS); in yaffs2_checkpt_open()
|
/third_party/uboot/u-boot-2020.01/lib/ |
D | linux_compat.c | 18 void *kmalloc(size_t size, int flags) in kmalloc() function 57 p = kmalloc(len, gfp); in kmemdup()
|
D | list_sort.c | 223 elts = kmalloc(sizeof(void *) * TEST_LIST_LEN, GFP_KERNEL); in list_sort_test() 231 el = kmalloc(sizeof(*el), GFP_KERNEL); in list_sort_test()
|
/third_party/uboot/u-boot-2020.01/include/linux/ |
D | compat.h | 72 void *kmalloc(size_t size, int flags); 76 return kmalloc(size, flags | __GFP_ZERO); in kzalloc() 83 return kmalloc(n * size, flags | __GFP_ZERO); in kmalloc_array() 91 #define vmalloc(size) kmalloc(size, 0) 92 #define __vmalloc(size, flags, pgsz) kmalloc(size, flags)
|
/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/raw/ |
D | nand_bch.c | 191 nbc->eccmask = kmalloc(eccbytes, GFP_KERNEL); in nand_bch_init() 192 nbc->errloc = kmalloc(t*sizeof(*nbc->errloc), GFP_KERNEL); in nand_bch_init() 198 erased_page = kmalloc(eccsize, GFP_KERNEL); in nand_bch_init()
|
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/ |
D | tmod.c | 125 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tmod_ioctl() 137 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tmod_ioctl()
|
/third_party/uboot/u-boot-2020.01/lib/crypto/ |
D | x509_public_key.c | 86 sig->digest = kmalloc(sig->digest_size, GFP_KERNEL); in x509_get_sig_params() 227 desc = kmalloc(sulen + 2 + srlen * 2 + 1, GFP_KERNEL); in x509_key_preparse() 237 kids = kmalloc(sizeof(struct asymmetric_key_ids), GFP_KERNEL); in x509_key_preparse()
|
D | public_key.c | 153 key = kmalloc(pkey->keylen + sizeof(u32) * 2 + pkey->paramlen, in software_key_query() 222 key = kmalloc(pkey->keylen + sizeof(u32) * 2 + pkey->paramlen, in software_key_eds_op() 313 key = kmalloc(pkey->keylen + sizeof(u32) * 2 + pkey->paramlen, in public_key_verify_signature()
|
D | asymmetric_type.c | 81 p = req = kmalloc(2 + 1 + len * 2 + 1, GFP_KERNEL); in find_asymmetric_key() 156 kid = kmalloc(sizeof(struct asymmetric_key_id) + len_1 + len_2, in asymmetric_key_generate_id() 247 match_id = kmalloc(sizeof(struct asymmetric_key_id) + asciihexlen / 2, in asymmetric_key_hex_to_key_id()
|
D | x509_cert_parser.c | 348 buffer = kmalloc(1, GFP_KERNEL); in x509_fabricate_name() 370 buffer = kmalloc(ctx->o_size + 2 + ctx->cn_size + 1, in x509_fabricate_name() 396 buffer = kmalloc(namesize + 1, GFP_KERNEL); in x509_fabricate_name()
|
/third_party/ltp/testcases/kernel/device-drivers/agp/kernel_space/ |
D | tagp.c | 154 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tagp_ioctl() 166 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tagp_ioctl() 434 (struct agp_kern_info *)kmalloc(sizeof(struct agp_kern_info), in test_agp_copy_info()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
D | slab.h | 47 #define kmalloc(x, y) __kmalloc(x) macro
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/ |
D | LtpfsCmds.c | 158 (char *)uaddr = kmalloc(TEST_MEM_SIZE, GFP_KERNEL); in ltpdev_ioctl() 197 gd_ptr = kmalloc(sizeof(struct gendisk *), GFP_KERNEL); in init_module()
|
/third_party/uboot/u-boot-2020.01/include/dm/ |
D | device.h | 943 return kmalloc(size, gfp); in devm_kmalloc() 957 return kmalloc(n * size, flags); in devm_kmalloc_array() 964 return kmalloc(n * size, flags | __GFP_ZERO); in devm_kcalloc()
|
/third_party/uboot/u-boot-2020.01/drivers/mtd/ubi/ |
D | eba.c | 133 le = kmalloc(sizeof(struct ubi_ltree_entry), GFP_NOFS); in ltree_add_entry() 1303 scan_eba = kmalloc(sizeof(*scan_eba) * num_volumes, GFP_KERNEL); in self_check_eba() 1307 fm_eba = kmalloc(sizeof(*fm_eba) * num_volumes, GFP_KERNEL); in self_check_eba() 1318 scan_eba[i] = kmalloc(vol->reserved_pebs * sizeof(**scan_eba), in self_check_eba() 1325 fm_eba[i] = kmalloc(vol->reserved_pebs * sizeof(**fm_eba), in self_check_eba() 1409 vol->eba_tbl = kmalloc(vol->reserved_pebs * sizeof(int), in ubi_eba_init()
|
/third_party/iowow/src/utils/ |
D | khash.h | 184 #ifndef kmalloc 185 #define kmalloc(Z) malloc(Z) macro 255 new_flags = (khint32_t*)kmalloc(__ac_fsize(new_n_buckets) * sizeof(khint32_t)); \
|
/third_party/ejdb/src/util/ |
D | khash.h | 174 #ifndef kmalloc 175 #define kmalloc(Z) malloc(Z) macro 245 new_flags = (khint32_t*)kmalloc(__ac_fsize(new_n_buckets) * sizeof(khint32_t)); \
|
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/ |
D | tbase.c | 269 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tbase_ioctl() 281 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tbase_ioctl()
|
/third_party/uboot/u-boot-2020.01/fs/ubifs/ |
D | super.c | 282 ino = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS); in ubifs_iget() 329 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget() 355 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget() 370 ui->data = kmalloc(sizeof(union ubifs_dev_desc), GFP_NOFS); in ubifs_iget() 409 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget() 1289 c->bu.buf = kmalloc(c->max_bu_buf_len, GFP_KERNEL | __GFP_NOWARN); in bu_init() 1387 c->bottom_up_buf = kmalloc(BOTTOM_UP_HEIGHT * sizeof(int), GFP_KERNEL); in mount_ubifs() 1408 c->write_reserve_buf = kmalloc(COMPRESSED_DATA_NODE_BUF_SZ, in mount_ubifs() 1440 c->cbuf = kmalloc(sz, GFP_NOFS); in mount_ubifs() 1850 c->write_reserve_buf = kmalloc(COMPRESSED_DATA_NODE_BUF_SZ, GFP_KERNEL); in ubifs_remount_rw()
|
D | lpt.c | 626 lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_KERNEL); in ubifs_create_dflt_lpt() 1500 n = kmalloc(sizeof(struct ubifs_nnode), GFP_NOFS); in dirty_cow_nnode() 1551 p = kmalloc(sizeof(struct ubifs_pnode), GFP_NOFS); in dirty_cow_pnode() 1635 c->lpt_nod_buf = kmalloc(i, GFP_KERNEL); in lpt_init_rd() 1640 c->lpt_heap[i].arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, in lpt_init_rd() 1648 c->dirty_idx.arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, GFP_KERNEL); in lpt_init_rd() 1702 c->lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_NOFS); in lpt_init_wr() 1949 path = kmalloc(sizeof(struct lpt_scan_node) * (c->lpt_hght + 1), in ubifs_lpt_scan_nolock()
|
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ |
D | ltp_tbio.c | 155 buf = kmalloc(inter.data_len, q->bounce_gfp | GFP_USER); in tbio_io() 329 buf = kmalloc(inter.data_len, q->bounce_gfp | GFP_USER); in test_bio_split()
|
/third_party/ltp/testcases/kernel/device-drivers/include/ |
D | includeTest.c | 154 gd_ptr = kmalloc(sizeof(struct gendisk *), GFP_KERNEL); in test_init_module()
|