tag | line | file | source code |
kmalloc | 294 | drivers/char/lp.c | lp_table[minor].lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
kmalloc | 373 | drivers/char/lp.c | lp->lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
kmalloc | 96 | drivers/char/mem.c | mpnt = (struct vm_area_struct * ) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 190 | drivers/char/mem.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 1091 | drivers/char/tty_io.c | tp = (struct termios *) kmalloc(sizeof(struct termios), |
kmalloc | 1099 | drivers/char/tty_io.c | ltp = (struct termios *) kmalloc(sizeof(struct termios), |
kmalloc | 1117 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
kmalloc | 1125 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
kmalloc | 57 | drivers/net/3c501.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 59 | drivers/net/3c507.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 391 | drivers/net/3c507.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 47 | drivers/net/3c509.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 214 | drivers/net/3c509.c | dev->priv = kmalloc(sizeof(struct el3_private), GFP_KERNEL); |
kmalloc | 64 | drivers/net/8390.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 626 | drivers/net/8390.c | dev->priv = kmalloc(sizeof(struct ei_device), GFP_KERNEL); |
kmalloc | 56 | drivers/net/at1700.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 245 | drivers/net/at1700.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 93 | drivers/net/d_link.c | #define alloc_skb(size,pri) (struct sk_buff *)kmalloc(size,pri) |
kmalloc | 664 | drivers/net/d_link.c | dev->priv = kmalloc(sizeof(struct netstats), GFP_KERNEL); |
kmalloc | 59 | drivers/net/eexpress.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 400 | drivers/net/eexpress.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 44 | drivers/net/lance.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 108 | drivers/net/net_init.c | dev = (struct device *)kmalloc(alloc_size, GFP_KERNEL); |
kmalloc | 188 | drivers/net/plip.c | dev->priv = kmalloc(sizeof(struct netstats), GFP_KERNEL); |
kmalloc | 75 | drivers/net/skeleton.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
kmalloc | 210 | drivers/net/skeleton.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 88 | drivers/net/slhc.c | comp = (struct slcompress *)kmalloc(sizeof(struct slcompress), |
kmalloc | 97 | drivers/net/slhc.c | (struct cstate *)kmalloc(rslots * sizeof(struct cstate), |
kmalloc | 107 | drivers/net/slhc.c | (struct cstate *)kmalloc(tslots * sizeof(struct cstate), |
kmalloc | 234 | drivers/net/slip.c | tb= (unsigned char *) kmalloc(l + 4, GFP_KERNEL); |
kmalloc | 235 | drivers/net/slip.c | rb= (unsigned char *) kmalloc(l + 4, GFP_KERNEL); |
kmalloc | 236 | drivers/net/slip.c | cb= (unsigned char *) kmalloc(l + 4, GFP_KERNEL); |
kmalloc | 675 | drivers/net/slip.c | p = (unsigned char *) kmalloc(l + 4, GFP_KERNEL); |
kmalloc | 685 | drivers/net/slip.c | p = (unsigned char *) kmalloc(l + 4, GFP_KERNEL); |
kmalloc | 702 | drivers/net/slip.c | p = (unsigned char *) kmalloc(l + 4, GFP_KERNEL); |
kmalloc | 128 | drivers/sound/os.h | #define KERNEL_MALLOC(nbytes) kmalloc(nbytes, GFP_KERNEL) |
kmalloc | 89 | fs/binfmt_elf.c | elf_phdata = (struct elf_phdr *) kmalloc(elf_ex.e_phentsize * |
kmalloc | 130 | fs/binfmt_elf.c | elf_interpreter = (char *) kmalloc(elf_ppnt->p_filesz, |
kmalloc | 379 | fs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * elf_ex.e_phnum, GFP_KERNEL); |
kmalloc | 270 | fs/exec.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 1675 | fs/hpfs/hpfs_fs.c | qbh->data = data = kmalloc(2048, GFP_KERNEL); |
kmalloc | 121 | fs/isofs/dir.c | cpnt = kmalloc(1 << ISOFS_BLOCK_BITS, GFP_KERNEL); |
kmalloc | 343 | fs/isofs/inode.c | cpnt = kmalloc(1 << ISOFS_BLOCK_BITS, GFP_KERNEL); |
kmalloc | 589 | fs/isofs/inode.c | cpnt = kmalloc(1<<ISOFS_BLOCK_BITS,GFP_KERNEL); |
kmalloc | 638 | fs/isofs/inode.c | tmp = kmalloc(size, GFP_KERNEL); |
kmalloc | 118 | fs/isofs/namei.c | cpnt = kmalloc(1 << ISOFS_BLOCK_BITS, GFP_KERNEL); |
kmalloc | 58 | fs/isofs/rock.c | buffer = kmalloc(cont_size,GFP_KERNEL); \ |
kmalloc | 197 | fs/isofs/rock.c | retname = (char *) kmalloc (255,GFP_KERNEL); |
kmalloc | 399 | fs/isofs/rock.c | cpnt = kmalloc(1 << ISOFS_BLOCK_BITS, GFP_KERNEL); |
kmalloc | 437 | fs/isofs/rock.c | rpnt = (char *) kmalloc (inode->i_size +1, GFP_KERNEL); |
kmalloc | 107 | fs/nfs/dir.c | c_entry = (struct nfs_entry *) kmalloc(i, GFP_KERNEL); |
kmalloc | 109 | fs/nfs/dir.c | c_entry[i].name = (char *) kmalloc(NFS_MAXNAMLEN + 1, |
kmalloc | 88 | fs/nfs/file.c | data = (char *) kmalloc(n, GFP_KERNEL); |
kmalloc | 139 | fs/nfs/file.c | data = (char *) kmalloc(n, GFP_KERNEL); |
kmalloc | 67 | fs/nfs/mmap.c | mpnt = (struct vm_area_struct * ) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 68 | fs/nfs/symlink.c | res = (char *) kmalloc(NFS_MAXPATHLEN + 1, GFP_KERNEL); |
kmalloc | 97 | fs/nfs/symlink.c | res = (char *) kmalloc(buflen + 1, GFP_KERNEL); |
kmalloc | 20 | 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 | 73 | ipc/sem.c | sma = (struct semid_ds *) kmalloc (size, GFP_KERNEL); |
kmalloc | 389 | ipc/sem.c | kmalloc (sizeof(*un), GFP_ATOMIC); |
kmalloc | 84 | ipc/shm.c | shp = (struct shmid_ds *) kmalloc (sizeof (*shp), GFP_KERNEL); |
kmalloc | 92 | ipc/shm.c | shp->shm_pages = (ulong *) kmalloc (numpages*sizeof(ulong),GFP_KERNEL); |
kmalloc | 432 | ipc/shm.c | shmd = (struct shm_desc *) kmalloc (sizeof(*shmd), GFP_KERNEL); |
kmalloc | 541 | ipc/shm.c | tmp = (struct shm_desc *) kmalloc(sizeof(*tmp), GFP_KERNEL); |
kmalloc | 99 | kernel/fork.c | tmp = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 41 | kernel/module.c | if ((savename = (char*) kmalloc(len, GFP_KERNEL)) == NULL) |
kmalloc | 44 | kernel/module.c | if ((mp = (struct module*) kmalloc(sizeof *mp, GFP_KERNEL)) == NULL) { |
kmalloc | 171 | lib/malloc.c | kmalloc(unsigned int len, int priority) |
kmalloc | 209 | mm/mmap.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 221 | mm/mmap.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 331 | mm/mmap.c | mpnt = (struct vm_area_struct * ) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 451 | mm/mmap.c | mpnt = (struct vm_area_struct * ) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 154 | mm/vmalloc.c | area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); |
kmalloc | 433 | net/inet/arp.c | apt = (struct arp_table *) kmalloc(sizeof(struct arp_table), GFP_ATOMIC); |
kmalloc | 518 | net/inet/ip.c | fp = (struct ipfrag *) kmalloc(sizeof(struct ipfrag), GFP_ATOMIC); |
kmalloc | 656 | net/inet/ip.c | qp = (struct ipq *) kmalloc(sizeof(struct ipq), GFP_ATOMIC); |
kmalloc | 666 | net/inet/ip.c | qp->mac = (unsigned char *) kmalloc(maclen, GFP_ATOMIC); |
kmalloc | 676 | net/inet/ip.c | qp->iph = (struct iphdr *) kmalloc(ihlen + 8, GFP_ATOMIC); |
kmalloc | 132 | net/inet/loopback.c | dev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL); |
kmalloc | 167 | net/inet/packet.c | p = (struct packet_type *) kmalloc(sizeof(*p), GFP_KERNEL); |
kmalloc | 286 | net/inet/raw.c | p = (struct inet_protocol *) kmalloc(sizeof (*p), GFP_KERNEL); |
kmalloc | 146 | net/inet/route.c | rt = (struct rtable *) kmalloc(sizeof(struct rtable), GFP_ATOMIC); |
kmalloc | 422 | net/inet/skbuff.c | struct sk_buff *skb=(struct sk_buff *)kmalloc(size,priority); |
kmalloc | 709 | net/inet/sock.c | sk = (struct sock *) kmalloc(sizeof(*sk), GFP_KERNEL); |
kmalloc | 1741 | net/inet/tcp.c | newsk = (struct sock *) kmalloc(sizeof(struct sock), GFP_ATOMIC); |
kmalloc | 92 | net/inet/utils.c | buff = (char *) kmalloc(256, GFP_ATOMIC); |
kmalloc | 105 | net/unix/sock.c | buff = (char *) kmalloc(256, GFP_KERNEL); |