Home
last modified time | relevance | path

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

12

/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/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.tc67 echo 'hist:keys=bytes_req.log2' > events/kmem/kmalloc/trigger
69 grep 'bytes_req: ~ 2^[0-9]*' events/kmem/kmalloc/hist > /dev/null || \
/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/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()
Dexport.c133 inode_lookup_table = kmalloc(length, GFP_KERNEL); in squashfs_read_inode_lookup_table()
Ddir.c117 dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL); in squashfs_readdir()
Dcache.c273 entry->data[j] = kmalloc(PAGE_CACHE_SIZE, GFP_KERNEL); in squashfs_cache_init()
Dsuper.c88 msblk->stream.workspace = kmalloc(zlib_inflate_workspacesize(), in squashfs_fill_super()
Dfile.c179 __le32 *blist = kmalloc(PAGE_CACHE_SIZE, GFP_KERNEL); in read_indexes()
/external/xz-embedded/linux/lib/
Ddecompress_unxz.c153 #undef kmalloc
157 #define kmalloc(size, flags) malloc(size) macro
/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/xz-embedded/userspace/
Dxz_config.h42 #define kmalloc(size, flags) malloc(size) macro
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator_validate.h41 #define kmalloc(size, arg) malloc(size) macro
/external/ltp/testcases/kernel/device-drivers/base/tbase/
Dtbase.c269 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()
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/
Dltp_tbio.c155 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()
/external/e2fsprogs/e2fsck/
Djfs_user.h83 #define kmalloc(len, flags) malloc(len) macro
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_gem.c63 temp = kmalloc(temp_size, GFP_KERNEL); in vc4_get_bcl()
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c308 kmalloc(SQUASHFS_METADATA_SIZE, in squashfs_get_cached_block()
860 if (!(msblk->fragment_index = kmalloc(SQUASHFS_FRAGMENT_INDEX_BYTES in read_fragment_index_table()
1017 if (!(msblk->block_cache = kmalloc(sizeof(struct squashfs_cache) * in squashfs_read_super()
1033 if (!(msblk->read_data = kmalloc(msblk->read_size, GFP_KERNEL))) { in squashfs_read_super()
1039 if (!(msblk->read_page = kmalloc(sblk->block_size, GFP_KERNEL))) { in squashfs_read_super()
1045 if (!(msblk->uid = kmalloc((sblk->no_uids + sblk->no_guids) * in squashfs_read_super()
1078 if (!(msblk->fragment = kmalloc(sizeof(struct squashfs_fragment_cache) * in squashfs_read_super()
1232 if (!(msblk->meta_index = kmalloc(sizeof(struct meta_index) * in empty_meta_index()
/external/ltp/testcases/kernel/device-drivers/include/
DincludeTest.c154 gd_ptr = kmalloc(sizeof(struct gendisk *), GFP_KERNEL); in test_init_module()
/external/libpcap/msdos/
Dmakefile.dj36 lock.o kmalloc.o quirks.o timer.o net_init.o)
/external/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi_cmds.c93 buf = kmalloc(str_obj->buffer.length / 2, GFP_KERNEL); in get_str_object()

12