tag | line | file | source code |
memset | 117 | arch/alpha/boot/tools/build.c | memset(buffer, 0, MAXBUF); |
memset | 22 | arch/i386/boot/compressed/gzip.h | # define memzero(s, n) memset ((s), 0, (n)) |
memset | 757 | arch/i386/ibcs/binfmt_coff.c | memset (bprm, '\0', sizeof (struct linux_binprm)); |
memset | 347 | drivers/block/ide-cd.c | memset (&pc.c, 0, sizeof (pc.c)); |
memset | 699 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 712 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 730 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 746 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 759 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 772 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 787 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 860 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 880 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 897 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 914 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 931 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 1224 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
memset | 534 | drivers/block/ll_rw_blk.c | memset(ro_bits,0,sizeof(ro_bits)); |
memset | 222 | drivers/block/ramdisk.c | memset(&filp, 0, sizeof(filp)); |
memset | 223 | drivers/block/ramdisk.c | memset(&inode, 0, sizeof(inode)); |
memset | 1873 | drivers/char/console.c | memset(&console_driver, 0, sizeof(struct tty_driver)); |
memset | 1699 | drivers/char/cyclades.c | memset(&tmp, 0, sizeof(tmp)); |
memset | 2456 | drivers/char/cyclades.c | memset(&cy_serial_driver, 0, sizeof(struct tty_driver)); |
memset | 74 | drivers/char/n_tty.c | memset(&tty->read_flags, 0, sizeof tty->read_flags); |
memset | 618 | drivers/char/n_tty.c | memset(tty->process_char_map, 0, 256/32); |
memset | 688 | drivers/char/n_tty.c | memset(tty->read_buf, 0, N_TTY_BUF_SIZE); |
memset | 690 | drivers/char/n_tty.c | memset(tty->read_flags, 0, sizeof(tty->read_flags)); |
memset | 216 | drivers/char/pty.c | memset(&pty_state, 0, sizeof(pty_state)); |
memset | 217 | drivers/char/pty.c | memset(&pty_driver, 0, sizeof(struct tty_driver)); |
memset | 1394 | drivers/char/serial.c | memset(&tmp, 0, sizeof(tmp)); |
memset | 2393 | drivers/char/serial.c | memset(&serial_driver, 0, sizeof(struct tty_driver)); |
memset | 195 | drivers/char/tty_io.c | memset(&ldiscs[disc], 0, sizeof(struct tty_ldisc)); |
memset | 810 | drivers/char/tty_io.c | memset(ltp, 0, sizeof(struct termios)); |
memset | 845 | drivers/char/tty_io.c | memset(o_ltp, 0, sizeof(struct termios)); |
memset | 1611 | drivers/char/tty_io.c | memset(tty, 0, sizeof(struct tty_struct)); |
memset | 1702 | drivers/char/tty_io.c | memset(ldiscs, 0, sizeof(ldiscs)); |
memset | 1709 | drivers/char/tty_io.c | memset(&tty_std_termios, 0, sizeof(struct termios)); |
memset | 141 | drivers/char/tty_ioctl.c | memset(&tty->read_flags, 0, sizeof tty->read_flags); |
memset | 281 | drivers/net/3c501.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 1327 | drivers/net/3c505.c | memset(&(adapter->stats), 0, sizeof(struct enet_statistics)); |
memset | 418 | drivers/net/3c507.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 242 | drivers/net/3c509.c | memset(dev->priv, 0, sizeof(struct el3_private)); |
memset | 583 | drivers/net/8390.c | memset(dev->priv, 0, sizeof(struct ei_device)); |
memset | 266 | drivers/net/at1700.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 232 | drivers/net/atp.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 699 | drivers/net/de600.c | memset(dev->priv, 0, sizeof(struct netstats)); |
memset | 836 | drivers/net/de620.c | memset(dev->priv, 0, sizeof(struct netstats)); |
memset | 559 | drivers/net/depca.c | memset(dev->priv, 0, sizeof(struct depca_private)); |
memset | 581 | drivers/net/depca.c | memset(lp->rx_ring, 0, sizeof(struct depca_rx_head)*j); |
memset | 582 | drivers/net/depca.c | memset(lp->tx_ring, 0, sizeof(struct depca_tx_head)*j); |
memset | 91 | drivers/net/dummy.c | memset(dev->priv, 0, sizeof(struct enet_statistics)); |
memset | 402 | drivers/net/eexpress.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 550 | drivers/net/ewrk3.c | memset(dev->priv, 0, sizeof(struct ewrk3_private)); |
memset | 1082 | drivers/net/ewrk3.c | memset(&lp->pktStats, 0, sizeof(lp->pktStats)); |
memset | 1282 | drivers/net/ewrk3.c | memset(multicast_table, 0, (HASH_TABLE_LEN >> 3)); |
memset | 1729 | drivers/net/ewrk3.c | memset(&lp->pktStats, 0, sizeof(lp->pktStats)); |
memset | 1007 | drivers/net/lance.c | memset(multicast_table, (num_addrs == 0) ? 0 : -1, sizeof(multicast_table)); |
memset | 132 | drivers/net/loopback.c | memset(dev->priv, 0, sizeof(struct enet_statistics)); |
memset | 101 | drivers/net/net_init.c | memset(dev, 0, alloc_size); |
memset | 287 | drivers/net/ni52.c | memset((char *)p->scp,0, sizeof(struct scp_struct)); |
memset | 296 | drivers/net/ni52.c | memset((char *)p->iscp,0, sizeof(struct iscp_struct)); |
memset | 323 | drivers/net/ni52.c | memset((char *) p->iscp,0,sizeof(struct iscp_struct)); |
memset | 324 | drivers/net/ni52.c | memset((char *) p->scp ,0,sizeof(struct scp_struct)); |
memset | 341 | drivers/net/ni52.c | memset((char *)p->scb,0,sizeof(struct scb_struct)); |
memset | 395 | drivers/net/ni52.c | memset((char *) dev->priv,0,sizeof(struct priv)); |
memset | 627 | drivers/net/ni52.c | memset((char *)(p->xmit_cmds[i]) ,0, sizeof(struct transmit_cmd_struct)); |
memset | 628 | drivers/net/ni52.c | memset((char *)(p->xmit_buffs[i]),0, sizeof(struct tbd_struct)); |
memset | 673 | drivers/net/ni52.c | memset((char *) rfd,0,sizeof(struct rfd_struct)*NUM_RECV_FRAMES); |
memset | 686 | drivers/net/ni52.c | memset((char *) rbd,0,sizeof(struct rbd_struct)*NUM_RECV_BUFFS); |
memset | 249 | drivers/net/ni65.c | memset((char *) dev->priv,0,sizeof(struct priv)); |
memset | 333 | drivers/net/ni65.c | memset(p->memptr,0,MEMSIZE); |
memset | 245 | drivers/net/plip.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 233 | drivers/net/ppp.c | (void) memset(&ppp_ldisc, 0, sizeof(ppp_ldisc)); |
memset | 264 | drivers/net/ppp.c | memset (&ppp->stats, '\0', sizeof (struct ppp_stats)); |
memset | 313 | drivers/net/ppp.c | memset (ppp->xmit_async_map, 0, sizeof (ppp->xmit_async_map)); |
memset | 346 | drivers/net/ppp.c | memset (&ppp->stats, '\0', sizeof (struct ppp_stats)); |
memset | 1454 | drivers/net/ppp.c | memset (ppp->xmit_async_map, 0, sizeof (ppp->xmit_async_map)); |
memset | 2020 | drivers/net/ppp.c | memset (line, ' ', sizeof (line)); |
memset | 2029 | drivers/net/ppp.c | memset (line, ' ', sizeof (line)); |
memset | 791 | drivers/net/sk_g16.c | memset((char *) dev->priv, 0, sizeof(struct priv)); /* clear memory */ |
memset | 255 | drivers/net/skeleton.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 106 | drivers/net/slhc.c | memset(comp, 0, sizeof(struct slcompress)); |
memset | 117 | drivers/net/slhc.c | memset(comp->rstate, 0, rslots * sizeof(struct cstate)); |
memset | 131 | drivers/net/slhc.c | memset(comp->tstate, 0, rslots * sizeof(struct cstate)); |
memset | 758 | drivers/net/slip.c | memset(&stats, 0, sizeof(struct enet_statistics)); |
memset | 1083 | drivers/net/slip.c | memset(&sl_ldisc, 0, sizeof(sl_ldisc)); |
memset | 1103 | drivers/net/slip.c | memset(sl, 0, sizeof (struct slip)); |
memset | 588 | drivers/scsi/aha1542.c | memset(&ccb[mbo], 0, sizeof(struct ccb)); |
memset | 1021 | drivers/scsi/aha1542.c | memset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint)); |
memset | 222 | drivers/scsi/aha1740.c | memset(ecbptr,0,sizeof(struct ecb)); |
memset | 439 | drivers/scsi/aha1740.c | memset(&ecb, 0, sizeof(struct ecb)); |
memset | 1066 | drivers/scsi/aha274x.c | memset(scb, 0, sizeof(*scb)); |
memset | 698 | drivers/scsi/buslogic.c | memset(&ccb[mbo], 0, sizeof (struct ccb)); |
memset | 1300 | drivers/scsi/buslogic.c | memset(HOSTDATA(shpnt)->sc, 0, sizeof HOSTDATA(shpnt)->sc); |
memset | 369 | drivers/scsi/eata.c | memset((char *)&config, 0, sizeof(struct eata_config)); |
memset | 390 | drivers/scsi/eata.c | memset(HD(j), 0, sizeof(struct hostdata)); |
memset | 527 | drivers/scsi/eata.c | memset(cpp, 0, sizeof(struct mscp)); |
memset | 532 | drivers/scsi/eata.c | memset(spp, 0, sizeof(struct mssp)); |
memset | 1009 | drivers/scsi/scsi.c | memset ((void *) SCpnt->sense_buffer, 0, sizeof SCpnt->sense_buffer); |
memset | 2000 | drivers/scsi/scsi.c | memset(dma_malloc_freelist, 0, dma_sectors >> 3); |
memset | 2178 | drivers/scsi/scsi.c | memset(new_dma_malloc_freelist, 0, new_dma_sectors >> 3); |
memset | 2182 | drivers/scsi/scsi.c | memset(new_dma_malloc_pages, 0, new_dma_sectors >> 1); |
memset | 192 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 194 | drivers/scsi/scsi_debug.c | memset(sense_buffer, 0, sizeof(sense_buffer)); |
memset | 205 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 218 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 224 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 270 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 171 | drivers/scsi/scsi_ioctl.c | memset(buf, 0, buf_needed); |
memset | 581 | drivers/scsi/sd.c | memset(sgpnt, 0, count); /* Zero so it is easy to fill */ |
memset | 844 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
memset | 869 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
memset | 904 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
memset | 905 | drivers/scsi/sd.c | memset ((void *) buffer, 0, 8); |
memset | 1057 | drivers/scsi/sd.c | memset(rscsi_disks, 0, sd_template.dev_max * sizeof(Scsi_Disk)); |
memset | 1061 | drivers/scsi/sd.c | memset(sd_sizes, 0, (sd_template.dev_max << 4) * sizeof(int)); |
memset | 373 | drivers/scsi/sg.c | memset(scsi_generics, 0, sg_template.dev_noticed * sizeof(struct scsi_generic)); |
memset | 322 | drivers/scsi/sr.c | memset(buf,0,40); |
memset | 352 | drivers/scsi/sr.c | memset(buf,0,40); |
memset | 368 | drivers/scsi/sr.c | memset(buf,0,40); |
memset | 857 | drivers/scsi/sr.c | memset ((void *) &cmd[2], 0, 8); |
memset | 861 | drivers/scsi/sr.c | memset(buffer, 0, 8); |
memset | 931 | drivers/scsi/sr.c | memset(scsi_CDs, 0, sr_template.dev_max * sizeof(Scsi_CD)); |
memset | 934 | drivers/scsi/sr.c | memset(sr_sizes, 0, sr_template.dev_max * sizeof(int)); |
memset | 298 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
memset | 301 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 438 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 452 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 488 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 517 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 628 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 755 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 969 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 1219 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 1478 | drivers/scsi/st.c | memset((STp->buffer)->b_data, 0, 12); |
memset | 1744 | drivers/scsi/st.c | memset (scmd, 0, 10); |
memset | 1910 | drivers/scsi/st.c | memset((void *) scsi_tapes[i].mt_status, 0, sizeof(struct mtget)); |
memset | 357 | drivers/scsi/u14-34f.c | memset(HD(j), 0, sizeof(struct hostdata)); |
memset | 485 | drivers/scsi/u14-34f.c | memset(cpp, 0, sizeof(struct mscp)); |
memset | 990 | drivers/scsi/ultrastor.c | memset((unsigned char *)config.aborted, 0, sizeof config.aborted); |
memset | 652 | drivers/scsi/wd7000.c | memset(scb, 0, sizeof(Scb)); |
memset | 669 | drivers/scsi/wd7000.c | memset(scbs, 0, sizeof(scbs)); |
memset | 1036 | drivers/scsi/wd7000.c | memset(&(host->mb), 0, sizeof(host->mb)); |
memset | 1143 | drivers/scsi/wd7000.c | memset( host, 0, sizeof(Adapter) ); |
memset | 886 | fs/buffer.c | memset(bh,0,sizeof(*bh)); |
memset | 618 | fs/exec.c | memset(bprm.buf,0,sizeof(bprm.buf)); |
memset | 129 | fs/ext/freelists.c | memset(bh->b_data, 0, BLOCK_SIZE); |
memset | 461 | fs/ext2/balloc.c | memset(bh->b_data, 0, sb->s_blocksize); |
memset | 102 | fs/ext2/inode.c | memset(bh->b_data, 0, inode->i_sb->s_blocksize); |
memset | 90 | fs/ext2/namei.c | memset (bh_use, 0, sizeof (bh_use)); |
memset | 153 | fs/ext2/super.c | memset (bh2->b_data, 0, BLOCK_SIZE); |
memset | 84 | fs/ext2/truncate.c | memset(bh->b_data, RANDOM_INT, inode->i_sb->s_blocksize); |
memset | 159 | fs/ext2/truncate.c | memset(bh->b_data, RANDOM_INT, inode->i_sb->s_blocksize); |
memset | 79 | fs/file_table.c | memset(f,0,sizeof(*f)); |
memset | 110 | fs/inode.c | memset(hash_table, 0, sizeof(hash_table)); |
memset | 157 | fs/inode.c | memset(inode,0,sizeof(*inode)); |
memset | 108 | fs/minix/bitmap.c | memset(bh->b_data, 0, BLOCK_SIZE); |
memset | 49 | fs/msdos/buffer.c | memset (ret,0,sizeof(*ret)); |
memset | 177 | fs/msdos/misc.c | memset(bh->b_data,0,SECTOR_SIZE); |
memset | 67 | fs/msdos/mmap.c | memset ((char*)page+PAGE_SIZE-clear,0,clear); |
memset | 47 | fs/msdos/namei.c | memset(res+1,' ',10); |
memset | 196 | fs/msdos/namei.c | memset(de->unused, 0, sizeof(de->unused)); |
memset | 210 | fs/nfs/dir.c | memset(nfs_lookup_cache, 0, sizeof(nfs_lookup_cache)); |
memset | 56 | fs/proc/array.c | memset(&dump, 0, sizeof(struct user)); |
memset | 42 | fs/stat.c | memset(&tmp, 0, sizeof(tmp)); |
memset | 398 | fs/super.c | memset(&dummy_inode, 0, sizeof(dummy_inode)); |
memset | 612 | fs/super.c | memset(&dummy, 0, sizeof(dummy)); |
memset | 652 | fs/super.c | memset(super_blocks, 0, sizeof(super_blocks)); |
memset | 660 | fs/super.c | memset(&filp, 0, sizeof(filp)); |
memset | 661 | fs/super.c | memset(&d_inode, 0, sizeof(d_inode)); |
memset | 101 | fs/sysv/balloc.c | memset(bh->b_data, 0, sb->sv_block_size); |
memset | 209 | fs/sysv/balloc.c | memset(bh->b_data, 0, sb->sv_block_size); |
memset | 95 | fs/sysv/ialloc.c | memset(raw_inode, 0, sizeof(struct sysv_inode)); |
memset | 189 | fs/umsdos/emd.c | memset (&entry0,0,sizeof(entry0)); |
memset | 192 | fs/umsdos/emd.c | memset (entry->name+entry->name_len,'\0' |
memset | 200 | fs/umsdos/emd.c | memset (entry->spare,0,sizeof(entry->spare)); |
memset | 154 | include/linux/mm.h | memset((void *) page, 0, PAGE_SIZE); |
memset | 28 | include/linux/string.h | extern void * memset(void *,char,size_t); |
memset | 23 | include/linux/time.h | #define FD_ZERO(fdsetp) memset(fdsetp, 0, sizeof(struct fd_set)) |
memset | 82 | ipc/sem.c | memset (sma, 0, size); |
memset | 26 | kernel/info.c | memset((char *)&val, 0, sizeof(struct sysinfo)); |
memset | 121 | kernel/itimer.c | memset((char *) &set_buffer, 0, sizeof(set_buffer)); |
memset | 208 | kernel/module.c | memset((char *)mp->addr + sizeof (int) + codesize, 0, |
memset | 727 | kernel/sys.c | memset((char *) &r, 0, sizeof(r)); |
memset | 1164 | mm/memory.c | memset((void *) 0, 0, PAGE_SIZE); |
memset | 107 | mm/swap.c | memset(swap_cache, 0, swap_cache_size * sizeof (unsigned long)); |
memset | 844 | mm/swap.c | memset(&filp, 0, sizeof(filp)); |
memset | 882 | mm/swap.c | memset(&filp, 0, sizeof(filp)); |
memset | 944 | mm/swap.c | memset(p->swap_lockmap+PAGE_SIZE-10,0,10); |
memset | 974 | mm/swap.c | memset(p->swap_lockmap,0,PAGE_SIZE); |
memset | 1053 | mm/swap.c | memset((void *) start_mem, 0, bitmap_size); |
memset | 351 | net/inet/arp.c | memset(arp_ptr, 0, dev->addr_len); |
memset | 886 | net/inet/arp.c | memset(entry->ha, 0, dev->addr_len); |
memset | 844 | net/inet/dev.c | memset(&ifr, 0, sizeof(struct ifreq)); |
memset | 115 | net/inet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
memset | 322 | net/inet/igmp.c | memset(sk->ip_mc_list,'\0',sizeof(*sk->ip_mc_list)); |
memset | 621 | net/inet/ip.c | memset(fp, 0, sizeof(struct ipfrag)); |
memset | 765 | net/inet/ip.c | memset(qp, 0, sizeof(struct ipq)); |
memset | 1553 | net/inet/ip.c | memset((char *) &opt, 0, sizeof(opt)); |
memset | 346 | net/inet/ipx.c | memset(rt->router_node,0,sizeof(rt->router_node)); |
memset | 613 | net/inet/ipx.c | memset(&sk->ipx_dest_addr,'\0',sizeof(sk->ipx_dest_addr)); |
memset | 614 | net/inet/ipx.c | memset(&sk->ipx_source_addr,'\0',sizeof(sk->ipx_source_addr)); |
memset | 721 | net/inet/ipx.c | memset(sk->ipx_source_addr.node,'\0',6); |
memset | 851 | net/inet/ipx.c | memset(IPXaddr, '\0', 6); |
memset | 1078 | net/inet/ipx.c | memset(IPXaddr, '\0', 6); |
memset | 269 | net/inet/route.c | memset(rt, 0, sizeof(struct rtable)); |
memset | 627 | net/inet/route.c | memset(rt, 0, sizeof(*rt)); |