tag | line | file | source code |
memset | 483 | drivers/block/ll_rw_blk.c | memset(ro_bits,0,sizeof(ro_bits)); |
memset | 192 | drivers/block/ramdisk.c | memset(&filp, 0, sizeof(filp)); |
memset | 193 | drivers/block/ramdisk.c | memset(&inode, 0, sizeof(inode)); |
memset | 1553 | drivers/char/console.c | memset(&console_driver, 0, sizeof(struct tty_driver)); |
memset | 74 | drivers/char/n_tty.c | memset(&tty->read_flags, 0, sizeof tty->read_flags); |
memset | 609 | drivers/char/n_tty.c | memset(tty->process_char_map, 0, 256/32); |
memset | 679 | drivers/char/n_tty.c | memset(tty->read_buf, 0, N_TTY_BUF_SIZE); |
memset | 681 | 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 | 1380 | drivers/char/serial.c | memset(&tmp, 0, sizeof(tmp)); |
memset | 2278 | drivers/char/serial.c | memset(&serial_driver, 0, sizeof(struct tty_driver)); |
memset | 158 | drivers/char/tty_io.c | memset(&ldiscs[disc], 0, sizeof(struct tty_ldisc)); |
memset | 762 | drivers/char/tty_io.c | memset(ltp, 0, sizeof(struct termios)); |
memset | 797 | drivers/char/tty_io.c | memset(o_ltp, 0, sizeof(struct termios)); |
memset | 1522 | drivers/char/tty_io.c | memset(tty, 0, sizeof(struct tty_struct)); |
memset | 1575 | drivers/char/tty_io.c | memset(ldiscs, 0, sizeof(ldiscs)); |
memset | 1582 | drivers/char/tty_io.c | memset(&tty_std_termios, 0, sizeof(struct termios)); |
memset | 134 | drivers/char/tty_ioctl.c | memset(&tty->read_flags, 0, sizeof tty->read_flags); |
memset | 230 | drivers/net/3c501.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 1328 | 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 | 576 | 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 | 233 | drivers/net/atp.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 700 | drivers/net/de600.c | memset(dev->priv, 0, sizeof(struct netstats)); |
memset | 837 | drivers/net/de620.c | memset(dev->priv, 0, sizeof(struct netstats)); |
memset | 544 | drivers/net/depca.c | memset(dev->priv, 0, sizeof(struct depca_private)); |
memset | 565 | drivers/net/depca.c | memset(lp->rx_ring, 0, sizeof(struct depca_rx_head)*j); |
memset | 566 | drivers/net/depca.c | memset(lp->tx_ring, 0, sizeof(struct depca_tx_head)*j); |
memset | 1232 | drivers/net/depca.c | memset(multicast_table, (num_addrs==0) ? 0 : -1, sizeof(multicast_table)); |
memset | 72 | drivers/net/dummy.c | memset(dev->priv, 0, sizeof(struct enet_statistics)); |
memset | 395 | drivers/net/eexpress.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 967 | drivers/net/lance.c | memset(multicast_table, (num_addrs == 0) ? 0 : -1, sizeof(multicast_table)); |
memset | 140 | drivers/net/loopback.c | memset(dev->priv, 0, sizeof(struct enet_statistics)); |
memset | 104 | drivers/net/net_init.c | memset(dev, 0, alloc_size); |
memset | 288 | drivers/net/ni52.c | memset((char *)p->scp,0, sizeof(struct scp_struct)); |
memset | 297 | drivers/net/ni52.c | memset((char *)p->iscp,0, sizeof(struct iscp_struct)); |
memset | 324 | drivers/net/ni52.c | memset((char *) p->iscp,0,sizeof(struct iscp_struct)); |
memset | 325 | drivers/net/ni52.c | memset((char *) p->scp ,0,sizeof(struct scp_struct)); |
memset | 342 | drivers/net/ni52.c | memset((char *)p->scb,0,sizeof(struct scb_struct)); |
memset | 396 | drivers/net/ni52.c | memset((char *) dev->priv,0,sizeof(struct priv)); |
memset | 628 | drivers/net/ni52.c | memset((char *)(p->xmit_cmds[i]) ,0, sizeof(struct transmit_cmd_struct)); |
memset | 629 | drivers/net/ni52.c | memset((char *)(p->xmit_buffs[i]),0, sizeof(struct tbd_struct)); |
memset | 674 | drivers/net/ni52.c | memset((char *) rfd,0,sizeof(struct rfd_struct)*NUM_RECV_FRAMES); |
memset | 687 | drivers/net/ni52.c | memset((char *) rbd,0,sizeof(struct rbd_struct)*NUM_RECV_BUFFS); |
memset | 250 | drivers/net/ni65.c | memset((char *) dev->priv,0,sizeof(struct priv)); |
memset | 334 | drivers/net/ni65.c | memset(p->memptr,0,MEMSIZE); |
memset | 235 | 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 | 792 | 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 | 99 | drivers/net/slhc.c | memset(comp, 0, sizeof(struct slcompress)); |
memset | 110 | drivers/net/slhc.c | memset(comp->rstate, 0, rslots * sizeof(struct cstate)); |
memset | 124 | drivers/net/slhc.c | memset(comp->tstate, 0, rslots * sizeof(struct cstate)); |
memset | 723 | drivers/net/slip.c | memset(&stats, 0, sizeof(struct enet_statistics)); |
memset | 1020 | drivers/net/slip.c | memset(&sl_ldisc, 0, sizeof(sl_ldisc)); |
memset | 550 | drivers/scsi/aha1542.c | memset(&ccb[mbo], 0, sizeof(struct ccb)); |
memset | 899 | drivers/scsi/aha1542.c | memset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint)); |
memset | 216 | drivers/scsi/aha1740.c | memset(ecbptr,0,sizeof(struct ecb)); |
memset | 430 | drivers/scsi/aha1740.c | memset(&ecb, 0, sizeof(struct ecb)); |
memset | 696 | drivers/scsi/buslogic.c | memset(&ccb[mbo], 0, sizeof (struct ccb)); |
memset | 1126 | drivers/scsi/buslogic.c | memset(HOSTDATA(shpnt)->sc, 0, sizeof HOSTDATA(shpnt)->sc); |
memset | 915 | drivers/scsi/scsi.c | memset ((void *) SCpnt->sense_buffer, 0, sizeof SCpnt->sense_buffer); |
memset | 1821 | drivers/scsi/scsi.c | memset(dma_malloc_freelist, 0, dma_sectors >> 3); |
memset | 191 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 193 | drivers/scsi/scsi_debug.c | memset(sense_buffer, 0, sizeof(sense_buffer)); |
memset | 204 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 217 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 223 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 269 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
memset | 558 | drivers/scsi/sd.c | memset(sgpnt, 0, count); /* Zero so it is easy to fill */ |
memset | 821 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
memset | 845 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
memset | 879 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
memset | 880 | drivers/scsi/sd.c | memset ((void *) buffer, 0, 8); |
memset | 1016 | drivers/scsi/sd.c | memset(rscsi_disks, 0, sd_template.dev_max * sizeof(Scsi_Disk)); |
memset | 1020 | drivers/scsi/sd.c | memset(sd_sizes, 0, (sd_template.dev_max << 4) * sizeof(int)); |
memset | 343 | drivers/scsi/sg.c | memset(scsi_generics, 0, sg_template.dev_noticed * sizeof(struct scsi_generic)); |
memset | 712 | drivers/scsi/sr.c | memset ((void *) &cmd[2], 0, 8); |
memset | 715 | drivers/scsi/sr.c | memset(buffer, 0, 8); |
memset | 784 | drivers/scsi/sr.c | memset(scsi_CDs, 0, sr_template.dev_max * sizeof(Scsi_CD)); |
memset | 787 | drivers/scsi/sr.c | memset(sr_sizes, 0, sr_template.dev_max * sizeof(int)); |
memset | 295 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
memset | 298 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 429 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 443 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 471 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 500 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 611 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 733 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 943 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 1187 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 1384 | drivers/scsi/st.c | memset((STp->buffer)->b_data, 0, 12); |
memset | 1608 | drivers/scsi/st.c | memset (scmd, 0, 10); |
memset | 1771 | drivers/scsi/st.c | memset((void *) scsi_tapes[i].mt_status, 0, sizeof(struct mtget)); |
memset | 986 | 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 | 888 | fs/buffer.c | memset(bh,0,sizeof(*bh)); |
memset | 636 | fs/exec.c | memset(bprm.buf,0,sizeof(bprm.buf)); |
memset | 458 | 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 | 177 | fs/msdos/misc.c | memset(bh->b_data,0,BLOCK_SIZE); |
memset | 186 | fs/msdos/misc.c | else memset(data,0,SECTOR_SIZE); |
memset | 66 | fs/msdos/mmap.c | memset ((char*)page+PAGE_SIZE-clear,0,clear); |
memset | 43 | fs/msdos/namei.c | memset(res+1,' ',10); |
memset | 180 | fs/msdos/namei.c | memset(de->unused, 0, sizeof(de->unused)); |
memset | 207 | fs/nfs/dir.c | memset(nfs_lookup_cache, 0, sizeof(nfs_lookup_cache)); |
memset | 48 | fs/proc/array.c | memset(&dump, 0, sizeof(struct user)); |
memset | 40 | fs/stat.c | memset(&tmp, 0, sizeof(tmp)); |
memset | 398 | fs/super.c | memset(&dummy_inode, 0, sizeof(dummy_inode)); |
memset | 608 | fs/super.c | memset(&dummy, 0, sizeof(dummy)); |
memset | 642 | fs/super.c | memset(super_blocks, 0, sizeof(super_blocks)); |
memset | 649 | fs/super.c | memset(&filp, 0, sizeof(filp)); |
memset | 650 | fs/super.c | memset(&d_inode, 0, sizeof(d_inode)); |
memset | 79 | fs/sysv/ialloc.c | memset(raw_inode, 0, sizeof(struct sysv_inode)); |
memset | 55 | fs/sysv/mmap.c | memset((char *)page + count, 0, remaining); |
memset | 186 | fs/umsdos/emd.c | memset (&entry0,0,sizeof(entry0)); |
memset | 189 | fs/umsdos/emd.c | memset (entry->name+entry->name_len,'\0' |
memset | 197 | fs/umsdos/emd.c | memset (entry->spare,0,sizeof(entry->spare)); |
memset | 757 | ibcs/binfmt_coff.c | memset (bprm, '\0', sizeof (struct linux_binprm)); |
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 | 204 | kernel/module.c | memset((char *)mp->addr + sizeof (int) + codesize, 0, |
memset | 733 | kernel/sys.c | memset((char *) &r, 0, sizeof(r)); |
memset | 1169 | mm/memory.c | memset((void *) 0, 0, PAGE_SIZE); |
memset | 104 | mm/swap.c | memset(swap_cache, 0, swap_cache_size * sizeof (unsigned long)); |
memset | 851 | mm/swap.c | memset(p->swap_lockmap+PAGE_SIZE-10,0,10); |
memset | 881 | mm/swap.c | memset(p->swap_lockmap,0,PAGE_SIZE); |
memset | 948 | mm/swap.c | memset((void *) start_mem, 0, bitmap_size); |
memset | 334 | net/inet/arp.c | memset(arp_ptr, 0, dev->addr_len); |
memset | 824 | net/inet/arp.c | memset(entry->ha, 0, dev->addr_len); |
memset | 904 | net/inet/dev.c | memset(&ifr, 0, sizeof(struct ifreq)); |
memset | 113 | net/inet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
memset | 580 | net/inet/ip.c | memset(fp, 0, sizeof(struct ipfrag)); |
memset | 724 | net/inet/ip.c | memset(qp, 0, sizeof(struct ipq)); |
memset | 1480 | net/inet/ip.c | memset((char *) &opt, 0, sizeof(opt)); |
memset | 345 | net/inet/ipx.c | memset(rt->router_node,0,sizeof(rt->router_node)); |
memset | 605 | net/inet/ipx.c | memset(&sk->ipx_dest_addr,'\0',sizeof(sk->ipx_dest_addr)); |
memset | 606 | net/inet/ipx.c | memset(&sk->ipx_source_addr,'\0',sizeof(sk->ipx_source_addr)); |
memset | 710 | net/inet/ipx.c | memset(sk->ipx_source_addr.node,'\0',6); |
memset | 838 | net/inet/ipx.c | memset(IPXaddr, '\0', 6); |
memset | 1070 | net/inet/ipx.c | memset(IPXaddr, '\0', 6); |
memset | 266 | net/inet/route.c | memset(rt, 0, sizeof(struct rtable)); |
memset | 613 | net/inet/route.c | memset(rt, 0, sizeof(*rt)); |
memset | 22 | zBoot/gzip.h | # define memzero(s, n) memset ((s), 0, (n)) |