sci_stp_requ..._data_buffer(9)
π sci_stp_requ..._data_buffer(9) β Kernel API Manual, but make it make sense
okay so bestie, welcome to the kernel API manual, where the function names are lowkey longer than my attention span π«Ά this one lives in the kernel docs and it's a little helper that does exactly one thing, and honestly? it slays at that one thing.
β¨ NAME β¨
sci_stp_request_pio_data_in_copy_data_buffer β
(fr fr, that's the whole name section. the manpage just drops the name and a lil trailing dash and leaves. mysterious main character energy, we respect it π )
πΈ SYNOPSIS πΈ
enum sci_status sci_stp_request_pio_data_in_copy_data_buffer (struct
isci_stp_request *stp_req , u8 *data_buf , u32 len );
like, look at her. enum sci_status going in, enum sci_status coming out. iconic π
π ARGUMENTS π
stp_reqβ the request that's used for the SGL processing. it's astruct isci_stp_request *, and it's the one holding the SGL we're about to poke at. she's the main character here.data_bufβ the buffer of data to be copied. it's au8 *, so yes, bytes. bytes in a row. we love that for us π¦lenβ the length of the data transfer. au32. it tells us how much of the buffer we're actually moving, so pls don't make it lie π
π DESCRIPTION π
so here's the vibe: you take the data from the buffer, and for the length specified you copy it over to the data region that the IO request's SGL points at. that's it. that's the whole function. copy β length β into the SGL's specified data region. no cap.
and the return type is enum sci_status, bestie. enum sci_status. don't forget it π
π¦ SEE ALSO π¦
- the kernel file
./drivers/scsi/isci/request.cβ that's where she lives, go say hi scu_ssp_task_request_construct_task_context(9)scu_sata_request_construct_task_context(9)sci_req_tx_bytes(9)sci_stp_request_pio_data_in_copy_data(9)isci_request_process_response_iu(9)isci_request_set_open_reject_status(9)isci_request_handle_controller_specific_errors(9)isci_io_request_build(9)
like a whole friend group of functions, and they all get their own (9) section refs. obsessed π
and that's the page!! sign-off time: this one comes from ./drivers/scsi/isci and it's dated October 2026 β so yeah, future-dated kernel lore. mwah, take care of her πβ¨π
π¦ 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