/linux-2.4.37.9/fs/jffs2/ |
D | malloc.c | 139 return kmalloc(sizeof(struct jffs2_full_dirent) + namesize, GFP_KERNEL); in jffs2_alloc_full_dirent() 149 void *ret = kmem_cache_alloc(full_dnode_slab, GFP_KERNEL); in jffs2_alloc_full_dnode() 160 return kmem_cache_alloc(raw_dirent_slab, GFP_KERNEL); in jffs2_alloc_raw_dirent() 170 return kmem_cache_alloc(raw_inode_slab, GFP_KERNEL); in jffs2_alloc_raw_inode() 180 return kmem_cache_alloc(tmp_dnode_info_slab, GFP_KERNEL); in jffs2_alloc_tmp_dnode_info() 190 return kmem_cache_alloc(raw_node_ref_slab, GFP_KERNEL); in jffs2_alloc_raw_node_ref() 200 return kmem_cache_alloc(node_frag_slab, GFP_KERNEL); in jffs2_alloc_node_frag() 210 struct jffs2_inode_cache *ret = kmem_cache_alloc(inode_cache_slab, GFP_KERNEL); in jffs2_alloc_inode_cache()
|
/linux-2.4.37.9/include/linux/ |
D | vmalloc.h | 39 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL); in vmalloc() 48 return __vmalloc(size, GFP_KERNEL|GFP_DMA, PAGE_KERNEL); in vmalloc_dma() 57 return __vmalloc(size, GFP_KERNEL, PAGE_KERNEL); in vmalloc_32()
|
/linux-2.4.37.9/fs/ |
D | iobuf.c | 46 kmalloc(sizeof(*kiobuf->blocks) * KIO_MAX_SECTORS, GFP_KERNEL); in alloc_kiobuf_bhs() 50 kmalloc(sizeof(*kiobuf->bh) * KIO_MAX_SECTORS, GFP_KERNEL); in alloc_kiobuf_bhs() 55 kiobuf->bh[i] = kmem_cache_alloc(bh_cachep, GFP_KERNEL); in alloc_kiobuf_bhs() 98 iobuf = kmem_cache_alloc(kiobuf_cachep, GFP_KERNEL); in alloc_kiovec() 139 maplist = kmalloc(wanted * sizeof(struct page **), GFP_KERNEL); in expand_kiobuf()
|
D | seq_file.c | 30 struct seq_file *p = kmalloc(sizeof(*p), GFP_KERNEL); in seq_open() 61 m->buf = kmalloc(m->size = PAGE_SIZE, GFP_KERNEL); in seq_read() 95 m->buf = kmalloc(m->size <<= 1, GFP_KERNEL); in seq_read() 158 m->buf = kmalloc(m->size = PAGE_SIZE, GFP_KERNEL); in traverse() 191 m->buf = kmalloc(m->size <<= 1, GFP_KERNEL); in traverse() 348 struct seq_operations *op = kmalloc(sizeof(*op), GFP_KERNEL); in single_open()
|
/linux-2.4.37.9/drivers/mtd/devices/ |
D | ms02-nv.c | 134 mod_res = kmalloc(sizeof(*mod_res), GFP_KERNEL); in ms02nv_init_one() 156 mtd = kmalloc(sizeof(*mtd), GFP_KERNEL); in ms02nv_init_one() 160 mp = kmalloc(sizeof(*mp), GFP_KERNEL); in ms02nv_init_one() 169 diag_res = kmalloc(sizeof(*diag_res), GFP_KERNEL); in ms02nv_init_one() 183 user_res = kmalloc(sizeof(*user_res), GFP_KERNEL); in ms02nv_init_one() 197 csr_res = kmalloc(sizeof(*csr_res), GFP_KERNEL); in ms02nv_init_one()
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | pgalloc.h | 22 return (pmd_t *)get_zeroed_page(GFP_KERNEL); in get_pmd_slow() 66 return (pmd_t *)get_zeroed_page(GFP_KERNEL); in pmd_alloc_one() 87 pgd = (pgd_t *)get_zeroed_page(GFP_KERNEL); in pgd_alloc() 109 return (pte_t *)get_zeroed_page(GFP_KERNEL); in pte_alloc_one()
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | pgalloc.h | 43 pgd = (pgd_t *)__get_free_page(GFP_KERNEL); in pgd_alloc() 76 pmd_t *pmd = (pmd_t *) __get_free_page(GFP_KERNEL); in pmd_alloc_one() 110 pte_t *pte = (pte_t *) __get_free_page(GFP_KERNEL); in pte_alloc_one()
|
/linux-2.4.37.9/drivers/mtd/nand/ |
D | spia.c | 111 GFP_KERNEL); in spia_init() 148 this->data_buf = kmalloc (sizeof(u_char) * (spia_mtd->oobblock + spia_mtd->oobsize), GFP_KERNEL); in spia_init() 156 this->data_cache = kmalloc (sizeof(u_char) * (spia_mtd->oobblock + spia_mtd->oobsize), GFP_KERNEL); in spia_init()
|
D | edb7312.c | 138 GFP_KERNEL); in ep7312_init() 184 …is->data_buf = kmalloc (sizeof(u_char) * (ep7312_mtd->oobblock + ep7312_mtd->oobsize), GFP_KERNEL); in ep7312_init() 193 …->data_cache = kmalloc (sizeof(u_char) * (ep7312_mtd->oobblock + ep7312_mtd->oobsize), GFP_KERNEL); in ep7312_init()
|
D | autcpu12.c | 152 GFP_KERNEL); in autcpu12_init() 193 …data_buf = kmalloc (sizeof(u_char) * (autcpu12_mtd->oobblock + autcpu12_mtd->oobsize), GFP_KERNEL); in autcpu12_init() 201 …ta_cache = kmalloc (sizeof(u_char) * (autcpu12_mtd->oobblock + autcpu12_mtd->oobsize), GFP_KERNEL); in autcpu12_init()
|
/linux-2.4.37.9/include/asm-i386/ |
D | pgalloc.h | 35 pgd_t *pgd = kmem_cache_alloc(pae_pgd_cachep, GFP_KERNEL); in get_pgd_slow() 39 unsigned long pmd = __get_free_page(GFP_KERNEL); in get_pgd_slow() 61 pgd_t *pgd = (pgd_t *)__get_free_page(GFP_KERNEL); in get_pgd_slow() 111 pte = (pte_t *) __get_free_page(GFP_KERNEL); in pte_alloc_one()
|
/linux-2.4.37.9/drivers/char/ |
D | scan_keyb.c | 105 kbd = kmalloc(sizeof(struct scan_keyboard), GFP_KERNEL); in register_scan_keyboard() 113 kbd->s0 = kmalloc(length, GFP_KERNEL); in register_scan_keyboard() 117 kbd->s1 = kmalloc(length, GFP_KERNEL); in register_scan_keyboard()
|
/linux-2.4.37.9/include/asm-sh64/ |
D | pgalloc.h | 26 pgd_t *pgd = (pgd_t *)kmalloc(pgd_size, GFP_KERNEL); in pgd_alloc() 41 pte_t *pte = (pte_t *) __get_free_page(GFP_KERNEL); in pte_alloc_one() 81 pmd = (pmd_t *) __get_free_page(GFP_KERNEL); in pmd_alloc_one()
|
/linux-2.4.37.9/drivers/sound/emu10k1/ |
D | midi.c | 63 if ((midihdr = (struct midi_hdr *) kmalloc(sizeof(struct midi_hdr), GFP_KERNEL)) == NULL) { in midiin_add_buffer() 70 if ((midihdr->data = (u8 *) kmalloc(MIDIIN_BUFLEN, GFP_KERNEL)) == NULL) { in midiin_add_buffer() 132 if ((midi_dev = (struct emu10k1_mididevice *) kmalloc(sizeof(*midi_dev), GFP_KERNEL)) == NULL) in emu10k1_midi_open() 339 if ((midihdr = (struct midi_hdr *) kmalloc(sizeof(struct midi_hdr), GFP_KERNEL)) == NULL) in emu10k1_midi_write() 346 if ((midihdr->data = (u8 *) kmalloc(count, GFP_KERNEL)) == NULL) { in emu10k1_midi_write() 500 if ((midi_dev = (struct emu10k1_mididevice *) kmalloc(sizeof(*midi_dev), GFP_KERNEL)) == NULL) in emu10k1_seq_midi_open() 552 if ((midihdr = (struct midi_hdr *) kmalloc(sizeof(struct midi_hdr), GFP_KERNEL)) == NULL) in emu10k1_seq_midi_out() 559 if ((midihdr->data = (u8 *) kmalloc(1, GFP_KERNEL)) == NULL) { in emu10k1_seq_midi_out()
|
/linux-2.4.37.9/drivers/video/sti/ |
D | sticore.c | 397 glob_cfg = kmalloc(sizeof(*sti->glob_cfg), GFP_KERNEL); in sti_init_glob_cfg() 398 glob_cfg_ext = kmalloc(sizeof(*glob_cfg_ext), GFP_KERNEL); in sti_init_glob_cfg() 399 save_addr = kmalloc(save_addr_size, GFP_KERNEL); in sti_init_glob_cfg() 400 sti_mem_addr = kmalloc(sti->sti_mem_request, GFP_KERNEL); in sti_init_glob_cfg() 495 nf = kmalloc(size, GFP_KERNEL); in sti_select_fbfont() 514 cooked_font = kmalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_select_fbfont() 587 cooked_font = kmalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_cook_fonts() 601 cooked_font->next_font = kmalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_cook_fonts() 637 n = kmalloc (4*size, GFP_KERNEL); in sti_bmode_font_raw() 675 raw = kmalloc(size, GFP_KERNEL); in sti_get_bmode_rom() [all …]
|
/linux-2.4.37.9/drivers/usb/ |
D | auerbuf.c | 94 GFP_KERNEL); in auerbuf_setup() 100 bep->bufp = (char *) kmalloc(bufsize, GFP_KERNEL); in auerbuf_setup() 105 kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL); in auerbuf_setup()
|
/linux-2.4.37.9/drivers/hotplug/ |
D | ibmphp_pci.c | 163 newfunc = (struct pci_func *) kmalloc (sizeof (struct pci_func), GFP_KERNEL); in ibmphp_configure_card() 202 newfunc = (struct pci_func *) kmalloc (sizeof (struct pci_func), GFP_KERNEL); in ibmphp_configure_card() 231 newfunc = (struct pci_func *) kmalloc (sizeof (struct pci_func), GFP_KERNEL); in ibmphp_configure_card() 277 newfunc = (struct pci_func *) kmalloc (sizeof (struct pci_func), GFP_KERNEL); in ibmphp_configure_card() 404 io[count] = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_device() 443 pfmem[count] = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_device() 458 mem_tmp = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_device() 510 mem[count] = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_device() 675 bus_io[count] = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_bridge() 708 bus_pfmem[count] = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_bridge() [all …]
|
D | ibmphp_ebda.c | 77 list = kmalloc (sizeof (struct ebda_hpc_list), GFP_KERNEL); in alloc_ebda_hpc_list() 90 controller = kmalloc (sizeof (struct controller), GFP_KERNEL); in alloc_ebda_hpc() 95 slots = kmalloc (sizeof (struct ebda_hpc_slot) * slot_count, GFP_KERNEL); in alloc_ebda_hpc() 103 buses = kmalloc (sizeof (struct ebda_hpc_bus) * bus_count, GFP_KERNEL); in alloc_ebda_hpc() 129 list = kmalloc (sizeof (struct ebda_rsrc_list), GFP_KERNEL); in alloc_ebda_rsrc_list() 140 resource = kmalloc (sizeof (struct ebda_pci_rsrc), GFP_KERNEL); in alloc_ebda_pci_rsrc() 404 rio_table_ptr = kmalloc (sizeof (struct rio_table_hdr), GFP_KERNEL); in ibmphp_access_ebda() 464 rio_detail_ptr = kmalloc (sizeof (struct rio_detail), GFP_KERNEL); in ebda_rio_table() 522 opt_rio_ptr = (struct opt_rio *) kmalloc (sizeof (struct opt_rio), GFP_KERNEL); in combine_wpg_for_chassis() 565 opt_rio_lo_ptr = (struct opt_rio_lo *) kmalloc (sizeof (struct opt_rio_lo), GFP_KERNEL); in combine_wpg_for_expansion() [all …]
|
/linux-2.4.37.9/drivers/char/drm/ |
D | via_ds.c | 51 set = (set_t *)kmalloc(sizeof(set_t), GFP_KERNEL); in via_set_init() 170 blocks = (TMemBlock *) kmalloc(sizeof(TMemBlock), GFP_KERNEL); in via_mmInit() 185 blocks = (TMemBlock *) kmalloc(2 * sizeof(TMemBlock), GFP_KERNEL); in via_mmAddRange() 212 newblock = (TMemBlock *) kmalloc(sizeof(TMemBlock), GFP_KERNEL); in SliceBlock() 227 newblock = (TMemBlock *) kmalloc(sizeof(TMemBlock), GFP_KERNEL); in SliceBlock()
|
/linux-2.4.37.9/drivers/mtd/ |
D | mtdchar.c | 149 kbuf=kmalloc(len,GFP_KERNEL); in mtd_read() 206 kbuf=kmalloc(len,GFP_KERNEL); in mtd_write() 303 erase=kmalloc(sizeof(struct erase_info),GFP_KERNEL); in mtd_ioctl() 371 databuf = kmalloc(buf.length, GFP_KERNEL); in mtd_ioctl() 410 databuf = kmalloc(buf.length, GFP_KERNEL); in mtd_ioctl() 473 databuf = kmalloc(buf.length, GFP_KERNEL); in mtd_ioctl() 512 databuf = kmalloc(buf.length, GFP_KERNEL); in mtd_ioctl()
|
D | redboot.c | 48 buf = kmalloc(PAGE_SIZE, GFP_KERNEL); in parse_redboot_partitions() 86 new_fl = kmalloc(sizeof(struct fis_list), GFP_KERNEL); in parse_redboot_partitions() 113 parts = kmalloc(sizeof(*parts)*nrparts + namelen, GFP_KERNEL); in parse_redboot_partitions()
|
/linux-2.4.37.9/drivers/block/ |
D | z2ram.c | 214 GFP_KERNEL); in z2_open() 239 z2ram_map = kmalloc( max_z2_map + max_chip_map, GFP_KERNEL ); in z2_open() 260 z2ram_map = kmalloc( max_z2_map, GFP_KERNEL ); in z2_open() 278 z2ram_map = kmalloc( max_chip_map, GFP_KERNEL ); in z2_open()
|
/linux-2.4.37.9/fs/smbfs/ |
D | symlink.c | 36 link = kmalloc(SMB_MAXNAMELEN + 1, GFP_KERNEL); in smb_read_link() 68 link = kmalloc(SMB_MAXNAMELEN + 1, GFP_KERNEL); in smb_follow_link()
|
/linux-2.4.37.9/drivers/i2c/ |
D | i2c-dev.c | 134 tmp = kmalloc(count,GFP_KERNEL); in i2cdev_read() 165 tmp = kmalloc(count,GFP_KERNEL); in i2cdev_write() 233 GFP_KERNEL); in i2cdev_ioctl() 244 GFP_KERNEL); in i2cdev_ioctl() 259 rdwr_pa[i].buf = kmalloc(rdwr_pa[i].len, GFP_KERNEL); in i2cdev_ioctl() 397 if(! (client = kmalloc(sizeof(struct i2c_client),GFP_KERNEL))) in i2cdev_open()
|
/linux-2.4.37.9/arch/ia64/sn/io/machvec/ |
D | pci_bus_cvlink.c | 199 sizeof(struct sn_flush_device_list *), GFP_KERNEL); in sn_dma_flush_init() 281 DEV_PER_WIDGET * sizeof (struct sn_flush_device_list), GFP_KERNEL); in sn_dma_flush_init() 439 GFP_KERNEL); in sn_pci_fixup() 474 GFP_KERNEL); in sn_pci_fixup() 713 sizeof(struct sn_dma_maps_s) * MAX_ATE_MAPS, GFP_KERNEL); in pci_bus_map_create() 771 sizeof(struct sn_dma_maps_s) * MAX_ATE_MAPS, GFP_KERNEL); in pci_bus_map_create() 804 name = kmalloc(256, GFP_KERNEL); in pci_bus_to_hcl_cvlink() 808 tmp_name = kmalloc(256, GFP_KERNEL); in pci_bus_to_hcl_cvlink()
|