Lines Matching refs:usage
561 * removed from free cluster list and its usage counter will be increased.
579 * The cluster corresponding to page_nr decreases one usage. If the usage
801 unsigned char usage, int nr,
917 WRITE_ONCE(si->swap_map[offset], usage);
1184 unsigned char usage)
1194 if (usage == SWAP_HAS_CACHE) {
1213 usage = count | has_cache;
1214 if (usage)
1215 WRITE_ONCE(p->swap_map[offset], usage);
1219 return usage;
1302 unsigned char usage;
1305 usage = __swap_entry_free_locked(p, offset, 1);
1307 if (!usage)
1310 return usage;
3302 static int __swap_duplicate(swp_entry_t entry, unsigned char usage)
3331 if (usage == SWAP_HAS_CACHE) {
3344 count += usage;
3403 unsigned char usage;
3406 usage = __swap_entry_free_locked(si, offset, SWAP_HAS_CACHE);
3408 if (!usage)