/linux/scripts/dtc/libfdt/ |
A D | fdt_rw.c | 60 if ((oldlen < 0) || (soff + oldlen < soff) || (soff + oldlen > dsize)) in fdt_splice_() 66 memmove(p + newlen, p + oldlen, ((char *)fdt + dsize) - (p + oldlen)); in fdt_splice_() 84 int oldlen, int newlen) in fdt_splice_struct_() argument 86 int delta = newlen - oldlen; in fdt_splice_struct_() 187 int oldlen; in fdt_resize_property_() local 192 return oldlen; in fdt_resize_property_() 238 int oldlen, newlen; in fdt_set_name() local 245 return oldlen; in fdt_set_name() 295 int err, oldlen, newlen; in fdt_appendprop() local 301 newlen = len + oldlen; in fdt_appendprop() [all …]
|
/linux/net/netfilter/ |
A D | nf_nat_helper.c | 96 int oldlen, datalen; in __nf_nat_mangle_tcp_packet() local 108 oldlen = skb->len - protoff; in __nf_nat_mangle_tcp_packet() 115 tcph, &tcph->check, datalen, oldlen); in __nf_nat_mangle_tcp_packet() 146 int datalen, oldlen; in nf_nat_mangle_udp_packet() local 158 oldlen = skb->len - protoff; in nf_nat_mangle_udp_packet() 171 udph, &udph->check, datalen, oldlen); in nf_nat_mangle_udp_packet()
|
A D | nf_conntrack_extend.c | 43 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local 56 oldlen = old->len; in nf_ct_ext_add() 58 oldlen = sizeof(*new); in nf_ct_ext_add() 68 newoff = ALIGN(oldlen, t->align); in nf_ct_ext_add()
|
A D | xt_TCPMSS.c | 223 __be16 frag_off, oldlen, newlen; in tcpmss_tg6() local 239 oldlen = ipv6h->payload_len; in tcpmss_tg6() 240 newlen = htons(ntohs(oldlen) + ret); in tcpmss_tg6() 242 skb->csum = csum_add(csum_sub(skb->csum, oldlen), in tcpmss_tg6()
|
A D | nf_nat_proto.c | 501 int datalen, int oldlen) in nf_nat_ipv4_csum_recalc() argument 514 htons(oldlen), htons(datalen), true); in nf_nat_ipv4_csum_recalc() 521 int datalen, int oldlen) in nf_nat_ipv6_csum_recalc() argument 534 htons(oldlen), htons(datalen), true); in nf_nat_ipv6_csum_recalc() 541 int datalen, int oldlen) in nf_nat_csum_recalc() argument 546 datalen, oldlen); in nf_nat_csum_recalc() 551 datalen, oldlen); in nf_nat_csum_recalc()
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_proto_udp.c | 118 __be16 oldlen, __be16 newlen) in udp_partial_csum_update() argument 124 ip_vs_check_diff2(oldlen, newlen, in udp_partial_csum_update() 130 ip_vs_check_diff2(oldlen, newlen, in udp_partial_csum_update() 142 int oldlen; in udp_snat_handler() local 148 oldlen = skb->len - udphoff; in udp_snat_handler() 168 oldlen = skb->len - udphoff; in udp_snat_handler() 181 htons(oldlen), in udp_snat_handler() 225 int oldlen; in udp_dnat_handler() local 231 oldlen = skb->len - udphoff; in udp_dnat_handler() 252 oldlen = skb->len - udphoff; in udp_dnat_handler() [all …]
|
A D | ip_vs_proto_tcp.c | 129 __be16 oldlen, __be16 newlen) in tcp_partial_csum_update() argument 135 ip_vs_check_diff2(oldlen, newlen, in tcp_partial_csum_update() 141 ip_vs_check_diff2(oldlen, newlen, in tcp_partial_csum_update() 153 int oldlen; in tcp_snat_handler() local 159 oldlen = skb->len - tcphoff; in tcp_snat_handler() 177 oldlen = skb->len - tcphoff; in tcp_snat_handler() 188 htons(oldlen), in tcp_snat_handler() 231 int oldlen; in tcp_dnat_handler() local 237 oldlen = skb->len - tcphoff; in tcp_dnat_handler() 258 oldlen = skb->len - tcphoff; in tcp_dnat_handler() [all …]
|
/linux/tools/perf/util/ |
A D | strbuf.c | 141 size_t oldlen = sb->len; in strbuf_read() local 157 strbuf_setlen(sb, oldlen); in strbuf_read() 169 return sb->len - oldlen; in strbuf_read()
|
/linux/net/ipv4/ |
A D | tcp_offload.c | 63 unsigned int oldlen; in tcp_gso_segment() local 77 oldlen = (u16)~skb->len; in tcp_gso_segment() 112 delta = htonl(oldlen + (thlen + mss)); in tcp_gso_segment() 167 delta = htonl(oldlen + (skb_tail_pointer(skb) - in tcp_gso_segment()
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
A D | aicasm_gram.y | 1960 int oldlen; in add_version() local 1963 oldlen = 0; in add_version() 1965 oldlen = strlen(versions); in add_version() 1966 versions = realloc(versions, newlen + oldlen + 2); in add_version() 1969 strcpy(&versions[oldlen], prefix); in add_version() 1970 strcpy(&versions[oldlen + strlen(prefix)], verstring); in add_version() 1971 versions[newlen + oldlen] = '\n'; in add_version() 1972 versions[newlen + oldlen + 1] = '\0'; in add_version()
|
/linux/fs/xfs/libxfs/ |
A D | xfs_dir2_data.c | 1071 int oldlen; /* old unused entry's length */ in xfs_dir2_data_use_free() local 1080 oldlen = be16_to_cpu(dup->length); in xfs_dir2_data_use_free() 1083 ASSERT(dfp || oldlen <= be16_to_cpu(bf[2].length)); in xfs_dir2_data_use_free() 1088 matchback = (char *)dup + oldlen - (char *)hdr == offset + len; in xfs_dir2_data_use_free() 1110 newdup->length = cpu_to_be16(oldlen - len); in xfs_dir2_data_use_free() 1172 newdup2->length = cpu_to_be16(oldlen - len - be16_to_cpu(newdup->length)); in xfs_dir2_data_use_free()
|
A D | xfs_bmap.c | 2480 xfs_filblks_t oldlen=0; /* old indirect size */ in xfs_bmap_add_extent_hole_delay() local 2537 oldlen = startblockval(left.br_startblock) + in xfs_bmap_add_extent_hole_delay() 2541 oldlen); in xfs_bmap_add_extent_hole_delay() 2558 oldlen = startblockval(left.br_startblock) + in xfs_bmap_add_extent_hole_delay() 2561 oldlen); in xfs_bmap_add_extent_hole_delay() 2576 oldlen = startblockval(new->br_startblock) + in xfs_bmap_add_extent_hole_delay() 2579 oldlen); in xfs_bmap_add_extent_hole_delay() 2592 oldlen = newlen = 0; in xfs_bmap_add_extent_hole_delay() 2596 if (oldlen != newlen) { in xfs_bmap_add_extent_hole_delay() 2597 ASSERT(oldlen > newlen); in xfs_bmap_add_extent_hole_delay() [all …]
|
/linux/include/net/netfilter/ |
A D | nf_nat.h | 84 int datalen, int oldlen);
|