tag | line | file | source code |
hdr | 65 | arch/ppc/kernel/stubs.c | _udp_check(unsigned char *buf, int len, int saddr, int daddr, int hdr); |
hdr | 71 | arch/ppc/kernel/stubs.c | int hdr; |
hdr | 72 | arch/ppc/kernel/stubs.c | hdr = (len << 16) + IPPROTO_UDP; |
hdr | 73 | arch/ppc/kernel/stubs.c | _val = _udp_check(buf, len, saddr, daddr, hdr); |
hdr | 82 | arch/ppc/kernel/stubs.c | _tcp_check(unsigned char *buf, int len, int saddr, int daddr, int hdr); |
hdr | 88 | arch/ppc/kernel/stubs.c | int hdr; |
hdr | 89 | arch/ppc/kernel/stubs.c | hdr = (len << 16) + IPPROTO_TCP; |
hdr | 91 | arch/ppc/kernel/stubs.c | _val = _tcp_check(buf, len, saddr, daddr, hdr); |
hdr | 430 | arch/ppc/mm/init.c | MMU_free_item(struct item *hdr, struct item *elem) |
hdr | 432 | arch/ppc/mm/init.c | if (hdr->next == (struct item *)NULL) |
hdr | 437 | arch/ppc/mm/init.c | elem->next = hdr->next; |
hdr | 439 | arch/ppc/mm/init.c | hdr->next = elem; |
hdr | 443 | arch/ppc/mm/init.c | MMU_get_item(struct item *hdr) |
hdr | 446 | arch/ppc/mm/init.c | if ((item = hdr->next) != (struct item *)NULL) |
hdr | 448 | arch/ppc/mm/init.c | item = hdr->next; |
hdr | 449 | arch/ppc/mm/init.c | hdr->next = item->next; |
hdr | 1648 | drivers/block/ide-cd.c | struct atapi_toc_header hdr; |
hdr | 1672 | drivers/block/ide-cd.c | stat = cdrom_read_tocentry (drive, 0, 1, 0, (char *)&toc->hdr, |
hdr | 1680 | drivers/block/ide-cd.c | toc->hdr.first_track = bcd2bin (toc->hdr.first_track); |
hdr | 1681 | drivers/block/ide-cd.c | toc->hdr.last_track = bcd2bin (toc->hdr.last_track); |
hdr | 1685 | drivers/block/ide-cd.c | ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; |
hdr | 1690 | drivers/block/ide-cd.c | stat = cdrom_read_tocentry (drive, 0, 1, 0, (char *)&toc->hdr, |
hdr | 1696 | drivers/block/ide-cd.c | toc->hdr.toc_length = ntohs (toc->hdr.toc_length); |
hdr | 1700 | drivers/block/ide-cd.c | toc->hdr.first_track = bcd2bin (toc->hdr.first_track); |
hdr | 1701 | drivers/block/ide-cd.c | toc->hdr.last_track = bcd2bin (toc->hdr.last_track); |
hdr | 1733 | drivers/block/ide-cd.c | toc->xa_flag = (ms_tmp.hdr.first_track != ms_tmp.hdr.last_track); |
hdr | 1890 | drivers/block/ide-cd.c | ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; |
hdr | 1893 | drivers/block/ide-cd.c | else if (track < toc->hdr.first_track || |
hdr | 1894 | drivers/block/ide-cd.c | track > toc->hdr.last_track) |
hdr | 1897 | drivers/block/ide-cd.c | *ent = &toc->ent[track - toc->hdr.first_track]; |
hdr | 2069 | drivers/block/ide-cd.c | tochdr.cdth_trk0 = toc->hdr.first_track; |
hdr | 2070 | drivers/block/ide-cd.c | tochdr.cdth_trk1 = toc->hdr.last_track; |
hdr | 221 | drivers/block/ide.h | struct atapi_toc_header hdr; |
hdr | 2472 | drivers/cdrom/cdu31a.c | struct cdrom_tochdr *hdr; |
hdr | 2481 | drivers/cdrom/cdu31a.c | hdr = (struct cdrom_tochdr *) arg; |
hdr | 2482 | drivers/cdrom/cdu31a.c | i=verify_area(VERIFY_WRITE, hdr, sizeof(*hdr)); |
hdr | 2487 | drivers/cdrom/cdu31a.c | memcpy_tofs(hdr, &loc_hdr, sizeof(*hdr)); |
hdr | 1205 | drivers/cdrom/sonycd535.c | struct cdrom_tochdr *hdr; |
hdr | 1211 | drivers/cdrom/sonycd535.c | hdr = (struct cdrom_tochdr *)arg; |
hdr | 1212 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_WRITE, hdr, sizeof *hdr); |
hdr | 1217 | drivers/cdrom/sonycd535.c | memcpy_tofs(hdr, &loc_hdr, sizeof *hdr); |
hdr | 81 | drivers/net/3c503.c | static void el2_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 507 | drivers/net/3c503.c | el2_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 514 | drivers/net/3c503.c | memcpy_fromio(hdr, hdr_start, sizeof(struct e8390_pkt_hdr)); |
hdr | 534 | drivers/net/3c503.c | memset(hdr, 0x00, sizeof(struct e8390_pkt_hdr)); |
hdr | 539 | drivers/net/3c503.c | insw(E33G_FIFOH, hdr, (sizeof(struct e8390_pkt_hdr))>> 1); |
hdr | 79 | drivers/net/ac3200.c | static void ac_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 260 | drivers/net/ac3200.c | ac_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 263 | drivers/net/ac3200.c | memcpy_fromio(hdr, hdr_start, sizeof(struct e8390_pkt_hdr)); |
hdr | 535 | drivers/net/arcnet.c | struct ClientData *hdr; /* clientdata of last packet */ |
hdr | 610 | drivers/net/arcnet.c | static void arcnetAS_prepare_tx(struct device *dev,u_char *hdr,int hdrlen, |
hdr | 1592 | drivers/net/arcnet.c | out->hdr=(struct ClientData*)skb->data; |
hdr | 1597 | drivers/net/arcnet.c | out->hdr->sequence=(lp->sequence++); |
hdr | 1603 | drivers/net/arcnet.c | out->length,out->hdr->split_flag); |
hdr | 1604 | drivers/net/arcnet.c | if (out->hdr->split_flag) |
hdr | 1606 | drivers/net/arcnet.c | out->hdr->split_flag); |
hdr | 1610 | drivers/net/arcnet.c | ((char *)out->hdr)+EXTRA_CLIENTDATA, |
hdr | 1614 | drivers/net/arcnet.c | out->hdr->daddr,1); |
hdr | 1706 | drivers/net/arcnet.c | out->hdr->split_flag=((out->numsegs-2)<<1)+1; |
hdr | 1708 | drivers/net/arcnet.c | out->hdr->split_flag=out->segnum<<1; |
hdr | 1715 | drivers/net/arcnet.c | out->length,out->hdr->split_flag); |
hdr | 1717 | drivers/net/arcnet.c | arcnetAS_prepare_tx(dev,((char *)out->hdr)+EXTRA_CLIENTDATA, |
hdr | 1719 | drivers/net/arcnet.c | out->data,out->seglen,out->hdr->daddr,1); |
hdr | 1731 | drivers/net/arcnet.c | arcnetAS_prepare_tx(struct device *dev,u_char *hdr,int hdrlen, |
hdr | 1749 | drivers/net/arcnet.c | hdr,length,data); |
hdr | 1785 | drivers/net/arcnet.c | arcpacket->raw[offset+0]=hdr[0]; |
hdr | 1806 | drivers/net/arcnet.c | (u_char*)hdr,hdrlen); |
hdr | 2938 | drivers/net/arcnet.c | struct S_ClientData *hdr=(struct S_ClientData *)skb->data; |
hdr | 2963 | drivers/net/arcnet.c | hdr->daddr,0); |
hdr | 123 | drivers/net/dlci.c | struct frhdr hdr; |
hdr | 130 | drivers/net/dlci.c | hdr.control = FRAD_I_UI; |
hdr | 134 | drivers/net/dlci.c | hdr.IP_NLPID = FRAD_P_IP; |
hdr | 135 | drivers/net/dlci.c | hlen = sizeof(hdr.control) + sizeof(hdr.IP_NLPID); |
hdr | 141 | drivers/net/dlci.c | hdr.pad = FRAD_P_PADDING; |
hdr | 142 | drivers/net/dlci.c | hdr.NLPID = FRAD_P_SNAP; |
hdr | 143 | drivers/net/dlci.c | memset(hdr.OUI, 0, sizeof(hdr.OUI)); |
hdr | 144 | drivers/net/dlci.c | hdr.PID = type; |
hdr | 145 | drivers/net/dlci.c | hlen = sizeof(hdr); |
hdr | 153 | drivers/net/dlci.c | memcpy(dest, &hdr, hlen); |
hdr | 161 | drivers/net/dlci.c | struct frhdr *hdr; |
hdr | 165 | drivers/net/dlci.c | hdr = (struct frhdr *) skb->data; |
hdr | 170 | drivers/net/dlci.c | if (hdr->control != FRAD_I_UI) |
hdr | 172 | drivers/net/dlci.c | printk(KERN_NOTICE "%s: Invalid header flag 0x%02X.\n", dev->name, hdr->control); |
hdr | 176 | drivers/net/dlci.c | switch(hdr->IP_NLPID) |
hdr | 179 | drivers/net/dlci.c | if (hdr->NLPID != FRAD_P_SNAP) |
hdr | 181 | drivers/net/dlci.c | printk(KERN_NOTICE "%s: Unsupported NLPID 0x%02X.\n", dev->name, hdr->NLPID); |
hdr | 186 | drivers/net/dlci.c | if (hdr->OUI[0] + hdr->OUI[1] + hdr->OUI[2] != 0) |
hdr | 188 | drivers/net/dlci.c | printk(KERN_NOTICE "%s: Unsupported organizationally unique identifier 0x%02X-%02X-%02X.\n", dev->name, hdr->OUI[0], hdr->OUI[1], hdr->OUI[2]); |
hdr | 195 | drivers/net/dlci.c | skb->protocol = htons(hdr->PID); |
hdr | 200 | drivers/net/dlci.c | header = sizeof(hdr->control) + sizeof(hdr->IP_NLPID); |
hdr | 208 | drivers/net/dlci.c | printk(KERN_NOTICE "%s: Unsupported NLPID 0x%02X.\n", dev->name, hdr->pad); |
hdr | 213 | drivers/net/dlci.c | printk(KERN_NOTICE "%s: Invalid pad byte 0x%02X.\n", dev->name, hdr->pad); |
hdr | 105 | drivers/net/e2100.c | static void e21_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 294 | drivers/net/e2100.c | e21_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 304 | drivers/net/e2100.c | memcpy_fromio(hdr, shared_mem, sizeof(struct e8390_pkt_hdr)); |
hdr | 306 | drivers/net/e2100.c | ((unsigned int*)hdr)[0] = readl(shared_mem); |
hdr | 105 | drivers/net/hp-plus.c | static void hpp_mem_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 111 | drivers/net/hp-plus.c | static void hpp_io_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 329 | drivers/net/hp-plus.c | hpp_io_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 334 | drivers/net/hp-plus.c | insw(ioaddr + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); |
hdr | 354 | drivers/net/hp-plus.c | hpp_mem_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 361 | drivers/net/hp-plus.c | memcpy_fromio(hdr, dev->mem_start, sizeof(struct e8390_pkt_hdr)); |
hdr | 363 | drivers/net/hp-plus.c | hdr->count = (hdr->count + 3) & ~3; /* Round up allocation. */ |
hdr | 63 | drivers/net/hp.c | static void hp_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 249 | drivers/net/hp.c | hp_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 263 | drivers/net/hp.c | insw(nic_base - NIC_OFFSET + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); |
hdr | 265 | drivers/net/hp.c | insb(nic_base - NIC_OFFSET + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); |
hdr | 106 | drivers/net/ne.c | static void ne_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 461 | drivers/net/ne.c | ne_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 484 | drivers/net/ne.c | insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); |
hdr | 486 | drivers/net/ne.c | insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); |
hdr | 2851 | drivers/net/ppp.c | struct ppp_hdr *hdr; |
hdr | 2956 | drivers/net/ppp.c | hdr = &((struct ppp_hdr *) data)[-1]; |
hdr | 2958 | drivers/net/ppp.c | hdr->address = PPP_ALLSTATIONS; |
hdr | 2959 | drivers/net/ppp.c | hdr->control = PPP_UI; |
hdr | 2960 | drivers/net/ppp.c | hdr->protocol[0] = 0; |
hdr | 2961 | drivers/net/ppp.c | hdr->protocol[1] = proto; |
hdr | 2963 | drivers/net/ppp.c | return ppp_dev_xmit_frame (ppp, ppp->wbuf, (__u8 *) hdr, len); |
hdr | 2977 | drivers/net/ppp.c | struct ppp_hdr *hdr; |
hdr | 3024 | drivers/net/ppp.c | hdr = &((struct ppp_hdr *) data)[-1]; |
hdr | 3026 | drivers/net/ppp.c | hdr->address = PPP_ALLSTATIONS; |
hdr | 3027 | drivers/net/ppp.c | hdr->control = PPP_UI; |
hdr | 3028 | drivers/net/ppp.c | hdr->protocol[0] = proto >> 8; |
hdr | 3029 | drivers/net/ppp.c | hdr->protocol[1] = proto; |
hdr | 3031 | drivers/net/ppp.c | return ppp_dev_xmit_frame (ppp, ppp->wbuf, (__u8 *) hdr, len); |
hdr | 70 | drivers/net/smc-ultra.c | static void ultra_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 267 | drivers/net/smc-ultra.c | ultra_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 275 | drivers/net/smc-ultra.c | memcpy_fromio(hdr, hdr_start, sizeof(struct e8390_pkt_hdr)); |
hdr | 277 | drivers/net/smc-ultra.c | ((unsigned int*)hdr)[0] = readl(hdr_start); |
hdr | 52 | drivers/net/wd.c | static void wd_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 351 | drivers/net/wd.c | wd_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 364 | drivers/net/wd.c | memcpy_fromio(hdr, hdr_start, sizeof(struct e8390_pkt_hdr)); |
hdr | 366 | drivers/net/wd.c | ((unsigned int*)hdr)[0] = readl(hdr_start); |