tag | line | file | source code |
ms | 397 | drivers/block/mcdx.c | struct cdrom_multisession ms; |
ms | 403 | drivers/block/mcdx.c | memcpy_fromfs(&ms, (void*) arg, sizeof(struct cdrom_multisession)); |
ms | 404 | drivers/block/mcdx.c | if (ms.addr_format == CDROM_MSF) { |
ms | 405 | drivers/block/mcdx.c | ms.addr.msf.minute = bcd2uint(stuffp->multi.msf_last.minute); |
ms | 406 | drivers/block/mcdx.c | ms.addr.msf.second = bcd2uint(stuffp->multi.msf_last.second); |
ms | 407 | drivers/block/mcdx.c | ms.addr.msf.frame = bcd2uint(stuffp->multi.msf_last.frame); |
ms | 408 | drivers/block/mcdx.c | } else if (ms.addr_format == CDROM_LBA) |
ms | 409 | drivers/block/mcdx.c | ms.addr.lba = msf2log(&stuffp->multi.msf_last); |
ms | 412 | drivers/block/mcdx.c | ms.xa_flag = stuffp->xa; |
ms | 418 | drivers/block/mcdx.c | memcpy_tofs((void*) arg, &ms, sizeof(struct cdrom_multisession)); |
ms | 419 | drivers/block/mcdx.c | if (ms.addr_format == CDROM_MSF) |
ms | 422 | drivers/block/mcdx.c | ms.xa_flag, |
ms | 423 | drivers/block/mcdx.c | ms.addr.msf.minute, |
ms | 424 | drivers/block/mcdx.c | ms.addr.msf.second, |
ms | 425 | drivers/block/mcdx.c | ms.addr.msf.frame, |
ms | 434 | drivers/block/mcdx.c | ms.xa_flag, |
ms | 435 | drivers/block/mcdx.c | ms.addr.lba, |
ms | 2133 | drivers/scsi/53c7,8xx.c | TOKEN(ms,3), TOKEN(rp,2), TOKEN(rs,2), TOKEN(s,0), TOKEN(tb,0), TOKEN(te,0) |
ms | 37 | fs/minix/inode.c | struct minix_super_block * ms) |
ms | 45 | fs/minix/inode.c | struct minix_super_block * ms; |
ms | 48 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
ms | 50 | fs/minix/inode.c | if (ms->s_state & MINIX_VALID_FS) |
ms | 51 | fs/minix/inode.c | ms->s_state &= ~MINIX_VALID_FS; |
ms | 52 | fs/minix/inode.c | minix_commit_super (sb, ms); |
ms | 91 | fs/minix/inode.c | struct minix_super_block * ms; |
ms | 93 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
ms | 97 | fs/minix/inode.c | if (ms->s_state & MINIX_VALID_FS || |
ms | 101 | fs/minix/inode.c | ms->s_state = sb->u.minix_sb.s_mount_state; |
ms | 104 | fs/minix/inode.c | minix_commit_super (sb, ms); |
ms | 108 | fs/minix/inode.c | sb->u.minix_sb.s_mount_state = ms->s_state; |
ms | 109 | fs/minix/inode.c | ms->s_state &= ~MINIX_VALID_FS; |
ms | 128 | fs/minix/inode.c | struct minix_super_block *ms; |
ms | 143 | fs/minix/inode.c | ms = (struct minix_super_block *) bh->b_data; |
ms | 144 | fs/minix/inode.c | s->u.minix_sb.s_ms = ms; |
ms | 146 | fs/minix/inode.c | s->u.minix_sb.s_mount_state = ms->s_state; |
ms | 149 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
ms | 150 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
ms | 151 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
ms | 152 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
ms | 153 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
ms | 154 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
ms | 155 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
ms | 156 | fs/minix/inode.c | s->s_magic = ms->s_magic; |
ms | 214 | fs/minix/inode.c | ms->s_state &= ~MINIX_VALID_FS; |
ms | 431 | net/ipv4/ip_fw.c | struct ip_masq *ms = (struct ip_masq *)data; |
ms | 437 | net/ipv4/ip_fw.c | strProt[ms->protocol==IPPROTO_TCP], |
ms | 438 | net/ipv4/ip_fw.c | ntohl(ms->src),ntohs(ms->sport)); |
ms | 448 | net/ipv4/ip_fw.c | if (cur==ms) { |
ms | 449 | net/ipv4/ip_fw.c | if (old==NULL) ip_msq_hosts = ms->next; |
ms | 450 | net/ipv4/ip_fw.c | else old->next = ms->next; |
ms | 451 | net/ipv4/ip_fw.c | kfree_s(ms,sizeof(*ms)); |
ms | 469 | net/ipv4/ip_fw.c | struct ip_masq *ms, *mst; |
ms | 472 | net/ipv4/ip_fw.c | ms = (struct ip_masq *) kmalloc(sizeof(struct ip_masq), GFP_ATOMIC); |
ms | 473 | net/ipv4/ip_fw.c | if (ms==NULL) |
ms | 476 | net/ipv4/ip_fw.c | memset(ms,0,sizeof(*ms)); |
ms | 477 | net/ipv4/ip_fw.c | init_timer(&ms->timer); |
ms | 478 | net/ipv4/ip_fw.c | ms->timer.data = (unsigned long)ms; |
ms | 479 | net/ipv4/ip_fw.c | ms->timer.function = masq_expire; |
ms | 486 | net/ipv4/ip_fw.c | ms->mport = htons(masq_port++); |
ms | 493 | net/ipv4/ip_fw.c | while (mst && mst->mport!=ms->mport) |
ms | 499 | net/ipv4/ip_fw.c | ms->next = ip_msq_hosts; |
ms | 500 | net/ipv4/ip_fw.c | ip_msq_hosts = ms; |
ms | 503 | net/ipv4/ip_fw.c | return ms; |
ms | 527 | net/ipv4/ip_fw.c | struct ip_masq *ms; |
ms | 574 | net/ipv4/ip_fw.c | ms = alloc_masq_entry(); |
ms | 575 | net/ipv4/ip_fw.c | if (ms==NULL) |
ms | 577 | net/ipv4/ip_fw.c | ms->protocol = IPPROTO_TCP; |
ms | 578 | net/ipv4/ip_fw.c | ms->src = htonl(from); /* derived from PORT cmd */ |
ms | 579 | net/ipv4/ip_fw.c | ms->sport = htons(port); /* derived from PORT cmd */ |
ms | 580 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
ms | 581 | net/ipv4/ip_fw.c | ms->dport = htons(20); /* ftp-data */ |
ms | 582 | net/ipv4/ip_fw.c | ms->timer.expires = MASQUERADE_EXPIRE_TCP_FIN; |
ms | 583 | net/ipv4/ip_fw.c | add_timer(&ms->timer); |
ms | 589 | net/ipv4/ip_fw.c | port = ntohs(ms->mport); |
ms | 659 | net/ipv4/ip_fw.c | struct ip_masq *ms; |
ms | 674 | net/ipv4/ip_fw.c | ms = ip_msq_hosts; |
ms | 682 | net/ipv4/ip_fw.c | while (ms!=NULL) |
ms | 684 | net/ipv4/ip_fw.c | if (iph->protocol == ms->protocol && |
ms | 685 | net/ipv4/ip_fw.c | iph->saddr == ms->src && iph->daddr == ms->dst && |
ms | 686 | net/ipv4/ip_fw.c | portptr[0] == ms->sport && portptr[1] == ms->dport) |
ms | 688 | net/ipv4/ip_fw.c | del_timer(&ms->timer); |
ms | 691 | net/ipv4/ip_fw.c | ms = ms->next; |
ms | 698 | net/ipv4/ip_fw.c | if (ms==NULL) |
ms | 700 | net/ipv4/ip_fw.c | ms = alloc_masq_entry(); |
ms | 701 | net/ipv4/ip_fw.c | if (ms==NULL) |
ms | 706 | net/ipv4/ip_fw.c | ms->protocol = iph->protocol; |
ms | 707 | net/ipv4/ip_fw.c | ms->src = iph->saddr; |
ms | 708 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
ms | 709 | net/ipv4/ip_fw.c | ms->sport = portptr[0]; |
ms | 710 | net/ipv4/ip_fw.c | ms->dport = portptr[1]; |
ms | 719 | net/ipv4/ip_fw.c | portptr[0] = ms->mport; |
ms | 727 | net/ipv4/ip_fw.c | ms->timer.expires = MASQUERADE_EXPIRE_UDP; |
ms | 735 | net/ipv4/ip_fw.c | skb = revamp(*skb_ptr, dev, ms); |
ms | 745 | net/ipv4/ip_fw.c | if (ms->sawfin || th->fin) |
ms | 747 | net/ipv4/ip_fw.c | ms->timer.expires = MASQUERADE_EXPIRE_TCP_FIN; |
ms | 748 | net/ipv4/ip_fw.c | ms->sawfin = 1; |
ms | 750 | net/ipv4/ip_fw.c | else ms->timer.expires = MASQUERADE_EXPIRE_TCP; |
ms | 754 | net/ipv4/ip_fw.c | add_timer(&ms->timer); |
ms | 758 | net/ipv4/ip_fw.c | printk("O-routed from %lX:%X over %s\n",ntohl(dev->pa_addr),ntohs(ms->mport),dev->name); |
ms | 775 | net/ipv4/ip_fw.c | struct ip_masq *ms; |
ms | 801 | net/ipv4/ip_fw.c | ms = ip_msq_hosts; |
ms | 802 | net/ipv4/ip_fw.c | while (ms!=NULL) |
ms | 804 | net/ipv4/ip_fw.c | if (iph->protocol==ms->protocol && |
ms | 805 | net/ipv4/ip_fw.c | (iph->saddr==ms->dst || iph->protocol==IPPROTO_UDP) && |
ms | 806 | net/ipv4/ip_fw.c | portptr[0]==ms->dport && |
ms | 807 | net/ipv4/ip_fw.c | portptr[1]==ms->mport) |
ms | 810 | net/ipv4/ip_fw.c | iph->daddr = ms->src; |
ms | 811 | net/ipv4/ip_fw.c | portptr[1] = ms->sport; |
ms | 824 | net/ipv4/ip_fw.c | if (ms->delta && after(ms->init_seq,th->ack_seq)) |
ms | 827 | net/ipv4/ip_fw.c | th->ack_seq -= ms->delta; |
ms | 837 | net/ipv4/ip_fw.c | ms = ms->next; |
ms | 1472 | net/ipv4/ip_fw.c | struct ip_masq *ms; |
ms | 1480 | net/ipv4/ip_fw.c | ms=ip_msq_hosts; |
ms | 1481 | net/ipv4/ip_fw.c | while (ms!=NULL) |
ms | 1483 | net/ipv4/ip_fw.c | int timer_active = del_timer(&ms->timer); |
ms | 1485 | net/ipv4/ip_fw.c | ms->timer.expires = 0; |
ms | 1487 | net/ipv4/ip_fw.c | strProt[ms->protocol==IPPROTO_TCP], |
ms | 1488 | net/ipv4/ip_fw.c | ntohl(ms->src),ntohs(ms->sport), |
ms | 1489 | net/ipv4/ip_fw.c | ntohl(ms->dst),ntohs(ms->dport), |
ms | 1490 | net/ipv4/ip_fw.c | ntohs(ms->mport), |
ms | 1491 | net/ipv4/ip_fw.c | ms->init_seq,ms->delta,ms->timer.expires); |
ms | 1493 | net/ipv4/ip_fw.c | add_timer(&ms->timer); |
ms | 1503 | net/ipv4/ip_fw.c | ms=ms->next; |