/kernel/linux/linux-5.10/fs/sysv/ |
D | namei.c | 197 struct page * old_page; in sysv_rename() local 204 old_de = sysv_find_entry(old_dentry, &old_page); in sysv_rename() 240 sysv_delete_entry(old_de, old_page); in sysv_rename() 255 kunmap(old_page); in sysv_rename() 256 put_page(old_page); in sysv_rename()
|
/kernel/linux/linux-5.10/fs/minix/ |
D | namei.c | 192 struct page * old_page; in minix_rename() local 199 old_de = minix_find_entry(old_dentry, &old_page); in minix_rename() 235 minix_delete_entry(old_de, old_page); in minix_rename() 250 kunmap(old_page); in minix_rename() 251 put_page(old_page); in minix_rename()
|
/kernel/linux/linux-5.10/fs/ufs/ |
D | namei.c | 251 struct page *old_page; in ufs_rename() local 258 old_de = ufs_find_entry(old_dir, &old_dentry->d_name, &old_page); in ufs_rename() 300 ufs_delete_entry(old_dir, old_de, old_page); in ufs_rename() 321 kunmap(old_page); in ufs_rename() 322 put_page(old_page); in ufs_rename()
|
/kernel/linux/linux-5.10/kernel/events/ |
D | uprobes.c | 155 struct page *old_page, struct page *new_page) in __replace_page() argument 159 .page = compound_head(old_page), in __replace_page() 176 lock_page(old_page); in __replace_page() 182 VM_BUG_ON_PAGE(addr != pvmw.address, old_page); in __replace_page() 192 if (!PageAnon(old_page)) { in __replace_page() 193 dec_mm_counter(mm, mm_counter_file(old_page)); in __replace_page() 203 page_remove_rmap(old_page, false); in __replace_page() 204 if (!page_mapped(old_page)) in __replace_page() 205 try_to_free_swap(old_page); in __replace_page() 208 if ((vma->vm_flags & VM_LOCKED) && !PageCompound(old_page)) in __replace_page() [all …]
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | namei.c | 326 struct page * old_page; in ext2_rename() local 341 old_de = ext2_find_entry(old_dir, &old_dentry->d_name, &old_page); in ext2_rename() 387 ext2_delete_entry (old_de, old_page); in ext2_rename() 407 kunmap(old_page); in ext2_rename() 408 put_page(old_page); in ext2_rename()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | namei.c | 922 struct page *old_page, *new_page = NULL; in f2fs_rename() local 973 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_rename() 975 if (IS_ERR(old_page)) in f2fs_rename() 976 err = PTR_ERR(old_page); in f2fs_rename() 1052 f2fs_delete_entry(old_entry, old_page, old_dir, NULL); in f2fs_rename() 1053 old_page = NULL; in f2fs_rename() 1098 f2fs_put_page(old_page, 0); in f2fs_rename() 1112 struct page *old_page, *new_page; in f2fs_cross_rename() local 1140 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_cross_rename() 1142 if (IS_ERR(old_page)) in f2fs_cross_rename() [all …]
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | namei.c | 349 struct page *old_page; in nilfs_rename() local 362 old_de = nilfs_find_entry(old_dir, &old_dentry->d_name, &old_page); in nilfs_rename() 408 nilfs_delete_entry(old_de, old_page); in nilfs_rename() 426 kunmap(old_page); in nilfs_rename() 427 put_page(old_page); in nilfs_rename()
|
/kernel/linux/linux-5.10/kernel/ |
D | kexec_core.c | 754 struct page *old_page; in kimage_alloc_page() local 757 old_page = boot_pfn_to_page(old_addr >> PAGE_SHIFT); in kimage_alloc_page() 758 copy_highpage(page, old_page); in kimage_alloc_page() 766 PageHighMem(old_page)) { in kimage_alloc_page() 767 kimage_free_pages(old_page); in kimage_alloc_page() 771 page = old_page; in kimage_alloc_page()
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/m5602/ |
D | m5602_s5k83a.c | 542 u8 page, old_page; in s5k83a_dump_registers() local 543 m5602_read_sensor(sd, S5K83A_PAGE_MAP, &old_page, 1); in s5k83a_dump_registers() 580 m5602_write_sensor(sd, S5K83A_PAGE_MAP, &old_page, 1); in s5k83a_dump_registers()
|
D | m5602_s5k4aa.c | 720 u8 page, old_page; in s5k4aa_dump_registers() local 721 m5602_read_sensor(sd, S5K4AA_PAGE_MAP, &old_page, 1); in s5k4aa_dump_registers() 758 m5602_write_sensor(sd, S5K4AA_PAGE_MAP, &old_page, 1); in s5k4aa_dump_registers()
|
/kernel/linux/linux-5.10/mm/ |
D | memory.c | 2873 struct page *old_page = vmf->page; in wp_page_copy() local 2893 if (!cow_user_page(new_page, old_page, vmf)) { in wp_page_copy() 2901 if (old_page) in wp_page_copy() 2902 put_page(old_page); in wp_page_copy() 2923 if (old_page) { in wp_page_copy() 2924 if (!PageAnon(old_page)) { in wp_page_copy() 2926 mm_counter_file(old_page)); in wp_page_copy() 2958 if (old_page) { in wp_page_copy() 2981 page_remove_rmap(old_page, false); in wp_page_copy() 2985 new_page = old_page; in wp_page_copy() [all …]
|
D | hugetlb.c | 4151 struct page *old_page, *new_page; in hugetlb_cow() local 4158 old_page = pte_page(pte); in hugetlb_cow() 4163 if (page_mapcount(old_page) == 1 && PageAnon(old_page)) { in hugetlb_cow() 4164 page_move_anon_rmap(old_page, vma); in hugetlb_cow() 4179 old_page != pagecache_page) in hugetlb_cow() 4182 get_page(old_page); in hugetlb_cow() 4204 put_page(old_page); in hugetlb_cow() 4220 unmap_ref_private(mm, vma, old_page, haddr); in hugetlb_cow() 4249 copy_user_huge_page(new_page, old_page, address, vma, in hugetlb_cow() 4271 page_remove_rmap(old_page, true); in hugetlb_cow() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rts5208/ |
D | xd.c | 1102 u32 old_page, new_page; in xd_copy_page() local 1115 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page() 1134 xd_assign_phy_addr(chip, old_page, XD_RW_ADDR); in xd_copy_page() 1207 old_page++; in xd_copy_page()
|