disk_alloc_i...ccess_ranges(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

disk_alloc_independent_access_ranges β€” bestie, this is the function that literally allocates an independent access ranges data structure ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct blk_independent_access_ranges *
disk_alloc_independent_access_ranges (struct gendisk *disk , int nr_ia_ranges );

πŸŽ€ ARGUMENTS πŸŽ€

  • disk β€” the target disk, like the main character of this whole operation πŸ’…
  • nr_ia_ranges β€” how many independent access ranges you want, no cap πŸ”₯

🌸 DESCRIPTION 🌸

okay so what this does is it allocates a struct blk_independent_access_ranges structure, and it comes with nr_ia_ranges access range descriptors β€” that's the whole vibe, that's the assignment, and it ate πŸ’–

ngl it's giving "small but mighty" β€” one structure, the exact number of range descriptors you asked for, iconic behaviour only 🫢

🌈 SEE ALSO 🌈

go read those next bestie, they're fr fr part of the same little friend group πŸ‘‘


kay so that's the whole page!! this one lives in the Kernel API Manual, it's filed under ./block, and it's dated October 2026 β€” mwah, bye, love u, go allocate responsibly πŸ§šπŸ’œ

πŸ“¦ where this page comes from