Home
last modified time | relevance | path

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

/linux/include/trace/events/
A 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/mm/
A Ddebug.c61 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 Drmap.c764 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 Dhuge_memory.c2547 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 Dswapfile.c1612 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 Dfilemap.c167 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 Dxen-scsiback.c402 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 Dtask_mmu.c466 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 Dstk-webcam.h36 int mapcount; member
A 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/kernel/irq/
A Dirqdomain.c556 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 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
A 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
/linux/Documentation/translations/zh_CN/dev-tools/
A Dkasan.rst123 page:ffffea0007d13b00 count:1 mapcount:0 mapping:ffff8801f7001640 index:0x0
/linux/include/linux/
A Dirqdomain.h168 unsigned int mapcount; member
A Dmm.h852 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 Dkasan.rst121 page:ffffea0007d13b00 count:1 mapcount:0 mapping:ffff8801f7001640 index:0x0
/linux/Documentation/admin-guide/cgroup-v1/
A Dmemory.rst773 | | And mapcount of the page is ignored (the page can be moved even if |

Completed in 65 milliseconds