Home
last modified time | relevance | path

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

1234567

/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/u-boot/drivers/mtd/nand/
Dnand_bch.c134 nbc = kzalloc(sizeof(*nbc), GFP_KERNEL); in nand_bch_init()
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()
/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()
/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/u-boot/drivers/mtd/ubi/
Dfastmap.c32 ret = kcalloc(ubi->peb_count, sizeof(int), GFP_KERNEL); in init_seen()
116 new = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); in new_fm_vhdr()
147 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_aeb()
202 av = kmalloc(sizeof(struct ubi_ainf_volume), GFP_KERNEL); in add_vol()
311 GFP_KERNEL); in update_vol()
468 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_pool()
472 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); in scan_pool()
535 GFP_KERNEL); in scan_pool()
892 fmsb = kmalloc(sizeof(*fmsb), GFP_KERNEL); in ubi_scan_fastmap()
898 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in ubi_scan_fastmap()
[all …]
Dattach.c129 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_to_list()
161 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_corrupted()
277 av = kmalloc(sizeof(struct ubi_ainf_volume), GFP_KERNEL); in add_volume()
367 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); in ubi_compare_lebs()
569 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in ubi_add_to_av()
673 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in early_erase_peb()
1232 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_all()
1236 vidh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); in scan_all()
1302 ai = kzalloc(sizeof(struct ubi_attach_info), GFP_KERNEL); in alloc_ai()
1341 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_fast()
[all …]
/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/u-boot/drivers/i2c/muxes/
Di2c-mux-gpio.c80 GFP_KERNEL); in i2c_mux_gpio_probe()
102 GFP_KERNEL); in i2c_mux_gpio_probe()
/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/u-boot/drivers/usb/host/
Dohci-generic.c88 GFP_KERNEL); in ohci_usb_probe()
115 GFP_KERNEL); in ohci_usb_probe()
Dehci-generic.c92 GFP_KERNEL); in ehci_usb_probe()
123 GFP_KERNEL); in ehci_usb_probe()
/external/u-boot/fs/ubifs/
Dreplay.c361 r = kzalloc(sizeof(struct replay_entry), GFP_KERNEL); in insert_node()
408 r = kzalloc(sizeof(struct replay_entry), GFP_KERNEL); in insert_dent()
412 nbuf = kmalloc(nlen + 1, GFP_KERNEL); in insert_dent()
746 bud = kmalloc(sizeof(struct ubifs_bud), GFP_KERNEL); in add_replay_bud()
750 b = kmalloc(sizeof(struct bud_entry), GFP_KERNEL); in add_replay_bud()
Dsb.c156 sup = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem()
202 mst = kzalloc(c->mst_node_alsz, GFP_KERNEL); in create_default_filesystem()
265 idx = kzalloc(ALIGN(tmp, c->min_io_size), GFP_KERNEL); in create_default_filesystem()
289 ino = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem()
325 cs = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem()
/external/u-boot/drivers/video/exynos/
Dexynos_mipi_dsi.c53 dsim_ddi = kzalloc(sizeof(struct mipi_dsim_ddi), GFP_KERNEL); in exynos_mipi_dsi_register_lcd_device()
179 dsim = kzalloc(sizeof(struct mipi_dsim_device), GFP_KERNEL); in exynos_mipi_dsi_init()
/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()
/external/u-boot/lib/
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/arch/arm/include/asm/proc-armv/
Dprocessor.h71 #define ll_alloc_task_struct() ((struct task_struct *) __get_free_pages(GFP_KERNEL,1))
/external/u-boot/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c356 sizeof(*grp->pins), GFP_KERNEL); in armada_37xx_fill_group()
408 GFP_KERNEL); in armada_37xx_fill_func()
604 sizeof(struct armada_37xx_pmx_func), GFP_KERNEL); in armada_37xx_pinctrl_probe()
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h35 #define GFP_KERNEL 0 macro
/external/u-boot/drivers/mtd/
Dmtdconcat.c182 vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL); in concat_writev()
436 erase = kmalloc(sizeof (struct erase_info), GFP_KERNEL); in concat_erase()
707 concat = kzalloc(size, GFP_KERNEL); in mtd_concat_create()
882 sizeof (struct mtd_erase_region_info), GFP_KERNEL); in mtd_concat_create()

1234567