swp_entry
swp_entry_t entry = swp_entry(type, offset);
swp_entry_t entry = swp_entry(type, 0);
swp_entry_t last_entry = swp_entry(type + 1, 0);
return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry));
return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry));
return swp_entry(SWP_DEVICE_READ, offset);
return swp_entry(SWP_DEVICE_WRITE, offset);
return swp_entry(SWP_DEVICE_EXCLUSIVE, offset);
return swp_entry(0, 0);
return swp_entry(0, 0);
return swp_entry(0, 0);
return swp_entry(SWP_MIGRATION_READ, offset);
return swp_entry(SWP_MIGRATION_READ_EXCLUSIVE, offset);
return swp_entry(SWP_MIGRATION_WRITE, offset);
return swp_entry(swp_type(entry),
return swp_entry(swp_type(entry),
return swp_entry(0, 0);
return swp_entry(0, 0);
return swp_entry(0, 0);
return swp_entry(SWP_HWPOISON, page_to_pfn(page));
return swp_entry(0, 0);
return swp_entry(SWP_PTE_MARKER, marker);
swap_free_hibernation_slot(swp_entry(swap, offset));
swap_free_hibernation_slot(swp_entry(swap, offset));
max_swap_offset = swp_offset(softleaf_from_pte(softleaf_to_pte(swp_entry(0, ~0UL))));
args->swp_entry = swp_entry(MAX_SWAPFILES - 1, max_swap_offset);
pte = swp_entry_to_pte(args->swp_entry);
swp_entry_t swp_entry;
entry = args->swp_entry;
pte1 = swp_entry_to_pte(args->swp_entry);
swp_entry_t swp_entry;
swp_entry = make_writable_migration_entry(
swp_entry = make_readable_exclusive_migration_entry(
swp_entry = make_readable_migration_entry(
swp_entry = make_migration_entry_young(swp_entry);
swp_entry = make_migration_entry_dirty(swp_entry);
entry = swp_entry_to_pte(swp_entry);
swp_entry_t swp_entry;
swp_entry = make_writable_device_private_entry(
swp_entry = make_readable_device_private_entry(
entry = swp_entry_to_pte(swp_entry);
swp_entry_t swp_entry;
swp_entry = make_writable_device_private_entry(
swp_entry = make_readable_device_private_entry(
entry = swp_entry_to_pte(swp_entry);
swp_entry_t swp_entry;
swp_entry = make_writable_device_private_entry(
swp_entry = make_readable_device_private_entry(
entry = swp_entry_to_pmd(swp_entry);
tmp = swp_entry(swp_type(swap),
swap = swp_entry(swp_type(swap), swp_offset(swap) + offset);
ra_entry = swp_entry(swp_type(entry), offset);
zswap_invalidate(swp_entry(si->type, offset + i));
const swp_entry_t entry = swp_entry(si->type, offset);
entry = swp_entry(si->type, offset);
swp_entry_t swp_entry;
swp_entry = make_hwpoison_entry(page);
swp_entry = make_poisoned_swp_entry();
new_pte = swp_entry_to_pte(swp_entry);
entry = swp_entry(type, i);
swp_entry_t entry = swp_entry(0, ~0UL);
entry = swp_entry(__swp_type(entry), __swp_offset(entry));
__swap_cache_add_folio(ci, folio, swp_entry(si->type,
tree = swap_zswap_tree(swp_entry(type, offset + index));