fc_copy_buffer_to_sglist(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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. If crc is NULL, CRC is not calculated. 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/libfc/fc_libfc.c is the home base, and here's the whole squad:


πŸŽ€ 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