/Linux-v5.4/mm/ |
D | mremap.c | 319 unsigned long old_addr, unsigned long old_len, in move_vma() argument 349 err = ksm_madvise(vma, old_addr, old_addr + old_len, in move_vma() 360 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma() 362 if (moved_len < old_len) { in move_vma() 377 old_len = new_len; in move_vma() 382 arch_remap(mm, old_addr, old_addr + old_len, in move_vma() 389 excess = vma->vm_end - vma->vm_start - old_len; in move_vma() 391 old_addr + old_len < vma->vm_end) in move_vma() 411 if (do_munmap(mm, old_addr, old_len, uf_unmap) < 0) { in move_vma() 434 unsigned long old_len, unsigned long new_len, unsigned long *p) in vma_to_resize() argument [all …]
|
D | nommu.c | 1594 unsigned long old_len, unsigned long new_len, in do_mremap() argument 1600 old_len = PAGE_ALIGN(old_len); in do_mremap() 1602 if (old_len == 0 || new_len == 0) in do_mremap() 1611 vma = find_vma_exact(current->mm, addr, old_len); in do_mremap() 1615 if (vma->vm_end != vma->vm_start + old_len) in do_mremap() 1629 SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, in SYSCALL_DEFINE5() argument 1636 ret = do_mremap(addr, old_len, new_len, flags, new_addr); in SYSCALL_DEFINE5()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | alternative-asm.h | 72 #define old_len 141b-140b macro 94 .skip -((alt_max_short(new_len1, new_len2) - (old_len)) > 0) * \ 95 (alt_max_short(new_len1, new_len2) - (old_len)),0x90
|
/Linux-v5.4/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-v5.4/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-v5.4/drivers/md/persistent-data/ |
D | dm-space-map-metadata.c | 698 dm_block_t old_len = smm->ll.nr_blocks; in sm_metadata_extend() local 703 smm->begin = old_len; in sm_metadata_extend() 718 for (i = old_len; !r && i < smm->begin; i++) in sm_metadata_extend() 724 old_len = smm->begin; in sm_metadata_extend() 736 } while (old_len != smm->begin); in sm_metadata_extend()
|
/Linux-v5.4/fs/btrfs/ |
D | root-tree.c | 130 u32 old_len; in btrfs_update_root() local 153 old_len = btrfs_item_size_nr(l, slot); in btrfs_update_root() 160 if (old_len < sizeof(*item)) { in btrfs_update_root()
|
/Linux-v5.4/fs/hpfs/ |
D | namei.c | 515 unsigned old_len = old_dentry->d_name.len; in hpfs_rename() local 534 hpfs_adjust_length(old_name, &old_len); in hpfs_rename() 545 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename() 582 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
|
/Linux-v5.4/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-v5.4/fs/ocfs2/ |
D | ocfs2_trace.h | 2232 TP_PROTO(unsigned long long ino, int old_len, const char *old_name, 2234 TP_ARGS(ino, old_len, old_name, name_len, name), 2237 __field(int, old_len) 2244 __entry->old_len = old_len; 2250 __entry->old_len, __get_str(old_name), 2263 int old_len, const char *old_name, 2266 old_len, old_name, new_len, new_name), 2272 __field(int, old_len) 2282 __entry->old_len = old_len; 2290 __entry->old_len, __get_str(old_name),
|
/Linux-v5.4/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 564 int old_len; in octeon_fdt_set_mac_addr() local 570 &old_len); in octeon_fdt_set_mac_addr() 571 if (!old_mac || old_len != 6 || is_valid_ether_addr(old_mac)) in octeon_fdt_set_mac_addr()
|
/Linux-v5.4/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 548 size_t old_len, len, n; in intel_pt_get_split_packet() local 551 old_len = decoder->len; in intel_pt_get_split_packet() 557 decoder->pos += old_len; in intel_pt_get_split_packet() 569 if (ret < (int)old_len) { in intel_pt_get_split_packet() 573 decoder->len = old_len; in intel_pt_get_split_packet() 577 decoder->next_buf = decoder->buf + (ret - old_len); in intel_pt_get_split_packet() 578 decoder->next_len = decoder->len - (ret - old_len); in intel_pt_get_split_packet()
|
/Linux-v5.4/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-v5.4/drivers/video/fbdev/ |
D | udlfb.c | 1220 u32 old_len = info->fix.smem_len; in dlfb_realloc_framebuffer() local 1227 if (new_len > old_len) { in dlfb_realloc_framebuffer() 1239 memcpy(new_fb, old_fb, old_len); in dlfb_realloc_framebuffer()
|
D | smscufx.c | 1293 int old_len = info->fix.smem_len; in ufx_realloc_framebuffer() local 1302 if (PAGE_ALIGN(new_len) > old_len) { in ufx_realloc_framebuffer() 1311 memcpy(new_fb, old_fb, old_len); in ufx_realloc_framebuffer()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_log_recover.c | 4180 int old_len; in xlog_recover_add_to_cont_trans() local 4204 old_len = item->ri_buf[item->ri_cnt-1].i_len; in xlog_recover_add_to_cont_trans() 4206 ptr = kmem_realloc(old_ptr, len + old_len, 0); in xlog_recover_add_to_cont_trans() 4207 memcpy(&ptr[old_len], dp, len); in xlog_recover_add_to_cont_trans()
|
/Linux-v5.4/net/core/ |
D | filter.c | 1222 int err, new_len, old_len = fp->len; in bpf_migrate_filter() local 1237 old_prog = kmemdup(fp->insns, old_len * sizeof(struct sock_filter), in bpf_migrate_filter() 1245 err = bpf_convert_filter(old_prog, old_len, NULL, &new_len, in bpf_migrate_filter() 1265 err = bpf_convert_filter(old_prog, old_len, fp, &new_len, in bpf_migrate_filter() 3219 unsigned int old_len = skb->len; in bpf_skb_grow_rcsum() local 3224 memset(skb->data + old_len, 0, new_len - old_len); in bpf_skb_grow_rcsum()
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq_cmd.h | 2506 __le16 old_len; member
|
/Linux-v5.4/include/linux/ |
D | syscalls.h | 825 unsigned long old_len, unsigned long new_len,
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 3287 int old_len = le16_to_cpu(h_tx_bd->nbytes); in bnx2x_tx_split() local 3305 d_tx_bd->nbytes = cpu_to_le16(old_len - hlen); in bnx2x_tx_split()
|