/linux-6.1.9/scripts/dtc/libfdt/ |
D | fdt_rw.c | 54 static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen) in fdt_splice_() argument 60 if ((oldlen < 0) || (soff + oldlen < soff) || (soff + oldlen > dsize)) in fdt_splice_() 62 if ((p < (char *)fdt) || (dsize + newlen < (unsigned)oldlen)) in fdt_splice_() 64 if (dsize - oldlen + newlen > fdt_totalsize(fdt)) 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_() 89 if ((err = fdt_splice_(fdt, p, oldlen, newlen))) in fdt_splice_struct_() 187 int oldlen; in fdt_resize_property_() local 190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_() [all …]
|
/linux-6.1.9/net/netfilter/ |
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()
|
D | nf_conntrack_extend.c | 94 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local 108 oldlen = old->len; in nf_ct_ext_add() 110 oldlen = sizeof(*new); in nf_ct_ext_add() 113 newoff = ALIGN(oldlen, __alignof__(struct nf_ct_ext)); in nf_ct_ext_add()
|
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, (__force __wsum)oldlen), in tcpmss_tg6()
|
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-6.1.9/net/netfilter/ipvs/ |
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 …]
|
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-6.1.9/tools/perf/util/ |
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-6.1.9/net/ipv4/ |
D | tcp_offload.c | 64 unsigned int oldlen; in tcp_gso_segment() local 78 oldlen = (u16)~skb->len; in tcp_gso_segment() 113 delta = htonl(oldlen + (thlen + mss)); in tcp_gso_segment() 168 delta = htonl(oldlen + (skb_tail_pointer(skb) - in tcp_gso_segment()
|
/linux-6.1.9/drivers/scsi/aic7xxx/aicasm/ |
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-6.1.9/fs/xfs/libxfs/ |
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()
|
D | xfs_bmap.c | 2477 xfs_filblks_t oldlen=0; /* old indirect size */ in xfs_bmap_add_extent_hole_delay() local 2534 oldlen = startblockval(left.br_startblock) + in xfs_bmap_add_extent_hole_delay() 2538 oldlen); in xfs_bmap_add_extent_hole_delay() 2555 oldlen = startblockval(left.br_startblock) + in xfs_bmap_add_extent_hole_delay() 2558 oldlen); in xfs_bmap_add_extent_hole_delay() 2573 oldlen = startblockval(new->br_startblock) + in xfs_bmap_add_extent_hole_delay() 2576 oldlen); in xfs_bmap_add_extent_hole_delay() 2589 oldlen = newlen = 0; in xfs_bmap_add_extent_hole_delay() 2593 if (oldlen != newlen) { in xfs_bmap_add_extent_hole_delay() 2594 ASSERT(oldlen > newlen); in xfs_bmap_add_extent_hole_delay() [all …]
|
/linux-6.1.9/include/net/netfilter/ |
D | nf_nat.h | 84 int datalen, int oldlen);
|