Lines Matching refs:usage
546 * removed from free cluster list and its usage counter will be increased.
564 * The cluster corresponding to page_nr decreases one usage. If the usage
773 unsigned char usage, int nr,
889 WRITE_ONCE(si->swap_map[offset], usage);
1038 unsigned char usage)
1043 n_ret = scan_swap_map_slots(si, usage, 1, &entry);
1236 unsigned char usage)
1246 if (usage == SWAP_HAS_CACHE) {
1265 usage = count | has_cache;
1266 if (usage)
1267 WRITE_ONCE(p->swap_map[offset], usage);
1271 return usage;
1347 unsigned char usage;
1350 usage = __swap_entry_free_locked(p, offset, 1);
1352 if (!usage)
1355 return usage;
3491 static int __swap_duplicate(swp_entry_t entry, unsigned char usage)
3522 if (usage == SWAP_HAS_CACHE) {
3535 count += usage;