tag | line | file | source code |
memset | 497 | drivers/block/ll_rw_blk.c | memset(ro_bits,0,sizeof(ro_bits)); |
memset | 223 | drivers/block/ramdisk.c | memset(&filp, 0, sizeof(filp)); |
memset | 224 | drivers/block/ramdisk.c | memset(&inode, 0, sizeof(inode)); |
memset | 1873 | 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 | 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 | 1389 | drivers/char/serial.c | memset(&tmp, 0, sizeof(tmp)); |
memset | 2357 | drivers/char/serial.c | memset(&serial_driver, 0, sizeof(struct tty_driver)); |
memset | 161 | drivers/char/tty_io.c | memset(&ldiscs[disc], 0, sizeof(struct tty_ldisc)); |
memset | 767 | drivers/char/tty_io.c | memset(ltp, 0, sizeof(struct termios)); |
memset | 802 | drivers/char/tty_io.c | memset(o_ltp, 0, sizeof(struct termios)); |
memset | 1552 | drivers/char/tty_io.c | memset(tty, 0, sizeof(struct tty_struct)); |
memset | 1643 | drivers/char/tty_io.c | memset(ldiscs, 0, sizeof(ldiscs)); |
memset | 1650 | drivers/char/tty_io.c | memset(&tty_std_termios, 0, sizeof(struct termios)); |
memset | 142 | drivers/char/tty_ioctl.c | memset(&tty->read_flags, 0, sizeof tty->read_flags); |
memset | 231 | 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 | 550 | drivers/net/depca.c | memset(dev->priv, 0, sizeof(struct depca_private)); |
memset | 572 | drivers/net/depca.c | memset(lp->rx_ring, 0, sizeof(struct depca_rx_head)*j); |
memset | 573 | drivers/net/depca.c | memset(lp->tx_ring, 0, sizeof(struct depca_tx_head)*j); |
memset | 1257 | 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 | 401 | drivers/net/eexpress.c | memset(dev->priv, 0, sizeof(struct net_local)); |
memset | 537 | drivers/net/ewrk3.c | memset(dev->priv, 0, sizeof(struct ewrk3_private)); |
memset | 1069 | drivers/net/ewrk3.c | memset(&lp->pktStats, 0, sizeof(lp->pktStats)); |
memset | 1269 | drivers/net/ewrk3.c | memset(multicast_table, 0, (HASH_TABLE_LEN >> 3)); |
memset | 1704 | drivers/net/ewrk3.c | memset(&lp->pktStats, 0, sizeof(lp->pktStats)); |
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 | 244 | 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 | 740 | drivers/net/slip.c | memset(&stats, 0, sizeof(struct enet_statistics)); |
memset | 1037 | drivers/net/slip.c | memset(&sl_ldisc, 0, sizeof(sl_ldisc)); |
memset | 574 | drivers/scsi/aha1542.c | memset(&ccb[mbo], 0, sizeof(struct ccb)); |
memset | 1005 | 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 | 1066 | drivers/scsi/aha274x.c | memset(scb, 0, sizeof(*scb)); |
memset | 666 | drivers/scsi/buslogic.c | memset(&ccb[mbo], 0, sizeof (struct ccb)); |
memset | 1252 | drivers/scsi/buslogic.c | memset(HOSTDATA(shpnt)->sc, 0, sizeof HOSTDATA(shpnt)->sc); |
memset | 290 | drivers/scsi/eata.c | memset((char *)&config, 0, sizeof(struct eata_config)); |
memset | 308 | drivers/scsi/eata.c | memset(HD(j), 0, sizeof(struct hostdata)); |
memset | 430 | drivers/scsi/eata.c | memset(cpp, 0, sizeof(struct mscp)); |
memset | 435 | drivers/scsi/eata.c | memset(spp, 0, sizeof(struct mssp)); |
memset | 932 | drivers/scsi/scsi.c | memset ((void *) SCpnt->sense_buffer, 0, sizeof SCpnt->sense_buffer); |
memset | 1863 | 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 | 576 | drivers/scsi/sd.c | memset(sgpnt, 0, count); /* Zero so it is easy to fill */ |
memset | 839 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
memset | 864 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
memset | 899 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
memset | 900 | drivers/scsi/sd.c | memset ((void *) buffer, 0, 8); |
memset | 1037 | drivers/scsi/sd.c | memset(rscsi_disks, 0, sd_template.dev_max * sizeof(Scsi_Disk)); |
memset | 1041 | drivers/scsi/sd.c | memset(sd_sizes, 0, (sd_template.dev_max << 4) * sizeof(int)); |
memset | 347 | drivers/scsi/sg.c | memset(scsi_generics, 0, sg_template.dev_noticed * sizeof(struct scsi_generic)); |
memset | 311 | drivers/scsi/sr.c | memset(scsi_cmd,0,10); |
memset | 342 | drivers/scsi/sr.c | memset(scsi_cmd,0,10); |
memset | 347 | drivers/scsi/sr.c | memset(buffer,0,512); |
memset | 362 | drivers/scsi/sr.c | memset(scsi_cmd,0,10); |
memset | 366 | drivers/scsi/sr.c | memset(buffer,0,512); |
memset | 844 | drivers/scsi/sr.c | memset ((void *) &cmd[2], 0, 8); |
memset | 848 | drivers/scsi/sr.c | memset(buffer, 0, 8); |
memset | 918 | drivers/scsi/sr.c | memset(scsi_CDs, 0, sr_template.dev_max * sizeof(Scsi_CD)); |
memset | 921 | 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 | 430 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 444 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 473 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 502 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
memset | 613 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 735 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 945 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 1190 | drivers/scsi/st.c | memset(cmd, 0, 10); |
memset | 1427 | drivers/scsi/st.c | memset((STp->buffer)->b_data, 0, 12); |
memset | 1671 | drivers/scsi/st.c | memset (scmd, 0, 10); |
memset | 1834 | drivers/scsi/st.c | memset((void *) scsi_tapes[i].mt_status, 0, sizeof(struct mtget)); |
memset | 352 | drivers/scsi/u14-34f.c | memset(HD(j), 0, sizeof(struct hostdata)); |
memset | 480 | drivers/scsi/u14-34f.c | memset(cpp, 0, sizeof(struct mscp)); |
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 | 887 | fs/buffer.c | memset(bh,0,sizeof(*bh)); |
memset | 652 | 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 | 175 | fs/msdos/misc.c | memset(bh->b_data,0,SECTOR_SIZE); |
memset | 66 | fs/msdos/mmap.c | memset ((char*)page+PAGE_SIZE-clear,0,clear); |
memset | 45 | fs/msdos/namei.c | memset(res+1,' ',10); |
memset | 192 | 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 | 48 | fs/proc/array.c | memset(&dump, 0, sizeof(struct user)); |
memset | 42 | fs/stat.c | memset(&tmp, 0, sizeof(tmp)); |
memset | 397 | fs/super.c | memset(&dummy_inode, 0, sizeof(dummy_inode)); |
memset | 611 | fs/super.c | memset(&dummy, 0, sizeof(dummy)); |
memset | 645 | fs/super.c | memset(super_blocks, 0, sizeof(super_blocks)); |
memset | 653 | fs/super.c | memset(&filp, 0, sizeof(filp)); |
memset | 654 | 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 | 55 | fs/sysv/mmap.c | memset((char *)page + count, 0, remaining); |
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 | 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 | 208 | kernel/module.c | memset((char *)mp->addr + sizeof (int) + codesize, 0, |
memset | 743 | kernel/sys.c | memset((char *) &r, 0, sizeof(r)); |
memset | 1169 | mm/memory.c | memset((void *) 0, 0, PAGE_SIZE); |
memset | 106 | mm/swap.c | memset(swap_cache, 0, swap_cache_size * sizeof (unsigned long)); |
memset | 883 | mm/swap.c | memset(p->swap_lockmap+PAGE_SIZE-10,0,10); |
memset | 913 | mm/swap.c | memset(p->swap_lockmap,0,PAGE_SIZE); |
memset | 988 | mm/swap.c | memset((void *) start_mem, 0, bitmap_size); |
memset | 344 | net/inet/arp.c | memset(arp_ptr, 0, dev->addr_len); |
memset | 854 | net/inet/arp.c | memset(entry->ha, 0, dev->addr_len); |
memset | 902 | 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 | 579 | net/inet/ip.c | memset(fp, 0, sizeof(struct ipfrag)); |
memset | 723 | net/inet/ip.c | memset(qp, 0, sizeof(struct ipq)); |
memset | 1479 | net/inet/ip.c | memset((char *) &opt, 0, sizeof(opt)); |
memset | 348 | net/inet/ipx.c | memset(rt->router_node,0,sizeof(rt->router_node)); |
memset | 611 | net/inet/ipx.c | memset(&sk->ipx_dest_addr,'\0',sizeof(sk->ipx_dest_addr)); |
memset | 612 | net/inet/ipx.c | memset(&sk->ipx_source_addr,'\0',sizeof(sk->ipx_source_addr)); |
memset | 719 | net/inet/ipx.c | memset(sk->ipx_source_addr.node,'\0',6); |
memset | 849 | net/inet/ipx.c | memset(IPXaddr, '\0', 6); |
memset | 1076 | net/inet/ipx.c | memset(IPXaddr, '\0', 6); |
memset | 266 | net/inet/route.c | memset(rt, 0, sizeof(struct rtable)); |
memset | 614 | net/inet/route.c | memset(rt, 0, sizeof(*rt)); |
memset | 22 | zBoot/gzip.h | # define memzero(s, n) memset ((s), 0, (n)) |