/linux-6.3-rc2/scripts/dtc/libfdt/ |
A D | fdt_rw.c | 84 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-6.3-rc2/arch/m68k/sun3/ |
A D | sun3dvma.c | 167 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-6.3-rc2/net/netfilter/ |
A D | nf_conntrack_extend.c | 94 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local 114 newlen = newoff + nf_ct_ext_type_len[id]; in nf_ct_ext_add() 116 alloc = max(newlen, NF_CT_EXT_PREALLOC); in nf_ct_ext_add() 127 new->len = newlen; in nf_ct_ext_add() 128 memset((void *)new + newoff, 0, newlen - newoff); in nf_ct_ext_add()
|
A D | xt_TCPMSS.c | 199 __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 (__force __wsum)newlen); in tcpmss_tg6() 244 ipv6h->payload_len = newlen; in tcpmss_tg6()
|
/linux-6.3-rc2/drivers/infiniband/hw/qib/ |
A D | qib_user_sdma.c | 304 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-6.3-rc2/fs/xfs/ |
A D | xfs_reflink.c | 1077 xfs_off_t newlen, in xfs_reflink_update_dest() argument 1095 if (newlen > i_size_read(VFS_I(dest))) { in xfs_reflink_update_dest() 1096 trace_xfs_reflink_update_inode_size(dest, newlen); in xfs_reflink_update_dest() 1097 i_size_write(VFS_I(dest), newlen); in xfs_reflink_update_dest() 1098 dest->i_disk_size = newlen; in xfs_reflink_update_dest() 1156 xfs_off_t newlen; in xfs_reflink_remap_extent() local 1323 newlen = min_t(xfs_off_t, newlen, new_isize); in xfs_reflink_remap_extent() 1324 if (newlen > i_size_read(VFS_I(ip))) { in xfs_reflink_remap_extent() 1325 trace_xfs_reflink_update_inode_size(ip, newlen); in xfs_reflink_remap_extent() 1326 i_size_write(VFS_I(ip), newlen); in xfs_reflink_remap_extent() [all …]
|
A D | xfs_reflink.h | 53 extern int xfs_reflink_update_dest(struct xfs_inode *dest, xfs_off_t newlen,
|
/linux-6.3-rc2/sound/core/seq/ |
A D | seq_memory.c | 138 int len, newlen; in snd_seq_expand_var_event() local 144 newlen = len; in snd_seq_expand_var_event() 146 newlen = roundup(len, size_aligned); in snd_seq_expand_var_event() 147 if (count < newlen) in snd_seq_expand_var_event() 155 return newlen; in snd_seq_expand_var_event() 160 return err < 0 ? err : newlen; in snd_seq_expand_var_event()
|
/linux-6.3-rc2/net/ipv4/ |
A D | udp_offload.c | 274 __be16 newlen; in __udp_gso_segment() local 313 newlen = htons(sizeof(*uh) + mss); in __udp_gso_segment() 314 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment() 326 uh->len = newlen; in __udp_gso_segment() 340 newlen = htons(skb_tail_pointer(seg) - skb_transport_header(seg) + in __udp_gso_segment() 342 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment() 344 uh->len = newlen; in __udp_gso_segment() 665 __be16 newlen = htons(skb->len - nhoff); in udp_gro_complete() local 670 uh->len = newlen; in udp_gro_complete()
|
/linux-6.3-rc2/fs/xfs/libxfs/ |
A D | xfs_ialloc.c | 176 xfs_agino_t newlen, in xfs_inobt_insert() argument 187 thisino < newino + newlen; in xfs_inobt_insert() 646 newlen = igeo->ialloc_inos; in xfs_ialloc_ag_alloc() 784 ASSERT(newlen <= XFS_INODES_PER_CHUNK); in xfs_ialloc_ag_alloc() 820 rec.ir_count = newlen; in xfs_ialloc_ag_alloc() 821 rec.ir_freecount = newlen; in xfs_ialloc_ag_alloc() 868 newlen, XFS_BTNUM_FINO); in xfs_ialloc_ag_alloc() 877 be32_add_cpu(&agi->agi_count, newlen); in xfs_ialloc_ag_alloc() 878 be32_add_cpu(&agi->agi_freecount, newlen); in xfs_ialloc_ag_alloc() 879 pag->pagi_freecount += newlen; in xfs_ialloc_ag_alloc() [all …]
|
A D | xfs_bmap.c | 2460 xfs_filblks_t newlen=0; /* new indirect size */ in xfs_bmap_add_extent_hole_delay() local 2521 newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), in xfs_bmap_add_extent_hole_delay() 2523 left.br_startblock = nullstartblock(newlen); in xfs_bmap_add_extent_hole_delay() 2541 newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), in xfs_bmap_add_extent_hole_delay() 2544 left.br_startblock = nullstartblock(newlen); in xfs_bmap_add_extent_hole_delay() 2559 newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), in xfs_bmap_add_extent_hole_delay() 2562 right.br_startblock = nullstartblock(newlen); in xfs_bmap_add_extent_hole_delay() 2573 oldlen = newlen = 0; in xfs_bmap_add_extent_hole_delay() 2577 if (oldlen != newlen) { in xfs_bmap_add_extent_hole_delay() 2578 ASSERT(oldlen > newlen); in xfs_bmap_add_extent_hole_delay() [all …]
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | alternative-macros.h | 61 #define ALT_ENTRY(oldptr, newptr, vendor_id, errata_id, newlen) \ 65 ".2byte " newlen "\n" \
|
/linux-6.3-rc2/fs/xfs/scrub/ |
A D | dir.c | 355 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-6.3-rc2/scripts/dtc/ |
A D | data.c | 223 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-6.3-rc2/block/ |
A D | badblocks.c | 270 int newlen = lolen + hilen - (s - a); in badblocks_set() local 272 if (s >= a && newlen < BB_MAX_LEN) { in badblocks_set() 276 p[lo] = BB_MAKE(BB_OFFSET(p[lo]), newlen, ack); in badblocks_set()
|
/linux-6.3-rc2/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()
|
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()
|
/linux-6.3-rc2/fs/ocfs2/ |
A D | refcounttree.h | 125 loff_t newlen);
|
/linux-6.3-rc2/drivers/usb/storage/ |
A D | uas.c | 184 int newlen = min(len + 16, urb->actual_length) - 16; in uas_sense() local 185 if (newlen < 0) in uas_sense() 186 newlen = 0; in uas_sense() 190 urb->actual_length, len, newlen); in uas_sense() 191 len = newlen; in uas_sense()
|
/linux-6.3-rc2/drivers/scsi/aic7xxx/aicasm/ |
A D | aicasm_gram.y | 1959 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-6.3-rc2/include/uapi/linux/ |
A D | sysctl.h | 41 size_t newlen; member
|
/linux-6.3-rc2/net/sunrpc/ |
A D | svcsock.c | 1427 int newlen; in svc_create_socket() local 1470 newlen = error; in svc_create_socket() 1482 svc_xprt_set_local(&svsk->sk_xprt, newsin, newlen); in svc_create_socket()
|
/linux-6.3-rc2/include/net/ |
A D | ndisc.h | 493 void __user *newval, size_t newlen);
|
/linux-6.3-rc2/fs/fuse/ |
A D | dir.c | 527 u32 newlen = buf->size + bytes; in extend_arg() local 529 p = krealloc(buf->value, newlen, GFP_KERNEL); in extend_arg() 539 buf->size = newlen; in extend_arg() 541 return p + newlen - bytes; in extend_arg()
|
/linux-6.3-rc2/fs/ceph/ |
A D | super.h | 1356 loff_t newlen); 1358 loff_t newlen);
|