Home
last modified time | relevance | path

Searched refs:compound (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/include/linux/
H A Drmap.h175 * No special request: if the page is a subpage of a compound page, it is
184 * The compound page is not mapped via PTEs, but instead via a single PMD and
200 bool compound);
202 struct vm_area_struct *, bool compound);
204 bool compound);
211 static inline void __page_dup_rmap(struct page *page, bool compound) in __page_dup_rmap() argument
213 if (compound) { in __page_dup_rmap()
216 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in __page_dup_rmap()
223 static inline void page_dup_file_rmap(struct page *page, bool compound) in page_dup_file_rmap() argument
225 __page_dup_rmap(page, compound); in page_dup_file_rmap()
245 page_try_dup_anon_rmap(struct page *page, bool compound, struct vm_area_struct *vma) page_try_dup_anon_rmap() argument
[all...]
/kernel/linux/linux-5.10/scripts/
H A Dasn1_compiler.c669 enum compound { enum
691 enum compound compound : 8; member
941 element->compound = implicit ? TAG_OVERRIDE : SEQUENCE; in parse_type()
954 element->compound = ANY; in parse_type()
962 element->compound = NOT_COMPOUND; in parse_type()
985 element->compound = NOT_COMPOUND; in parse_type()
991 element->compound = NOT_COMPOUND; in parse_type()
1001 element->compound = NOT_COMPOUND; in parse_type()
1011 element->compound in parse_type()
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dasn1_compiler.c669 enum compound { enum
691 enum compound compound : 8; member
941 element->compound = implicit ? TAG_OVERRIDE : SEQUENCE; in parse_type()
954 element->compound = ANY; in parse_type()
962 element->compound = NOT_COMPOUND; in parse_type()
985 element->compound = NOT_COMPOUND; in parse_type()
991 element->compound = NOT_COMPOUND; in parse_type()
1001 element->compound = NOT_COMPOUND; in parse_type()
1011 element->compound in parse_type()
[all...]
/kernel/linux/linux-5.10/mm/
H A Drmap.c1106 * @compound: charge the page as compound or small page
1114 struct vm_area_struct *vma, unsigned long address, bool compound) in page_add_anon_rmap()
1116 do_page_add_anon_rmap(page, vma, address, compound ? RMAP_COMPOUND : 0); in page_add_anon_rmap()
1127 bool compound = flags & RMAP_COMPOUND; in do_page_add_anon_rmap() local
1135 if (compound) { in do_page_add_anon_rmap()
1146 int nr = compound ? thp_nr_pages(page) : 1; in do_page_add_anon_rmap()
1153 if (compound) in do_page_add_anon_rmap()
1176 * @compound: charge the page as compound o
1113 page_add_anon_rmap(struct page *page, struct vm_area_struct *vma, unsigned long address, bool compound) page_add_anon_rmap() argument
1182 page_add_new_anon_rmap(struct page *page, struct vm_area_struct *vma, unsigned long address, bool compound) page_add_new_anon_rmap() argument
1214 page_add_file_rmap(struct page *page, bool compound) page_add_file_rmap() argument
1247 page_remove_file_rmap(struct page *page, bool compound) page_remove_file_rmap() argument
1339 page_remove_rmap(struct page *page, bool compound) page_remove_rmap() argument
[all...]
H A Ddebug.c54 bool compound = PageCompound(page); in __dump_page() local
90 compound = false; in __dump_page()
105 if (compound) { in __dump_page()
H A Dhuge_memory.c2415 /* Page flags must be visible before we make the page non-compound. */ in __split_huge_page_tail()
2535 int i, compound, nr, ret; in total_mapcount() local
2542 compound = compound_mapcount(page); in total_mapcount()
2545 return compound; in total_mapcount()
2546 ret = compound; in total_mapcount()
2551 return ret - compound * nr; in total_mapcount()
H A Dpage_alloc.c683 * Higher-order pages are called "compound pages". They are structured thusly:
690 * The first tail page's ->compound_dtor holds the offset in array of compound
694 * This usage means that zero-order pages may not be compound.
1237 bool compound = PageCompound(page); in free_pages_prepare() local
1240 VM_BUG_ON_PAGE(compound && compound_order(page) != order, page); in free_pages_prepare()
1242 if (compound) in free_pages_prepare()
1245 if (compound) in free_pages_prepare()
3289 * split_page takes a non-compound higher-order page, and splits it into
5268 * Frees a page fragment allocated out of either a compound or order 0 page.
8532 * because another CPU can free compound pag in has_unmovable_pages()
[all...]
H A Dmemcontrol.c5739 * @compound: charge the page as compound or small page
5749 bool compound, in mem_cgroup_move_account()
5755 unsigned int nr_pages = compound ? thp_nr_pages(page) : 1; in mem_cgroup_move_account()
5760 VM_BUG_ON(compound && !PageTransHuge(page)); in mem_cgroup_move_account()
5748 mem_cgroup_move_account(struct page *page, bool compound, struct mem_cgroup *from, struct mem_cgroup *to) mem_cgroup_move_account() argument
/kernel/linux/linux-6.6/mm/
H A Ddebug.c59 bool compound = PageCompound(page); in __dump_page() local
86 compound = false; in __dump_page()
101 if (compound) { in __dump_page()
H A Drmap.c1220 bool compound = flags & RMAP_COMPOUND; in page_add_anon_rmap() local
1224 if (likely(!compound)) { in page_add_anon_rmap()
1267 mlock_vma_folio(folio, vma, compound); in page_add_anon_rmap()
1313 * @compound: charge the page as compound or small page
1321 bool compound) in folio_add_file_rmap_range()
1327 VM_WARN_ON_FOLIO(compound && !folio_test_pmd_mappable(folio), folio); in folio_add_file_rmap_range()
1330 if (likely(!compound)) { in folio_add_file_rmap_range()
1366 mlock_vma_folio(folio, vma, compound); in folio_add_file_rmap_range()
1373 * @compound
1319 folio_add_file_rmap_range(struct folio *folio, struct page *page, unsigned int nr_pages, struct vm_area_struct *vma, bool compound) folio_add_file_rmap_range() argument
1377 page_add_file_rmap(struct page *page, struct vm_area_struct *vma, bool compound) page_add_file_rmap() argument
1401 page_remove_rmap(struct page *page, struct vm_area_struct *vma, bool compound) page_remove_rmap() argument
[all...]
H A Dinternal.h739 * @compound is used to include pmd mappings of THPs, but filter out
745 struct vm_area_struct *vma, bool compound) in mlock_vma_folio()
756 (compound || !folio_test_large(folio))) in mlock_vma_folio()
762 struct vm_area_struct *vma, bool compound) in munlock_vma_folio()
765 (compound || !folio_test_large(folio))) in munlock_vma_folio()
804 * If page is a compound head, the entire compound page is considered.
744 mlock_vma_folio(struct folio *folio, struct vm_area_struct *vma, bool compound) mlock_vma_folio() argument
761 munlock_vma_folio(struct folio *folio, struct vm_area_struct *vma, bool compound) munlock_vma_folio() argument
H A Dpage_alloc.c575 * Higher-order pages are called "compound pages". They are structured thusly:
583 * This usage means that zero-order pages may not be compound.
1111 bool compound = PageCompound(page); in free_pages_prepare() local
1114 VM_BUG_ON_PAGE(compound && compound_order(page) != order, page); in free_pages_prepare()
1116 if (compound) in free_pages_prepare()
1119 if (compound) in free_pages_prepare()
2556 * split_page takes a non-compound higher-order page, and splits it into
4534 * This function can free multi-page allocations that are not compound
4540 * by put_page() which only frees the first page of a non-compound
4544 * compound pag
[all...]
H A Dmemcontrol.c5825 * @compound: charge the page as compound or small page
5835 bool compound, in mem_cgroup_move_account()
5842 unsigned int nr_pages = compound ? folio_nr_pages(folio) : 1; in mem_cgroup_move_account()
5848 VM_BUG_ON(compound && !folio_test_large(folio)); in mem_cgroup_move_account()
5834 mem_cgroup_move_account(struct page *page, bool compound, struct mem_cgroup *from, struct mem_cgroup *to) mem_cgroup_move_account() argument
/kernel/linux/linux-5.10/include/linux/
H A Drmap.h190 static inline void page_dup_rmap(struct page *page, bool compound) in page_dup_rmap() argument
192 atomic_inc(compound ? compound_mapcount_ptr(page) : &page->_mapcount); in page_dup_rmap()
/kernel/linux/linux-5.10/fs/proc/
H A Dtask_mmu.c458 bool compound, bool young, bool dirty, bool locked, in smaps_account()
461 int i, nr = compound ? compound_nr(page) : 1; in smaps_account()
466 * of the compound page. in smaps_account()
484 * If any subpage of the compound page mapped with PTE it would elevate in smaps_account()
457 smaps_account(struct mem_size_stats *mss, struct page *page, bool compound, bool young, bool dirty, bool locked, bool migration) smaps_account() argument
/kernel/linux/linux-6.6/fs/proc/
H A Dtask_mmu.c455 bool compound, bool young, bool dirty, bool locked, in smaps_account()
458 int i, nr = compound ? compound_nr(page) : 1; in smaps_account()
463 * of the compound page. in smaps_account()
484 * If any subpage of the compound page mapped with PTE it would elevate in smaps_account()
454 smaps_account(struct mem_size_stats *mss, struct page *page, bool compound, bool young, bool dirty, bool locked, bool migration) smaps_account() argument
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dhmm-tests.c1385 TEST_F(hmm, compound) in TEST_F()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dhmm-tests.c1568 TEST_F(hmm, compound) in TEST_F()

Completed in 56 milliseconds