/linux-master/arch/sparc/kernel/ |
H A D | systbls.h | 40 unsigned long old_len,
|
H A 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-master/arch/loongarch/include/asm/ |
H A D | alternative-asm.h | 47 #define old_len (141b-140b) macro 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-master/arch/mips/cavium-octeon/ |
H A D | octeon-platform.c | 568 int old_len; local 574 &old_len); 575 if (!old_mac || old_len != 6 || is_valid_ether_addr(old_mac))
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | papr-vpd.c | 155 const size_t old_len = blob->len; local 160 kvrealloc(old_ptr, old_len, new_len, GFP_KERNEL_ACCOUNT) : 166 memcpy(&new_ptr[old_len], data, len);
|
/linux-master/arch/x86/include/asm/ |
H A D | alternative.h | 423 #define old_len 141b-140b macro 447 .skip -((alt_max_2(new_len1, new_len2) - (old_len)) > 0) * \ 448 (alt_max_2(new_len1, new_len2) - (old_len)),0x90 469 .skip -((alt_max_3(new_len1, new_len2, new_len3) - (old_len)) > 0) * \ 470 (alt_max_3(new_len1, new_len2, new_len3) - (old_len)),0x90
|
/linux-master/drivers/atm/ |
H A D | solos-pci.c | 1031 int old_len; local 1037 old_len = skb_queue_len(&card->tx_queue[port]); 1039 if (!old_len) 1045 if (!old_len)
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-space-map-metadata.c | 723 dm_block_t old_len = smm->ll.nr_blocks; local 728 smm->begin = old_len; 743 r = add_bop(smm, BOP_INC, old_len, smm->begin); 747 old_len = smm->begin; 759 } while (old_len != smm->begin);
|
/linux-master/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.c | 135 u16 old_len = vidtv_psi_get_sec_len(h); local 143 if (old_len > MAX_SECTION_LEN) 147 old_len);
|
/linux-master/drivers/media/test-drivers/visl/ |
H A D | visl-dec.c | 412 u32 old_len = len; local 430 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, &buf[old_len]); 431 frame_dprintk(ctx->dev, run->dst->sequence, "%s", &buf[old_len]); 473 u32 old_len = len; local 489 tpg_gen_text(&ctx->tpg, basep, line++ * line_height, 16, &buf[old_len]); 490 frame_dprintk(ctx->dev, run->dst->sequence, "%s", &buf[old_len]);
|
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 3312 int old_len = le16_to_cpu(h_tx_bd->nbytes); local 3330 d_tx_bd->nbytes = cpu_to_le16(old_len - hlen);
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_adminq_cmd.h | 2078 __le16 old_len; member in struct:i40e_aqc_lldp_update_tlv
|
/linux-master/drivers/video/fbdev/ |
H A D | smscufx.c | 1265 int old_len = info->fix.smem_len; local 1274 if (PAGE_ALIGN(new_len) > old_len) { 1283 memcpy(new_fb, old_fb, old_len);
|
H A D | udlfb.c | 1180 u32 old_len = info->fix.smem_len; local 1187 if (new_len > old_len) { 1199 memcpy(new_fb, old_fb, old_len);
|
/linux-master/fs/btrfs/ |
H A D | root-tree.c | 138 u32 old_len; local 161 old_len = btrfs_item_size(l, slot); 168 if (old_len < sizeof(*item)) {
|
/linux-master/fs/hpfs/ |
H A D | namei.c | 511 unsigned old_len = old_dentry->d_name.len; local 530 hpfs_adjust_length(old_name, &old_len); 541 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { 578 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) {
|
/linux-master/fs/ocfs2/ |
H A D | ocfs2_trace.h | 2231 TP_PROTO(unsigned long long ino, int old_len, const char *old_name, 2233 TP_ARGS(ino, old_len, old_name, name_len, name), 2236 __field(int, old_len) 2243 __entry->old_len = old_len; 2249 __entry->old_len, __get_str(old_name), 2262 int old_len, const char *old_name, 2265 old_len, old_name, new_len, new_name), 2271 __field(int, old_len) 2281 __entry->old_len [all...] |
/linux-master/fs/reiserfs/ |
H A D | do_balan.c | 640 loff_t old_key_comp, old_len, r_zeroes_number; local 649 old_len = ih_item_len(ih); 658 offset = le_ih_k_offset(ih) + ((old_len - tb->rbytes) << shift); 664 if ((old_len - tb->rbytes) > tb->zeroes_num) { 666 r_body = body + (old_len - tb->rbytes) - tb->zeroes_num; 670 (old_len - tb->rbytes); 684 put_ih_item_len(ih, old_len - tb->rbytes); 942 int old_key_comp, old_len, r_zeroes_number; local 951 old_len = ih_item_len(ih); 962 ((old_len [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_log_recover.c | 2075 int old_len; local 2100 old_len = item->ri_buf[item->ri_cnt-1].i_len; 2102 ptr = kvrealloc(old_ptr, old_len, len + old_len, GFP_KERNEL); 2105 memcpy(&ptr[old_len], dp, len);
|
/linux-master/include/linux/ |
H A D | perf_event.h | 1550 const void *old_bytes, size_t old_len, 1800 size_t old_len, 1798 perf_event_text_poke(const void *addr, const void *old_bytes, size_t old_len, const void *new_bytes, size_t new_len) argument
|
H A D | syscalls.h | 772 unsigned long old_len, unsigned long new_len,
|
/linux-master/kernel/events/ |
H A D | core.c | 9341 u16 old_len; member in struct:perf_text_poke_event 9375 perf_output_put(&handle, text_poke_event->old_len); 9378 __output_copy(&handle, text_poke_event->old_bytes, text_poke_event->old_len); 9390 size_t old_len, const void *new_bytes, size_t new_len) 9398 tot = sizeof(text_poke_event.old_len) + old_len; 9406 .old_len = old_len, 9389 perf_event_text_poke(const void *addr, const void *old_bytes, size_t old_len, const void *new_bytes, size_t new_len) argument
|
/linux-master/mm/ |
H A D | mremap.c | 651 unsigned long old_addr, unsigned long old_len, 656 long to_account = new_len - old_len; 682 if (!err && vma->vm_end != old_addr + old_len) 683 err = vma->vm_ops->may_split(vma, old_addr + old_len); 695 err = ksm_madvise(vma, old_addr, old_addr + old_len, 715 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, 717 if (moved_len < old_len) { 732 old_len = new_len; 748 if (vma->vm_end > old_addr + old_len) 754 * since do_munmap() will decrement it by old_len 650 move_vma(struct vm_area_struct *vma, unsigned long old_addr, unsigned long old_len, unsigned long new_len, unsigned long new_addr, bool *locked, unsigned long flags, struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) argument 813 vma_to_resize(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags) argument 867 mremap_to(unsigned long addr, unsigned long old_len, unsigned long new_addr, unsigned long new_len, bool *locked, unsigned long flags, struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap_early, struct list_head *uf_unmap) argument [all...] |
H A D | nommu.c | 1543 unsigned long old_len, unsigned long new_len, 1549 old_len = PAGE_ALIGN(old_len); 1551 if (old_len == 0 || new_len == 0) 1560 vma = find_vma_exact(current->mm, addr, old_len); 1564 if (vma->vm_end != vma->vm_start + old_len) 1578 SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, 1585 ret = do_mremap(addr, old_len, new_len, flags, new_addr); 1542 do_mremap(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr) argument
|
/linux-master/net/core/ |
H A D | filter.c | 558 * bpf_convert_filter(old_prog, old_len, NULL, &new_len, &seen_ld_abs) 562 * bpf_convert_filter(old_prog, old_len, new_prog, &new_len, &seen_ld_abs) 1251 int err, new_len, old_len = fp->len; local 1265 old_prog = kmemdup(fp->insns, old_len * sizeof(struct sock_filter), 1273 err = bpf_convert_filter(old_prog, old_len, NULL, &new_len, 1293 err = bpf_convert_filter(old_prog, old_len, fp, &new_len, 3730 unsigned int old_len = skb->len; local 3735 memset(skb->data + old_len, 0, new_len - old_len);
|