map_data_for_srp_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– map_data_for_srp_cmd(9) πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ this is the page for map_data_for_srp_cmd(9), and it's lowkey all about mapping data for srp cmds. let's get into it πŸ’…


✨ NAME ✨

map_data_for_srp_cmd β€” the NAME line literally says map_data_for_srp_cmd - - Calls functions to map data for srp cmds. so yeah: calls functions to map data for srp cmds. periodt. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

int map_data_for_srp_cmd (struct scsi_cmnd *cmd , struct srp_event_struct *evt_struct , struct srp_cmd *srp_cmd , struct device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • cmd β€” a struct scsi_cmnd with the memory to be mapped. that's the scsi command carrying the memory, bestie. πŸ’–
  • evt_struct β€” the struct srp_event_struct to map. yes, this event struct right here. ✨
  • srp_cmd β€” the srp_cmd that contains the memory descriptor. it's giving "descriptor holder" energy. πŸŽ€
  • dev β€” the dma device for which to map dma memory. legit the device in question. πŸ¦‹

🌸 DESCRIPTION 🌸

okay so map_data_for_srp_cmd gets called by scsi_cmd_to_srp_cmd when converting scsi cmds to srp cmds. that's the whole plot. Returns 1 on success. no cap, that's the success return right there. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/scsi/ibmvscsi/ibmvscsi.c. here's the whole icon crew you can go bother next, fr fr:


source/version: ./drivers/scsi/ibmvscsi Β· date: October 2026 Β· made with πŸ’– for your kernel brain. mwah 🫢

πŸ“¦ where this page comes from