taglinefilesource code
ms199drivers/block/amiflop.cstatic void ms_delay(int ms)
ms202drivers/block/amiflop.cif (ms > 0) {
ms204drivers/block/amiflop.cticks=MS_TICKS*ms-1;
ms672drivers/cdrom/aztcd.c{ struct cdrom_multisession ms;
ms678drivers/cdrom/aztcd.cmemcpy_fromfs(&ms, (void*) arg, sizeof(struct cdrom_multisession));
ms679drivers/cdrom/aztcd.cif (ms.addr_format == CDROM_MSF) 
ms680drivers/cdrom/aztcd.c{ ms.addr.msf.minute = azt_bcd2bin(DiskInfo.lastSession.min);
ms681drivers/cdrom/aztcd.cms.addr.msf.second = azt_bcd2bin(DiskInfo.lastSession.sec);
ms682drivers/cdrom/aztcd.cms.addr.msf.frame  = azt_bcd2bin(DiskInfo.lastSession.frame);
ms684drivers/cdrom/aztcd.celse if (ms.addr_format == CDROM_LBA)
ms685drivers/cdrom/aztcd.cms.addr.lba = azt_msf2hsg(&DiskInfo.lastSession);
ms688drivers/cdrom/aztcd.cms.xa_flag = DiskInfo.xa;
ms691drivers/cdrom/aztcd.cmemcpy_tofs((void*) arg, &ms, sizeof(struct cdrom_multisession));
ms693drivers/cdrom/aztcd.cif (ms.addr_format == CDROM_MSF) 
ms695drivers/cdrom/aztcd.cms.xa_flag, ms.addr.msf.minute, ms.addr.msf.second, 
ms696drivers/cdrom/aztcd.cms.addr.msf.frame, DiskInfo.lastSession.min,
ms700drivers/cdrom/aztcd.cms.xa_flag, ms.addr.lba, DiskInfo.lastSession.min,
ms467drivers/cdrom/mcdx.cstruct cdrom_multisession ms;
ms473drivers/cdrom/mcdx.cmemcpy_fromfs(&ms, (void*) arg, sizeof(struct cdrom_multisession));
ms474drivers/cdrom/mcdx.cif (ms.addr_format == CDROM_MSF) {
ms475drivers/cdrom/mcdx.cms.addr.msf.minute = bcd2uint(stuffp->multi.msf_last.minute);
ms476drivers/cdrom/mcdx.cms.addr.msf.second = bcd2uint(stuffp->multi.msf_last.second);
ms477drivers/cdrom/mcdx.cms.addr.msf.frame = bcd2uint(stuffp->multi.msf_last.frame);
ms478drivers/cdrom/mcdx.c} else if (ms.addr_format == CDROM_LBA)
ms479drivers/cdrom/mcdx.cms.addr.lba = msf2log(&stuffp->multi.msf_last);
ms482drivers/cdrom/mcdx.cms.xa_flag = !!stuffp->multi.multi;
ms488drivers/cdrom/mcdx.cmemcpy_tofs((void*) arg, &ms, sizeof(struct cdrom_multisession));
ms489drivers/cdrom/mcdx.cif (ms.addr_format == CDROM_MSF) 
ms492drivers/cdrom/mcdx.cms.xa_flag, 
ms493drivers/cdrom/mcdx.cms.addr.msf.minute,
ms494drivers/cdrom/mcdx.cms.addr.msf.second,
ms495drivers/cdrom/mcdx.cms.addr.msf.frame,
ms503drivers/cdrom/mcdx.cms.xa_flag,
ms504drivers/cdrom/mcdx.cms.addr.lba,
ms1668drivers/cdrom/optcd.cstruct cdrom_multisession ms;
ms1670drivers/cdrom/optcd.cstatus = verify_area(VERIFY_READ, (void*) arg, sizeof ms);
ms1673drivers/cdrom/optcd.cstatus = verify_area(VERIFY_WRITE, (void*) arg, sizeof ms);
ms1676drivers/cdrom/optcd.cmemcpy_fromfs(&ms, (void*) arg, sizeof ms);
ms1678drivers/cdrom/optcd.cms.addr.msf.minute = disk_info.last_session.minute;
ms1679drivers/cdrom/optcd.cms.addr.msf.second = disk_info.last_session.second;
ms1680drivers/cdrom/optcd.cms.addr.msf.frame = disk_info.last_session.frame;
ms1682drivers/cdrom/optcd.cif (ms.addr_format != CDROM_LBA
ms1683drivers/cdrom/optcd.c&& ms.addr_format != CDROM_MSF)
ms1685drivers/cdrom/optcd.cif (ms.addr_format == CDROM_LBA)
ms1686drivers/cdrom/optcd.cmsf2lba(&ms.addr);
ms1688drivers/cdrom/optcd.cms.xa_flag = disk_info.xa;
ms1690drivers/cdrom/optcd.cmemcpy_tofs((void*) arg, &ms,
ms1694drivers/cdrom/optcd.cif (ms.addr_format == CDROM_MSF)
ms1696drivers/cdrom/optcd.cms.xa_flag,
ms1697drivers/cdrom/optcd.cms.addr.msf.minute,
ms1698drivers/cdrom/optcd.cms.addr.msf.second,
ms1699drivers/cdrom/optcd.cms.addr.msf.frame);
ms1702drivers/cdrom/optcd.cms.xa_flag,
ms1703drivers/cdrom/optcd.cms.addr.lba,
ms3197drivers/scsi/53c7,8xx.cTOKEN(ms,3), TOKEN(rp,2), TOKEN(rs,2), TOKEN(s,0), TOKEN(tb,0), TOKEN(te,0)
ms34fs/minix/inode.cstruct minix_super_block * ms)
ms42fs/minix/inode.cstruct minix_super_block * ms;
ms45fs/minix/inode.cms = sb->u.minix_sb.s_ms;
ms47fs/minix/inode.cif (ms->s_state & MINIX_VALID_FS)
ms48fs/minix/inode.cms->s_state &= ~MINIX_VALID_FS;
ms49fs/minix/inode.cminix_commit_super (sb, ms);
ms88fs/minix/inode.cstruct minix_super_block * ms;
ms90fs/minix/inode.cms = sb->u.minix_sb.s_ms;
ms94fs/minix/inode.cif (ms->s_state & MINIX_VALID_FS ||
ms98fs/minix/inode.cms->s_state = sb->u.minix_sb.s_mount_state;
ms101fs/minix/inode.cminix_commit_super (sb, ms);
ms105fs/minix/inode.csb->u.minix_sb.s_mount_state = ms->s_state;
ms106fs/minix/inode.cms->s_state &= ~MINIX_VALID_FS;
ms168fs/minix/inode.cstruct minix_super_block *ms;
ms187fs/minix/inode.cms = (struct minix_super_block *) bh->b_data;
ms188fs/minix/inode.cs->u.minix_sb.s_ms = ms;
ms190fs/minix/inode.cs->u.minix_sb.s_mount_state = ms->s_state;
ms193fs/minix/inode.cs->u.minix_sb.s_ninodes = ms->s_ninodes;
ms194fs/minix/inode.cs->u.minix_sb.s_imap_blocks = ms->s_imap_blocks;
ms195fs/minix/inode.cs->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks;
ms196fs/minix/inode.cs->u.minix_sb.s_firstdatazone = ms->s_firstdatazone;
ms197fs/minix/inode.cs->u.minix_sb.s_log_zone_size = ms->s_log_zone_size;
ms198fs/minix/inode.cs->u.minix_sb.s_max_size = ms->s_max_size;
ms199fs/minix/inode.cs->s_magic = ms->s_magic;
ms202fs/minix/inode.cs->u.minix_sb.s_nzones = ms->s_nzones;
ms207fs/minix/inode.cs->u.minix_sb.s_nzones = ms->s_nzones;
ms212fs/minix/inode.cs->u.minix_sb.s_nzones = ms->s_zones;
ms217fs/minix/inode.cs->u.minix_sb.s_nzones = ms->s_zones;
ms294fs/minix/inode.cms->s_state &= ~MINIX_VALID_FS;
ms94include/net/ip_masq.hextern void ip_masq_set_expire(struct ip_masq *ms, unsigned long tout);
ms138include/net/ip_masq.hextern struct ip_masq_app * ip_masq_bind_app(struct ip_masq *ms);
ms139include/net/ip_masq.hextern int ip_masq_unbind_app(struct ip_masq *ms);
ms117net/ipv4/ip_masq.cip_masq_hash(struct ip_masq *ms)
ms121net/ipv4/ip_masq.cif (ms->flags & IP_MASQ_F_HASHED) {
ms128net/ipv4/ip_masq.chash = ip_masq_hash_key(ms->protocol, ms->maddr, ms->mport);
ms129net/ipv4/ip_masq.cms->m_link = ip_masq_m_tab[hash];
ms130net/ipv4/ip_masq.cip_masq_m_tab[hash] = ms;
ms135net/ipv4/ip_masq.chash = ip_masq_hash_key(ms->protocol, ms->saddr, ms->sport);
ms136net/ipv4/ip_masq.cms->s_link = ip_masq_s_tab[hash];
ms137net/ipv4/ip_masq.cip_masq_s_tab[hash] = ms;
ms140net/ipv4/ip_masq.cms->flags |= IP_MASQ_F_HASHED;
ms150net/ipv4/ip_masq.cstatic __inline__ int ip_masq_unhash(struct ip_masq *ms)
ms154net/ipv4/ip_masq.cif (!(ms->flags & IP_MASQ_F_HASHED)) {
ms161net/ipv4/ip_masq.chash = ip_masq_hash_key(ms->protocol, ms->maddr, ms->mport);
ms163net/ipv4/ip_masq.cif (ms == (*ms_p))  {
ms164net/ipv4/ip_masq.c*ms_p = ms->m_link;
ms170net/ipv4/ip_masq.chash = ip_masq_hash_key(ms->protocol, ms->saddr, ms->sport);
ms172net/ipv4/ip_masq.cif (ms == (*ms_p))  {
ms173net/ipv4/ip_masq.c*ms_p = ms->s_link;
ms177net/ipv4/ip_masq.cms->flags &= ~IP_MASQ_F_HASHED;
ms196net/ipv4/ip_masq.cstruct ip_masq *ms;
ms210net/ipv4/ip_masq.cfor(ms = ip_masq_m_tab[hash]; ms ; ms = ms->m_link) {
ms211net/ipv4/ip_masq.cif ( protocol==ms->protocol &&
ms212net/ipv4/ip_masq.c(s_addr==ms->daddr || ms->flags & IP_MASQ_F_NO_DADDR) &&
ms213net/ipv4/ip_masq.c(s_port==ms->dport || ms->flags & IP_MASQ_F_NO_DPORT) &&
ms214net/ipv4/ip_masq.c(d_addr==ms->maddr && d_port==ms->mport))
ms215net/ipv4/ip_masq.creturn ms;
ms255net/ipv4/ip_masq.cstruct ip_masq *ms;
ms258net/ipv4/ip_masq.cfor(ms = ip_masq_s_tab[hash]; ms ; ms = ms->s_link) {
ms259net/ipv4/ip_masq.cif (protocol == ms->protocol &&
ms260net/ipv4/ip_masq.cs_addr == ms->saddr && s_port == ms->sport &&
ms261net/ipv4/ip_masq.cd_addr == ms->daddr && d_port == ms->dport )
ms262net/ipv4/ip_masq.creturn ms;
ms277net/ipv4/ip_masq.cstruct ip_masq *ms;
ms280net/ipv4/ip_masq.cfor(ms = ip_masq_m_tab[hash]; ms ; ms = ms->m_link) {
ms281net/ipv4/ip_masq.cif ( protocol==ms->protocol &&
ms282net/ipv4/ip_masq.c(m_addr==ms->maddr && m_port==ms->mport))
ms283net/ipv4/ip_masq.creturn ms;
ms290net/ipv4/ip_masq.cstruct ip_masq *ms = (struct ip_masq *)data;
ms295net/ipv4/ip_masq.cmasq_proto_name(ms->protocol),
ms296net/ipv4/ip_masq.cntohl(ms->src),ntohs(ms->sport));
ms302net/ipv4/ip_masq.cif (ip_masq_unhash(ms)) {
ms303net/ipv4/ip_masq.cip_masq_free_ports[ms->protocol==IPPROTO_TCP]++;
ms304net/ipv4/ip_masq.cip_masq_unbind_app(ms);
ms305net/ipv4/ip_masq.ckfree_s(ms,sizeof(*ms));
ms319net/ipv4/ip_masq.cstruct ip_masq *ms, *mst;
ms332net/ipv4/ip_masq.cms = (struct ip_masq *) kmalloc(sizeof(struct ip_masq), GFP_ATOMIC);
ms333net/ipv4/ip_masq.cif (ms == NULL) {
ms339net/ipv4/ip_masq.cmemset(ms, 0, sizeof(*ms));
ms340net/ipv4/ip_masq.cinit_timer(&ms->timer);
ms341net/ipv4/ip_masq.cms->timer.data     = (unsigned long)ms;
ms342net/ipv4/ip_masq.cms->timer.function = masq_expire;
ms343net/ipv4/ip_masq.cms->protocol     = proto;
ms344net/ipv4/ip_masq.cms->saddr         = saddr;
ms345net/ipv4/ip_masq.cms->sport     = sport;
ms346net/ipv4/ip_masq.cms->daddr     = daddr;
ms347net/ipv4/ip_masq.cms->dport     = dport;
ms348net/ipv4/ip_masq.cms->flags     = mflags;
ms349net/ipv4/ip_masq.cms->app_data     = NULL;
ms352net/ipv4/ip_masq.cms->flags |= IP_MASQ_F_NO_DADDR;
ms355net/ipv4/ip_masq.cms->maddr     = dev->pa_addr;
ms365net/ipv4/ip_masq.cms->mport = htons(masq_port++);
ms374net/ipv4/ip_masq.cmst = ip_masq_getbym(proto, ms->maddr, ms->mport);
ms384net/ipv4/ip_masq.cip_masq_hash(ms);
ms388net/ipv4/ip_masq.cip_masq_bind_app(ms);
ms390net/ipv4/ip_masq.creturn ms;
ms396net/ipv4/ip_masq.cmasq_proto_name(ms->protocol), *free_ports_p);
ms397net/ipv4/ip_masq.ckfree_s(ms, sizeof(*ms));
ms407net/ipv4/ip_masq.cvoid ip_masq_set_expire(struct ip_masq *ms, unsigned long tout)
ms410net/ipv4/ip_masq.cms->timer.expires = jiffies+tout;
ms411net/ipv4/ip_masq.cadd_timer(&ms->timer);
ms413net/ipv4/ip_masq.cdel_timer(&ms->timer);
ms432net/ipv4/ip_masq.cstruct ip_masq  *ms;
ms455net/ipv4/ip_masq.cms = ip_masq_out_get(iph);
ms456net/ipv4/ip_masq.cif (ms!=NULL)
ms457net/ipv4/ip_masq.cip_masq_set_expire(ms,0);
ms463net/ipv4/ip_masq.cif (ms==NULL)
ms465net/ipv4/ip_masq.cms = ip_masq_new(dev, iph->protocol,
ms469net/ipv4/ip_masq.cif (ms == NULL)
ms481net/ipv4/ip_masq.ciph->saddr = ms->maddr;
ms482net/ipv4/ip_masq.cportptr[0] = ms->mport;
ms488net/ipv4/ip_masq.cif (ip_masq_app_pkt_out(ms, skb_ptr, dev) != 0)
ms517net/ipv4/ip_masq.cif (ms->flags & IP_MASQ_F_SAW_RST || th->rst)
ms520net/ipv4/ip_masq.cms->flags |= IP_MASQ_F_SAW_RST;
ms522net/ipv4/ip_masq.celse if (ms->flags & IP_MASQ_F_SAW_FIN || th->fin)
ms525net/ipv4/ip_masq.cms->flags |= IP_MASQ_F_SAW_FIN;
ms532net/ipv4/ip_masq.cip_masq_set_expire(ms, timeout);
ms536net/ipv4/ip_masq.cprintk("O-routed from %lX:%X over %s\n",ntohl(ms->maddr),ntohs(ms->mport),dev->name);
ms554net/ipv4/ip_masq.cstruct ip_masq  *ms;
ms586net/ipv4/ip_masq.cms = ip_masq_in_get(iph);
ms588net/ipv4/ip_masq.cif (ms != NULL)
ms596net/ipv4/ip_masq.cif ( ms->flags & IP_MASQ_F_NO_DPORT && ms->protocol == IPPROTO_TCP ) {
ms597net/ipv4/ip_masq.cms->flags &= ~IP_MASQ_F_NO_DPORT;
ms598net/ipv4/ip_masq.cms->dport = portptr[0];
ms601net/ipv4/ip_masq.cntohs(ms->dport));
ms604net/ipv4/ip_masq.cif (ms->flags & IP_MASQ_F_NO_DADDR && ms->protocol == IPPROTO_TCP)  {
ms605net/ipv4/ip_masq.cms->flags &= ~IP_MASQ_F_NO_DADDR;
ms606net/ipv4/ip_masq.cms->daddr = iph->saddr;
ms609net/ipv4/ip_masq.cntohs(ms->daddr));
ms613net/ipv4/ip_masq.ciph->daddr = ms->saddr;
ms614net/ipv4/ip_masq.cportptr[1] = ms->sport;
ms621net/ipv4/ip_masq.cif (ip_masq_app_pkt_in(ms, skb_p, dev) != 0)
ms644net/ipv4/ip_masq.cip_masq_set_expire(ms, 0);
ms645net/ipv4/ip_masq.cip_masq_set_expire(ms, ip_masq_expire->udp_timeout);
ms657net/ipv4/ip_masq.cip_masq_set_expire(ms, 0);
ms658net/ipv4/ip_masq.cms->flags |= IP_MASQ_F_SAW_RST;
ms659net/ipv4/ip_masq.cip_masq_set_expire(ms, 1);
ms682net/ipv4/ip_masq.cstruct ip_masq *ms;
ms700net/ipv4/ip_masq.cfor(ms = ip_masq_m_tab[idx]; ms ; ms = ms->m_link)
ms707net/ipv4/ip_masq.ctimer_active = del_timer(&ms->timer);
ms709net/ipv4/ip_masq.cms->timer.expires = jiffies;
ms711net/ipv4/ip_masq.cmasq_proto_name(ms->protocol),
ms712net/ipv4/ip_masq.cntohl(ms->saddr), ntohs(ms->sport),
ms713net/ipv4/ip_masq.cntohl(ms->daddr), ntohs(ms->dport),
ms714net/ipv4/ip_masq.cntohs(ms->mport),
ms715net/ipv4/ip_masq.cms->out_seq.init_seq,
ms716net/ipv4/ip_masq.cms->out_seq.delta,
ms717net/ipv4/ip_masq.cms->out_seq.previous_delta,
ms718net/ipv4/ip_masq.cms->timer.expires-jiffies);
ms720net/ipv4/ip_masq.cadd_timer(&ms->timer);
ms184net/ipv4/ip_masq_app.cstruct ip_masq_app * ip_masq_bind_app(struct ip_masq *ms)
ms187net/ipv4/ip_masq_app.cmapp = ip_masq_app_get(ms->protocol, ms->dport);
ms193net/ipv4/ip_masq_app.cif (ms->app != NULL) {
ms195net/ipv4/ip_masq_app.creturn ms->app;
ms198net/ipv4/ip_masq_app.cms->app = mapp;
ms199net/ipv4/ip_masq_app.cif (mapp->masq_init_1) mapp->masq_init_1(mapp, ms);
ms209net/ipv4/ip_masq_app.cint ip_masq_unbind_app(struct ip_masq *ms)
ms212net/ipv4/ip_masq_app.cmapp = ms->app;
ms214net/ipv4/ip_masq_app.cif (mapp->masq_done_1) mapp->masq_done_1(mapp, ms);
ms215net/ipv4/ip_masq_app.cms->app = NULL;
ms291net/ipv4/ip_masq_app.cstatic __inline__ void masq_seq_update(struct ip_masq *ms, struct ip_masq_seq *ms_seq, unsigned mflag, __u32 seq, int diff)
ms295net/ipv4/ip_masq_app.cif ( !(ms->flags & mflag) || after(seq, ms_seq->init_seq))
ms300net/ipv4/ip_masq_app.cms->flags |= mflag;
ms310net/ipv4/ip_masq_app.cint ip_masq_app_pkt_out(struct ip_masq *ms, struct sk_buff **skb_p, struct device *dev)
ms325net/ipv4/ip_masq_app.cif ( (mapp = ms->app) == NULL)
ms341net/ipv4/ip_masq_app.cif (ms->protocol == IPPROTO_TCP) {
ms342net/ipv4/ip_masq_app.cif (ms->flags & IP_MASQ_F_OUT_SEQ)
ms343net/ipv4/ip_masq_app.cmasq_fix_seq(&ms->out_seq, th);
ms344net/ipv4/ip_masq_app.cif (ms->flags & IP_MASQ_F_IN_SEQ)
ms345net/ipv4/ip_masq_app.cmasq_fix_ack_seq(&ms->in_seq, th);
ms355net/ipv4/ip_masq_app.cdiff = mapp->pkt_out(mapp, ms, skb_p, dev);
ms361net/ipv4/ip_masq_app.cif (diff != 0 && ms->protocol == IPPROTO_TCP)
ms362net/ipv4/ip_masq_app.cmasq_seq_update(ms, &ms->out_seq, IP_MASQ_F_OUT_SEQ, seq, diff);
ms373net/ipv4/ip_masq_app.cint ip_masq_app_pkt_in(struct ip_masq *ms, struct sk_buff **skb_p, struct device *dev)
ms388net/ipv4/ip_masq_app.cif ( (mapp = ms->app) == NULL)
ms404net/ipv4/ip_masq_app.cif (ms->protocol == IPPROTO_TCP) {
ms405net/ipv4/ip_masq_app.cif (ms->flags & IP_MASQ_F_IN_SEQ)
ms406net/ipv4/ip_masq_app.cmasq_fix_seq(&ms->in_seq, th);
ms407net/ipv4/ip_masq_app.cif (ms->flags & IP_MASQ_F_OUT_SEQ)
ms408net/ipv4/ip_masq_app.cmasq_fix_ack_seq(&ms->out_seq, th);
ms418net/ipv4/ip_masq_app.cdiff = mapp->pkt_in(mapp, ms, skb_p, dev);
ms424net/ipv4/ip_masq_app.cif (diff != 0 && ms->protocol == IPPROTO_TCP)
ms425net/ipv4/ip_masq_app.cmasq_seq_update(ms, &ms->in_seq, IP_MASQ_F_IN_SEQ, seq, diff);
ms37net/ipv4/ip_masq_ftp.cmasq_ftp_init_1 (struct ip_masq_app *mapp, struct ip_masq *ms)
ms44net/ipv4/ip_masq_ftp.cmasq_ftp_done_1 (struct ip_masq_app *mapp, struct ip_masq *ms)
ms51net/ipv4/ip_masq_ftp.cmasq_ftp_out (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **skb_p, struct device *dev)
ms38net/ipv4/ip_masq_irc.cmasq_irc_init_1 (struct ip_masq_app *mapp, struct ip_masq *ms)
ms45net/ipv4/ip_masq_irc.cmasq_irc_done_1 (struct ip_masq_app *mapp, struct ip_masq *ms)
ms52net/ipv4/ip_masq_irc.cmasq_irc_out (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **skb_p, struct device *dev)