Home
last modified time | relevance | path

Searched refs:oldlen (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/scripts/dtc/libfdt/
Dfdt_rw.c97 static int _fdt_splice(void *fdt, void *splicepoint, int oldlen, int newlen) in _fdt_splice() argument
102 if (((p + oldlen) < p) || ((p + oldlen) > end)) in _fdt_splice()
104 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in _fdt_splice()
106 memmove(p + newlen, p + oldlen, end - p - oldlen); in _fdt_splice()
124 int oldlen, int newlen) in _fdt_splice_struct() argument
126 int delta = newlen - oldlen; in _fdt_splice_struct()
129 if ((err = _fdt_splice(fdt, p, oldlen, newlen))) in _fdt_splice_struct()
208 int oldlen; in _fdt_resize_property() local
211 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in _fdt_resize_property()
213 return oldlen; in _fdt_resize_property()
[all …]
/linux-3.4.99/kernel/
Dsysctl_binary.c23 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen);
922 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_dir() argument
929 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_string() argument
933 if (oldval && oldlen) { in bin_string()
938 result = vfs_read(file, oldval, oldlen, &pos); in bin_string()
972 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_intvec() argument
984 if (oldval && oldlen) { in bin_intvec()
986 size_t length = oldlen / sizeof(*vec); in bin_intvec()
1050 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_ulongvec() argument
1062 if (oldval && oldlen) { in bin_ulongvec()
[all …]
/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_proto_udp.c110 __be16 oldlen, __be16 newlen) in udp_partial_csum_update() argument
116 ip_vs_check_diff2(oldlen, newlen, in udp_partial_csum_update()
122 ip_vs_check_diff2(oldlen, newlen, in udp_partial_csum_update()
133 int oldlen; in udp_snat_handler() local
142 oldlen = skb->len - udphoff; in udp_snat_handler()
162 oldlen = skb->len - udphoff; in udp_snat_handler()
175 htons(oldlen), in udp_snat_handler()
218 int oldlen; in udp_dnat_handler() local
227 oldlen = skb->len - udphoff; in udp_dnat_handler()
248 oldlen = skb->len - udphoff; in udp_dnat_handler()
[all …]
Dip_vs_proto_tcp.c113 __be16 oldlen, __be16 newlen) in tcp_partial_csum_update() argument
119 ip_vs_check_diff2(oldlen, newlen, in tcp_partial_csum_update()
125 ip_vs_check_diff2(oldlen, newlen, in tcp_partial_csum_update()
136 int oldlen; in tcp_snat_handler() local
145 oldlen = skb->len - tcphoff; in tcp_snat_handler()
163 oldlen = skb->len - tcphoff; in tcp_snat_handler()
174 htons(oldlen), in tcp_snat_handler()
216 int oldlen; in tcp_dnat_handler() local
225 oldlen = skb->len - tcphoff; in tcp_dnat_handler()
246 oldlen = skb->len - tcphoff; in tcp_dnat_handler()
[all …]
/linux-3.4.99/net/ipv4/netfilter/
Dnf_nat_helper.c157 int datalen, __sum16 *check, int oldlen) in nf_nat_csum() argument
182 htons(oldlen), htons(datalen), 1); in nf_nat_csum()
203 int oldlen, datalen; in __nf_nat_mangle_tcp_packet() local
218 oldlen = skb->len - iph->ihl*4; in __nf_nat_mangle_tcp_packet()
223 nf_nat_csum(skb, iph, tcph, datalen, &tcph->check, oldlen); in __nf_nat_mangle_tcp_packet()
254 int datalen, oldlen; in nf_nat_mangle_udp_packet() local
267 oldlen = skb->len - iph->ihl*4; in nf_nat_mangle_udp_packet()
279 nf_nat_csum(skb, iph, udph, datalen, &udph->check, oldlen); in nf_nat_mangle_udp_packet()
/linux-3.4.99/tools/perf/util/
Dstrbuf.c111 size_t oldlen = sb->len; in strbuf_read() local
123 strbuf_setlen(sb, oldlen); in strbuf_read()
133 return sb->len - oldlen; in strbuf_read()
/linux-3.4.99/fs/xfs/
Dxfs_dir2_data.c715 int oldlen; /* old unused entry's length */ in xfs_dir2_data_use_free() local
728 oldlen = be16_to_cpu(dup->length); in xfs_dir2_data_use_free()
729 ASSERT(dfp || oldlen <= be16_to_cpu(hdr->bestfree[2].length)); in xfs_dir2_data_use_free()
734 matchback = (char *)dup + oldlen - (char *)hdr == offset + len; in xfs_dir2_data_use_free()
755 newdup->length = cpu_to_be16(oldlen - len); in xfs_dir2_data_use_free()
815 newdup2->length = cpu_to_be16(oldlen - len - be16_to_cpu(newdup->length)); in xfs_dir2_data_use_free()
Dxfs_bmap.c1481 xfs_filblks_t oldlen=0; /* old indirect size */ in xfs_bmap_add_extent_hole_delay() local
1546 oldlen = startblockval(left.br_startblock) + in xfs_bmap_add_extent_hole_delay()
1568 oldlen = startblockval(left.br_startblock) + in xfs_bmap_add_extent_hole_delay()
1584 oldlen = startblockval(new->br_startblock) + in xfs_bmap_add_extent_hole_delay()
1599 oldlen = newlen = 0; in xfs_bmap_add_extent_hole_delay()
1603 if (oldlen != newlen) { in xfs_bmap_add_extent_hole_delay()
1604 ASSERT(oldlen > newlen); in xfs_bmap_add_extent_hole_delay()
1606 (int64_t)(oldlen - newlen), 0); in xfs_bmap_add_extent_hole_delay()
/linux-3.4.99/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y1965 int oldlen; in add_version() local
1968 oldlen = 0; in add_version()
1970 oldlen = strlen(versions); in add_version()
1971 versions = realloc(versions, newlen + oldlen + 2); in add_version()
1974 strcpy(&versions[oldlen], prefix); in add_version()
1975 strcpy(&versions[oldlen + strlen(prefix)], verstring); in add_version()
1976 versions[newlen + oldlen] = '\n'; in add_version()
1977 versions[newlen + oldlen + 1] = '\0'; in add_version()
/linux-3.4.99/drivers/staging/comedi/drivers/
Dcomedi_bond.c357 static void *Realloc(const void *oldmem, size_t newlen, size_t oldlen) in Realloc() argument
362 memcpy(newmem, oldmem, min(oldlen, newlen)); in Realloc()
/linux-3.4.99/fs/ncpfs/
Dioctl.c741 size_t oldlen; in __ncp_ioctl() local
766 oldlen = server->priv.len; in __ncp_ioctl()
/linux-3.4.99/net/ipv4/
Dtcp.c2689 unsigned int oldlen; in tcp_tso_segment() local
2703 oldlen = (u16)~skb->len; in tcp_tso_segment()
2733 delta = htonl(oldlen + (thlen + mss)); in tcp_tso_segment()
2757 delta = htonl(oldlen + (skb->tail - skb->transport_header) + in tcp_tso_segment()
/linux-3.4.99/drivers/scsi/
Datari_NCR5380.c474 unsigned long oldlen = cmd->SCp.this_residual; in merge_contiguous_buffers() local
492 if (oldlen != cmd->SCp.this_residual) in merge_contiguous_buffers()