Searched refs:mapcount (Results 1 - 9 of 9) sorted by relevance
/linux-master/include/trace/events/ |
H A D | page_ref.h | 23 __field(int, mapcount) 33 __entry->mapcount = atomic_read(&page->_mapcount); 39 TP_printk("pfn=0x%lx flags=%s count=%d mapcount=%d mapping=%p mt=%d val=%d", 43 __entry->mapcount, __entry->mapping, __entry->mt, 71 __field(int, mapcount) 82 __entry->mapcount = atomic_read(&page->_mapcount); 89 TP_printk("pfn=0x%lx flags=%s count=%d mapcount=%d mapping=%p mt=%d val=%d ret=%d", 93 __entry->mapcount, __entry->mapping, __entry->mt,
|
/linux-master/mm/ |
H A D | debug.c | 58 int mapcount = atomic_read(&page->_mapcount); local 61 mapcount = page_type_has_type(mapcount) ? 0 : mapcount + 1; 62 pr_warn("page: refcount:%d mapcount:%d mapping:%p index:%#lx pfn:%#lx\n", 63 folio_ref_count(folio), mapcount, mapping, 66 pr_warn("head: order:%u mapcount:%d entire_mapcount:%d nr_pages_mapped:%d pincount:%d\n",
|
H A D | rmap.c | 490 * if there is a mapcount, we can dereference the anon_vma after observing 829 int mapcount; member in struct:folio_referenced_arg 869 pra->mapcount--; 892 pra->mapcount--; 922 if (!pra->mapcount) 969 .mapcount = folio_mapcount(folio), 981 if (!pra.mapcount) 1573 * which increments mapcount after us but sets mapping before us:
|
H A D | filemap.c | 171 int mapcount = folio_mapcount(folio); local 173 if (folio_ref_count(folio) >= mapcount + 2) { 181 folio_ref_sub(folio, mapcount);
|
/linux-master/drivers/xen/ |
H A D | xen-scsiback.c | 466 int mapcount = 0, i, err = 0; local 471 if (gnttab_page_cache_get(&info->free_pages, pg + mapcount)) { 472 gnttab_page_cache_put(&info->free_pages, pg, mapcount); 476 gnttab_set_map_op(&map[mapcount], vaddr_page(pg[mapcount]), 478 mapcount++; 479 if (mapcount < VSCSI_GRANT_BATCH) 481 err = scsiback_gnttab_data_map_batch(map, pg, grant, mapcount); 482 pg += mapcount; 483 grant += mapcount; [all...] |
/linux-master/include/linux/ |
H A D | mm.h | 1232 int mapcount = atomic_read(&page->_mapcount) + 1; local 1235 if (mapcount < PAGE_MAPCOUNT_RESERVE + 1) 1236 mapcount = 0; 1238 mapcount += folio_entire_mapcount(page_folio(page)); 1240 return mapcount; 1253 * The folio mapcount corresponds to the number of present user page table 1271 int mapcount; local 1274 mapcount = atomic_read(&folio->_mapcount) + 1; 1276 if (mapcount < PAGE_MAPCOUNT_RESERVE + 1) 1277 mapcount 2209 int mapcount = folio_mapcount(folio); local [all...] |
H A D | irqdomain.h | 127 * @mapcount: The number of mapped interrupts 156 unsigned int mapcount; member in struct:irq_domain
|
/linux-master/kernel/irq/ |
H A D | irqdomain.c | 570 domain->mapcount--; 612 domain->mapcount++; 1174 domain->mapcount++; 1194 domain->mapcount--; 1940 seq_printf(m, "%*smapped: %u\n", ind + 1, "", d->mapcount);
|
/linux-master/fs/proc/ |
H A D | task_mmu.c | 382 * - supports mapcount up to 2^24, or 16M; 478 * The page_mapcount() is called to get a snapshot of the mapcount. 480 * we cannot always read the mapcount atomically. It is not safe to 483 * as mapcount == 1. 491 int mapcount = page_mapcount(page); local 493 if (mapcount >= 2) 494 pss /= mapcount; 496 dirty, locked, mapcount < 2); 545 int mapcount; local 548 mapcount [all...] |
Completed in 235 milliseconds