tag | line | file | source code |
kmalloc | 205 | arch/i386/ibcs/binfmt_coff.c | sect_bufr = (COFF_SCNHDR *) kmalloc (nbytes, GFP_KERNEL); |
kmalloc | 642 | arch/i386/ibcs/binfmt_coff.c | char *buffer = (char *) kmalloc (nbytes, GFP_KERNEL); |
kmalloc | 744 | arch/i386/ibcs/binfmt_coff.c | bprm = (struct linux_binprm *) kmalloc (sizeof (struct linux_binprm), |
kmalloc | 63 | arch/i386/ibcs/binfmt_elf.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 161 | arch/i386/ibcs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * interp_elf_ex->e_phnum, GFP_KERNEL); |
kmalloc | 304 | arch/i386/ibcs/binfmt_elf.c | elf_phdata = (struct elf_phdr *) kmalloc(elf_ex.e_phentsize * |
kmalloc | 345 | arch/i386/ibcs/binfmt_elf.c | elf_interpreter = (char *) kmalloc(elf_ppnt->p_filesz, |
kmalloc | 607 | arch/i386/ibcs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * elf_ex.e_phnum, GFP_KERNEL); |
kmalloc | 1017 | drivers/block/hd.c | hd_ident_info[i] = (struct hd_driveid *) kmalloc(512,GFP_KERNEL); |
kmalloc | 345 | drivers/block/ide-cd.c | info->sector_buffer = (char *) kmalloc (SECTOR_BUFFER_SIZE, GFP_ATOMIC); |
kmalloc | 1103 | drivers/block/ide-cd.c | toc = (struct atapi_toc *) kmalloc (sizeof (struct atapi_toc), |
kmalloc | 4362 | drivers/block/sbpcd.c | DriveStruct[j].sbp_buf=(u_char *) kmalloc(SBP_BUFFER_FRAMES*CD_FRAMESIZE, GFP_KERNEL); |
kmalloc | 1616 | drivers/block/sonycd535.c | kmalloc(sizeof *sony_toc, GFP_KERNEL); |
kmalloc | 1618 | drivers/block/sonycd535.c | kmalloc(sizeof *last_sony_subcode, GFP_KERNEL); |
kmalloc | 1620 | drivers/block/sonycd535.c | kmalloc(4 * sony_buffer_sectors, GFP_KERNEL); |
kmalloc | 1622 | drivers/block/sonycd535.c | sony_buffer[i] = (Byte *)kmalloc(2048, GFP_KERNEL); |
kmalloc | 333 | drivers/char/console.c | q = (long) kmalloc(video_screen_size, GFP_KERNEL); |
kmalloc | 336 | drivers/char/console.c | p = (long) kmalloc(structsize, GFP_KERNEL); |
kmalloc | 385 | drivers/char/console.c | p = (unsigned short *) kmalloc(ss, GFP_USER); |
kmalloc | 102 | drivers/char/consolemap.c | : (unsigned char *) kmalloc(E_TABSZ, GFP_KERNEL)); |
kmalloc | 360 | drivers/char/lp.c | lp_table[minor].lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
kmalloc | 457 | drivers/char/lp.c | lp->lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
kmalloc | 241 | drivers/char/selection.c | sel_buffer = kmalloc((sel_end-sel_start)/2+1, GFP_KERNEL); |
kmalloc | 792 | drivers/char/tty_io.c | tp = (struct termios *) kmalloc(sizeof(struct termios), |
kmalloc | 800 | drivers/char/tty_io.c | ltp = (struct termios *) kmalloc(sizeof(struct termios), |
kmalloc | 828 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
kmalloc | 836 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
kmalloc | 1218 | drivers/char/tty_io.c | fa = (struct fasync_struct *)kmalloc(sizeof(struct fasync_struct), GFP_KERNEL); |
kmalloc | 415 | drivers/char/vt.c | key_map = (ushort *) kmalloc(sizeof(plain_map), |
kmalloc | 509 | drivers/char/vt.c | fnw = (char *) kmalloc(sz, GFP_KERNEL); |
kmalloc | 286 | drivers/net/3c501.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 170 | drivers/net/3c505.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 1322 | drivers/net/3c505.c | adapter = (elp_device *)(dev->priv = kmalloc(sizeof(elp_device), GFP_KERNEL)); |
kmalloc | 417 | drivers/net/3c507.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 241 | drivers/net/3c509.c | dev->priv = kmalloc(sizeof(struct el3_private), GFP_KERNEL); |
kmalloc | 581 | drivers/net/8390.c | dev->priv = kmalloc(sizeof(struct ei_device), GFP_KERNEL); |
kmalloc | 51 | drivers/net/apricot.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 212 | drivers/net/apricot.c | if (!(rfd = (struct i596_rfd *)kmalloc(sizeof(struct i596_rfd), GFP_KERNEL))) |
kmalloc | 633 | drivers/net/apricot.c | tx_cmd = (struct tx_cmd *) kmalloc ((sizeof (struct tx_cmd) + sizeof (struct i596_tbd)), GFP_ATOMIC); |
kmalloc | 741 | drivers/net/apricot.c | dev->mem_start = (int)kmalloc(sizeof(struct i596_private)+ 0x0f, GFP_KERNEL); |
kmalloc | 982 | drivers/net/apricot.c | cmd = (struct i596_cmd *) kmalloc(sizeof(struct i596_cmd)+2+num_addrs*6, GFP_ATOMIC); |
kmalloc | 536 | drivers/net/arcnet.c | dev->priv = kmalloc(sizeof(struct arcnet_local), GFP_KERNEL); |
kmalloc | 264 | drivers/net/at1700.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 229 | drivers/net/atp.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 473 | drivers/net/de4x5.c | dev->priv = (void *) kmalloc(sizeof(struct de4x5_private) + LWPAD, |
kmalloc | 490 | drivers/net/de4x5.c | if ((tmp = (void *)kmalloc(RX_BUFF_SZ * NUM_RX_DESC + LWPAD, |
kmalloc | 1377 | drivers/net/de4x5.c | dev->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
kmalloc | 1417 | drivers/net/de4x5.c | tmp->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
kmalloc | 1386 | drivers/net/depca.c | dev->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
kmalloc | 90 | drivers/net/dummy.c | dev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL); |
kmalloc | 401 | drivers/net/eexpress.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 549 | drivers/net/ewrk3.c | dev->priv = (void *) kmalloc(sizeof(struct ewrk3_private), |
kmalloc | 1426 | drivers/net/ewrk3.c | dev->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
kmalloc | 131 | drivers/net/loopback.c | dev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL); |
kmalloc | 116 | drivers/net/net_init.c | dev->priv = kmalloc(sizeof_priv, GFP_KERNEL); |
kmalloc | 128 | drivers/net/net_init.c | dev = (struct device *)kmalloc(alloc_size, GFP_KERNEL); |
kmalloc | 364 | drivers/net/ni52.c | dev->priv = (void *) kmalloc(sizeof(struct priv),GFP_KERNEL); |
kmalloc | 248 | drivers/net/ni65.c | p = dev->priv = (void *) kmalloc(sizeof(struct priv),GFP_KERNEL); |
kmalloc | 263 | drivers/net/ni65.c | if( (p->memptr = kmalloc(MEMSIZE,GFP_KERNEL)) == NULL) { |
kmalloc | 277 | drivers/net/ni65.c | if( (p->tmdbufs[i] = kmalloc(T_BUF_SIZE,GFP_ATOMIC)) == NULL) { |
kmalloc | 273 | drivers/net/plip.c | dev->priv = kmalloc(sizeof (struct net_local), GFP_KERNEL); |
kmalloc | 390 | drivers/net/ppp.c | new_xbuff = (unsigned char *) kmalloc(mtu + 4, GFP_ATOMIC); |
kmalloc | 391 | drivers/net/ppp.c | new_rbuff = (unsigned char *) kmalloc(mru + 4, GFP_ATOMIC); |
kmalloc | 392 | drivers/net/ppp.c | new_cbuff = (unsigned char *) kmalloc(mru + 4, GFP_ATOMIC); |
kmalloc | 558 | drivers/net/ppp.c | ppp->us_rbuff = (unsigned char *) kmalloc (RBUFSIZE, GFP_KERNEL); |
kmalloc | 790 | drivers/net/sk_g16.c | p = dev->priv = (void *) kmalloc(sizeof(struct priv), GFP_KERNEL); |
kmalloc | 254 | drivers/net/skeleton.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 100 | drivers/net/slhc.c | comp = (struct slcompress *)kmalloc(sizeof(struct slcompress), |
kmalloc | 109 | drivers/net/slhc.c | (struct cstate *)kmalloc(rslots * sizeof(struct cstate), |
kmalloc | 122 | drivers/net/slhc.c | (struct cstate *)kmalloc(tslots * sizeof(struct cstate), |
kmalloc | 175 | drivers/net/slip.c | xbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
kmalloc | 176 | drivers/net/slip.c | rbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
kmalloc | 178 | drivers/net/slip.c | cbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
kmalloc | 539 | drivers/net/slip.c | sl->rbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
kmalloc | 543 | drivers/net/slip.c | sl->xbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
kmalloc | 548 | drivers/net/slip.c | sl->cbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
kmalloc | 877 | drivers/net/wavelan.c | dev->priv = kmalloc(sizeof(net_local), GFP_KERNEL); |
kmalloc | 2031 | drivers/scsi/53c7,8xx.c | if (!(bp = kmalloc (sizeof (struct NCR53c7x0_break)))) { |
kmalloc | 2375 | drivers/scsi/53c7,8xx.c | real = kmalloc (size, GFP_ATOMIC); |
kmalloc | 1932 | drivers/scsi/scsi.c | retval = (unsigned long) kmalloc(size, priority); |
kmalloc | 120 | drivers/sound/os.h | #define KERNEL_MALLOC(nbytes) kmalloc(nbytes, GFP_KERNEL) |
kmalloc | 87 | fs/binfmt_elf.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 195 | fs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * interp_elf_ex->e_phnum, GFP_KERNEL); |
kmalloc | 347 | fs/binfmt_elf.c | elf_phdata = (struct elf_phdr *) kmalloc(elf_ex.e_phentsize * |
kmalloc | 390 | fs/binfmt_elf.c | elf_interpreter = (char *) kmalloc(elf_ppnt->p_filesz, |
kmalloc | 684 | fs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * elf_ex.e_phnum, GFP_KERNEL); |
kmalloc | 306 | fs/exec.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 587 | fs/ext2/super.c | sb->u.ext2_sb.s_group_desc = kmalloc (db_count * sizeof (struct buffer_head *), GFP_KERNEL); |
kmalloc | 1675 | fs/hpfs/hpfs_fs.c | qbh->data = data = kmalloc(2048, GFP_KERNEL); |
kmalloc | 132 | fs/isofs/dir.c | cpnt = kmalloc(*((unsigned char *) de),GFP_KERNEL); |
kmalloc | 215 | fs/isofs/dir.c | dpnt = kmalloc(dlen, GFP_KERNEL); |
kmalloc | 444 | fs/isofs/inode.c | cpnt = kmalloc(*pnt,GFP_KERNEL); |
kmalloc | 716 | fs/isofs/inode.c | cpnt = kmalloc(*((unsigned char *) de),GFP_KERNEL); |
kmalloc | 767 | fs/isofs/inode.c | tmp = kmalloc(size, GFP_KERNEL); |
kmalloc | 120 | fs/isofs/namei.c | cpnt = kmalloc(*((unsigned char *) de),GFP_KERNEL); |
kmalloc | 61 | fs/isofs/rock.c | buffer = kmalloc(cont_size,GFP_KERNEL); \ |
kmalloc | 214 | fs/isofs/rock.c | retname = (char *) kmalloc (255,GFP_KERNEL); |
kmalloc | 442 | fs/isofs/rock.c | cpnt = kmalloc(*pnt,GFP_KERNEL); |
kmalloc | 485 | fs/isofs/rock.c | rpnt = (char *) kmalloc (inode->i_size +1, GFP_KERNEL); |
kmalloc | 457 | fs/locks.c | tmp = (struct file_lock *)kmalloc(sizeof(struct file_lock), GFP_KERNEL); |
kmalloc | 21 | fs/msdos/buffer.c | ret = (struct buffer_head *)kmalloc (sizeof(struct buffer_head) |
kmalloc | 114 | fs/nfs/dir.c | c_entry = (struct nfs_entry *) kmalloc(i, GFP_KERNEL); |
kmalloc | 116 | fs/nfs/dir.c | c_entry[i].name = (char *) kmalloc(NFS_MAXNAMLEN + 1, |
kmalloc | 153 | fs/nfs/file.c | if (!(data = (char *)kmalloc(n, GFP_KERNEL))) { |
kmalloc | 85 | fs/nfs/proc.c | while (!(i = (int *)kmalloc(size+NFS_SLACK_SPACE,GFP_NFS))) { |
kmalloc | 84 | fs/nfs/symlink.c | while ((res2 = (char *) kmalloc(NFS_MAXPATHLEN + 1, GFP_NFS)) == NULL) { |
kmalloc | 434 | fs/umsdos/dir.c | char *bpath = (char*)kmalloc(PATH_MAX,GFP_KERNEL); |
kmalloc | 629 | fs/umsdos/dir.c | char *path = (char*)kmalloc(PATH_MAX,GFP_KERNEL); |
kmalloc | 606 | fs/umsdos/namei.c | char *path = (char*)kmalloc(PATH_MAX,GFP_KERNEL); |
kmalloc | 631 | fs/umsdos/namei.c | char *path = (char*)kmalloc(PATH_MAX,GFP_KERNEL); |
kmalloc | 63 | fs/umsdos/symlink.c | char *path = (char*)kmalloc(PATH_MAX,GFP_KERNEL); |
kmalloc | 21 | include/linux/malloc.h | void * kmalloc(unsigned int size, int priority); |
kmalloc | 79 | ipc/msg.c | msgh = (struct msg *) kmalloc (sizeof(*msgh) + msgsz, GFP_USER); |
kmalloc | 241 | ipc/msg.c | msq = (struct msqid_ds *) kmalloc (sizeof (*msq), GFP_KERNEL); |
kmalloc | 102 | ipc/sem.c | sma = (struct semid_ds *) kmalloc (size, GFP_KERNEL); |
kmalloc | 602 | ipc/sem.c | un = (struct sem_undo *) kmalloc(size, GFP_ATOMIC); |
kmalloc | 92 | ipc/shm.c | shp = (struct shmid_ds *) kmalloc (sizeof (*shp), GFP_KERNEL); |
kmalloc | 100 | ipc/shm.c | shp->shm_pages = (ulong *) kmalloc (numpages*sizeof(ulong),GFP_KERNEL); |
kmalloc | 498 | ipc/shm.c | shmd = (struct vm_area_struct *) kmalloc (sizeof(*shmd), GFP_KERNEL); |
kmalloc | 92 | kernel/fork.c | tmp = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 123 | kernel/ksyms.c | X(kmalloc), |
kmalloc | 152 | kernel/module.c | if ((mp = (struct module*) kmalloc(sspace, GFP_KERNEL)) == NULL) { |
kmalloc | 238 | kernel/module.c | if ((newtab = (struct symbol_table*) kmalloc(size, GFP_KERNEL)) == NULL) { |
kmalloc | 658 | kernel/module.c | if (!(mp = (struct module*) kmalloc(MODSIZ, GFP_KERNEL))) { |
kmalloc | 718 | kernel/module.c | if (!(newtab = (struct symbol_table*)kmalloc( |
kmalloc | 109 | mm/mmap.c | vma = (struct vm_area_struct *)kmalloc(sizeof(struct vm_area_struct), |
kmalloc | 685 | mm/mmap.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 701 | mm/mmap.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 101 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 124 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 147 | mm/mprotect.c | left = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 150 | mm/mprotect.c | right = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 200 | mm/vmalloc.c | area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); |
kmalloc | 530 | net/inet/af_inet.c | sk = (struct sock *) kmalloc(sizeof(*sk), GFP_KERNEL); |
kmalloc | 772 | net/inet/arp.c | entry = (struct arp_table *)kmalloc(sizeof(struct arp_table),GFP_ATOMIC); |
kmalloc | 893 | net/inet/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
kmalloc | 1134 | net/inet/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
kmalloc | 89 | net/inet/dev_mcast.c | data=kmalloc(dev->mc_count*dev->addr_len, GFP_KERNEL); |
kmalloc | 143 | net/inet/dev_mcast.c | dmi=(struct dev_mc_list *)kmalloc(sizeof(*dmi),GFP_KERNEL); |
kmalloc | 234 | net/inet/igmp.c | i=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL); |
kmalloc | 295 | net/inet/igmp.c | i=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL); |
kmalloc | 321 | net/inet/igmp.c | if((sk->ip_mc_list=(struct ip_mc_socklist *)kmalloc(sizeof(*sk->ip_mc_list), GFP_KERNEL))==NULL) |
kmalloc | 576 | net/inet/ip.c | fp = (struct ipfrag *) kmalloc(sizeof(struct ipfrag), GFP_ATOMIC); |
kmalloc | 719 | net/inet/ip.c | qp = (struct ipq *) kmalloc(sizeof(struct ipq), GFP_ATOMIC); |
kmalloc | 736 | net/inet/ip.c | qp->mac = (unsigned char *) kmalloc(maclen, GFP_ATOMIC); |
kmalloc | 749 | net/inet/ip.c | qp->iph = (struct iphdr *) kmalloc(ihlen + 8, GFP_ATOMIC); |
kmalloc | 441 | net/inet/ip_fw.c | ftmp = kmalloc( sizeof(struct ip_fw), GFP_ATOMIC ); |
kmalloc | 633 | net/inet/ipx.c | intrfc=(ipx_interface *)kmalloc(sizeof(ipx_interface),GFP_ATOMIC); |
kmalloc | 720 | net/inet/ipx.c | intrfc=(ipx_interface *)kmalloc(sizeof(ipx_interface),GFP_ATOMIC); |
kmalloc | 797 | net/inet/ipx.c | intrfc=(ipx_interface *)kmalloc(sizeof(ipx_interface),GFP_ATOMIC); |
kmalloc | 907 | net/inet/ipx.c | rt=(ipx_route *)kmalloc(sizeof(ipx_route),GFP_ATOMIC); |
kmalloc | 1366 | net/inet/ipx.c | sk=(ipx_socket *)kmalloc(sizeof(*sk),GFP_KERNEL); |
kmalloc | 84 | net/inet/p8022.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
kmalloc | 25 | net/inet/p8023.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
kmalloc | 259 | net/inet/packet.c | p = (struct packet_type *) kmalloc(sizeof(*p), GFP_KERNEL); |
kmalloc | 25 | net/inet/pe2.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
kmalloc | 108 | net/inet/psnap.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
kmalloc | 298 | net/inet/rarp.c | entry = (struct rarp_table *) kmalloc(sizeof(struct rarp_table), |
kmalloc | 265 | net/inet/route.c | rt = (struct rtable *) kmalloc(sizeof(struct rtable), GFP_ATOMIC); |
kmalloc | 405 | net/inet/skbuff.c | skb=(struct sk_buff *)kmalloc(size,priority); |
kmalloc | 2723 | net/inet/tcp.c | newsk = (struct sock *) kmalloc(sizeof(struct sock), GFP_ATOMIC); |
kmalloc | 450 | net/socket.c | fna=(struct fasync_struct *)kmalloc(sizeof(struct fasync_struct), GFP_KERNEL); |