fc_copy_buffer_to_sglist(9)
π fc_copy_buffer_to_sglist(9) π
okay bestie, welcome to the Kernel API Manual β today's main character is fc_copy_buffer_to_sglist(9), and she is literally here to help. no cap, let's get into it. π
π NAME π
fc_copy_buffer_to_sglist β this routine copies the data of a buffer into a scatter-gather list (SG list). β¨
πΈ SYNOPSIS πΈ
u32 fc_copy_buffer_to_sglist (void *buf , size_t len , struct
scatterlist *sg , u32 *nents , size_t *offset , u32 *crc );
π¦ ARGUMENTS π¦
bufβ pointer to the data buffer. πlenβ the byte-length of the data buffer.sgβ pointer to the pointer of the SG list. π«Άnentsβ pointer to the remaining number of entries in the SG list.offsetβ pointer to the current offset in the SG list.crcβ pointer to the 32-bit crc value. IfcrcisNULL, CRC is not calculated. π
π SEE ALSO π
Kernel file ./drivers/scsi/libfc/fc_libfc.c is the home base, and here's the whole squad:
libfc_init(9)libfc_exit(9)fc_fill_hdr(9)fc_fill_reply_hdr(9)fc_fc4_conf_lport_params(9)fc_fc4_register_provider(9)fc_fc4_deregister_provider(9)fc_fc4_add_lport(9)fc_fc4_del_lport(9)
π cute sign-off: this page comes from source/version ./drivers/scsi/libfc, dated October 2026, and it's all for fc_copy_buffer_to_sglist(9) β 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