Home
last modified time | relevance | path

Searched refs:old_page (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/fs/sysv/
Dnamei.c200 struct page * old_page; in sysv_rename() local
207 old_de = sysv_find_entry(old_dentry, &old_page); in sysv_rename()
243 sysv_delete_entry(old_de, old_page); in sysv_rename()
258 kunmap(old_page); in sysv_rename()
259 put_page(old_page); in sysv_rename()
/linux-6.1.9/fs/minix/
Dnamei.c196 struct page * old_page; in minix_rename() local
203 old_de = minix_find_entry(old_dentry, &old_page); in minix_rename()
239 minix_delete_entry(old_de, old_page); in minix_rename()
254 kunmap(old_page); in minix_rename()
255 put_page(old_page); in minix_rename()
/linux-6.1.9/fs/ufs/
Dnamei.c254 struct page *old_page; in ufs_rename() local
261 old_de = ufs_find_entry(old_dir, &old_dentry->d_name, &old_page); in ufs_rename()
303 ufs_delete_entry(old_dir, old_de, old_page); in ufs_rename()
324 kunmap(old_page); in ufs_rename()
325 put_page(old_page); in ufs_rename()
/linux-6.1.9/fs/ext2/
Dnamei.c328 struct page * old_page; in ext2_rename() local
344 old_de = ext2_find_entry(old_dir, &old_dentry->d_name, &old_page, in ext2_rename()
394 ext2_delete_entry(old_de, old_page, old_page_addr); in ext2_rename()
405 ext2_put_page(old_page, old_page_addr); in ext2_rename()
412 ext2_put_page(old_page, old_page_addr); in ext2_rename()
/linux-6.1.9/fs/f2fs/
Dnamei.c955 struct page *old_page, *new_page = NULL; in f2fs_rename() local
1006 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_rename()
1008 if (IS_ERR(old_page)) in f2fs_rename()
1009 err = PTR_ERR(old_page); in f2fs_rename()
1085 f2fs_delete_entry(old_entry, old_page, old_dir, NULL); in f2fs_rename()
1086 old_page = NULL; in f2fs_rename()
1131 f2fs_put_page(old_page, 0); in f2fs_rename()
1144 struct page *old_page, *new_page; in f2fs_cross_rename() local
1172 old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page); in f2fs_cross_rename()
1174 if (IS_ERR(old_page)) in f2fs_cross_rename()
[all …]
/linux-6.1.9/kernel/events/
Duprobes.c155 struct page *old_page, struct page *new_page) in __replace_page() argument
157 struct folio *old_folio = page_folio(old_page); in __replace_page()
181 VM_BUG_ON_PAGE(addr != pvmw.address, old_page); in __replace_page()
192 dec_mm_counter(mm, mm_counter_file(old_page)); in __replace_page()
202 page_remove_rmap(old_page, vma, false); in __replace_page()
465 struct page *old_page, *new_page; in uprobe_write_opcode() local
479 &old_page, &vma, NULL); in uprobe_write_opcode()
483 ret = verify_opcode(old_page, vaddr, &opcode); in uprobe_write_opcode()
487 if (WARN(!is_register && PageCompound(old_page), in uprobe_write_opcode()
503 if (!is_register && !PageAnon(old_page)) in uprobe_write_opcode()
[all …]
/linux-6.1.9/fs/nilfs2/
Dnamei.c352 struct page *old_page; in nilfs_rename() local
365 old_de = nilfs_find_entry(old_dir, &old_dentry->d_name, &old_page); in nilfs_rename()
411 nilfs_delete_entry(old_de, old_page); in nilfs_rename()
429 kunmap(old_page); in nilfs_rename()
430 put_page(old_page); in nilfs_rename()
/linux-6.1.9/kernel/
Dkexec_core.c750 struct page *old_page; in kimage_alloc_page() local
753 old_page = boot_pfn_to_page(old_addr >> PAGE_SHIFT); in kimage_alloc_page()
754 copy_highpage(page, old_page); in kimage_alloc_page()
762 PageHighMem(old_page)) { in kimage_alloc_page()
763 kimage_free_pages(old_page); in kimage_alloc_page()
766 page = old_page; in kimage_alloc_page()
/linux-6.1.9/drivers/media/usb/gspca/m5602/
Dm5602_s5k83a.c537 u8 page, old_page; in s5k83a_dump_registers() local
538 m5602_read_sensor(sd, S5K83A_PAGE_MAP, &old_page, 1); in s5k83a_dump_registers()
575 m5602_write_sensor(sd, S5K83A_PAGE_MAP, &old_page, 1); in s5k83a_dump_registers()
Dm5602_s5k4aa.c720 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()
/linux-6.1.9/mm/
Dhugetlb.c2894 static int alloc_and_dissolve_huge_page(struct hstate *h, struct page *old_page, in alloc_and_dissolve_huge_page() argument
2898 int nid = page_to_nid(old_page); in alloc_and_dissolve_huge_page()
2916 if (!PageHuge(old_page)) { in alloc_and_dissolve_huge_page()
2921 } else if (page_count(old_page)) { in alloc_and_dissolve_huge_page()
2927 ret = isolate_hugetlb(old_page, list); in alloc_and_dissolve_huge_page()
2930 } else if (!HPageFreed(old_page)) { in alloc_and_dissolve_huge_page()
2947 remove_hugetlb_page(h, old_page, false); in alloc_and_dissolve_huge_page()
2960 update_and_free_page(h, old_page, false); in alloc_and_dissolve_huge_page()
5474 struct page *old_page, *new_page; in hugetlb_wp() local
5499 old_page = pte_page(pte); in hugetlb_wp()
[all …]
Dmemory.c3101 struct page *old_page = vmf->page; in wp_page_copy() local
3123 if (!__wp_page_copy_user(new_page, old_page, vmf)) { in wp_page_copy()
3131 if (old_page) in wp_page_copy()
3132 put_page(old_page); in wp_page_copy()
3137 kmsan_copy_page_meta(new_page, old_page); in wp_page_copy()
3156 if (old_page) { in wp_page_copy()
3157 if (!PageAnon(old_page)) { in wp_page_copy()
3159 mm_counter_file(old_page)); in wp_page_copy()
3195 if (old_page) { in wp_page_copy()
3218 page_remove_rmap(old_page, vma, false); in wp_page_copy()
[all …]
/linux-6.1.9/drivers/staging/rts5208/
Dxd.c1102 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()