Home
last modified time | relevance | path

Searched refs:kmalloc (Results 1 – 25 of 117) sorted by relevance

12345

/external/bcc/tools/
Dslabratetop_example.txt13 kmalloc-4096 3554 14557184
14 kmalloc-256 2382 609536
37 The output above showed that the kmalloc-4096 cache allocated the most, about
46 Since "kmalloc-4096" isn't very descriptive, I'm interested in seeing the
52 # ./perf-tools/bin/kprobe -s 'p:kmem_cache_alloc name=+0(+96(%di)):string' 'name == "kmalloc-4096' …
54 …3892 [002] d... 7888274.478331: kmem_cache_alloc: (kmem_cache_alloc+0x0/0x1b0) name="kmalloc-4096"
62 …3892 [002] d... 7888274.478340: kmem_cache_alloc: (kmem_cache_alloc+0x0/0x1b0) name="kmalloc-4096"
70 …3892 [002] d... 7888274.478345: kmem_cache_alloc: (kmem_cache_alloc+0x0/0x1b0) name="kmalloc-4096"
78 …3892 [002] d... 7888274.478350: kmem_cache_alloc: (kmem_cache_alloc+0x0/0x1b0) name="kmalloc-4096"
86 …3892 [002] d... 7888274.478355: kmem_cache_alloc: (kmem_cache_alloc+0x0/0x1b0) name="kmalloc-4096"
[all …]
Dinject_example.txt4 mode (kmalloc,bio,etc) given a call chain and an optional set of predicates. You
11 # ./inject.py kmalloc -v 'SyS_mount()'
25 # ./inject.py kmalloc -v '(true) => SyS_mount()(true)'
28 injection mechanism of the current mode. In the case of kmalloc, the predicate
41 kmalloc() from mount_subtree() when called from btrfs_mount(). This will fail
44 # ./inject.py kmalloc -v 'mount_subtree() => btrfs_mount()'
54 # ./inject.py kmalloc -v 'btrfs_alloc_device() => btrfs_close_devices()'
64 have also done something unexpected(an earlier kmalloc could have failed before
72 # ./inject.py kmalloc -v 'd_alloc_parallel(struct dentry *parent, const struct
115 # ./inject.py kmalloc -v -P 0.01 'SyS_mount()'
[all …]
/external/clang/test/Analysis/
Dkmalloc-linux.c8 void *kmalloc(size_t, int);
19 list = kmalloc(sizeof(*list) * 10, __GFP_ZERO); in test_zeroed()
34 list = kmalloc(sizeof(*list) * 10, 0); in test_nonzero()
49 list = kmalloc(sizeof(*list) * 10, flags); in test_indeterminate()
/external/u-boot/include/linux/
Dcompat.h53 void *kmalloc(size_t size, int flags);
57 return kmalloc(size, flags | __GFP_ZERO); in kzalloc()
64 return kmalloc(n * size, flags | __GFP_ZERO); in kmalloc_array()
72 #define vmalloc(size) kmalloc(size, 0)
73 #define __vmalloc(size, flags, pgsz) kmalloc(size, flags)
/external/u-boot/fs/yaffs2/
Dyaffs_allocator.c115 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()
Dyaffs_summary.c89 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()
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dtusb.c208 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()
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-hist-mod.tc59 echo 'hist:keys=bytes_req.log2' > events/kmem/kmalloc/trigger
61 grep 'bytes_req: ~ 2^[0-9]*' events/kmem/kmalloc/hist > /dev/null || \
/external/u-boot/drivers/mtd/nand/
Dnand_bch.c191 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()
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/
Dtmod.c125 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()
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dtagp.c154 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()
/external/xz-embedded/linux/lib/
Ddecompress_unxz.c153 #undef kmalloc
157 #define kmalloc(size, flags) malloc(size) macro
/external/squashfs-tools/kernel/fs/squashfs/
Dnamei.c87 index = kmalloc(sizeof(*index) + SQUASHFS_NAME_LEN * 2 + 2, GFP_KERNEL); in get_dir_index_using_name()
150 dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL); in squashfs_lookup()
Did.c80 id_table = kmalloc(length, GFP_KERNEL); in squashfs_read_id_index_table()
Dfragment.c83 fragment_index = kmalloc(length, GFP_KERNEL); in squashfs_read_fragment_index_table()
/external/u-boot/include/dm/
Ddevice.h851 return kmalloc(size, gfp); in devm_kmalloc()
865 return kmalloc(n * size, flags); in devm_kmaloc_array()
872 return kmalloc(n * size, flags | __GFP_ZERO); in devm_kcalloc()
/external/syzkaller/pkg/report/testdata/linux/report/
D824 [ 367.131148] BUG kmalloc-8 (Tainted: G B ): Object already free
D2041 TITLE: WARNING: kmalloc bug in kvm_vm_ioctl
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c158 (char *)uaddr = kmalloc(TEST_MEM_SIZE, GFP_KERNEL); in ltpdev_ioctl()
197 gd_ptr = kmalloc(sizeof(struct gendisk *), GFP_KERNEL); in init_module()
/external/u-boot/lib/
Dlinux_compat.c17 void *kmalloc(size_t size, int flags) in kmalloc() function
Dlist_sort.c223 elts = kmalloc(sizeof(void *) * TEST_LIST_LEN, GFP_KERNEL); in list_sort_test()
231 el = kmalloc(sizeof(*el), GFP_KERNEL); in list_sort_test()
/external/u-boot/drivers/mtd/ubi/
Deba.c132 le = kmalloc(sizeof(struct ubi_ltree_entry), GFP_NOFS); in ltree_add_entry()
1302 scan_eba = kmalloc(sizeof(*scan_eba) * num_volumes, GFP_KERNEL); in self_check_eba()
1306 fm_eba = kmalloc(sizeof(*fm_eba) * num_volumes, GFP_KERNEL); in self_check_eba()
1317 scan_eba[i] = kmalloc(vol->reserved_pebs * sizeof(**scan_eba), in self_check_eba()
1324 fm_eba[i] = kmalloc(vol->reserved_pebs * sizeof(**fm_eba), in self_check_eba()
1408 vol->eba_tbl = kmalloc(vol->reserved_pebs * sizeof(int), in ubi_eba_init()
/external/xz-embedded/userspace/
Dxz_config.h42 #define kmalloc(size, flags) malloc(size) macro
/external/u-boot/fs/ubifs/
Dsuper.c282 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()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator_validate.h41 #define kmalloc(size, arg) malloc(size) macro

12345