STRUCT BLK_ZONE_RANGE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Hey bestie! πŸ’– Welcome to struct blk_zone_range(9) from the Kernel API Manual β€” this is the struct for the BLKRESETZONE/BLKOPENZONE/BLKCLOSEZONE/BLKFINISHZONE ioctl requests. We're gonna get into every lil detail, no cap. πŸ¦‹

🌸 NAME 🌸

struct blk_zone_range β€” the struct for the BLKRESETZONE/BLKOPENZONE/BLKCLOSEZONE/BLKFINISHZONE ioctl requests. Periodt. πŸ’…

✨ SYNOPSIS ✨

Okay so here's the exact shape of it, bestie β€” copy it character for character, no cap: πŸŽ€

struct blk_zone_range {
    __u64 sector;
    __u64 nr_sectors;
};

πŸ‘‘ Members πŸ‘‘

Two members, and they're both iconic in their own lowkey way: 🌟

  • sector β€” the starting sector of the first zone to operate on. That's the starting point, iykyk. ✨
  • nr_sectors β€” the total number of sectors of all zones to operate on. The whole squad's sector count, fr fr. πŸŽ€

🌈 SEE ALSO 🌈

Kernel file: ./include/uapi/linux/blkzoned.h πŸ’–

Peep these too, bestie:

  • enum blk_zone_type(9)
  • enum blk_zone_cond(9)
  • enum blk_zone_report_flags(9)
  • struct blk_zone(9)
  • struct blk_zone_report(9)

Source/version: ./include/uapi/linux 🌸 β€” date: October 2026, byeee bestie! πŸ’…

πŸ“¦ where this page comes from