/linux/include/trace/events/ |
A 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/mm/ |
A D | debug.c | 61 int mapcount; in __dump_page() local 89 mapcount = PageSlab(head) ? 0 : page_mapcount(page); in __dump_page() 92 page, page_ref_count(head), mapcount, mapping, in __dump_page()
|
A D | rmap.c | 764 int mapcount; member 815 pra->mapcount--; in page_referenced_one() 828 if (!pra->mapcount) in page_referenced_one() 862 .mapcount = total_mapcount(page), in page_referenced() 872 if (!pra.mapcount) in page_referenced() 1133 atomic_t *mapcount; in do_page_add_anon_rmap() local 1136 mapcount = compound_mapcount_ptr(page); in do_page_add_anon_rmap() 1137 first = atomic_inc_and_test(mapcount); in do_page_add_anon_rmap()
|
A D | huge_memory.c | 2547 int i, ret, _total_mapcount, mapcount; in page_trans_huge_mapcount() local 2553 mapcount = atomic_read(&page->_mapcount) + 1; in page_trans_huge_mapcount() 2555 *total_mapcount = mapcount; in page_trans_huge_mapcount() 2556 return mapcount; in page_trans_huge_mapcount() 2563 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_mapcount() 2564 ret = max(ret, mapcount); in page_trans_huge_mapcount() 2565 _total_mapcount += mapcount; in page_trans_huge_mapcount() 2571 mapcount = compound_mapcount(page); in page_trans_huge_mapcount() 2572 ret += mapcount; in page_trans_huge_mapcount() 2573 _total_mapcount += mapcount; in page_trans_huge_mapcount()
|
A D | swapfile.c | 1612 int mapcount, swapcount = 0; in page_trans_huge_map_swapcount() local 1618 mapcount = page_trans_huge_mapcount(page, total_mapcount); in page_trans_huge_map_swapcount() 1623 return mapcount + swapcount; in page_trans_huge_map_swapcount() 1642 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_map_swapcount() 1643 _total_mapcount += mapcount; in page_trans_huge_map_swapcount() 1648 map_swapcount = max(map_swapcount, mapcount + swapcount); in page_trans_huge_map_swapcount() 1655 mapcount = compound_mapcount(page); in page_trans_huge_map_swapcount() 1656 map_swapcount += mapcount; in page_trans_huge_map_swapcount() 1657 _total_mapcount += mapcount; in page_trans_huge_map_swapcount()
|
A D | filemap.c | 167 int mapcount; in unaccount_page_cache_page() local 175 mapcount = page_mapcount(page); in unaccount_page_cache_page() 177 page_count(page) >= mapcount + 2) { in unaccount_page_cache_page() 185 page_ref_sub(page, mapcount); in unaccount_page_cache_page()
|
/linux/drivers/xen/ |
A D | xen-scsiback.c | 402 int mapcount = 0, i, err = 0; in scsiback_gnttab_data_map_list() local 407 if (gnttab_page_cache_get(&info->free_pages, pg + mapcount)) { in scsiback_gnttab_data_map_list() 408 gnttab_page_cache_put(&info->free_pages, pg, mapcount); in scsiback_gnttab_data_map_list() 412 gnttab_set_map_op(&map[mapcount], vaddr_page(pg[mapcount]), in scsiback_gnttab_data_map_list() 414 mapcount++; in scsiback_gnttab_data_map_list() 415 if (mapcount < VSCSI_GRANT_BATCH) in scsiback_gnttab_data_map_list() 418 pg += mapcount; in scsiback_gnttab_data_map_list() 419 grant += mapcount; in scsiback_gnttab_data_map_list() 420 pending_req->n_grants += mapcount; in scsiback_gnttab_data_map_list() 423 mapcount = 0; in scsiback_gnttab_data_map_list() [all …]
|
/linux/fs/proc/ |
A D | task_mmu.c | 466 int mapcount = page_mapcount(page); in smaps_account() local 468 if (mapcount >= 2) in smaps_account() 469 pss /= mapcount; in smaps_account() 471 mapcount < 2); in smaps_account() 516 int mapcount; in smaps_pte_entry() local 519 mapcount = swp_swapcount(swpent); in smaps_pte_entry() 520 if (mapcount >= 2) { in smaps_pte_entry() 523 do_div(pss_delta, mapcount); in smaps_pte_entry() 705 int mapcount = page_mapcount(page); in smaps_hugetlb_range() local 707 if (mapcount >= 2) in smaps_hugetlb_range()
|
/linux/drivers/media/usb/stkwebcam/ |
A D | stk-webcam.h | 36 int mapcount; member
|
A D | stk-webcam.c | 525 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/kernel/irq/ |
A D | irqdomain.c | 556 domain->mapcount--; in irq_domain_disassociate() 602 domain->mapcount++; in irq_domain_associate() 1122 domain->mapcount++; in irq_domain_insert_irq() 1146 domain->mapcount--; in irq_domain_remove_irq() 1878 seq_printf(m, "%*smapped: %u\n", ind + 1, "", d->mapcount); in irq_domain_debug_show_one()
|
/linux/Documentation/vm/ |
A D | transhuge.rst | 135 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
|
A D | page_migration.rst | 105 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
|
/linux/Documentation/translations/zh_CN/dev-tools/ |
A D | kasan.rst | 123 page:ffffea0007d13b00 count:1 mapcount:0 mapping:ffff8801f7001640 index:0x0
|
/linux/include/linux/ |
A D | irqdomain.h | 168 unsigned int mapcount; member
|
A D | mm.h | 852 int mapcount = page_mapcount(page); in page_trans_huge_mapcount() local 854 *total_mapcount = mapcount; in page_trans_huge_mapcount() 855 return mapcount; in page_trans_huge_mapcount()
|
/linux/Documentation/dev-tools/ |
A D | kasan.rst | 121 page:ffffea0007d13b00 count:1 mapcount:0 mapping:ffff8801f7001640 index:0x0
|
/linux/Documentation/admin-guide/cgroup-v1/ |
A D | memory.rst | 773 | | And mapcount of the page is ignored (the page can be moved even if |
|