_ctl_set_task_mid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME

okay bestie, so this page is _ctl_set_task_mid(9) β€” it lives in the Kernel API Manual and it does exactly one iconic thing: assign an active smid to tm request. that's the whole gig. no cap.


✨ SYNOPSIS

int _ctl_set_task_mid (struct MPT3SAS_ADAPTER *ioc , struct
mpt3_ioctl_command *karg , Mpi2SCSITaskManagementRequest_t *tm_request
);

like yes she's a little scrunched up but she's serving exactly those three params, periodt πŸ’…


🌸 ARGUMENTS

  • ioc β€” the per adapter object 🫢
  • karg β€” typed as (struct mpt3_ioctl_command), she's just vibing in her lane
  • tm_request β€” pointer to mf from user space (yes, that's what it says, iykyk)

πŸ¦‹ RETURN

so you get 0 when an smid is found 😌✨ and if that doesn't happen? it fails. and listen β€” during failure, the reply frame is filled, so the failure lowkey comes with receipts πŸ’€


πŸŽ€ SEE ALSO

girl there are SO many siblings, buckle up. kernel file: ./drivers/scsi/mpt3sas/mpt3sas_ctl.c β€” go read her sisters:


okay and that's the whole page, bestie β€” she's short but she ate πŸŒˆπŸ’–

this cutie lives in ./drivers/scsi/mpt3sas, and the date stamp on her is October 2026, so yeah she's from the future and still slaying πŸŽ€βœ¨πŸ‘‘

πŸ“¦ where this page comes from