Lines Matching defs:offset
298 u8 type, u8 code, int offset, __be32 info)
325 payload += offset;
516 int offset;
529 offset = rp->offset;
534 if (offset >= total_len - 1) {
557 if (offset >= len) {
558 offset -= len;
568 offset += skb_transport_offset(skb);
569 err = skb_copy_bits(skb, offset, &csum, 2);
585 BUG_ON(skb_store_bits(skb, offset, &csum, 2));
709 static int raw6_getfrag(void *from, char *to, int offset, int len, int odd,
714 if (offset < rfv->hlen) {
715 int copy = min(rfv->hlen - offset, len);
718 memcpy(to, rfv->c + offset, copy);
722 csum_partial_copy_nocheck(rfv->c + offset,
727 offset += copy;
735 offset -= rfv->hlen;
737 return ip_generic_getfrag(rfv->msg, to, offset, len, odd, skb);
1019 /* You may get strange result with a positive odd offset;
1027 rp->offset = val;
1082 val = rp->offset;
1189 rp->offset = 2;
1193 rp->offset = 4;