/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
D | fdt_rw.c | 54 static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen) in fdt_splice_() argument 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_() 100 int newlen = strlen(s) + 1; in fdt_del_last_string_() local 102 fdt_set_size_dt_strings(fdt, fdt_size_dt_strings(fdt) - newlen); in fdt_del_last_string_() 105 static int fdt_splice_string_(void *fdt, int newlen) in fdt_splice_string_() argument [all …]
|
/kernel/linux/linux-5.10/arch/m68k/sun3/ |
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 …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conntrack_extend.c | 43 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()
|
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 newlen); in tcpmss_tg6() 244 ipv6h->payload_len = newlen; in tcpmss_tg6()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_reflink.c | 920 xfs_off_t newlen, in xfs_reflink_update_dest() argument 928 if (newlen <= i_size_read(VFS_I(dest)) && cowextsize == 0) in xfs_reflink_update_dest() 938 if (newlen > i_size_read(VFS_I(dest))) { in xfs_reflink_update_dest() 939 trace_xfs_reflink_update_inode_size(dest, newlen); in xfs_reflink_update_dest() 940 i_size_write(VFS_I(dest), newlen); in xfs_reflink_update_dest() 941 dest->i_d.di_size = newlen; in xfs_reflink_update_dest() 999 xfs_off_t newlen; in xfs_reflink_remap_extent() local 1133 newlen = XFS_FSB_TO_B(mp, dmap->br_startoff + dmap->br_blockcount); in xfs_reflink_remap_extent() 1134 newlen = min_t(xfs_off_t, newlen, new_isize); in xfs_reflink_remap_extent() 1135 if (newlen > i_size_read(VFS_I(ip))) { in xfs_reflink_remap_extent() [all …]
|
D | xfs_reflink.h | 57 extern int xfs_reflink_update_dest(struct xfs_inode *dest, xfs_off_t newlen,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
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() 352 if ((pkt->payload_size + newlen) >= pkt->frag_size) { in qib_user_sdma_page_to_frags() 353 newlen = pkt->frag_size - pkt->payload_size; in qib_user_sdma_page_to_frags() 356 if (newlen == pkt->tidsm[pkt->tidsmidx].length) 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() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | udp_offload.c | 270 __be16 newlen; in __udp_gso_segment() local 309 newlen = htons(sizeof(*uh) + mss); in __udp_gso_segment() 310 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment() 322 uh->len = newlen; in __udp_gso_segment() 336 newlen = htons(skb_tail_pointer(seg) - skb_transport_header(seg) + in __udp_gso_segment() 338 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment() 340 uh->len = newlen; in __udp_gso_segment() 628 __be16 newlen = htons(skb->len - nhoff); in udp_gro_complete() local 633 uh->len = newlen; in udp_gro_complete()
|
/kernel/linux/linux-5.10/sound/core/seq/ |
D | seq_memory.c | 133 int len, newlen; in snd_seq_expand_var_event() local 138 newlen = len; in snd_seq_expand_var_event() 140 newlen = roundup(len, size_aligned); in snd_seq_expand_var_event() 141 if (count < newlen) in snd_seq_expand_var_event() 149 return newlen; in snd_seq_expand_var_event() 155 return err < 0 ? err : newlen; in snd_seq_expand_var_event()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_ialloc.c | 176 xfs_agino_t newlen, in xfs_inobt_insert() argument 189 thisino < newino + newlen; in xfs_inobt_insert() 623 xfs_agino_t newlen; /* new number of inodes */ in xfs_ialloc_ag_alloc() local 650 newlen = igeo->ialloc_inos; in xfs_ialloc_ag_alloc() 652 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc() 793 newlen = XFS_AGB_TO_AGINO(args.mp, args.len); in xfs_ialloc_ag_alloc() 794 ASSERT(newlen <= XFS_INODES_PER_CHUNK); in xfs_ialloc_ag_alloc() 795 allocmask = (1 << (newlen / XFS_INODES_PER_HOLEMASK_BIT)) - 1; in xfs_ialloc_ag_alloc() 813 error = xfs_ialloc_inode_init(args.mp, tp, NULL, newlen, agno, in xfs_ialloc_ag_alloc() 831 rec.ir_count = newlen; in xfs_ialloc_ag_alloc() [all …]
|
D | xfs_bmap.c | 2580 xfs_filblks_t newlen=0; /* new indirect size */ in xfs_bmap_add_extent_hole_delay() local 2641 newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), in xfs_bmap_add_extent_hole_delay() 2643 left.br_startblock = nullstartblock(newlen); in xfs_bmap_add_extent_hole_delay() 2661 newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), in xfs_bmap_add_extent_hole_delay() 2664 left.br_startblock = nullstartblock(newlen); in xfs_bmap_add_extent_hole_delay() 2679 newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), in xfs_bmap_add_extent_hole_delay() 2682 right.br_startblock = nullstartblock(newlen); in xfs_bmap_add_extent_hole_delay() 2693 oldlen = newlen = 0; in xfs_bmap_add_extent_hole_delay() 2697 if (oldlen != newlen) { in xfs_bmap_add_extent_hole_delay() 2698 ASSERT(oldlen > newlen); in xfs_bmap_add_extent_hole_delay() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | dir.c | 341 int newlen; in xchk_directory_data_bestfree() local 408 newlen = xfs_dir2_data_entsize(mp, dep->namelen); in xchk_directory_data_bestfree() 409 if (newlen <= 0) { in xchk_directory_data_bestfree() 414 offset += newlen; in xchk_directory_data_bestfree() 434 newlen = be16_to_cpu(dup->length); in xchk_directory_data_bestfree() 435 if (newlen <= 0) { in xchk_directory_data_bestfree() 439 offset += newlen; in xchk_directory_data_bestfree()
|
/kernel/linux/linux-5.10/scripts/dtc/ |
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()
|
/kernel/linux/linux-5.10/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()
|
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()
|
/kernel/linux/linux-5.10/block/ |
D | badblocks.c | 271 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()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | refcounttree.h | 127 loff_t newlen);
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
D | uas.c | 185 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()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_gram.y | 1960 int newlen; in add_version() local 1963 newlen = strlen(verstring) + strlen(prefix); in add_version() 1967 versions = realloc(versions, newlen + oldlen + 2); in add_version() 1972 versions[newlen + oldlen] = '\n'; in add_version() 1973 versions[newlen + oldlen + 1] = '\0'; in add_version()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | sysctl.h | 18 size_t newlen; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | sysctl.h | 41 size_t newlen; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | sysctl.h | 31 size_t newlen; member
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | svcsock.c | 1430 int newlen; in svc_create_socket() local 1473 newlen = error; in svc_create_socket() 1485 svc_xprt_set_local(&svsk->sk_xprt, newsin, newlen); in svc_create_socket()
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | lowcomms.c | 655 static int con_realloc_receive_buf(struct connection *con, int newlen) in con_realloc_receive_buf() argument 659 newbuf = kmalloc(newlen, GFP_NOFS); in con_realloc_receive_buf() 669 con->rx_buflen = newlen; in con_realloc_receive_buf()
|
/kernel/linux/linux-5.10/include/net/ |
D | ndisc.h | 500 void __user *newval, size_t newlen);
|