map_data_for_srp_cmd(9)
π 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β astruct scsi_cmndwith the memory to be mapped. that's the scsi command carrying the memory, bestie. πevt_structβ thestruct srp_event_structto map. yes, this event struct right here. β¨srp_cmdβ thesrp_cmdthat 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:
ibmvscsi_handle_event(9)ibmvscsi_release_crq_queue(9)crq_queue_next_crq(9)ibmvscsi_send_crq(9)ibmvscsi_task(9)ibmvscsi_reset_crq_queue(9)ibmvscsi_init_crq_queue(9)ibmvscsi_reenable_crq_queue(9)initialize_event_pool(9)release_event_pool(9)valid_event_struct(9)free_event_struct(9)get_event_struct(9)init_event_struct(9)unmap_cmd_data(9)map_sg_data(9)purge_requests(9)ibmvscsi_set_request_limit(9)ibmvscsi_reset_host(9)ibmvscsi_timeout(9)ibmvscsi_send_srp_event(9)handle_cmd_rsp(9)lun_from_dev(9)ibmvscsi_queuecommand_lck(9)map_persist_bufs(9)unmap_persist_bufs(9)login_rsp(9)send_srp_login(9)capabilities_rsp(9)send_mad_capabilities(9)fast_fail_rsp(9)enable_fast_fail(9)adapter_info_rsp(9)send_mad_adapter_info(9)ibmvscsi_eh_host_reset_handler(9)ibmvscsi_handle_crq(9)ibmvscsi_sdev_configure(9)ibmvscsi_change_queue_depth(9)ibmvscsi_get_desired_dma(9)ibmvscsi_resume(9)
source/version: ./drivers/scsi/ibmvscsi Β· date: October 2026 Β· made with π for your kernel brain. mwah π«Ά
π¦ 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