Home
last modified time | relevance | path

Searched refs:newlen (Results 1 – 25 of 31) sorted by relevance

12

/linux/scripts/dtc/libfdt/
A Dfdt_rw.c84 int oldlen, int newlen) in fdt_splice_struct_() argument
86 int delta = newlen - oldlen; in fdt_splice_struct_()
100 int newlen = strlen(s) + 1; in fdt_del_last_string_() local
238 int oldlen, newlen; in fdt_set_name() local
247 newlen = strlen(name); in fdt_set_name()
250 FDT_TAGALIGN(newlen+1)); in fdt_set_name()
254 memcpy(namep, name, newlen+1); in fdt_set_name()
295 int err, oldlen, newlen; in fdt_appendprop() local
301 newlen = len + oldlen; in fdt_appendprop()
304 FDT_TAGALIGN(newlen)); in fdt_appendprop()
[all …]
/linux/arch/m68k/sun3/
A Dsun3dvma.c167 unsigned long newlen; in get_baddr() local
172 newlen = len + ((hole->end - len) & (align-1)); in get_baddr()
174 newlen = len; in get_baddr()
176 if(hole->size > newlen) { in get_baddr()
177 hole->end -= newlen; in get_baddr()
178 hole->size -= newlen; in get_baddr()
179 dvma_entry_use(hole->end) = newlen; in get_baddr()
182 dvma_alloc_bytes += newlen; in get_baddr()
185 } else if(hole->size == newlen) { in get_baddr()
187 dvma_entry_use(hole->start) = newlen; in get_baddr()
[all …]
/linux/net/netfilter/
A Dnf_conntrack_extend.c43 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local
69 newlen = newoff + t->len; in nf_ct_ext_add()
72 alloc = max(newlen, NF_CT_EXT_PREALLOC); in nf_ct_ext_add()
81 new->len = newlen; in nf_ct_ext_add()
82 memset((void *)new + newoff, 0, newlen - newoff); in nf_ct_ext_add()
A Dxt_TCPMSS.c199 __be16 newlen; in tcpmss_tg4() local
210 newlen = htons(ntohs(iph->tot_len) + ret); in tcpmss_tg4()
211 csum_replace2(&iph->check, iph->tot_len, newlen); in tcpmss_tg4()
212 iph->tot_len = newlen; in tcpmss_tg4()
223 __be16 frag_off, oldlen, newlen; in tcpmss_tg6() local
240 newlen = htons(ntohs(oldlen) + ret); in tcpmss_tg6()
243 newlen); in tcpmss_tg6()
244 ipv6h->payload_len = newlen; in tcpmss_tg6()
/linux/fs/xfs/
A Dxfs_reflink.c915 xfs_off_t newlen, in xfs_reflink_update_dest() argument
933 if (newlen > i_size_read(VFS_I(dest))) { in xfs_reflink_update_dest()
934 trace_xfs_reflink_update_inode_size(dest, newlen); in xfs_reflink_update_dest()
935 i_size_write(VFS_I(dest), newlen); in xfs_reflink_update_dest()
936 dest->i_disk_size = newlen; in xfs_reflink_update_dest()
994 xfs_off_t newlen; in xfs_reflink_remap_extent() local
1158 newlen = min_t(xfs_off_t, newlen, new_isize); in xfs_reflink_remap_extent()
1159 if (newlen > i_size_read(VFS_I(ip))) { in xfs_reflink_remap_extent()
1160 trace_xfs_reflink_update_inode_size(ip, newlen); in xfs_reflink_remap_extent()
1161 i_size_write(VFS_I(ip), newlen); in xfs_reflink_remap_extent()
[all …]
A Dxfs_reflink.h56 extern int xfs_reflink_update_dest(struct xfs_inode *dest, xfs_off_t newlen,
/linux/drivers/infiniband/hw/qib/
A Dqib_user_sdma.c304 u16 newlen, pbclen, lastdesc, dma_mapped; in qib_user_sdma_page_to_frags() local
340 newlen = pkt->tidsm[pkt->tidsmidx].length; in qib_user_sdma_page_to_frags()
342 newlen = len; in qib_user_sdma_page_to_frags()
359 if (newlen == pkt->bytes_togo) in qib_user_sdma_page_to_frags()
365 offset, newlen, /* offset, len */ in qib_user_sdma_page_to_frags()
370 pkt->bytes_togo -= newlen; in qib_user_sdma_page_to_frags()
371 pkt->payload_size += newlen; in qib_user_sdma_page_to_frags()
401 pkt->tidsm[pkt->tidsmidx].length -= newlen; in qib_user_sdma_page_to_frags()
539 if (newlen != len) { in qib_user_sdma_page_to_frags()
546 len -= newlen; in qib_user_sdma_page_to_frags()
[all …]
/linux/sound/core/seq/
A Dseq_memory.c134 int len, newlen; in snd_seq_expand_var_event() local
140 newlen = len; in snd_seq_expand_var_event()
142 newlen = roundup(len, size_aligned); in snd_seq_expand_var_event()
143 if (count < newlen) in snd_seq_expand_var_event()
151 return newlen; in snd_seq_expand_var_event()
157 return err < 0 ? err : newlen; in snd_seq_expand_var_event()
/linux/net/ipv4/
A Dudp_offload.c273 __be16 newlen; in __udp_gso_segment() local
312 newlen = htons(sizeof(*uh) + mss); in __udp_gso_segment()
313 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
325 uh->len = newlen; in __udp_gso_segment()
339 newlen = htons(skb_tail_pointer(seg) - skb_transport_header(seg) + in __udp_gso_segment()
341 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
343 uh->len = newlen; in __udp_gso_segment()
637 __be16 newlen = htons(skb->len - nhoff); in udp_gro_complete() local
642 uh->len = newlen; in udp_gro_complete()
/linux/arch/riscv/include/asm/
A Dalternative-macros.h47 #define ALT_ENTRY(oldptr, newptr, vendor_id, errata_id, newlen) \
51 REG_ASM " " newlen "\n" \
/linux/fs/xfs/libxfs/
A Dxfs_ialloc.c177 xfs_agino_t newlen, in xfs_inobt_insert() argument
188 thisino < newino + newlen; in xfs_inobt_insert()
646 newlen = igeo->ialloc_inos; in xfs_ialloc_ag_alloc()
789 ASSERT(newlen <= XFS_INODES_PER_CHUNK); in xfs_ialloc_ag_alloc()
825 rec.ir_count = newlen; in xfs_ialloc_ag_alloc()
826 rec.ir_freecount = newlen; in xfs_ialloc_ag_alloc()
873 newlen, XFS_BTNUM_FINO); in xfs_ialloc_ag_alloc()
882 be32_add_cpu(&agi->agi_count, newlen); in xfs_ialloc_ag_alloc()
883 be32_add_cpu(&agi->agi_freecount, newlen); in xfs_ialloc_ag_alloc()
884 pag->pagi_freecount += newlen; in xfs_ialloc_ag_alloc()
[all …]
A Dxfs_bmap.c2479 xfs_filblks_t newlen=0; /* new indirect size */ in xfs_bmap_add_extent_hole_delay() local
2540 newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), in xfs_bmap_add_extent_hole_delay()
2542 left.br_startblock = nullstartblock(newlen); in xfs_bmap_add_extent_hole_delay()
2560 newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), in xfs_bmap_add_extent_hole_delay()
2563 left.br_startblock = nullstartblock(newlen); in xfs_bmap_add_extent_hole_delay()
2578 newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), in xfs_bmap_add_extent_hole_delay()
2581 right.br_startblock = nullstartblock(newlen); 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/fs/xfs/scrub/
A Ddir.c355 int newlen; in xchk_directory_data_bestfree() local
422 newlen = xfs_dir2_data_entsize(mp, dep->namelen); in xchk_directory_data_bestfree()
423 if (newlen <= 0) { in xchk_directory_data_bestfree()
428 offset += newlen; in xchk_directory_data_bestfree()
448 newlen = be16_to_cpu(dup->length); in xchk_directory_data_bestfree()
449 if (newlen <= 0) { in xchk_directory_data_bestfree()
453 offset += newlen; in xchk_directory_data_bestfree()
/linux/block/
A Dbadblocks.c271 int newlen = lolen + hilen - (s - a); in badblocks_set() local
273 if (s >= a && newlen < BB_MAX_LEN) { in badblocks_set()
277 p[lo] = BB_MAKE(BB_OFFSET(p[lo]), newlen, ack); in badblocks_set()
/linux/net/netfilter/ipvs/
A Dip_vs_proto_udp.c118 __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()
A Dip_vs_proto_tcp.c129 __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()
/linux/scripts/dtc/
A Ddata.c223 int newlen = ALIGN(d.len, align); in data_append_align() local
224 return data_append_zeroes(d, newlen - d.len); in data_append_align()
/linux/drivers/usb/storage/
A Duas.c185 int newlen = min(len + 16, urb->actual_length) - 16; in uas_sense() local
186 if (newlen < 0) in uas_sense()
187 newlen = 0; in uas_sense()
191 urb->actual_length, len, newlen); in uas_sense()
192 len = newlen; in uas_sense()
/linux/fs/ocfs2/
A Drefcounttree.h125 loff_t newlen);
/linux/drivers/scsi/aic7xxx/aicasm/
A Daicasm_gram.y1959 int newlen; in add_version() local
1962 newlen = strlen(verstring) + strlen(prefix); in add_version()
1966 versions = realloc(versions, newlen + oldlen + 2); in add_version()
1971 versions[newlen + oldlen] = '\n'; in add_version()
1972 versions[newlen + oldlen + 1] = '\0'; in add_version()
/linux/net/sunrpc/
A Dsvcsock.c1431 int newlen; in svc_create_socket() local
1474 newlen = error; in svc_create_socket()
1486 svc_xprt_set_local(&svsk->sk_xprt, newsin, newlen); in svc_create_socket()
A Dxdr.c514 unsigned int free_space, newlen; in xdr_buf_try_expand() local
518 newlen = xdr_buf_pages_fill_sparse(buf, buf->len + free_space, in xdr_buf_try_expand()
520 free_space = newlen - buf->len; in xdr_buf_try_expand()
521 buf->len = newlen; in xdr_buf_try_expand()
/linux/include/uapi/linux/
A Dsysctl.h41 size_t newlen; member
/linux/include/net/
A Dndisc.h500 void __user *newval, size_t newlen);
/linux/fs/ceph/
A Dsuper.h1299 loff_t newlen);
1301 loff_t newlen);

Completed in 56 milliseconds

12