sd_zbc_parse_report(9)
π sd_zbc_parse_report(9) π
okay so this page is from the Kernel API Manual, and todayβs main character is sd_zbc_parse_report(9) β she parses a SCSI zone descriptor and honestly? iconic. π¦
πΈ NAME πΈ
sd_zbc_parse_report β parse a SCSI zone descriptor. periodt. β¨
π SYNOPSIS π
int sd_zbc_parse_report (struct scsi_disk *sdkp , const u8 buf[64] ,
unsigned int idx , struct blk_report_zones_args *args );
π ARGUMENTS π
sdkpβ SCSI disk pointer. literally the SCSI disk pointer, bestie. πbufβ SCSI zone descriptor. yes, the descriptor itself. πΈidxβ index of the zone relative to the first zone reported by the currentsd_zbc_report_zonescall. iykyk. π₯argsβ report zones arguments (callback, etc). π«Ά
π¦ RETURN π¦
it gives you back the value returned by cb. thatβs the whole vibe. π
β¨ DESCRIPTION β¨
so basically: convert a SCSI zone descriptor into struct blk_zone format. additionally β yes, on top of that β it calls cb(blk_zone, data). π
π₯ SEE ALSO π₯
Kernel file ./drivers/scsi/sd_zbc.c and its little friend group:
sd_zbc_do_report_zones(9)sd_zbc_alloc_report_buffer(9)sd_zbc_zone_sectors(9)sd_zbc_report_zones(9)sd_zbc_setup_zone_mgmt_cmnd(9)sd_zbc_complete(9)sd_zbc_check_zoned_characteristics(9)sd_zbc_check_capacity(9)sd_zbc_read_zones(9)
mwah π the source/version is ./drivers/scsi and the date is October 2026 β thatβs the footer tea, and weβre done. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms