/linux-2.4.37.9/net/ipv6/netfilter/ |
D | ip6t_frag.c | 47 struct frag_hdr *frag = NULL; in match() local 128 frag = (struct frag_hdr *) (skb->data + ptr); in match() 130 DEBUGP("INFO %04X ", frag->frag_off); in match() 131 DEBUGP("OFFSET %04X ", ntohs(frag->frag_off) & ~0x7); in match() 132 DEBUGP("RES %02X %04X", frag->reserved, ntohs(frag->frag_off) & 0x6); in match() 133 DEBUGP("MF %04X ", frag->frag_off & htons(IP6_MF)); in match() 134 DEBUGP("ID %u %08X\n", ntohl(frag->identification), in match() 135 ntohl(frag->identification)); in match() 139 ntohl(frag->identification), in match() 142 (fraginfo->flags & IP6T_FRAG_RES), frag->reserved, in match() [all …]
|
/linux-2.4.37.9/fs/jffs2/ |
D | file.c | 225 struct jffs2_node_frag *frag = f->fraglist; in jffs2_do_readpage_nolock() local 236 while(frag && frag->ofs + frag->size <= offset) { in jffs2_do_readpage_nolock() 238 frag = frag->next; in jffs2_do_readpage_nolock() 248 if (!frag || frag->ofs > offset) { in jffs2_do_readpage_nolock() 250 if (frag) { in jffs2_do_readpage_nolock() 251 …ole in ino %ld fraglist. frag->ofs = 0x%08x, offset = 0x%08x\n", inode->i_ino, frag->ofs, offset)); in jffs2_do_readpage_nolock() 252 holesize = min(holesize, frag->ofs - offset); in jffs2_do_readpage_nolock() 260 } else if (frag->ofs < offset && (offset & (PAGE_CACHE_SIZE-1)) != 0) { in jffs2_do_readpage_nolock() 262 inode->i_ino, frag->ofs, offset)); in jffs2_do_readpage_nolock() 269 } else if (!frag->node) { in jffs2_do_readpage_nolock() [all …]
|
D | gc.c | 109 struct jffs2_node_frag *frag; in jffs2_garbage_collect_pass() local 229 for (frag = f->fraglist; frag; frag = frag->next) { in jffs2_garbage_collect_pass() 230 if (frag->node && frag->node->raw == raw) { in jffs2_garbage_collect_pass() 231 fn = frag->node; in jffs2_garbage_collect_pass() 232 end = frag->ofs + frag->size; in jffs2_garbage_collect_pass() 234 start = frag->ofs; in jffs2_garbage_collect_pass() 235 if (nrfrags == frag->node->frags) in jffs2_garbage_collect_pass() 447 struct jffs2_node_frag *frag; in jffs2_garbage_collect_hole() local 549 for (frag = f->fraglist; frag; frag = frag->next) { in jffs2_garbage_collect_hole() 550 if (frag->ofs > fn->size + fn->ofs) in jffs2_garbage_collect_hole() [all …]
|
D | readinode.c | 468 struct jffs2_node_frag *frag, *frags; in jffs2_clear_inode() local 487 frag = frags; in jffs2_clear_inode() 488 frags = frag->next; in jffs2_clear_inode() 489 …e: frag at 0x%x-0x%x: node %p, frags %d--\n", frag->ofs, frag->ofs+frag->size, frag->node, frag->n… in jffs2_clear_inode() 491 if (frag->node && !(--frag->node->frags)) { in jffs2_clear_inode() 494 jffs2_mark_node_obsolete(c, frag->node->raw); in jffs2_clear_inode() 496 jffs2_free_full_dnode(frag->node); in jffs2_clear_inode() 498 jffs2_free_node_frag(frag); in jffs2_clear_inode()
|
D | build.c | 205 struct jffs2_node_frag *frag; in jffs2_build_inode_pass1() local 206 frag = fraglist; in jffs2_build_inode_pass1() 209 if (frag->node && !(--frag->node->frags)) { in jffs2_build_inode_pass1() 210 jffs2_free_full_dnode(frag->node); in jffs2_build_inode_pass1() 212 jffs2_free_node_frag(frag); in jffs2_build_inode_pass1()
|
/linux-2.4.37.9/fs/adfs/ |
D | map.c | 53 unsigned long frag; in lookup_zone() local 55 frag = GET_FRAG_ID(map, start, idmask); in lookup_zone() 73 if (frag == frag_id) in lookup_zone() 108 unsigned long frag; in scan_free_map() local 114 frag = GET_FRAG_ID(map, start, idmask); in scan_free_map() 120 if (frag == 0) in scan_free_map() 124 start += frag; in scan_free_map() 129 frag = GET_FRAG_ID(map, start, idmask); in scan_free_map() 148 } while (frag >= idlen + 1); in scan_free_map() 150 if (frag != 0) in scan_free_map()
|
/linux-2.4.37.9/net/sctp/ |
D | chunk.c | 177 __u8 frag; in sctp_datamsg_from_user() local 222 frag = SCTP_DATA_MIDDLE_FRAG; in sctp_datamsg_from_user() 225 frag |= SCTP_DATA_FIRST_FRAG; in sctp_datamsg_from_user() 228 frag |= SCTP_DATA_LAST_FRAG; in sctp_datamsg_from_user() 230 chunk = sctp_make_datafrag_empty(asoc, sinfo, len, frag, 0); in sctp_datamsg_from_user() 257 frag = SCTP_DATA_NOT_FRAG; in sctp_datamsg_from_user() 259 frag = SCTP_DATA_LAST_FRAG; in sctp_datamsg_from_user() 261 chunk = sctp_make_datafrag_empty(asoc, sinfo, over, frag, 0); in sctp_datamsg_from_user()
|
D | ulpevent.c | 867 struct sk_buff *skb, *frag; in sctp_ulpevent_receive_data() local 883 for (frag = skb_shinfo(skb)->frag_list; frag; frag = frag->next) { in sctp_ulpevent_receive_data() 884 sctp_ulpevent_receive_data(sctp_skb2event(frag), asoc); in sctp_ulpevent_receive_data() 893 struct sk_buff *skb, *frag; in sctp_ulpevent_release_data() local 909 for (frag = skb_shinfo(skb)->frag_list; frag; frag = frag->next) { in sctp_ulpevent_release_data() 914 sctp_ulpevent_release_data(sctp_skb2event(frag)); in sctp_ulpevent_release_data()
|
/linux-2.4.37.9/drivers/net/e1000/ |
D | kcompat.c | 35 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in _kc_skb_fill_page_desc() local 36 frag->page = page; in _kc_skb_fill_page_desc() 37 frag->page_offset = off; in _kc_skb_fill_page_desc() 38 frag->size = size; in _kc_skb_fill_page_desc()
|
/linux-2.4.37.9/drivers/net/wireless/prism54/ |
D | islpci_mgt.c | 121 isl38xx_fragment *frag = &cb->rx_data_mgmt[index]; in islpci_mgmt_rx_fill() local 144 frag->size = cpu_to_le16(MGMT_FRAME_SIZE); in islpci_mgmt_rx_fill() 145 frag->flags = 0; in islpci_mgmt_rx_fill() 146 frag->address = cpu_to_le32(buf->pci_addr); in islpci_mgmt_rx_fill() 175 isl38xx_fragment *frag; in islpci_mgt_transmit() local 243 frag = &cb->tx_data_mgmt[index]; in islpci_mgt_transmit() 244 frag->size = cpu_to_le16(frag_len); in islpci_mgt_transmit() 245 frag->flags = 0; /* for any other than the last fragment, set to 1 */ in islpci_mgt_transmit() 246 frag->address = cpu_to_le32(buf.pci_addr); in islpci_mgt_transmit()
|
/linux-2.4.37.9/drivers/net/ |
D | sundance.c | 438 struct desc_frag { u32 addr, length; } frag[1]; member 993 le32_to_cpu(np->tx_ring[i].frag[0].addr), in tx_timeout() 994 le32_to_cpu(np->tx_ring[i].frag[0].length)); in tx_timeout() 1040 np->rx_ring[i].frag[0].length = 0; in init_ring() 1052 np->rx_ring[i].frag[0].addr = cpu_to_le32( in init_ring() 1055 np->rx_ring[i].frag[0].length = cpu_to_le32(np->rx_buf_sz | LastFrag); in init_ring() 1107 txdesc->frag[0].addr = cpu_to_le32 (pci_map_single (np->pci_dev, skb->data, in start_tx() 1110 txdesc->frag[0].length = cpu_to_le32 (skb->len | LastFrag); in start_tx() 1158 np->tx_ring[i].frag[0].addr, skb->len, in reset_tx() 1261 np->tx_ring[entry].frag[0].addr, in intr_handler() [all …]
|
D | 3c59x.c | 765 } frag[1+MAX_SKB_FRAGS]; member 2119 vp->tx_ring[entry].frag[0].addr = cpu_to_le32(pci_map_single(VORTEX_PCI(vp), skb->data, in boomerang_start_xmit() 2121 vp->tx_ring[entry].frag[0].length = cpu_to_le32(skb->len | LAST_FRAG); in boomerang_start_xmit() 2125 vp->tx_ring[entry].frag[0].addr = cpu_to_le32(pci_map_single(VORTEX_PCI(vp), skb->data, in boomerang_start_xmit() 2127 vp->tx_ring[entry].frag[0].length = cpu_to_le32(skb->len-skb->data_len); in boomerang_start_xmit() 2130 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in boomerang_start_xmit() local 2132 vp->tx_ring[entry].frag[i+1].addr = in boomerang_start_xmit() 2134 (void*)page_address(frag->page) + frag->page_offset, in boomerang_start_xmit() 2135 frag->size, PCI_DMA_TODEVICE)); in boomerang_start_xmit() 2138 vp->tx_ring[entry].frag[i+1].length = cpu_to_le32(frag->size|LAST_FRAG); in boomerang_start_xmit() [all …]
|
D | 8139cp.c | 314 unsigned frag; member 805 cp->tx_skb[entry].frag = 0; in cp_start_xmit() 811 int frag, first_entry = entry; in cp_start_xmit() local 823 cp->tx_skb[entry].frag = 1; in cp_start_xmit() 826 for (frag = 0; frag < skb_shinfo(skb)->nr_frags; frag++) { in cp_start_xmit() 827 skb_frag_t *this_frag = &skb_shinfo(skb)->frags[frag]; in cp_start_xmit() 850 if (frag == skb_shinfo(skb)->nr_frags - 1) in cp_start_xmit() 863 cp->tx_skb[entry].frag = frag + 2; in cp_start_xmit() 1077 cp->rx_skb[i].frag = 0; in cp_refill_rx()
|
D | eth16i.c | 1092 unsigned char frag = length % 4; in eth16i_tx() local 1094 if( frag != 0 ) { in eth16i_tx() 1096 if( frag == 3 ) in eth16i_tx() 1191 unsigned char frag = pkt_len % 4; in eth16i_rx() local 1195 if(frag != 0) { in eth16i_rx() 1198 if(frag == 3) in eth16i_rx() 1201 memcpy(buf + (pkt_len & 0xfffc), (char *)rest, frag); in eth16i_rx()
|
D | sungem.c | 604 int frag; in gem_tx() local 629 for (frag = 0; frag <= skb_shinfo(skb)->nr_frags; frag++) { in gem_tx() 908 int frag, first_entry = entry; in gem_start_xmit() local 923 for (frag = 0; frag < skb_shinfo(skb)->nr_frags; frag++) { in gem_start_xmit() 924 skb_frag_t *this_frag = &skb_shinfo(skb)->frags[frag]; in gem_start_xmit() 935 if (frag == skb_shinfo(skb)->nr_frags - 1) in gem_start_xmit() 1464 int frag; in gem_clean_rings() local 1469 for (frag = 0; frag <= skb_shinfo(skb)->nr_frags; frag++) { in gem_clean_rings() 1478 if (frag != skb_shinfo(skb)->nr_frags) in gem_clean_rings()
|
/linux-2.4.37.9/drivers/isdn/ |
D | isdn_ppp.c | 1584 struct sk_buff * newfrag, * frag, * start, *nextf; in isdn_ppp_mp_receive() local 1647 if ((frag = mp->frags) == NULL || MP_LT(newseq, MP_SEQ(frag))) { in isdn_ppp_mp_receive() 1648 newfrag->next = frag; in isdn_ppp_mp_receive() 1649 mp->frags = frag = newfrag; in isdn_ppp_mp_receive() 1653 start = MP_FLAGS(frag) & MP_BEGIN_FRAG && in isdn_ppp_mp_receive() 1654 MP_SEQ(frag) == mp->seq ? frag : NULL; in isdn_ppp_mp_receive() 1680 thisseq = MP_SEQ(frag); in isdn_ppp_mp_receive() 1681 nextf = frag->next; in isdn_ppp_mp_receive() 1693 frag->next = nextf = newfrag; in isdn_ppp_mp_receive() 1699 if (start != frag && (MP_FLAGS(frag) & MP_BEGIN_FRAG)) { in isdn_ppp_mp_receive() [all …]
|
/linux-2.4.37.9/include/net/bluetooth/ |
D | bluetooth.h | 197 register struct sk_buff *frag = skb_shinfo(skb)->frag_list; in skb_frags_no() local 200 for (; frag; frag=frag->next, n++); in skb_frags_no()
|
/linux-2.4.37.9/net/core/ |
D | datagram.c | 231 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_datagram_iovec() local 232 struct page *page = frag->page; in skb_copy_datagram_iovec() 237 err = memcpy_toiovec(to, vaddr + frag->page_offset + in skb_copy_datagram_iovec() 308 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_and_csum_datagram() local 309 struct page *page = frag->page; in skb_copy_and_csum_datagram() 314 csum2 = csum_and_copy_to_user(vaddr + frag->page_offset + in skb_copy_and_csum_datagram()
|
D | sock.c | 803 skb_frag_t *frag; in sock_alloc_send_pskb() local 813 frag = &skb_shinfo(skb)->frags[i]; in sock_alloc_send_pskb() 814 frag->page = page; in sock_alloc_send_pskb() 815 frag->page_offset = 0; in sock_alloc_send_pskb() 816 frag->size = (data_len >= PAGE_SIZE ? in sock_alloc_send_pskb()
|
D | skbuff.c | 1059 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_checksum() local 1063 vaddr = kmap_skb_frag(frag); in skb_checksum() 1064 csum2 = csum_partial(vaddr + frag->page_offset + in skb_checksum() 1135 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_and_csum_bits() local 1139 vaddr = kmap_skb_frag(frag); in skb_copy_and_csum_bits() 1140 csum2 = csum_partial_copy_nocheck(vaddr + frag->page_offset + in skb_copy_and_csum_bits()
|
/linux-2.4.37.9/include/net/sctp/ |
D | sctp.h | 437 int frag = pmtu; in sctp_frag_point() local 439 frag -= sp->pf->af->net_header_len; in sctp_frag_point() 440 frag -= sizeof(struct sctphdr) + sizeof(struct sctp_data_chunk); in sctp_frag_point() 443 frag = min_t(int, frag, sp->user_frag); in sctp_frag_point() 445 frag = min_t(int, frag, SCTP_MAX_CHUNK_LEN); in sctp_frag_point() 447 return frag; in sctp_frag_point()
|
/linux-2.4.37.9/net/irda/ |
D | irttp.c | 236 struct sk_buff *skb, *frag; in irttp_reassemble_skb() local 259 while ((frag = skb_dequeue(&self->rx_fragments)) != NULL) { in irttp_reassemble_skb() 260 memcpy(skb->data+n, frag->data, frag->len); in irttp_reassemble_skb() 261 n += frag->len; in irttp_reassemble_skb() 263 dev_kfree_skb(frag); in irttp_reassemble_skb() 287 struct sk_buff *frag; in irttp_fragment_skb() local 303 frag = dev_alloc_skb(self->max_seg_size+self->max_header_size); in irttp_fragment_skb() 304 if (!frag) in irttp_fragment_skb() 307 skb_reserve(frag, self->max_header_size); in irttp_fragment_skb() 310 memcpy(skb_put(frag, self->max_seg_size), skb->data, in irttp_fragment_skb() [all …]
|
/linux-2.4.37.9/net/bluetooth/ |
D | l2cap.c | 1040 struct sk_buff *skb, **frag; in l2cap_chan_send() local 1076 frag = &skb_shinfo(skb)->frag_list; in l2cap_chan_send() 1080 *frag = bluez_skb_send_alloc(sk, count, msg->msg_flags & MSG_DONTWAIT, &err); in l2cap_chan_send() 1081 if (!*frag) in l2cap_chan_send() 1084 if (memcpy_fromiovec(skb_put(*frag, count), msg->msg_iov, count)) { in l2cap_chan_send() 1092 frag = &(*frag)->next; in l2cap_chan_send() 1130 struct sk_buff *skb, **frag; in l2cap_build_cmd() local 1162 frag = &skb_shinfo(skb)->frag_list; in l2cap_build_cmd() 1166 *frag = bluez_skb_alloc(count, GFP_ATOMIC); in l2cap_build_cmd() 1167 if (!*frag) in l2cap_build_cmd() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | icmp.h | 79 } frag; member
|
/linux-2.4.37.9/net/ipv4/ |
D | ip_output.c | 443 const void *frag, in ip_build_xmit_slow() argument 611 if (getfrag(frag, data, offset, fraglen-fragheaderlen, skb)) { in ip_build_xmit_slow() 653 const void *frag, in ip_build_xmit() argument 676 return ip_build_xmit_slow(sk,getfrag,frag,length,ipc,rt,flags); in ip_build_xmit() 726 err = getfrag(frag, ((char *)iph)+iph->ihl*4,0, length-iph->ihl*4, skb); in ip_build_xmit() 729 err = getfrag(frag, (void *)iph, 0, length, skb); in ip_build_xmit()
|