taglinefilesource code
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,
ms3177drivers/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;
ms124fs/minix/inode.cstruct minix_super_block *ms;
ms142fs/minix/inode.cms = (struct minix_super_block *) bh->b_data;
ms143fs/minix/inode.cs->u.minix_sb.s_ms = ms;
ms145fs/minix/inode.cs->u.minix_sb.s_mount_state = ms->s_state;
ms148fs/minix/inode.cs->u.minix_sb.s_ninodes = ms->s_ninodes;
ms149fs/minix/inode.cs->u.minix_sb.s_imap_blocks = ms->s_imap_blocks;
ms150fs/minix/inode.cs->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks;
ms151fs/minix/inode.cs->u.minix_sb.s_firstdatazone = ms->s_firstdatazone;
ms152fs/minix/inode.cs->u.minix_sb.s_log_zone_size = ms->s_log_zone_size;
ms153fs/minix/inode.cs->u.minix_sb.s_max_size = ms->s_max_size;
ms154fs/minix/inode.cs->s_magic = ms->s_magic;
ms157fs/minix/inode.cs->u.minix_sb.s_nzones = ms->s_nzones;
ms162fs/minix/inode.cs->u.minix_sb.s_nzones = ms->s_nzones;
ms167fs/minix/inode.cs->u.minix_sb.s_nzones = ms->s_zones;
ms172fs/minix/inode.cs->u.minix_sb.s_nzones = ms->s_zones;
ms227fs/minix/inode.cms->s_state &= ~MINIX_VALID_FS;
ms80include/net/ip_masq.hextern void ip_masq_set_expire(struct ip_masq *ms, unsigned long tout);
ms123include/net/ip_masq.hextern struct ip_masq_app * ip_masq_bind_app(struct ip_masq *ms);
ms124include/net/ip_masq.hextern int ip_masq_unbind_app(struct ip_masq *ms);
ms103net/ipv4/ip_masq.cip_masq_hash(struct ip_masq *ms)
ms107net/ipv4/ip_masq.cif (ms->flags & IP_MASQ_F_HASHED) {
ms114net/ipv4/ip_masq.chash = ip_masq_hash_key(ms->protocol, ms->maddr, ms->mport);
ms115net/ipv4/ip_masq.cms->m_link = ip_masq_m_tab[hash];
ms116net/ipv4/ip_masq.cip_masq_m_tab[hash] = ms;
ms121net/ipv4/ip_masq.chash = ip_masq_hash_key(ms->protocol, ms->saddr, ms->sport);
ms122net/ipv4/ip_masq.cms->s_link = ip_masq_s_tab[hash];
ms123net/ipv4/ip_masq.cip_masq_s_tab[hash] = ms;
ms126net/ipv4/ip_masq.cms->flags |= IP_MASQ_F_HASHED;
ms136net/ipv4/ip_masq.cstatic __inline__ int ip_masq_unhash(struct ip_masq *ms)
ms140net/ipv4/ip_masq.cif (!(ms->flags & IP_MASQ_F_HASHED)) {
ms147net/ipv4/ip_masq.chash = ip_masq_hash_key(ms->protocol, ms->maddr, ms->mport);
ms149net/ipv4/ip_masq.cif (ms == (*ms_p))  {
ms150net/ipv4/ip_masq.c*ms_p = ms->m_link;
ms156net/ipv4/ip_masq.chash = ip_masq_hash_key(ms->protocol, ms->saddr, ms->sport);
ms158net/ipv4/ip_masq.cif (ms == (*ms_p))  {
ms159net/ipv4/ip_masq.c*ms_p = ms->s_link;
ms163net/ipv4/ip_masq.cms->flags &= ~IP_MASQ_F_HASHED;
ms182net/ipv4/ip_masq.cstruct ip_masq *ms;
ms196net/ipv4/ip_masq.cfor(ms = ip_masq_m_tab[hash]; ms ; ms = ms->m_link) {
ms197net/ipv4/ip_masq.cif ( protocol==ms->protocol &&
ms198net/ipv4/ip_masq.c(s_addr==ms->daddr || ms->flags & IP_MASQ_F_NO_DADDR) &&
ms199net/ipv4/ip_masq.c(s_port==ms->dport || ms->flags & IP_MASQ_F_NO_DPORT) &&
ms200net/ipv4/ip_masq.c(d_addr==ms->maddr && d_port==ms->mport))
ms201net/ipv4/ip_masq.creturn ms;
ms215net/ipv4/ip_masq.cstruct ip_masq *ms;
ms229net/ipv4/ip_masq.cfor(ms = ip_masq_s_tab[hash]; ms ; ms = ms->s_link) {
ms230net/ipv4/ip_masq.cif (protocol == ms->protocol &&
ms231net/ipv4/ip_masq.cs_addr == ms->saddr && s_port == ms->sport &&
ms232net/ipv4/ip_masq.cd_addr == ms->daddr && d_port == ms->dport )
ms233net/ipv4/ip_masq.creturn ms;
ms248net/ipv4/ip_masq.cstruct ip_masq *ms;
ms251net/ipv4/ip_masq.cfor(ms = ip_masq_m_tab[hash]; ms ; ms = ms->m_link) {
ms252net/ipv4/ip_masq.cif ( protocol==ms->protocol &&
ms253net/ipv4/ip_masq.c(m_addr==ms->maddr && m_port==ms->mport))
ms254net/ipv4/ip_masq.creturn ms;
ms261net/ipv4/ip_masq.cstruct ip_masq *ms = (struct ip_masq *)data;
ms266net/ipv4/ip_masq.cmasq_proto_name(ms->protocol),
ms267net/ipv4/ip_masq.cntohl(ms->src),ntohs(ms->sport));
ms273net/ipv4/ip_masq.cif (ip_masq_unhash(ms)) {
ms274net/ipv4/ip_masq.cip_masq_free_ports[ms->protocol==IPPROTO_TCP]++;
ms275net/ipv4/ip_masq.cip_masq_unbind_app(ms);
ms276net/ipv4/ip_masq.ckfree_s(ms,sizeof(*ms));
ms290net/ipv4/ip_masq.cstruct ip_masq *ms, *mst;
ms303net/ipv4/ip_masq.cms = (struct ip_masq *) kmalloc(sizeof(struct ip_masq), GFP_ATOMIC);
ms304net/ipv4/ip_masq.cif (ms == NULL) {
ms310net/ipv4/ip_masq.cmemset(ms, 0, sizeof(*ms));
ms311net/ipv4/ip_masq.cinit_timer(&ms->timer);
ms312net/ipv4/ip_masq.cms->timer.data     = (unsigned long)ms;
ms313net/ipv4/ip_masq.cms->timer.function = masq_expire;
ms314net/ipv4/ip_masq.cms->protocol     = proto;
ms315net/ipv4/ip_masq.cms->saddr         = saddr;
ms316net/ipv4/ip_masq.cms->sport     = sport;
ms317net/ipv4/ip_masq.cms->daddr     = daddr;
ms318net/ipv4/ip_masq.cms->dport     = dport;
ms319net/ipv4/ip_masq.cms->flags     = mflags;
ms322net/ipv4/ip_masq.cms->flags |= IP_MASQ_F_NO_DADDR;
ms325net/ipv4/ip_masq.cms->maddr     = dev->pa_addr;
ms335net/ipv4/ip_masq.cms->mport = htons(masq_port++);
ms344net/ipv4/ip_masq.cmst = ip_masq_getbym(proto, ms->maddr, ms->mport);
ms354net/ipv4/ip_masq.cip_masq_hash(ms);
ms358net/ipv4/ip_masq.cip_masq_bind_app(ms);
ms360net/ipv4/ip_masq.creturn ms;
ms366net/ipv4/ip_masq.cmasq_proto_name(ms->protocol), *free_ports_p);
ms367net/ipv4/ip_masq.ckfree_s(ms, sizeof(*ms));
ms377net/ipv4/ip_masq.cvoid ip_masq_set_expire(struct ip_masq *ms, unsigned long tout)
ms380net/ipv4/ip_masq.cms->timer.expires = jiffies+tout;
ms381net/ipv4/ip_masq.cadd_timer(&ms->timer);
ms383net/ipv4/ip_masq.cdel_timer(&ms->timer);
ms402net/ipv4/ip_masq.cstruct ip_masq  *ms;
ms425net/ipv4/ip_masq.cms = ip_masq_out_get(iph);
ms426net/ipv4/ip_masq.cif (ms!=NULL)
ms427net/ipv4/ip_masq.cip_masq_set_expire(ms,0);
ms433net/ipv4/ip_masq.cif (ms==NULL) 
ms435net/ipv4/ip_masq.cms = ip_masq_new(dev, iph->protocol,
ms439net/ipv4/ip_masq.cif (ms == NULL)
ms451net/ipv4/ip_masq.ciph->saddr = ms->maddr;
ms452net/ipv4/ip_masq.cportptr[0] = ms->mport;
ms458net/ipv4/ip_masq.cif (ip_masq_app_pkt_out(ms, skb_ptr, dev) != 0)
ms486net/ipv4/ip_masq.cif (ms->flags & IP_MASQ_F_SAW_FIN || th->fin)
ms489net/ipv4/ip_masq.cms->flags |= IP_MASQ_F_SAW_FIN;
ms496net/ipv4/ip_masq.cip_masq_set_expire(ms, timeout);
ms500net/ipv4/ip_masq.cprintk("O-routed from %lX:%X over %s\n",ntohl(ms->maddr),ntohs(ms->mport),dev->name);
ms518net/ipv4/ip_masq.cstruct ip_masq  *ms;
ms538net/ipv4/ip_masq.cms = ip_masq_in_get(iph);
ms540net/ipv4/ip_masq.cif (ms != NULL)
ms548net/ipv4/ip_masq.cif ( ms->flags & IP_MASQ_F_NO_DPORT && ms->protocol == IPPROTO_TCP ) {
ms549net/ipv4/ip_masq.cms->flags &= ~IP_MASQ_F_NO_DPORT;
ms550net/ipv4/ip_masq.cms->dport = portptr[0];
ms553net/ipv4/ip_masq.cntohs(ms->dport));
ms556net/ipv4/ip_masq.cif (ms->flags & IP_MASQ_F_NO_DADDR && ms->protocol == IPPROTO_TCP)  {
ms557net/ipv4/ip_masq.cms->flags &= ~IP_MASQ_F_NO_DADDR;
ms558net/ipv4/ip_masq.cms->daddr = iph->saddr;
ms561net/ipv4/ip_masq.cntohs(ms->daddr));
ms565net/ipv4/ip_masq.ciph->daddr = ms->saddr;
ms566net/ipv4/ip_masq.cportptr[1] = ms->sport;
ms573net/ipv4/ip_masq.cif (ip_masq_app_pkt_in(ms, skb_p, dev) != 0)
ms615net/ipv4/ip_masq.cstruct ip_masq *ms;
ms626net/ipv4/ip_masq.cfor(ms = ip_masq_m_tab[idx]; ms ; ms = ms->m_link)
ms628net/ipv4/ip_masq.cint timer_active = del_timer(&ms->timer);
ms630net/ipv4/ip_masq.cms->timer.expires = jiffies;
ms632net/ipv4/ip_masq.cmasq_proto_name(ms->protocol),
ms633net/ipv4/ip_masq.cntohl(ms->saddr),ntohs(ms->sport),
ms634net/ipv4/ip_masq.cntohl(ms->daddr),ntohs(ms->dport),
ms635net/ipv4/ip_masq.cntohs(ms->mport),
ms636net/ipv4/ip_masq.cms->out_seq.init_seq,ms->out_seq.delta,ms->out_seq.previous_delta,ms->timer.expires-jiffies);
ms638net/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)