/Linux-v4.19/include/trace/events/ |
D | page_ref.h | 23 __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-v4.19/mm/ |
D | debug.c | 47 int mapcount; in __dump_page() local 64 mapcount = PageSlab(page) ? 0 : page_mapcount(page); in __dump_page() 67 page, page_ref_count(page), mapcount, in __dump_page()
|
D | huge_memory.c | 2525 int i, ret, _total_mapcount, mapcount; in page_trans_huge_mapcount() local 2531 mapcount = atomic_read(&page->_mapcount) + 1; in page_trans_huge_mapcount() 2533 *total_mapcount = mapcount; in page_trans_huge_mapcount() 2534 return mapcount; in page_trans_huge_mapcount() 2541 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_mapcount() 2542 ret = max(ret, mapcount); in page_trans_huge_mapcount() 2543 _total_mapcount += mapcount; in page_trans_huge_mapcount() 2549 mapcount = compound_mapcount(page); in page_trans_huge_mapcount() 2550 ret += mapcount; in page_trans_huge_mapcount() 2551 _total_mapcount += mapcount; in page_trans_huge_mapcount() [all …]
|
D | rmap.c | 745 int mapcount; member 796 pra->mapcount--; in page_referenced_one() 809 if (!pra->mapcount) in page_referenced_one() 843 .mapcount = total_mapcount(page), in page_referenced() 1105 atomic_t *mapcount; in do_page_add_anon_rmap() local 1108 mapcount = compound_mapcount_ptr(page); in do_page_add_anon_rmap() 1109 first = atomic_inc_and_test(mapcount); in do_page_add_anon_rmap()
|
D | swapfile.c | 1469 int mapcount, swapcount = 0; in page_trans_huge_map_swapcount() local 1475 mapcount = page_trans_huge_mapcount(page, total_mapcount); in page_trans_huge_map_swapcount() 1480 return mapcount + swapcount; in page_trans_huge_map_swapcount() 1499 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_map_swapcount() 1500 _total_mapcount += mapcount; in page_trans_huge_map_swapcount() 1505 map_swapcount = max(map_swapcount, mapcount + swapcount); in page_trans_huge_map_swapcount() 1512 mapcount = compound_mapcount(page); in page_trans_huge_map_swapcount() 1513 map_swapcount += mapcount; in page_trans_huge_map_swapcount() 1514 _total_mapcount += mapcount; in page_trans_huge_map_swapcount()
|
D | filemap.c | 203 int mapcount; in unaccount_page_cache_page() local 211 mapcount = page_mapcount(page); in unaccount_page_cache_page() 213 page_count(page) >= mapcount + 2) { in unaccount_page_cache_page() 221 page_ref_sub(page, mapcount); in unaccount_page_cache_page()
|
/Linux-v4.19/drivers/xen/ |
D | xen-scsiback.c | 444 int mapcount = 0, i, err = 0; in scsiback_gnttab_data_map_list() local 449 if (get_free_page(pg + mapcount)) { in scsiback_gnttab_data_map_list() 450 put_free_pages(pg, mapcount); in scsiback_gnttab_data_map_list() 454 gnttab_set_map_op(&map[mapcount], vaddr_page(pg[mapcount]), in scsiback_gnttab_data_map_list() 456 mapcount++; in scsiback_gnttab_data_map_list() 457 if (mapcount < VSCSI_GRANT_BATCH) in scsiback_gnttab_data_map_list() 459 err = scsiback_gnttab_data_map_batch(map, pg, grant, mapcount); in scsiback_gnttab_data_map_list() 460 pg += mapcount; in scsiback_gnttab_data_map_list() 461 grant += mapcount; in scsiback_gnttab_data_map_list() 462 pending_req->n_grants += mapcount; in scsiback_gnttab_data_map_list() [all …]
|
/Linux-v4.19/fs/proc/ |
D | task_mmu.c | 457 int mapcount = page_mapcount(page); in smaps_account() local 459 if (mapcount >= 2) { in smaps_account() 464 mss->pss += (PAGE_SIZE << PSS_SHIFT) / mapcount; in smaps_account() 501 int mapcount; in smaps_pte_entry() local 504 mapcount = swp_swapcount(swpent); in smaps_pte_entry() 505 if (mapcount >= 2) { in smaps_pte_entry() 508 do_div(pss_delta, mapcount); in smaps_pte_entry() 691 int mapcount = page_mapcount(page); in smaps_hugetlb_range() local 693 if (mapcount >= 2) in smaps_hugetlb_range()
|
/Linux-v4.19/drivers/media/usb/stkwebcam/ |
D | stk-webcam.h | 45 int mapcount; member
|
D | stk-webcam.c | 523 buf->mapcount = 0; in stk_setup_siobuf() 545 if (dev->sio_bufs[i].mapcount > 0) in stk_free_sio_buffers() 745 sbuf->mapcount++; in stk_v4l_vm_open() 750 sbuf->mapcount--; in stk_v4l_vm_close() 751 if (sbuf->mapcount == 0) in stk_v4l_vm_close()
|
/Linux-v4.19/kernel/irq/ |
D | irqdomain.c | 511 domain->mapcount--; in irq_domain_disassociate() 557 domain->mapcount++; in irq_domain_associate() 1039 domain->mapcount++; in irq_domain_insert_irq() 1063 domain->mapcount--; in irq_domain_remove_irq() 1706 seq_printf(m, "%*smapped: %u\n", ind + 1, "", d->mapcount); in irq_domain_debug_show_one()
|
/Linux-v4.19/Documentation/vm/ |
D | transhuge.rst | 145 This is optimization required to lower overhead of per-subpage mapcount 162 sum of mapcount of all sub-pages plus one (split_huge_page caller must
|
D | page_migration.rst | 102 entries. This decreases the mapcount of a page. If the resulting 103 mapcount is not zero then we do not migrate the page. All user space
|
/Linux-v4.19/include/linux/ |
D | irqdomain.h | 163 unsigned int mapcount; member
|
D | mm.h | 649 int mapcount = page_mapcount(page); in page_trans_huge_mapcount() local 651 *total_mapcount = mapcount; in page_trans_huge_mapcount() 652 return mapcount; in page_trans_huge_mapcount()
|
/Linux-v4.19/Documentation/cgroup-v1/ |
D | memory.txt | 703 | And mapcount of the page is ignored (the page can be moved even if
|