STRUCT MIGRATE_RANGE_LOC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct migrate_range_loc(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” we're talking about struct migrate_range_loc(9) and it is literally giving cursor energy in the best way. Not a mouse cursor. A struct cursor. Iconic. 🫢


✨ NAME ✨

struct migrate_range_loc β€” the cursor into the loop over migrate_pfns for migrating to device. That's the whole vibe, no cap. πŸ’…


🌸 SYNOPSIS 🌸

       struct migrate_range_loc {
           unsigned long start;
           struct device *device;
           struct drm_pagemap *dpagemap;
           const struct drm_pagemap_devmem_ops *ops;
        };

πŸŽ€ Members πŸŽ€

  • start β€” the current loop index. Your little loop-position bestie. ✨
  • device β€” the migrating device. πŸ’…
  • dpagemap β€” pointer to struct drm_pagemap used by the migrating device. 🫢
  • ops β€” the copy ops to be used for the migrating device. πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

okay so the Kernel file is ./drivers/gpu/drm/drm_pagemap.c, and here are all the related icons β€” every single one, no skipping, because we don’t do that here: πŸ’–


okay that’s the whole page, bestie β€” source/version: ./drivers/gpu/drm, date: October 2026, and yeah, struct migrate_range_loc(9) is the main character. mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from