scsi_get_sense_info_fld(9)
π scsi_get_sense_info_fld(9)
okay so bestie, welcome to the Kernel API Manual β¨ β this one lives in scsi_get_sense_info_fld, and it's genuinely so useful, let me tell you everything π«Ά
πΈ NAME πΈ
scsi_get_sense_info_fld β get information field from sense data (either fixed or descriptor format) π
β¨ SYNOPSIS β¨
bool scsi_get_sense_info_fld (const u8 *sense_buffer , int sb_len , u64
*info_out );
π ARGUMENTS π
sense_bufferβ the byte array of sense data, like the raw tea being spilled βsb_lenβ how many bytes insense_bufferare actually valid, so we know how far to read πinfo_outβ pointer to a 64-bit integer where the 8 or 4 byte information field will be placed if it's found π―
π¦ DESCRIPTION π¦
Return value: true if the information field was found, false if it was not found π that's literally the whole vibe check, no cap.
ngl bestie, that's all she wrote for this one β the function is short and iconic, just like that π
π SEE ALSO π
Kernel file ./drivers/scsi/scsi_error.c β plus the whole friend group, fr fr:
scsi_schedule_eh(9)scmd_eh_abort_handler(9)scsi_abort_command(9)scsi_eh_reset(9)scsi_eh_scmd_add(9)scsi_timeout(9)scsi_block_when_processing_errors(9)scsi_eh_prt_fail_stats(9)scsi_report_sense(9)scsi_check_sense(9)scsi_eh_completed_normally(9)scsi_eh_done(9)scsi_try_host_reset(9)scsi_try_bus_reset(9)scsi_try_target_reset(9)scsi_try_bus_device_reset(9)scsi_try_to_abort_cmd(9)scsi_eh_prep_cmnd(9)scsi_eh_restore_cmnd(9)scsi_send_eh_cmnd(9)scsi_request_sense(9)scsi_eh_finish_cmd(9)scsi_eh_get_sense(9)scsi_eh_tur(9)scsi_eh_test_devices(9)scsi_eh_try_stu(9)scsi_eh_bus_device_reset(9)scsi_eh_target_reset(9)scsi_eh_bus_reset(9)scsi_eh_host_reset(9)scsi_eh_offline_sdevs(9)scsi_noretry_cmd(9)scsi_decide_disposition(9)scsi_eh_lock_door(9)scsi_restart_operations(9)scsi_eh_ready_devs(9)scsi_eh_flush_done_q(9)scsi_unjam_host(9)scsi_error_handler(9)scsi_report_bus_reset(9)scsi_report_device_reset(9)scsi_ioctl_reset(9)
and that's the whole page babes π huge shoutout to the ./drivers/scsi directory for housing this queen, dated October 2026 β she ate and left no crumbs, periodt ππ§ββοΈ
π¦ 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