Home
last modified time | relevance | path

Searched refs:mapcount (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/include/trace/events/
Dpage_ref.h23 __field(int, mapcount)
33 __entry->mapcount = page_mapcount(page);
43 __entry->mapcount, __entry->mapping, __entry->mt,
71 __field(int, mapcount)
82 __entry->mapcount = page_mapcount(page);
93 __entry->mapcount, __entry->mapping, __entry->mt,
/linux-6.1.9/mm/
Ddebug.c62 int mapcount; in __dump_page() local
91 mapcount = PageSlab(head) ? 0 : page_mapcount(page); in __dump_page()
94 page, page_ref_count(head), mapcount, mapping, in __dump_page()
Drmap.c798 int mapcount; member
854 pra->mapcount--; in folio_referenced_one()
867 if (!pra->mapcount) in folio_referenced_one()
901 .mapcount = folio_mapcount(folio), in folio_referenced()
912 if (!pra.mapcount) in folio_referenced()
1206 atomic_t *mapcount; in page_add_anon_rmap() local
1209 mapcount = compound_mapcount_ptr(page); in page_add_anon_rmap()
1210 first = atomic_inc_and_test(mapcount); in page_add_anon_rmap()
Dfilemap.c162 int mapcount = page_mapcount(&folio->page); in filemap_unaccount_folio() local
164 if (folio_ref_count(folio) >= mapcount + 2) { in filemap_unaccount_folio()
172 folio_ref_sub(folio, mapcount); in filemap_unaccount_folio()
/linux-6.1.9/drivers/xen/
Dxen-scsiback.c466 int mapcount = 0, i, err = 0; in scsiback_gnttab_data_map_list() local
471 if (gnttab_page_cache_get(&info->free_pages, pg + mapcount)) { in scsiback_gnttab_data_map_list()
472 gnttab_page_cache_put(&info->free_pages, pg, mapcount); in scsiback_gnttab_data_map_list()
476 gnttab_set_map_op(&map[mapcount], vaddr_page(pg[mapcount]), in scsiback_gnttab_data_map_list()
478 mapcount++; in scsiback_gnttab_data_map_list()
479 if (mapcount < VSCSI_GRANT_BATCH) in scsiback_gnttab_data_map_list()
481 err = scsiback_gnttab_data_map_batch(map, pg, grant, mapcount); in scsiback_gnttab_data_map_list()
482 pg += mapcount; in scsiback_gnttab_data_map_list()
483 grant += mapcount; in scsiback_gnttab_data_map_list()
484 pending_req->n_grants += mapcount; in scsiback_gnttab_data_map_list()
[all …]
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dpage_migration.rst80 4. 所有对该页的页表引用都被转换为迁移条目。这就减少了一个页面的mapcount。如果产生的
81 mapcount不是零,那么我们就不迁移该页。所有试图访问该页的用户空间进程现在将等待页
/linux-6.1.9/fs/proc/
Dtask_mmu.c490 int mapcount = page_mapcount(page); in smaps_account() local
492 if (mapcount >= 2) in smaps_account()
493 pss /= mapcount; in smaps_account()
495 mapcount < 2); in smaps_account()
543 int mapcount; in smaps_pte_entry() local
546 mapcount = swp_swapcount(swpent); in smaps_pte_entry()
547 if (mapcount >= 2) { in smaps_pte_entry()
550 do_div(pss_delta, mapcount); in smaps_pte_entry()
740 int mapcount = page_mapcount(page); in smaps_hugetlb_range() local
742 if (mapcount >= 2) in smaps_hugetlb_range()
/linux-6.1.9/drivers/staging/media/deprecated/stkwebcam/
Dstk-webcam.h36 int mapcount; member
Dstk-webcam.c525 buf->mapcount = 0; in stk_setup_siobuf()
547 if (dev->sio_bufs[i].mapcount > 0) in stk_free_sio_buffers()
746 sbuf->mapcount++; in stk_v4l_vm_open()
751 sbuf->mapcount--; in stk_v4l_vm_close()
752 if (sbuf->mapcount == 0) in stk_v4l_vm_close()
/linux-6.1.9/kernel/irq/
Dirqdomain.c556 domain->mapcount--; in irq_domain_disassociate()
602 domain->mapcount++; in irq_domain_associate()
1124 domain->mapcount++; in irq_domain_insert_irq()
1148 domain->mapcount--; in irq_domain_remove_irq()
1881 seq_printf(m, "%*smapped: %u\n", ind + 1, "", d->mapcount); in irq_domain_debug_show_one()
/linux-6.1.9/Documentation/mm/
Dpage_migration.rst105 entries. This decreases the mapcount of a page. If the resulting
106 mapcount is not zero then we do not migrate the page. All user space
Dtranshuge.rst135 This optimization is required to lower the overhead of per-subpage mapcount
152 the sum of mapcount of all sub-pages plus one (split_huge_page caller must
/linux-6.1.9/include/linux/
Dirqdomain.h170 unsigned int mapcount; member
/linux-6.1.9/Documentation/translations/zh_CN/dev-tools/
Dkasan.rst154 page:ffffea0007d13b00 count:1 mapcount:0 mapping:ffff8801f7001640 index:0x0
/linux-6.1.9/Documentation/dev-tools/
Dkasan.rst204 page:ffffea0007d13b00 count:1 mapcount:0 mapping:ffff8801f7001640 index:0x0
/linux-6.1.9/Documentation/admin-guide/cgroup-v1/
Dmemory.rst773 | | And mapcount of the page is ignored (the page can be moved even if |