Lines Matching defs:mapcount
486 unsigned long address, unsigned int *mapcount,
504 *mapcount = 1; /* break early from loop */
528 (*mapcount)--;
541 unsigned int mapcount;
550 mapcount = page_mapcount(page);
564 &mapcount, vm_flags);
565 if (!mapcount)
590 unsigned int mapcount;
615 * i_mmap_lock does not stabilize mapcount at all, but mapcount
618 mapcount = page_mapcount(page);
632 &mapcount, vm_flags);
633 if (!mapcount)
964 * which increments mapcount after us but sets mapping
1123 static int try_to_unmap_cluster(unsigned long cursor, unsigned int *mapcount,
1204 (*mapcount)--;
1305 unsigned int mapcount;
1347 * The mapcount of the page we came in with is irrelevant,
1350 mapcount = page_mapcount(page);
1351 if (!mapcount)
1365 if (try_to_unmap_cluster(cursor, &mapcount,
1370 if ((int)mapcount <= 0)