tag | line | file | source code |
qp | 89 | drivers/block/mcd.c | static int GetQChannelInfo(struct mcd_Toc *qp); |
qp | 1045 | drivers/block/mcd.c | GetQChannelInfo(struct mcd_Toc *qp) |
qp | 1060 | drivers/block/mcd.c | if (getValue(&qp -> ctrl_addr) < 0) return -1; |
qp | 1061 | drivers/block/mcd.c | if (getValue(&qp -> track) < 0) return -1; |
qp | 1062 | drivers/block/mcd.c | if (getValue(&qp -> pointIndex) < 0) return -1; |
qp | 1063 | drivers/block/mcd.c | if (getValue(&qp -> trackTime.min) < 0) return -1; |
qp | 1064 | drivers/block/mcd.c | if (getValue(&qp -> trackTime.sec) < 0) return -1; |
qp | 1065 | drivers/block/mcd.c | if (getValue(&qp -> trackTime.frame) < 0) return -1; |
qp | 1067 | drivers/block/mcd.c | if (getValue(&qp -> diskTime.min) < 0) return -1; |
qp | 1068 | drivers/block/mcd.c | if (getValue(&qp -> diskTime.sec) < 0) return -1; |
qp | 1069 | drivers/block/mcd.c | if (getValue(&qp -> diskTime.frame) < 0) return -1; |
qp | 284 | drivers/char/keyboard.c | struct tty_queue *qp; |
qp | 289 | drivers/char/keyboard.c | qp = &tty->read_q; |
qp | 291 | drivers/char/keyboard.c | if (LEFT(qp)) { |
qp | 292 | drivers/char/keyboard.c | qp->buf[qp->head] = ch; |
qp | 293 | drivers/char/keyboard.c | INC(qp->head); |
qp | 294 | drivers/char/keyboard.c | wake_up_interruptible(&qp->proc_list); |
qp | 300 | drivers/char/keyboard.c | struct tty_queue *qp; |
qp | 307 | drivers/char/keyboard.c | qp = &tty->read_q; |
qp | 310 | drivers/char/keyboard.c | if (LEFT(qp)) { |
qp | 311 | drivers/char/keyboard.c | qp->buf[qp->head] = ch; |
qp | 312 | drivers/char/keyboard.c | INC(qp->head); |
qp | 315 | drivers/char/keyboard.c | wake_up_interruptible(&qp->proc_list); |
qp | 541 | net/inet/ip.c | struct ipq *qp; |
qp | 546 | net/inet/ip.c | for(qp = ipqueue; qp != NULL; qplast = qp, qp = qp->next) |
qp | 548 | net/inet/ip.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
qp | 549 | net/inet/ip.c | iph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol) |
qp | 551 | net/inet/ip.c | del_timer(&qp->timer); /* So it doesnt vanish on us. The timer will be reset anyway */ |
qp | 553 | net/inet/ip.c | return(qp); |
qp | 567 | net/inet/ip.c | static void ip_free(struct ipq *qp) |
qp | 574 | net/inet/ip.c | del_timer(&qp->timer); |
qp | 578 | net/inet/ip.c | if (qp->prev == NULL) |
qp | 580 | net/inet/ip.c | ipqueue = qp->next; |
qp | 586 | net/inet/ip.c | qp->prev->next = qp->next; |
qp | 587 | net/inet/ip.c | if (qp->next != NULL) |
qp | 588 | net/inet/ip.c | qp->next->prev = qp->prev; |
qp | 593 | net/inet/ip.c | fp = qp->fragments; |
qp | 606 | net/inet/ip.c | kfree_s(qp->mac, qp->maclen); |
qp | 609 | net/inet/ip.c | kfree_s(qp->iph, qp->ihlen + 8); |
qp | 612 | net/inet/ip.c | kfree_s(qp, sizeof(struct ipq)); |
qp | 622 | net/inet/ip.c | struct ipq *qp; |
qp | 624 | net/inet/ip.c | qp = (struct ipq *)arg; |
qp | 625 | net/inet/ip.c | DPRINTF((DBG_IP, "IP: queue_expire: fragment queue 0x%X timed out!\n", qp)); |
qp | 629 | net/inet/ip.c | icmp_send(qp->iph->ip_src.s_addr, ICMP_TIME_EXCEEDED, |
qp | 630 | net/inet/ip.c | ICMP_EXC_FRAGTIME, qp->iph); |
qp | 632 | net/inet/ip.c | if(qp->fragments!=NULL) |
qp | 633 | net/inet/ip.c | icmp_send(qp->fragments->skb,ICMP_TIME_EXCEEDED, |
qp | 634 | net/inet/ip.c | ICMP_EXC_FRAGTIME, qp->dev); |
qp | 637 | net/inet/ip.c | ip_free(qp); |
qp | 650 | net/inet/ip.c | struct ipq *qp; |
qp | 654 | net/inet/ip.c | qp = (struct ipq *) kmalloc(sizeof(struct ipq), GFP_ATOMIC); |
qp | 655 | net/inet/ip.c | if (qp == NULL) |
qp | 660 | net/inet/ip.c | memset(qp, 0, sizeof(struct ipq)); |
qp | 664 | net/inet/ip.c | qp->mac = (unsigned char *) kmalloc(maclen, GFP_ATOMIC); |
qp | 665 | net/inet/ip.c | if (qp->mac == NULL) |
qp | 668 | net/inet/ip.c | kfree_s(qp, sizeof(struct ipq)); |
qp | 674 | net/inet/ip.c | qp->iph = (struct iphdr *) kmalloc(ihlen + 8, GFP_ATOMIC); |
qp | 675 | net/inet/ip.c | if (qp->iph == NULL) |
qp | 678 | net/inet/ip.c | kfree_s(qp->mac, maclen); |
qp | 679 | net/inet/ip.c | kfree_s(qp, sizeof(struct ipq)); |
qp | 684 | net/inet/ip.c | memcpy(qp->mac, (skb + 1), maclen); |
qp | 685 | net/inet/ip.c | memcpy(qp->iph, iph, ihlen + 8); |
qp | 686 | net/inet/ip.c | qp->len = 0; |
qp | 687 | net/inet/ip.c | qp->ihlen = ihlen; |
qp | 688 | net/inet/ip.c | qp->maclen = maclen; |
qp | 689 | net/inet/ip.c | qp->fragments = NULL; |
qp | 690 | net/inet/ip.c | qp->dev = dev; |
qp | 694 | net/inet/ip.c | qp->timer.expires = IP_FRAG_TIME; /* about 30 seconds */ |
qp | 695 | net/inet/ip.c | qp->timer.data = (unsigned long) qp; /* pointer to queue */ |
qp | 696 | net/inet/ip.c | qp->timer.function = ip_expire; /* expire function */ |
qp | 697 | net/inet/ip.c | add_timer(&qp->timer); |
qp | 700 | net/inet/ip.c | qp->prev = NULL; |
qp | 702 | net/inet/ip.c | qp->next = ipqueue; |
qp | 703 | net/inet/ip.c | if (qp->next != NULL) |
qp | 704 | net/inet/ip.c | qp->next->prev = qp; |
qp | 705 | net/inet/ip.c | ipqueue = qp; |
qp | 707 | net/inet/ip.c | return(qp); |
qp | 712 | net/inet/ip.c | static int ip_done(struct ipq *qp) |
qp | 718 | net/inet/ip.c | if (qp->len == 0) |
qp | 722 | net/inet/ip.c | fp = qp->fragments; |
qp | 738 | net/inet/ip.c | static struct sk_buff *ip_glue(struct ipq *qp) |
qp | 747 | net/inet/ip.c | len = sizeof(struct sk_buff)+qp->maclen + qp->ihlen + qp->len; |
qp | 750 | net/inet/ip.c | printk("IP: queue_glue: no memory for glueing queue 0x%X\n", (int) qp); |
qp | 751 | net/inet/ip.c | ip_free(qp); |
qp | 756 | net/inet/ip.c | skb->len = (len - qp->maclen); |
qp | 763 | net/inet/ip.c | memcpy(ptr, ((unsigned char *) qp->mac), qp->maclen); |
qp | 765 | net/inet/ip.c | ptr += qp->maclen; |
qp | 766 | net/inet/ip.c | memcpy(ptr, ((unsigned char *) qp->iph), qp->ihlen); |
qp | 768 | net/inet/ip.c | ptr += qp->ihlen; |
qp | 769 | net/inet/ip.c | skb->h.raw += qp->maclen; |
qp | 775 | net/inet/ip.c | fp = qp->fragments; |
qp | 791 | net/inet/ip.c | ip_free(qp); |
qp | 806 | net/inet/ip.c | struct ipq *qp; |
qp | 813 | net/inet/ip.c | qp = ip_find(iph); |
qp | 821 | net/inet/ip.c | if (qp != NULL) |
qp | 822 | net/inet/ip.c | ip_free(qp); /* Huh? How could this exist?? */ |
qp | 832 | net/inet/ip.c | if (qp != NULL) |
qp | 834 | net/inet/ip.c | del_timer(&qp->timer); |
qp | 835 | net/inet/ip.c | qp->timer.expires = IP_FRAG_TIME; /* about 30 seconds */ |
qp | 836 | net/inet/ip.c | qp->timer.data = (unsigned long) qp; /* pointer to queue */ |
qp | 837 | net/inet/ip.c | qp->timer.function = ip_expire; /* expire function */ |
qp | 838 | net/inet/ip.c | add_timer(&qp->timer); |
qp | 842 | net/inet/ip.c | if ((qp = ip_create(skb, iph, dev)) == NULL) |
qp | 855 | net/inet/ip.c | qp->len = end; |
qp | 863 | net/inet/ip.c | for(next = qp->fragments; next != NULL; next = next->next) |
qp | 907 | net/inet/ip.c | qp->fragments = next->next; |
qp | 925 | net/inet/ip.c | qp->fragments = tfp; |
qp | 936 | net/inet/ip.c | if (ip_done(qp)) |
qp | 938 | net/inet/ip.c | skb2 = ip_glue(qp); /* glue together the fragments */ |