/linux-6.6.21/mm/ |
D | hugetlb.c | 2930 struct folio *new_folio; in alloc_and_dissolve_hugetlb_folio() local 2940 new_folio = alloc_buddy_hugetlb_folio(h, gfp_mask, nid, NULL, NULL); in alloc_and_dissolve_hugetlb_folio() 2941 if (!new_folio) in alloc_and_dissolve_hugetlb_folio() 2943 __prep_new_hugetlb_folio(h, new_folio); in alloc_and_dissolve_hugetlb_folio() 2988 enqueue_hugetlb_folio(h, new_folio); in alloc_and_dissolve_hugetlb_folio() 3002 folio_ref_unfreeze(new_folio, 1); in alloc_and_dissolve_hugetlb_folio() 3003 update_and_free_hugetlb_folio(h, new_folio, false); in alloc_and_dissolve_hugetlb_folio() 5022 struct folio *new_folio, pte_t old, unsigned long sz) in hugetlb_install_folio() argument 5024 pte_t newpte = make_huge_pte(vma, &new_folio->page, 1); in hugetlb_install_folio() 5026 __folio_mark_uptodate(new_folio); in hugetlb_install_folio() [all …]
|
D | memory.c | 890 struct folio *new_folio; in copy_present_page() local 893 new_folio = *prealloc; in copy_present_page() 894 if (!new_folio) in copy_present_page() 902 copy_user_highpage(&new_folio->page, page, addr, src_vma); in copy_present_page() 903 __folio_mark_uptodate(new_folio); in copy_present_page() 904 folio_add_new_anon_rmap(new_folio, dst_vma, addr); in copy_present_page() 905 folio_add_lru_vma(new_folio, dst_vma); in copy_present_page() 909 pte = mk_pte(&new_folio->page, dst_vma->vm_page_prot); in copy_present_page() 985 struct folio *new_folio; in page_copy_prealloc() local 987 new_folio = vma_alloc_folio(GFP_HIGHUSER_MOVABLE, 0, vma, addr, false); in page_copy_prealloc() [all …]
|
D | hugetlb_cgroup.c | 887 void hugetlb_cgroup_migrate(struct folio *old_folio, struct folio *new_folio) in hugetlb_cgroup_migrate() argument 903 set_hugetlb_cgroup(new_folio, h_cg); in hugetlb_cgroup_migrate() 904 set_hugetlb_cgroup_rsvd(new_folio, h_cg_rsvd); in hugetlb_cgroup_migrate() 905 list_move(&new_folio->lru, &h->hugepage_activelist); in hugetlb_cgroup_migrate()
|
D | mempolicy.c | 1218 static struct folio *new_folio(struct folio *src, unsigned long start) in new_folio() function 1259 static struct folio *new_folio(struct folio *src, unsigned long start) in new_folio() function 1358 nr_failed = migrate_pages(&pagelist, new_folio, NULL, in do_mbind()
|
D | huge_memory.c | 2414 struct folio *new_folio = (struct folio *)page_tail; in __split_huge_page_tail() local 2464 new_folio->swap.val = folio->swap.val + tail; in __split_huge_page_tail()
|
/linux-6.6.21/include/linux/ |
D | hugetlb_cgroup.h | 168 struct folio *new_folio); 277 struct folio *new_folio) in hugetlb_cgroup_migrate() argument
|
D | hugetlb.h | 170 void move_hugetlb_state(struct folio *old_folio, struct folio *new_folio, int reason); 464 struct folio *new_folio, int reason) in move_hugetlb_state() argument
|
/linux-6.6.21/fs/jbd2/ |
D | journal.c | 336 struct folio *new_folio; in jbd2_journal_write_metadata_buffer() local 365 new_folio = virt_to_folio(jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer() 366 new_offset = offset_in_folio(new_folio, jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer() 368 new_folio = jh2bh(jh_in)->b_folio; in jbd2_journal_write_metadata_buffer() 369 new_offset = offset_in_folio(new_folio, jh2bh(jh_in)->b_data); in jbd2_journal_write_metadata_buffer() 372 mapped_data = kmap_local_folio(new_folio, new_offset); in jbd2_journal_write_metadata_buffer() 411 memcpy_from_folio(tmp, new_folio, new_offset, bh_in->b_size); in jbd2_journal_write_metadata_buffer() 413 new_folio = virt_to_folio(tmp); in jbd2_journal_write_metadata_buffer() 414 new_offset = offset_in_folio(new_folio, tmp); in jbd2_journal_write_metadata_buffer() 430 mapped_data = kmap_local_folio(new_folio, new_offset); in jbd2_journal_write_metadata_buffer() [all …]
|
/linux-6.6.21/kernel/events/ |
D | uprobes.c | 157 struct folio *new_folio; in __replace_page() local 167 new_folio = page_folio(new_page); in __replace_page() 168 err = mem_cgroup_charge(new_folio, vma->vm_mm, GFP_KERNEL); in __replace_page() 183 folio_get(new_folio); in __replace_page() 185 folio_add_lru_vma(new_folio, vma); in __replace_page()
|