/linux-6.6.21/mm/ |
D | mremap.c | 584 unsigned long old_addr, unsigned long old_len, in move_vma() argument 589 long to_account = new_len - old_len; in move_vma() 615 if (!err && vma->vm_end != old_addr + old_len) in move_vma() 616 err = vma->vm_ops->may_split(vma, old_addr + old_len); in move_vma() 628 err = ksm_madvise(vma, old_addr, old_addr + old_len, in move_vma() 648 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma() 650 if (moved_len < old_len) { in move_vma() 665 old_len = new_len; in move_vma() 681 if (vma->vm_end > old_addr + old_len) in move_vma() 710 vma->vm_end == (old_addr + old_len)) in move_vma() [all …]
|
D | nommu.c | 1550 unsigned long old_len, unsigned long new_len, in do_mremap() argument 1556 old_len = PAGE_ALIGN(old_len); in do_mremap() 1558 if (old_len == 0 || new_len == 0) in do_mremap() 1567 vma = find_vma_exact(current->mm, addr, old_len); in do_mremap() 1571 if (vma->vm_end != vma->vm_start + old_len) in do_mremap() 1585 SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, in SYSCALL_DEFINE5() argument 1592 ret = do_mremap(addr, old_len, new_len, flags, new_addr); in SYSCALL_DEFINE5()
|
/linux-6.6.21/rust/alloc/vec/ |
D | extract_if.rs | 39 pub(super) old_len: usize, field 65 while self.idx < self.old_len { in next() 67 let v = slice::from_raw_parts_mut(self.vec.as_mut_ptr(), self.old_len); in next() 88 (0, Some(self.old_len - self.idx)) in size_hint() 99 if self.idx < self.old_len && self.del > 0 { in drop() 109 let tail_len = self.old_len - self.idx; in drop() 112 self.vec.set_len(self.old_len - self.del); in drop()
|
D | drain.rs | 210 let old_len = vec.len(); in drop() localVariable 211 vec.set_len(old_len + drop_len + self.tail_len); in drop() 212 vec.truncate(old_len + self.tail_len); in drop()
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | alternative-asm.h | 47 #define old_len (141b-140b) 62 .fill - ((alt_max_short(new_len1, new_len2) - (old_len)) > 0) * \ 63 (alt_max_short(new_len1, new_len2) - (old_len)) / 4, 4, 0x03400000
|
/linux-6.6.21/arch/x86/include/asm/ |
D | alternative.h | 397 #define old_len 141b-140b macro 421 .skip -((alt_max_2(new_len1, new_len2) - (old_len)) > 0) * \ 422 (alt_max_2(new_len1, new_len2) - (old_len)),0x90 443 .skip -((alt_max_3(new_len1, new_len2, new_len3) - (old_len)) > 0) * \ 444 (alt_max_3(new_len1, new_len2, new_len3) - (old_len)),0x90
|
/linux-6.6.21/arch/ia64/kernel/ |
D | sys_ia64.c | 161 ia64_mremap (unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, in ia64_mremap() argument 164 addr = sys_mremap(addr, old_len, new_len, flags, new_addr); in ia64_mremap()
|
/linux-6.6.21/drivers/media/test-drivers/visl/ |
D | visl-dec.c | 292 u32 old_len = len; in visl_tpg_fill() local 303 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, &buf[old_len]); in visl_tpg_fill() 304 frame_dprintk(ctx->dev, run->dst->sequence, "%s", &buf[old_len]); in visl_tpg_fill() 344 u32 old_len = len; in visl_tpg_fill() local 353 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, &buf[old_len]); in visl_tpg_fill() 354 frame_dprintk(ctx->dev, run->dst->sequence, "%s", &buf[old_len]); in visl_tpg_fill()
|
/linux-6.6.21/fs/reiserfs/ |
D | do_balan.c | 640 loff_t old_key_comp, old_len, r_zeroes_number; in balance_leaf_insert_right() local 649 old_len = ih_item_len(ih); in balance_leaf_insert_right() 658 offset = le_ih_k_offset(ih) + ((old_len - tb->rbytes) << shift); in balance_leaf_insert_right() 664 if ((old_len - tb->rbytes) > tb->zeroes_num) { in balance_leaf_insert_right() 666 r_body = body + (old_len - tb->rbytes) - tb->zeroes_num; in balance_leaf_insert_right() 670 (old_len - tb->rbytes); in balance_leaf_insert_right() 684 put_ih_item_len(ih, old_len - tb->rbytes); in balance_leaf_insert_right() 942 int old_key_comp, old_len, r_zeroes_number; in balance_leaf_new_nodes_insert() local 951 old_len = ih_item_len(ih); in balance_leaf_new_nodes_insert() 962 ((old_len - tb->sbytes[i]) << shift)); in balance_leaf_new_nodes_insert() [all …]
|
/linux-6.6.21/drivers/md/persistent-data/ |
D | dm-space-map-metadata.c | 723 dm_block_t old_len = smm->ll.nr_blocks; in sm_metadata_extend() local 728 smm->begin = old_len; in sm_metadata_extend() 743 r = add_bop(smm, BOP_INC, old_len, smm->begin); in sm_metadata_extend() 747 old_len = smm->begin; in sm_metadata_extend() 759 } while (old_len != smm->begin); in sm_metadata_extend()
|
/linux-6.6.21/fs/btrfs/ |
D | root-tree.c | 131 u32 old_len; in btrfs_update_root() local 154 old_len = btrfs_item_size(l, slot); in btrfs_update_root() 161 if (old_len < sizeof(*item)) { in btrfs_update_root()
|
/linux-6.6.21/fs/hpfs/ |
D | namei.c | 511 unsigned old_len = old_dentry->d_name.len; in hpfs_rename() local 530 hpfs_adjust_length(old_name, &old_len); in hpfs_rename() 541 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename() 578 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | systbls.h | 40 unsigned long old_len,
|
D | sys_sparc_64.c | 478 SYSCALL_DEFINE5(64_mremap, unsigned long, addr, unsigned long, old_len, 484 return sys_mremap(addr, old_len, new_len, flags, new_addr);
|
/linux-6.6.21/fs/ocfs2/ |
D | ocfs2_trace.h | 2233 TP_PROTO(unsigned long long ino, int old_len, const char *old_name, 2235 TP_ARGS(ino, old_len, old_name, name_len, name), 2238 __field(int, old_len) 2245 __entry->old_len = old_len; 2251 __entry->old_len, __get_str(old_name), 2264 int old_len, const char *old_name, 2267 old_len, old_name, new_len, new_name), 2273 __field(int, old_len) 2283 __entry->old_len = old_len; 2291 __entry->old_len, __get_str(old_name),
|
/linux-6.6.21/tools/perf/util/ |
D | event.c | 523 ret += fprintf(fp, " old len %u new len %u\n", tp->old_len, tp->new_len); in perf_event__fprintf_text_poke() 525 ret += binary__fprintf(tp->bytes, tp->old_len, 16, text_poke_printer, in perf_event__fprintf_text_poke() 528 ret += binary__fprintf(tp->bytes + tp->old_len, tp->new_len, 16, in perf_event__fprintf_text_poke()
|
D | session.c | 692 event->text_poke.old_len = bswap_16(event->text_poke.old_len); in perf_event__text_poke_swap() 696 size_t len = sizeof(event->text_poke.old_len) + in perf_event__text_poke_swap() 698 event->text_poke.old_len + in perf_event__text_poke_swap() 700 void *data = &event->text_poke.old_len; in perf_event__text_poke_swap()
|
/linux-6.6.21/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 568 int old_len; in octeon_fdt_set_mac_addr() local 574 &old_len); in octeon_fdt_set_mac_addr() 575 if (!old_mac || old_len != 6 || is_valid_ether_addr(old_mac)) in octeon_fdt_set_mac_addr()
|
/linux-6.6.21/drivers/atm/ |
D | solos-pci.c | 1031 int old_len; in fpga_queue() local 1037 old_len = skb_queue_len(&card->tx_queue[port]); in fpga_queue() 1039 if (!old_len) in fpga_queue() 1045 if (!old_len) in fpga_queue()
|
/linux-6.6.21/tools/lib/perf/include/perf/ |
D | event.h | 132 __u16 old_len; member
|
/linux-6.6.21/fs/xfs/ |
D | xfs_log_recover.c | 2057 int old_len; in xlog_recover_add_to_cont_trans() local 2082 old_len = item->ri_buf[item->ri_cnt-1].i_len; in xlog_recover_add_to_cont_trans() 2084 ptr = kvrealloc(old_ptr, old_len, len + old_len, GFP_KERNEL); in xlog_recover_add_to_cont_trans() 2087 memcpy(&ptr[old_len], dp, len); in xlog_recover_add_to_cont_trans()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | xdp_synproxy_kern.c | 776 volatile u64 old_len = data_end - data; in syncookie_part1() local 778 if (bpf_skb_change_tail(ctx, old_len + TCP_MAXLEN - hdr->tcp_len, 0)) in syncookie_part1()
|
/linux-6.6.21/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 681 size_t old_len, len, n; in intel_pt_get_split_packet() local 684 old_len = decoder->len; in intel_pt_get_split_packet() 690 decoder->pos += old_len; in intel_pt_get_split_packet() 702 if (ret < (int)old_len) { in intel_pt_get_split_packet() 706 decoder->len = old_len; in intel_pt_get_split_packet() 710 decoder->next_buf = decoder->buf + (ret - old_len); in intel_pt_get_split_packet() 711 decoder->next_len = decoder->len - (ret - old_len); in intel_pt_get_split_packet()
|
/linux-6.6.21/drivers/video/fbdev/ |
D | udlfb.c | 1223 u32 old_len = info->fix.smem_len; in dlfb_realloc_framebuffer() local 1230 if (new_len > old_len) { in dlfb_realloc_framebuffer() 1242 memcpy(new_fb, old_fb, old_len); in dlfb_realloc_framebuffer()
|
D | smscufx.c | 1304 int old_len = info->fix.smem_len; in ufx_realloc_framebuffer() local 1313 if (PAGE_ALIGN(new_len) > old_len) { in ufx_realloc_framebuffer() 1322 memcpy(new_fb, old_fb, old_len); in ufx_realloc_framebuffer()
|