tag | line | file | source code |
hdr | 60 | arch/ppc/kernel/stubs.c | _udp_check(unsigned char *buf, int len, int saddr, int daddr, int hdr); |
hdr | 66 | arch/ppc/kernel/stubs.c | int hdr; |
hdr | 67 | arch/ppc/kernel/stubs.c | hdr = (len << 16) + IPPROTO_UDP; |
hdr | 68 | arch/ppc/kernel/stubs.c | _val = _udp_check(buf, len, saddr, daddr, hdr); |
hdr | 77 | arch/ppc/kernel/stubs.c | _tcp_check(unsigned char *buf, int len, int saddr, int daddr, int hdr); |
hdr | 83 | arch/ppc/kernel/stubs.c | int hdr; |
hdr | 84 | arch/ppc/kernel/stubs.c | hdr = (len << 16) + IPPROTO_TCP; |
hdr | 86 | arch/ppc/kernel/stubs.c | _val = _tcp_check(buf, len, saddr, daddr, hdr); |
hdr | 434 | arch/ppc/mm/init.c | MMU_free_item(struct item *hdr, struct item *elem) |
hdr | 436 | arch/ppc/mm/init.c | if (hdr->next == (struct item *)NULL) |
hdr | 441 | arch/ppc/mm/init.c | elem->next = hdr->next; |
hdr | 443 | arch/ppc/mm/init.c | hdr->next = elem; |
hdr | 447 | arch/ppc/mm/init.c | MMU_get_item(struct item *hdr) |
hdr | 450 | arch/ppc/mm/init.c | if ((item = hdr->next) != (struct item *)NULL) |
hdr | 452 | arch/ppc/mm/init.c | item = hdr->next; |
hdr | 453 | arch/ppc/mm/init.c | hdr->next = item->next; |
hdr | 1665 | drivers/block/ide-cd.c | struct atapi_toc_header hdr; |
hdr | 1698 | drivers/block/ide-cd.c | stat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr, |
hdr | 1707 | drivers/block/ide-cd.c | toc->hdr.first_track = bcd2bin (toc->hdr.first_track); |
hdr | 1708 | drivers/block/ide-cd.c | toc->hdr.last_track = bcd2bin (toc->hdr.last_track); |
hdr | 1713 | drivers/block/ide-cd.c | ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; |
hdr | 1718 | drivers/block/ide-cd.c | stat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr, |
hdr | 1723 | drivers/block/ide-cd.c | toc->hdr.toc_length = ntohs (toc->hdr.toc_length); |
hdr | 1728 | drivers/block/ide-cd.c | toc->hdr.first_track = bcd2bin (toc->hdr.first_track); |
hdr | 1729 | drivers/block/ide-cd.c | toc->hdr.last_track = bcd2bin (toc->hdr.last_track); |
hdr | 1769 | drivers/block/ide-cd.c | toc->xa_flag = (ms_tmp.hdr.first_track != ms_tmp.hdr.last_track); |
hdr | 1961 | drivers/block/ide-cd.c | ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; |
hdr | 1964 | drivers/block/ide-cd.c | else if (track < toc->hdr.first_track || |
hdr | 1965 | drivers/block/ide-cd.c | track > toc->hdr.last_track) |
hdr | 1968 | drivers/block/ide-cd.c | *ent = &toc->ent[track - toc->hdr.first_track]; |
hdr | 2127 | drivers/block/ide-cd.c | tochdr.cdth_trk0 = toc->hdr.first_track; |
hdr | 2128 | drivers/block/ide-cd.c | tochdr.cdth_trk1 = toc->hdr.last_track; |
hdr | 216 | drivers/block/ide.h | struct atapi_toc_header hdr; |
hdr | 2470 | drivers/cdrom/cdu31a.c | struct cdrom_tochdr *hdr; |
hdr | 2479 | drivers/cdrom/cdu31a.c | hdr = (struct cdrom_tochdr *) arg; |
hdr | 2480 | drivers/cdrom/cdu31a.c | i=verify_area(VERIFY_WRITE, hdr, sizeof(*hdr)); |
hdr | 2485 | drivers/cdrom/cdu31a.c | memcpy_tofs(hdr, &loc_hdr, sizeof(*hdr)); |
hdr | 1203 | drivers/cdrom/sonycd535.c | struct cdrom_tochdr *hdr; |
hdr | 1209 | drivers/cdrom/sonycd535.c | hdr = (struct cdrom_tochdr *)arg; |
hdr | 1210 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_WRITE, hdr, sizeof *hdr); |
hdr | 1215 | drivers/cdrom/sonycd535.c | memcpy_tofs(hdr, &loc_hdr, sizeof *hdr); |
hdr | 79 | drivers/net/3c503.c | static void el2_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 474 | drivers/net/3c503.c | el2_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 483 | drivers/net/3c503.c | memcpy_fromio(hdr, hdr_start, sizeof(struct e8390_pkt_hdr)); |
hdr | 485 | drivers/net/3c503.c | ((unsigned int*)hdr)[0] = readl(hdr_start); |
hdr | 506 | drivers/net/3c503.c | ((char *)(hdr))[i] = inb_p(E33G_FIFOH); |
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 | 538 | drivers/net/arcnet.c | struct ClientData *hdr; /* clientdata of last packet */ |
hdr | 602 | drivers/net/arcnet.c | static void arcnetAS_prepare_tx(struct device *dev,u_char *hdr,int hdrlen, |
hdr | 1420 | drivers/net/arcnet.c | out->hdr=(struct ClientData*)skb->data; |
hdr | 1434 | drivers/net/arcnet.c | out->hdr->sequence=(lp->sequence++); |
hdr | 1440 | drivers/net/arcnet.c | out->length,out->hdr->split_flag); |
hdr | 1441 | drivers/net/arcnet.c | if (out->hdr->split_flag) |
hdr | 1443 | drivers/net/arcnet.c | out->hdr->split_flag); |
hdr | 1447 | drivers/net/arcnet.c | ((char *)out->hdr)+EXTRA_CLIENTDATA, |
hdr | 1451 | drivers/net/arcnet.c | out->hdr->daddr,1); |
hdr | 1646 | drivers/net/arcnet.c | struct S_ClientData *hdr=(struct S_ClientData *)skb->data; |
hdr | 1680 | drivers/net/arcnet.c | hdr->daddr,0); |
hdr | 1739 | drivers/net/arcnet.c | out->hdr->split_flag=((out->numsegs-2)<<1)+1; |
hdr | 1741 | drivers/net/arcnet.c | out->hdr->split_flag=out->segnum<<1; |
hdr | 1748 | drivers/net/arcnet.c | out->length,out->hdr->split_flag); |
hdr | 1750 | drivers/net/arcnet.c | arcnetAS_prepare_tx(dev,((char *)out->hdr)+EXTRA_CLIENTDATA, |
hdr | 1752 | drivers/net/arcnet.c | out->data,out->seglen,out->hdr->daddr,1); |
hdr | 1764 | drivers/net/arcnet.c | arcnetAS_prepare_tx(struct device *dev,u_char *hdr,int hdrlen, |
hdr | 1778 | drivers/net/arcnet.c | hdr,length,data); |
hdr | 1812 | drivers/net/arcnet.c | arcpacket->raw[offset+0]=hdr[0]; |
hdr | 1833 | drivers/net/arcnet.c | (u_char*)hdr,hdrlen); |
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 | 100 | drivers/net/ne.c | static void ne_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, |
hdr | 411 | drivers/net/ne.c | ne_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page) |
hdr | 434 | drivers/net/ne.c | insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); |
hdr | 436 | drivers/net/ne.c | insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); |
hdr | 2893 | drivers/net/ppp.c | struct ppp_hdr *hdr; |
hdr | 2966 | drivers/net/ppp.c | hdr = &((struct ppp_hdr *) data)[-1]; |
hdr | 2968 | drivers/net/ppp.c | hdr->address = PPP_ALLSTATIONS; |
hdr | 2969 | drivers/net/ppp.c | hdr->control = PPP_UI; |
hdr | 2970 | drivers/net/ppp.c | hdr->protocol[0] = 0; |
hdr | 2971 | drivers/net/ppp.c | hdr->protocol[1] = proto; |
hdr | 2973 | drivers/net/ppp.c | return ppp_dev_xmit_frame (ppp, ppp->wbuf, (u_char *) hdr, len); |
hdr | 2988 | drivers/net/ppp.c | struct ppp_hdr *hdr; |
hdr | 2995 | drivers/net/ppp.c | hdr = (struct ppp_hdr *) kmalloc (len + sizeof (struct ppp_hdr), |
hdr | 2998 | drivers/net/ppp.c | if (hdr == NULL) |
hdr | 3001 | drivers/net/ppp.c | memcpy (&hdr[1], data, len); |
hdr | 3002 | drivers/net/ppp.c | answer = ppp_dev_xmit_ip1 (dev, ppp, (u_char *) &hdr[1]); |
hdr | 3003 | drivers/net/ppp.c | kfree (hdr); |
hdr | 3022 | drivers/net/ppp.c | struct ppp_hdr *hdr; |
hdr | 3069 | drivers/net/ppp.c | hdr = &((struct ppp_hdr *) data)[-1]; |
hdr | 3071 | drivers/net/ppp.c | hdr->address = PPP_ALLSTATIONS; |
hdr | 3072 | drivers/net/ppp.c | hdr->control = PPP_UI; |
hdr | 3073 | drivers/net/ppp.c | hdr->protocol[0] = proto >> 8; |
hdr | 3074 | drivers/net/ppp.c | hdr->protocol[1] = proto; |
hdr | 3076 | drivers/net/ppp.c | return ppp_dev_xmit_frame (ppp, ppp->wbuf, (u_char *) hdr, len); |
hdr | 3092 | drivers/net/ppp.c | struct ppp_hdr *hdr; |
hdr | 3095 | drivers/net/ppp.c | hdr = (struct ppp_hdr *) kmalloc (len + sizeof (struct ppp_hdr), |
hdr | 3097 | drivers/net/ppp.c | if (hdr == NULL) |
hdr | 3100 | drivers/net/ppp.c | memcpy (&hdr[1], data, len); |
hdr | 3101 | drivers/net/ppp.c | answer = ppp_dev_xmit_ipx1 (dev, ppp, (u_char *) &hdr[1], |
hdr | 3103 | drivers/net/ppp.c | kfree (hdr); |
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); |