Home
last modified time | relevance | path

Searched refs:GFP_KERNEL (Results 1 – 25 of 33) sorted by relevance

12

/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/squashfs-tools/kernel/fs/squashfs/
Dcache.c237 struct squashfs_cache *cache = kzalloc(sizeof(*cache), GFP_KERNEL); in squashfs_cache_init()
244 cache->entry = kcalloc(entries, sizeof(*(cache->entry)), GFP_KERNEL); in squashfs_cache_init()
266 entry->data = kcalloc(cache->pages, sizeof(void *), GFP_KERNEL); in squashfs_cache_init()
273 entry->data[j] = kmalloc(PAGE_CACHE_SIZE, GFP_KERNEL); in squashfs_cache_init()
402 void **data = kcalloc(pages, sizeof(void *), GFP_KERNEL); in squashfs_read_table()
Dsuper.c81 sb->s_fs_info = kzalloc(sizeof(*msblk), GFP_KERNEL); in squashfs_fill_super()
89 GFP_KERNEL); in squashfs_fill_super()
95 sblk = kzalloc(sizeof(*sblk), GFP_KERNEL); in squashfs_fill_super()
408 kmem_cache_alloc(squashfs_inode_cachep, GFP_KERNEL); in squashfs_alloc_inode()
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()
Dfile.c119 sizeof(*(msblk->meta_index)), GFP_KERNEL); in empty_meta_index()
179 __le32 *blist = kmalloc(PAGE_CACHE_SIZE, GFP_KERNEL); in read_indexes()
Ddir.c117 dire = kmalloc(sizeof(*dire) + SQUASHFS_NAME_LEN + 1, GFP_KERNEL); in squashfs_readdir()
Dblock.c93 sizeof(*bh), GFP_KERNEL); in squashfs_read_data()
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/
Dltp_tbio.c82 rq = blk_make_request(q, bio, GFP_KERNEL); in send_request()
151 inter.data_len, reading, GFP_KERNEL); in tbio_io()
206 addr = get_zeroed_page(GFP_KERNEL); in test_bio_add_page()
234 tbiop = bio_alloc(GFP_KERNEL, num); in test_do_bio_alloc()
271 tbiop = bio_alloc(GFP_KERNEL, BIO_MAX_PAGES); in test_bio_alloc()
325 inter.data_len, reading, GFP_KERNEL); in test_bio_split()
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c112 my_bio = bio_alloc(GFP_KERNEL, 0); in ltpdev_ioctl()
158 (char *)uaddr = kmalloc(TEST_MEM_SIZE, GFP_KERNEL); in ltpdev_ioctl()
197 gd_ptr = kmalloc(sizeof(struct gendisk *), GFP_KERNEL); in init_module()
/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()
435 GFP_KERNEL); in test_agp_copy_info()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate_shaders.c161 GFP_KERNEL); in record_texture_sample()
292 GFP_KERNEL); in require_uniform_address_uniform()
786 sizeof(unsigned long), GFP_KERNEL); in vc4_validate_shader()
790 validated_shader = kcalloc(1, sizeof(*validated_shader), GFP_KERNEL); in vc4_validate_shader()
Dvc4_gem.c63 temp = kmalloc(temp_size, GFP_KERNEL); in vc4_get_bcl()
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h35 #define GFP_KERNEL 0 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/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c309 GFP_KERNEL))) { in squashfs_get_cached_block()
861 (sblk->fragments), GFP_KERNEL))) { in read_fragment_index_table()
1018 SQUASHFS_CACHED_BLKS, GFP_KERNEL))) { 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()
1046 sizeof(unsigned int), GFP_KERNEL))) { in squashfs_read_super()
1079 SQUASHFS_CACHED_FRAGMENTS, GFP_KERNEL))) { in squashfs_read_super()
1233 SQUASHFS_META_NUMBER, GFP_KERNEL))) { in empty_meta_index()
/external/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi_cmds.c93 buf = kmalloc(str_obj->buffer.length / 2, GFP_KERNEL); in get_str_object()
134 sysfs_path = kobject_get_path(&device->dev.kobj, GFP_KERNEL); in get_sysfs_path()
/external/ltp/testcases/kernel/device-drivers/include/
DincludeTest.c154 gd_ptr = kmalloc(sizeof(struct gendisk *), GFP_KERNEL); in test_init_module()
/external/e2fsprogs/e2fsck/
Drevoke.c234 table = kmem_cache_alloc(jbd2_revoke_table_cache, GFP_KERNEL); in journal_init_revoke_table()
244 kmalloc(hash_size * sizeof(struct list_head), GFP_KERNEL); in journal_init_revoke_table()
/external/e2fsprogs/debugfs/
Drevoke.c234 table = kmem_cache_alloc(jbd2_revoke_table_cache, GFP_KERNEL); in journal_init_revoke_table()
244 kmalloc(hash_size * sizeof(struct list_head), GFP_KERNEL); in journal_init_revoke_table()
/external/ltp/testcases/kernel/device-drivers/nls/
DnlsTest.c153 dev = kzalloc(sizeof(*dev), GFP_KERNEL); in test_init_module()
/external/xz-embedded/linux/lib/xz/
Dxz_dec_bcj.c529 struct xz_dec_bcj *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_bcj_create()

12