tag | line | file | source code |
qp | 141 | drivers/block/mcd.c | static int GetQChannelInfo(struct mcd_Toc *qp); |
qp | 1354 | drivers/block/mcd.c | GetQChannelInfo(struct mcd_Toc *qp) |
qp | 1369 | drivers/block/mcd.c | if (getValue(&qp -> ctrl_addr) < 0) return -1; |
qp | 1370 | drivers/block/mcd.c | if (getValue(&qp -> track) < 0) return -1; |
qp | 1371 | drivers/block/mcd.c | if (getValue(&qp -> pointIndex) < 0) return -1; |
qp | 1372 | drivers/block/mcd.c | if (getValue(&qp -> trackTime.min) < 0) return -1; |
qp | 1373 | drivers/block/mcd.c | if (getValue(&qp -> trackTime.sec) < 0) return -1; |
qp | 1374 | drivers/block/mcd.c | if (getValue(&qp -> trackTime.frame) < 0) return -1; |
qp | 1376 | drivers/block/mcd.c | if (getValue(&qp -> diskTime.min) < 0) return -1; |
qp | 1377 | drivers/block/mcd.c | if (getValue(&qp -> diskTime.sec) < 0) return -1; |
qp | 1378 | drivers/block/mcd.c | if (getValue(&qp -> diskTime.frame) < 0) return -1; |
qp | 641 | net/inet/ip.c | struct ipq *qp; |
qp | 646 | net/inet/ip.c | for(qp = ipqueue; qp != NULL; qplast = qp, qp = qp->next) |
qp | 648 | net/inet/ip.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
qp | 649 | net/inet/ip.c | iph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol) |
qp | 651 | net/inet/ip.c | del_timer(&qp->timer); /* So it doesn't vanish on us. The timer will be reset anyway */ |
qp | 653 | net/inet/ip.c | return(qp); |
qp | 667 | net/inet/ip.c | static void ip_free(struct ipq *qp) |
qp | 676 | net/inet/ip.c | del_timer(&qp->timer); |
qp | 680 | net/inet/ip.c | if (qp->prev == NULL) |
qp | 682 | net/inet/ip.c | ipqueue = qp->next; |
qp | 688 | net/inet/ip.c | qp->prev->next = qp->next; |
qp | 689 | net/inet/ip.c | if (qp->next != NULL) |
qp | 690 | net/inet/ip.c | qp->next->prev = qp->prev; |
qp | 695 | net/inet/ip.c | fp = qp->fragments; |
qp | 706 | net/inet/ip.c | kfree_s(qp->mac, qp->maclen); |
qp | 709 | net/inet/ip.c | kfree_s(qp->iph, qp->ihlen + 8); |
qp | 712 | net/inet/ip.c | kfree_s(qp, sizeof(struct ipq)); |
qp | 723 | net/inet/ip.c | struct ipq *qp; |
qp | 725 | net/inet/ip.c | qp = (struct ipq *)arg; |
qp | 734 | net/inet/ip.c | if(qp->fragments!=NULL) |
qp | 735 | net/inet/ip.c | icmp_send(qp->fragments->skb,ICMP_TIME_EXCEEDED, |
qp | 736 | net/inet/ip.c | ICMP_EXC_FRAGTIME, qp->dev); |
qp | 741 | net/inet/ip.c | ip_free(qp); |
qp | 754 | net/inet/ip.c | struct ipq *qp; |
qp | 758 | net/inet/ip.c | qp = (struct ipq *) kmalloc(sizeof(struct ipq), GFP_ATOMIC); |
qp | 759 | net/inet/ip.c | if (qp == NULL) |
qp | 763 | net/inet/ip.c | skb->dev = qp->dev; |
qp | 765 | net/inet/ip.c | memset(qp, 0, sizeof(struct ipq)); |
qp | 775 | net/inet/ip.c | qp->mac = (unsigned char *) kmalloc(maclen, GFP_ATOMIC); |
qp | 776 | net/inet/ip.c | if (qp->mac == NULL) |
qp | 779 | net/inet/ip.c | kfree_s(qp, sizeof(struct ipq)); |
qp | 788 | net/inet/ip.c | qp->iph = (struct iphdr *) kmalloc(ihlen + 8, GFP_ATOMIC); |
qp | 789 | net/inet/ip.c | if (qp->iph == NULL) |
qp | 792 | net/inet/ip.c | kfree_s(qp->mac, maclen); |
qp | 793 | net/inet/ip.c | kfree_s(qp, sizeof(struct ipq)); |
qp | 798 | net/inet/ip.c | memcpy(qp->mac, skb->data, maclen); |
qp | 799 | net/inet/ip.c | memcpy(qp->iph, iph, ihlen + 8); |
qp | 800 | net/inet/ip.c | qp->len = 0; |
qp | 801 | net/inet/ip.c | qp->ihlen = ihlen; |
qp | 802 | net/inet/ip.c | qp->maclen = maclen; |
qp | 803 | net/inet/ip.c | qp->fragments = NULL; |
qp | 804 | net/inet/ip.c | qp->dev = dev; |
qp | 807 | net/inet/ip.c | qp->timer.expires = IP_FRAG_TIME; /* about 30 seconds */ |
qp | 808 | net/inet/ip.c | qp->timer.data = (unsigned long) qp; /* pointer to queue */ |
qp | 809 | net/inet/ip.c | qp->timer.function = ip_expire; /* expire function */ |
qp | 810 | net/inet/ip.c | add_timer(&qp->timer); |
qp | 813 | net/inet/ip.c | qp->prev = NULL; |
qp | 815 | net/inet/ip.c | qp->next = ipqueue; |
qp | 816 | net/inet/ip.c | if (qp->next != NULL) |
qp | 817 | net/inet/ip.c | qp->next->prev = qp; |
qp | 818 | net/inet/ip.c | ipqueue = qp; |
qp | 820 | net/inet/ip.c | return(qp); |
qp | 828 | net/inet/ip.c | static int ip_done(struct ipq *qp) |
qp | 834 | net/inet/ip.c | if (qp->len == 0) |
qp | 838 | net/inet/ip.c | fp = qp->fragments; |
qp | 862 | net/inet/ip.c | static struct sk_buff *ip_glue(struct ipq *qp) |
qp | 874 | net/inet/ip.c | len = qp->maclen + qp->ihlen + qp->len; |
qp | 879 | net/inet/ip.c | printk("IP: queue_glue: no memory for gluing queue 0x%X\n", (int) qp); |
qp | 880 | net/inet/ip.c | ip_free(qp); |
qp | 885 | net/inet/ip.c | skb->len = (len - qp->maclen); |
qp | 891 | net/inet/ip.c | memcpy(ptr, ((unsigned char *) qp->mac), qp->maclen); |
qp | 892 | net/inet/ip.c | ptr += qp->maclen; |
qp | 893 | net/inet/ip.c | memcpy(ptr, ((unsigned char *) qp->iph), qp->ihlen); |
qp | 894 | net/inet/ip.c | ptr += qp->ihlen; |
qp | 895 | net/inet/ip.c | skb->h.raw += qp->maclen; |
qp | 900 | net/inet/ip.c | fp = qp->fragments; |
qp | 906 | net/inet/ip.c | ip_free(qp); |
qp | 917 | net/inet/ip.c | ip_free(qp); |
qp | 938 | net/inet/ip.c | struct ipq *qp; |
qp | 947 | net/inet/ip.c | qp = ip_find(iph); |
qp | 955 | net/inet/ip.c | if (qp != NULL) |
qp | 956 | net/inet/ip.c | ip_free(qp); /* Huh? How could this exist?? */ |
qp | 968 | net/inet/ip.c | if (qp != NULL) |
qp | 970 | net/inet/ip.c | del_timer(&qp->timer); |
qp | 971 | net/inet/ip.c | qp->timer.expires = IP_FRAG_TIME; /* about 30 seconds */ |
qp | 972 | net/inet/ip.c | qp->timer.data = (unsigned long) qp; /* pointer to queue */ |
qp | 973 | net/inet/ip.c | qp->timer.function = ip_expire; /* expire function */ |
qp | 974 | net/inet/ip.c | add_timer(&qp->timer); |
qp | 981 | net/inet/ip.c | if ((qp = ip_create(skb, iph, dev)) == NULL) |
qp | 1008 | net/inet/ip.c | qp->len = end; |
qp | 1017 | net/inet/ip.c | for(next = qp->fragments; next != NULL; next = next->next) |
qp | 1061 | net/inet/ip.c | qp->fragments = next->next; |
qp | 1093 | net/inet/ip.c | qp->fragments = tfp; |
qp | 1104 | net/inet/ip.c | if (ip_done(qp)) |
qp | 1106 | net/inet/ip.c | skb2 = ip_glue(qp); /* glue together the fragments */ |