tag | line | file | source code |
kmalloc | 2994 | drivers/block/floppy.c | kmalloc(sizeof(struct floppy_raw_cmd ), GFP_USER); |
kmalloc | 1019 | drivers/block/hd.c | hd_ident_info[i] = (struct hd_driveid *) kmalloc(512,GFP_KERNEL); |
kmalloc | 861 | drivers/block/ide-cd.c | info->sector_buffer = (char *) kmalloc (SECTOR_BUFFER_SIZE, GFP_ATOMIC); |
kmalloc | 1743 | drivers/block/ide-cd.c | toc = (struct atapi_toc *) kmalloc (sizeof (struct atapi_toc), |
kmalloc | 522 | drivers/block/ide.c | gd = kmalloc (sizeof(struct gendisk), GFP_KERNEL); |
kmalloc | 523 | drivers/block/ide.c | gd->sizes = kmalloc (minors * sizeof(int), GFP_KERNEL); |
kmalloc | 524 | drivers/block/ide.c | gd->part = kmalloc (minors * sizeof(struct hd_struct), GFP_KERNEL); |
kmalloc | 525 | drivers/block/ide.c | bs = kmalloc (minors*sizeof(int), GFP_KERNEL); |
kmalloc | 1985 | drivers/block/ide.c | id = drive->id = kmalloc (SECTOR_WORDS*4, GFP_KERNEL); |
kmalloc | 2824 | drivers/block/ide.c | hwgroup = kmalloc (sizeof(ide_hwgroup_t), GFP_KERNEL); |
kmalloc | 1168 | drivers/cdrom/cm206.c | cd = (struct cm206_struct *) kmalloc(size, GFP_KERNEL); |
kmalloc | 1045 | drivers/cdrom/mcdx.c | if (!(stuffp = kmalloc(size, GFP_KERNEL))) { |
kmalloc | 1397 | drivers/cdrom/mcdx.c | stuffp->toc = kmalloc(size, GFP_KERNEL); |
kmalloc | 1616 | drivers/cdrom/sonycd535.c | kmalloc(sizeof *sony_toc, GFP_KERNEL); |
kmalloc | 1620 | drivers/cdrom/sonycd535.c | kmalloc(sizeof *last_sony_subcode, GFP_KERNEL); |
kmalloc | 1626 | drivers/cdrom/sonycd535.c | kmalloc(4 * sony_buffer_sectors, GFP_KERNEL); |
kmalloc | 1633 | drivers/cdrom/sonycd535.c | sony_buffer[i] = (Byte *)kmalloc(2048, GFP_KERNEL); |
kmalloc | 359 | drivers/char/console.c | q = (long) kmalloc(video_screen_size, GFP_KERNEL); |
kmalloc | 362 | drivers/char/console.c | p = (long) kmalloc(structsize, GFP_KERNEL); |
kmalloc | 411 | drivers/char/console.c | p = (unsigned short *) kmalloc(ss, GFP_USER); |
kmalloc | 179 | drivers/char/consolemap.c | : (unsigned char *) kmalloc(MAX_GLYPH, GFP_KERNEL)); |
kmalloc | 323 | drivers/char/consolemap.c | p1 = uni_pagedir[n] = kmalloc(32*sizeof(u16 *), GFP_KERNEL); |
kmalloc | 333 | drivers/char/consolemap.c | p2 = p1[n] = kmalloc(64*sizeof(u16), GFP_KERNEL); |
kmalloc | 818 | drivers/char/istallion.c | return (void *) kmalloc(len, GFP_KERNEL); |
kmalloc | 361 | drivers/char/lp.c | lp_table[minor].lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
kmalloc | 450 | drivers/char/lp.c | lp->lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
kmalloc | 516 | drivers/char/psaux.c | queue = (struct aux_queue *) kmalloc(sizeof(*queue), GFP_KERNEL); |
kmalloc | 256 | drivers/char/random.c | irq_timer_state[irq] = kmalloc(sizeof(struct timer_rand_state), |
kmalloc | 269 | drivers/char/random.c | blkdev_timer_state[major] = kmalloc(sizeof(struct timer_rand_state), |
kmalloc | 284 | drivers/char/scc.c | sccb = (struct sccbuf *)kmalloc(sizeof(struct sccbuf), GFP_ATOMIC); |
kmalloc | 285 | drivers/char/scc.c | bp = (struct mbuf *)kmalloc(sizeof(struct mbuf), GFP_ATOMIC); |
kmalloc | 242 | drivers/char/selection.c | sel_buffer = kmalloc((sel_end-sel_start)/2+1, GFP_KERNEL); |
kmalloc | 620 | drivers/char/stallion.c | return (void *) kmalloc(len, GFP_KERNEL); |
kmalloc | 806 | drivers/char/tty_io.c | tp = (struct termios *) kmalloc(sizeof(struct termios), |
kmalloc | 814 | drivers/char/tty_io.c | ltp = (struct termios *) kmalloc(sizeof(struct termios), |
kmalloc | 842 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
kmalloc | 850 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
kmalloc | 1246 | drivers/char/tty_io.c | fa = (struct fasync_struct *)kmalloc(sizeof(struct fasync_struct), GFP_KERNEL); |
kmalloc | 465 | drivers/char/vt.c | key_map = (ushort *) kmalloc(sizeof(plain_map), |
kmalloc | 559 | drivers/char/vt.c | fnw = (char *) kmalloc(sz, GFP_KERNEL); |
kmalloc | 292 | drivers/net/3c501.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 1258 | drivers/net/3c505.c | adapter = (elp_device *)(dev->priv = kmalloc(sizeof(elp_device), GFP_KERNEL)); |
kmalloc | 419 | drivers/net/3c507.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 251 | drivers/net/3c509.c | dev->priv = kmalloc(sizeof(struct el3_private), GFP_KERNEL); |
kmalloc | 601 | 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 | 616 | drivers/net/arcnet.c | dev->priv = kmalloc(sizeof(struct arcnet_local), GFP_KERNEL); |
kmalloc | 970 | drivers/net/arcnet.c | lp->edev=(struct device *)kmalloc(sizeof(struct device),GFP_KERNEL); |
kmalloc | 974 | drivers/net/arcnet.c | lp->edev->name=(char *)kmalloc(10,GFP_KERNEL); |
kmalloc | 266 | 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 | 430 | drivers/net/bsd_comp.c | db = (struct bsd_db *) kmalloc (sizeof (struct bsd_db), |
kmalloc | 589 | drivers/net/de4x5.c | dev->priv = (void *) kmalloc(sizeof(struct de4x5_private) + ALIGN, |
kmalloc | 632 | drivers/net/de4x5.c | if ((tmp = (void *)kmalloc(RX_BUFF_SZ * NUM_RX_DESC + ALIGN, |
kmalloc | 1677 | drivers/net/de4x5.c | dev->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
kmalloc | 1717 | drivers/net/de4x5.c | tmp->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
kmalloc | 513 | drivers/net/depca.c | dev->priv = (void *) kmalloc(sizeof(struct depca_private), GFP_KERNEL); |
kmalloc | 1361 | drivers/net/depca.c | dev->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
kmalloc | 1401 | drivers/net/depca.c | tmp->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
kmalloc | 90 | drivers/net/dummy.c | dev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL); |
kmalloc | 410 | drivers/net/eepro.c | dev->priv = kmalloc(sizeof(struct eepro_local), GFP_KERNEL); |
kmalloc | 402 | drivers/net/eexpress.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 221 | drivers/net/eql.c | dev->priv = kmalloc (sizeof (equalizer_t), GFP_KERNEL); |
kmalloc | 227 | drivers/net/eql.c | eql->stats = kmalloc (sizeof (struct enet_statistics), GFP_KERNEL); |
kmalloc | 696 | drivers/net/eql.c | slave = (slave_t *) kmalloc (sizeof (slave_t), GFP_KERNEL); |
kmalloc | 770 | drivers/net/eql.c | queue = (slave_queue_t *) kmalloc (sizeof (slave_queue_t), GFP_KERNEL); |
kmalloc | 549 | drivers/net/ewrk3.c | dev->priv = (void *) kmalloc(sizeof(struct ewrk3_private), |
kmalloc | 1430 | drivers/net/ewrk3.c | dev->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
kmalloc | 410 | drivers/net/hp100.c | if ( ( dev -> priv = kmalloc( sizeof( struct hp100_private ), GFP_KERNEL ) ) == NULL ) |
kmalloc | 292 | drivers/net/ibmtr.c | ti = (struct tok_info *)kmalloc(sizeof(struct tok_info), GFP_KERNEL); |
kmalloc | 408 | drivers/net/lance.c | lp = (struct lance_private *) kmalloc(sizeof(*lp), GFP_DMA | GFP_KERNEL); |
kmalloc | 412 | drivers/net/lance.c | lp->rx_buffs = (unsigned long) kmalloc(PKT_BUF_SZ*RX_RING_SIZE, GFP_DMA | GFP_KERNEL); |
kmalloc | 415 | drivers/net/lance.c | lp->tx_bounce_buffs = kmalloc(PKT_BUF_SZ*TX_RING_SIZE, GFP_DMA | GFP_KERNEL); |
kmalloc | 150 | drivers/net/loopback.c | dev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL); |
kmalloc | 90 | drivers/net/net_init.c | ? kmalloc(sizeof_priv, GFP_KERNEL) |
kmalloc | 99 | drivers/net/net_init.c | dev = (struct device *)kmalloc(alloc_size, GFP_KERNEL); |
kmalloc | 361 | drivers/net/ni52.c | dev->priv = (void *) kmalloc(sizeof(struct priv),GFP_KERNEL); |
kmalloc | 246 | drivers/net/ni65.c | p = dev->priv = (void *) kmalloc(sizeof(struct priv),GFP_KERNEL); |
kmalloc | 264 | drivers/net/ni65.c | if( (p->memptr = kmalloc(MEMSIZE,GFP_KERNEL)) == NULL) { |
kmalloc | 278 | drivers/net/ni65.c | if( (p->tmdbufs[i] = kmalloc(T_BUF_SIZE,GFP_ATOMIC)) == NULL) { |
kmalloc | 1248 | drivers/net/pi2.c | pi0a.priv = kmalloc(sizeof(struct pi_local) + (DMA_BUFF_SIZE + sizeof(struct mbuf)) * 4, GFP_KERNEL | GFP_DMA); |
kmalloc | 1258 | drivers/net/pi2.c | pi0b.priv = kmalloc(sizeof(struct pi_local) + (DMA_BUFF_SIZE + sizeof(struct mbuf)) * 4, GFP_KERNEL | GFP_DMA); |
kmalloc | 282 | drivers/net/plip.c | dev->priv = kmalloc(sizeof (struct net_local), GFP_KERNEL); |
kmalloc | 589 | drivers/net/ppp.c | buf = (struct ppp_buffer *) kmalloc (size + sizeof (struct ppp_buffer), |
kmalloc | 1704 | drivers/net/ppp.c | new_data = kmalloc (ppp->mru + 4, GFP_ATOMIC); |
kmalloc | 2083 | drivers/net/ppp.c | new_data = kmalloc (count, GFP_ATOMIC); |
kmalloc | 2198 | drivers/net/ppp.c | new_data = kmalloc (count, GFP_KERNEL); |
kmalloc | 3002 | drivers/net/ppp.c | hdr = (struct ppp_hdr *) kmalloc (len + sizeof (struct ppp_hdr), |
kmalloc | 3102 | drivers/net/ppp.c | hdr = (struct ppp_hdr *) kmalloc (len + sizeof (struct ppp_hdr), |
kmalloc | 3339 | drivers/net/ppp.c | ctl = (ppp_ctrl_t *) kmalloc (sizeof(ppp_ctrl_t), GFP_KERNEL); |
kmalloc | 3480 | drivers/net/ppp.c | new = (struct compressor_link *) kmalloc (sizeof (struct compressor_link), GFP_KERNEL); |
kmalloc | 324 | drivers/net/seeq8005.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 790 | drivers/net/sk_g16.c | p = dev->priv = (void *) kmalloc(sizeof(struct priv), GFP_KERNEL); |
kmalloc | 271 | drivers/net/skeleton.c | dev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL); |
kmalloc | 107 | drivers/net/slhc.c | comp = (struct slcompress *)kmalloc(sizeof(struct slcompress), |
kmalloc | 116 | drivers/net/slhc.c | (struct cstate *)kmalloc(rslots * sizeof(struct cstate), |
kmalloc | 129 | drivers/net/slhc.c | (struct cstate *)kmalloc(tslots * sizeof(struct cstate), |
kmalloc | 136 | drivers/net/slip.c | (slip_ctrls[i] = (slip_ctrl_t *)kmalloc(sizeof(slip_ctrl_t), |
kmalloc | 239 | drivers/net/slip.c | xbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
kmalloc | 240 | drivers/net/slip.c | rbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
kmalloc | 242 | drivers/net/slip.c | cbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
kmalloc | 594 | drivers/net/slip.c | sl->rbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
kmalloc | 598 | drivers/net/slip.c | sl->xbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
kmalloc | 603 | drivers/net/slip.c | sl->cbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
kmalloc | 1138 | drivers/net/slip.c | slip_ctrls = (slip_ctrl_t **) kmalloc(sizeof(void*)*slip_maxdev, GFP_KERNEL); |
kmalloc | 252 | drivers/net/tulip.c | tp = kmalloc(sizeof(*tp), GFP_KERNEL | GFP_DMA); |
kmalloc | 254 | drivers/net/tulip.c | tp->rx_buffs = kmalloc(PKT_BUF_SZ*RX_RING_SIZE, GFP_KERNEL | GFP_DMA); |
kmalloc | 81 | drivers/net/tunnel.c | dev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL); |
kmalloc | 1017 | drivers/net/wavelan.c | dev->priv = kmalloc(sizeof(net_local), GFP_KERNEL); |
kmalloc | 2114 | drivers/scsi/53c7,8xx.c | if (!(bp = kmalloc (sizeof (struct NCR53c7x0_break)))) { |
kmalloc | 2405 | drivers/scsi/53c7,8xx.c | real = kmalloc (size, GFP_ATOMIC); |
kmalloc | 470 | drivers/scsi/eata_dma.c | cp->sg_list = kmalloc(SG_SIZE_BIG*sizeof(struct eata_sg_list), |
kmalloc | 2220 | drivers/scsi/scsi.c | retval = kmalloc(size, priority); |
kmalloc | 184 | drivers/scsi/scsi_proc.c | if ((handle = (parseHandle*) kmalloc(sizeof(parseHandle), 1)) == 0) |
kmalloc | 186 | drivers/scsi/scsi_proc.c | if ((handle->cmdPos = (char**) kmalloc(sizeof(int), cmdNum)) == 0) { |
kmalloc | 3123 | drivers/sound/gus_wave.c | samples = (struct patch_info *) (sound_mem_blocks[sound_num_blocks] = kmalloc ((MAX_SAMPLE + 1) * sizeof (*samples), GFP_KERNEL)); |
kmalloc | 249 | drivers/sound/midibuf.c | midi_in_buf[dev] = (struct midi_buf *) kmalloc (sizeof (struct midi_buf), GFP_KERNEL); |
kmalloc | 260 | drivers/sound/midibuf.c | midi_out_buf[dev] = (struct midi_buf *) kmalloc (sizeof (struct midi_buf), GFP_KERNEL); |
kmalloc | 1077 | drivers/sound/mpu401.c | mpu401_synth_operations[num_midis] = (struct synth_operations *) (sound_mem_blocks[sound_num_blocks] = kmalloc (sizeof (struct synth_operations), GFP_KERNEL)); |
kmalloc | 190 | drivers/sound/opl3.c | devc = (struct opl_devinfo *) (sound_mem_blocks[sound_num_blocks] = kmalloc (sizeof (*devc), GFP_KERNEL)); |
kmalloc | 295 | drivers/sound/patmgr.c | (struct patmgr_info *) kmalloc (sizeof (struct patmgr_info), GFP_KERNEL)) == NULL) |
kmalloc | 513 | drivers/sound/pss.c | buf = (copr_buffer *) kmalloc (sizeof (copr_buffer), GFP_KERNEL); |
kmalloc | 1816 | drivers/sound/sequencer.c | if ((inf = (struct patmgr_info *) kmalloc (sizeof (*inf), GFP_KERNEL)) == NULL) |
kmalloc | 1854 | drivers/sound/sequencer.c | if ((inf = (struct patmgr_info *) kmalloc (sizeof (*inf), GFP_KERNEL)) == NULL) |
kmalloc | 2082 | drivers/sound/sequencer.c | queue = (unsigned char *) (sound_mem_blocks[sound_num_blocks] = kmalloc (SEQ_MAX_QUEUE * EV_SZ, GFP_KERNEL)); |
kmalloc | 2086 | drivers/sound/sequencer.c | iqueue = (unsigned char *) (sound_mem_blocks[sound_num_blocks] = kmalloc (SEQ_MAX_QUEUE * IEV_SZ, GFP_KERNEL)); |
kmalloc | 408 | drivers/sound/sound_switch.c | if ((status_buf = (char *) kmalloc (4000, GFP_KERNEL)) == NULL) |
kmalloc | 696 | drivers/sound/sscape.c | buf = (copr_buffer *) kmalloc (sizeof (copr_buffer), GFP_KERNEL); |
kmalloc | 98 | fs/binfmt_elf.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 212 | fs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * interp_elf_ex->e_phnum, GFP_KERNEL); |
kmalloc | 405 | fs/binfmt_elf.c | elf_phdata = (struct elf_phdr *) kmalloc(elf_ex.e_phentsize * |
kmalloc | 456 | fs/binfmt_elf.c | elf_interpreter = (char *) kmalloc(elf_ppnt->p_filesz, |
kmalloc | 774 | fs/binfmt_elf.c | kmalloc(sizeof(struct elf_phdr) * elf_ex.e_phnum, GFP_KERNEL); |
kmalloc | 318 | fs/exec.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 536 | fs/exec.c | struct mm_struct *mm = kmalloc(sizeof(*mm), GFP_KERNEL); |
kmalloc | 534 | fs/ext2/super.c | sb->u.ext2_sb.s_group_desc = kmalloc (db_count * sizeof (struct buffer_head *), GFP_KERNEL); |
kmalloc | 1694 | fs/hpfs/hpfs_fs.c | qbh->data = data = kmalloc(2048, GFP_KERNEL); |
kmalloc | 448 | fs/isofs/inode.c | cpnt = kmalloc(*pnt,GFP_KERNEL); |
kmalloc | 727 | fs/isofs/inode.c | cpnt = kmalloc(*((unsigned char *) de),GFP_KERNEL); |
kmalloc | 778 | 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 | 637 | fs/locks.c | if ((tmp = (struct file_lock *)kmalloc(sizeof(struct file_lock), |
kmalloc | 21 | fs/msdos/buffer.c | ret = (struct buffer_head *)kmalloc (sizeof(struct buffer_head) |
kmalloc | 112 | fs/nfs/dir.c | c_entry = (struct nfs_entry *) kmalloc(i, GFP_KERNEL); |
kmalloc | 118 | 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 | 349 | fs/nfs/rpcsock.c | if ((rsock = kmalloc(sizeof(struct rpc_sock), GFP_KERNEL)) == NULL) |
kmalloc | 84 | fs/nfs/symlink.c | while ((res2 = (char *) kmalloc(NFS_MAXPATHLEN + 1, GFP_NFS)) == NULL) { |
kmalloc | 552 | fs/umsdos/dir.c | char *bpath = (char*)kmalloc(PATH_MAX,GFP_KERNEL); |
kmalloc | 747 | fs/umsdos/dir.c | char *path = (char*)kmalloc(PATH_MAX,GFP_KERNEL); |
kmalloc | 605 | fs/umsdos/namei.c | char *path = (char*)kmalloc(PATH_MAX,GFP_KERNEL); |
kmalloc | 630 | 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 | 6 | include/linux/malloc.h | void * kmalloc(unsigned int size, int priority); |
kmalloc | 69 | include/linux/smb_fs.h | return kmalloc(size, priority); |
kmalloc | 81 | include/linux/smb_fs.h | #define smb_kmalloc(s,p) kmalloc(s,p) |
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 | 91 | ipc/shm.c | shp = (struct shmid_ds *) kmalloc (sizeof (*shp), GFP_KERNEL); |
kmalloc | 99 | ipc/shm.c | shp->shm_pages = (ulong *) kmalloc (numpages*sizeof(ulong),GFP_KERNEL); |
kmalloc | 506 | ipc/shm.c | shmd = (struct vm_area_struct *) kmalloc (sizeof(*shmd), GFP_KERNEL); |
kmalloc | 86 | kernel/fork.c | tmp = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 121 | kernel/fork.c | tsk->mm = kmalloc(sizeof(*tsk->mm), GFP_KERNEL); |
kmalloc | 144 | kernel/fork.c | tsk->fs = kmalloc(sizeof(*tsk->fs), GFP_KERNEL); |
kmalloc | 164 | kernel/fork.c | tsk->files = kmalloc(sizeof(*tsk->files), GFP_KERNEL); |
kmalloc | 185 | kernel/fork.c | tsk->sig = kmalloc(sizeof(*tsk->sig), GFP_KERNEL); |
kmalloc | 205 | kernel/fork.c | p = (struct task_struct *) kmalloc(sizeof(*p), GFP_KERNEL); |
kmalloc | 151 | kernel/ksyms.c | X(kmalloc), |
kmalloc | 157 | kernel/module.c | if ((mp = (struct module*) kmalloc(sspace, GFP_KERNEL)) == NULL) { |
kmalloc | 246 | kernel/module.c | if ((newtab = (struct symbol_table*) kmalloc(size, GFP_KERNEL)) == NULL) { |
kmalloc | 679 | kernel/module.c | if (!(mp = (struct module*) kmalloc(MODSIZ, GFP_KERNEL))) { |
kmalloc | 739 | kernel/module.c | if (!(newtab = (struct symbol_table*)kmalloc( |
kmalloc | 111 | mm/mmap.c | vma = (struct vm_area_struct *)kmalloc(sizeof(struct vm_area_struct), |
kmalloc | 676 | mm/mmap.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 692 | mm/mmap.c | mpnt = (struct vm_area_struct *)kmalloc(sizeof(*mpnt), GFP_KERNEL); |
kmalloc | 100 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 123 | mm/mprotect.c | n = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 146 | mm/mprotect.c | left = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 149 | mm/mprotect.c | right = (struct vm_area_struct *) kmalloc(sizeof(struct vm_area_struct), GFP_KERNEL); |
kmalloc | 239 | mm/vmalloc.c | area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); |
kmalloc | 84 | net/802/p8022.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
kmalloc | 21 | net/802/p8023.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
kmalloc | 103 | net/802/psnap.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
kmalloc | 185 | net/802/tr.c | entry=kmalloc(sizeof(struct rif_cache_s),GFP_ATOMIC); |
kmalloc | 395 | net/appletalk/aarp.c | struct aarp_entry *a=kmalloc(sizeof(struct aarp_entry), GFP_ATOMIC); |
kmalloc | 317 | net/appletalk/ddp.c | kmalloc(sizeof(*iface), GFP_KERNEL); |
kmalloc | 592 | net/appletalk/ddp.c | rt=(struct atalk_route *)kmalloc(sizeof(struct atalk_route), GFP_KERNEL); |
kmalloc | 1075 | net/appletalk/ddp.c | sk=(atalk_socket *)kmalloc(sizeof(*sk),GFP_KERNEL); |
kmalloc | 482 | net/ax25/af_ax25.c | a = (ax25_uid_assoc *)kmalloc(sizeof(*a), GFP_KERNEL); |
kmalloc | 521 | net/ax25/af_ax25.c | if ((ax25 = (ax25_cb *)kmalloc(sizeof(*ax25), GFP_ATOMIC)) == NULL) |
kmalloc | 624 | net/ax25/af_ax25.c | if ((ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
kmalloc | 890 | net/ax25/af_ax25.c | if ((sk = (struct sock *)kmalloc(sizeof(*sk), GFP_ATOMIC)) == NULL) |
kmalloc | 948 | net/ax25/af_ax25.c | if ((sk = (struct sock *)kmalloc(sizeof(*sk), GFP_ATOMIC)) == NULL) |
kmalloc | 1020 | net/ax25/af_ax25.c | if ((ax25->digipeat = (ax25_digi *)kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
kmalloc | 1200 | net/ax25/af_ax25.c | if ((sk->ax25->digipeat = (ax25_digi *)kmalloc(sizeof(ax25_digi), GFP_KERNEL)) == NULL) |
kmalloc | 1596 | net/ax25/af_ax25.c | if (dp.ndigi != 0 && ax25->digipeat == NULL && (ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
kmalloc | 111 | net/ax25/ax25_route.c | if ((ax25_rt = (struct ax25_route *)kmalloc(sizeof(struct ax25_route), GFP_ATOMIC)) == NULL) |
kmalloc | 122 | net/ax25/ax25_route.c | if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
kmalloc | 191 | net/ax25/ax25_route.c | if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) |
kmalloc | 204 | net/ax25/ax25_route.c | if ((ax25_rt = (struct ax25_route *)kmalloc(sizeof(struct ax25_route), GFP_ATOMIC)) == NULL) |
kmalloc | 213 | net/ax25/ax25_route.c | if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
kmalloc | 383 | net/ax25/ax25_route.c | if ((ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) |
kmalloc | 462 | net/ax25/ax25_route.c | if ((ax25_dev = (struct ax25_dev *)kmalloc(sizeof(struct ax25_dev), GFP_ATOMIC)) == NULL) |
kmalloc | 117 | net/core/dev_mcast.c | data=kmalloc(dev->mc_count*dev->addr_len, GFP_KERNEL); |
kmalloc | 171 | net/core/dev_mcast.c | dmi=(struct dev_mc_list *)kmalloc(sizeof(*dmi),GFP_KERNEL); |
kmalloc | 516 | net/core/skbuff.c | bptr=(unsigned char *)kmalloc(size,priority); |
kmalloc | 21 | net/ethernet/pe2.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
kmalloc | 577 | net/ipv4/af_inet.c | sk = (struct sock *) kmalloc(sizeof(*sk), GFP_KERNEL); |
kmalloc | 849 | net/ipv4/arp.c | entry = (struct arp_table *)kmalloc(sizeof(struct arp_table),GFP_ATOMIC); |
kmalloc | 1004 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
kmalloc | 1312 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
kmalloc | 268 | net/ipv4/igmp.c | i=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL); |
kmalloc | 329 | net/ipv4/igmp.c | i=(struct ip_mc_list *)kmalloc(sizeof(*i), GFP_KERNEL); |
kmalloc | 356 | net/ipv4/igmp.c | if((sk->ip_mc_list=(struct ip_mc_socklist *)kmalloc(sizeof(*sk->ip_mc_list), GFP_KERNEL))==NULL) |
kmalloc | 46 | net/ipv4/ip_fragment.c | fp = (struct ipfrag *) kmalloc(sizeof(struct ipfrag), GFP_ATOMIC); |
kmalloc | 185 | net/ipv4/ip_fragment.c | qp = (struct ipq *) kmalloc(sizeof(struct ipq), GFP_ATOMIC); |
kmalloc | 199 | net/ipv4/ip_fragment.c | qp->iph = (struct iphdr *) kmalloc(64 + 8, GFP_ATOMIC); |
kmalloc | 533 | net/ipv4/ip_fw.c | ms = (struct ip_masq *) kmalloc(sizeof(struct ip_masq), GFP_ATOMIC); |
kmalloc | 1040 | net/ipv4/ip_fw.c | ftmp = kmalloc( sizeof(struct ip_fw), GFP_ATOMIC ); |
kmalloc | 151 | net/ipv4/ip_sockglue.c | opt = kmalloc(sizeof(struct options)+((optlen+3)&~3), GFP_KERNEL); |
kmalloc | 199 | net/ipv4/ipmr.c | struct mfc_cache *c=(struct mfc_cache *)kmalloc(sizeof(struct mfc_cache), priority); |
kmalloc | 261 | net/ipv4/packet.c | p = (struct packet_type *) kmalloc(sizeof(*p), GFP_KERNEL); |
kmalloc | 353 | net/ipv4/rarp.c | entry = (struct rarp_table *) kmalloc(sizeof(struct rarp_table), |
kmalloc | 298 | net/ipv4/route.c | rt = (struct rtable *) kmalloc(sizeof(struct rtable), GFP_ATOMIC); |
kmalloc | 2973 | net/ipv4/tcp.c | newsk = (struct sock *) kmalloc(sizeof(struct sock), GFP_ATOMIC); |
kmalloc | 2985 | net/ipv4/tcp.c | sk->opt = (struct options*)kmalloc(sizeof(struct options)+opt->optlen, GFP_ATOMIC); |
kmalloc | 676 | net/ipx/af_ipx.c | intrfc=(ipx_interface *)kmalloc(sizeof(ipx_interface),GFP_ATOMIC); |
kmalloc | 763 | net/ipx/af_ipx.c | intrfc=(ipx_interface *)kmalloc(sizeof(ipx_interface),GFP_ATOMIC); |
kmalloc | 840 | net/ipx/af_ipx.c | intrfc=(ipx_interface *)kmalloc(sizeof(ipx_interface),GFP_ATOMIC); |
kmalloc | 950 | net/ipx/af_ipx.c | rt=(ipx_route *)kmalloc(sizeof(ipx_route),GFP_ATOMIC); |
kmalloc | 1424 | net/ipx/af_ipx.c | sk=(ipx_socket *)kmalloc(sizeof(*sk),GFP_KERNEL); |
kmalloc | 427 | net/netrom/af_netrom.c | if ((sk = (struct sock *)kmalloc(sizeof(*sk), GFP_ATOMIC)) == NULL) |
kmalloc | 430 | net/netrom/af_netrom.c | if ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) { |
kmalloc | 528 | net/netrom/af_netrom.c | if ((sk = (struct sock *)kmalloc(sizeof(*sk), GFP_ATOMIC)) == NULL) |
kmalloc | 531 | net/netrom/af_netrom.c | if ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) { |
kmalloc | 230 | net/netrom/nr_dev.c | dev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL); |
kmalloc | 88 | net/netrom/nr_route.c | if ((nr_neigh = (struct nr_neigh *)kmalloc(sizeof(*nr_neigh), GFP_ATOMIC)) == NULL) |
kmalloc | 101 | net/netrom/nr_route.c | if ((nr_neigh->digipeat = kmalloc(sizeof(*ax25_digi), GFP_KERNEL)) == NULL) { |
kmalloc | 118 | net/netrom/nr_route.c | if ((nr_node = (struct nr_node *)kmalloc(sizeof(*nr_node), GFP_ATOMIC)) == NULL) |
kmalloc | 355 | net/netrom/nr_route.c | if ((nr_neigh = (struct nr_neigh *)kmalloc(sizeof(*nr_neigh), GFP_ATOMIC)) == NULL) |
kmalloc | 419 | net/socket.c | fna=(struct fasync_struct *)kmalloc(sizeof(struct fasync_struct), GFP_KERNEL); |
kmalloc | 262 | net/unix/af_unix.c | sk=(unix_socket *)kmalloc(sizeof(*sk),GFP_KERNEL); |
kmalloc | 392 | net/unix/af_unix.c | sk->protinfo.af_unix.name=kmalloc(addr_len+1, GFP_KERNEL); |
kmalloc | 588 | net/unix/af_unix.c | newsk->protinfo.af_unix.name=kmalloc(strlen(sk->protinfo.af_unix.name)+1, GFP_KERNEL); |