gsi_trans_page_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ gsi_trans_page_add(9) ✨

okay so bestie, welcome to the Kernel API Manual entry for gsi_trans_page_add πŸ’… this one is genuinely so straightforward and honestly kind of iconic β€” it's the "hey, add a page transfer to this transaction" girlie πŸŽ€


🌸 NAME 🌸

gsi_trans_page_add β€” add a page transfer to a transaction πŸ¦‹

like, that's it. that's the whole vibe. you've got a transaction, you've got a page, and you want that page's transfer to be part of the transaction. slay.


✨ SYNOPSIS ✨

int gsi_trans_page_add (struct gsi_trans *trans , struct page *page ,
u32 size , u32 offset );

return type is int, no cap πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • trans β€” the Transaction. your main character, the thing everything gets added to 🫢
  • page β€” a Page pointer. literally just a pointer to a page, bestie, nothing mysterious ✨
  • size β€” Number of bytes (starting at offset) to transfer. so it's not the whole page necessarily, it's size bytes starting from offset. math is mathing πŸ’…
  • offset β€” Offset within page for start of transfer. i.e. where in the page the transfer begins. iykyk πŸŽ€
note that size and offset are u32 exactly as written, and the function returns an int β€” keep those types, don't let anyone gaslight you into changing them πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

so here's the whole friend group, and you should lowkey go read them all:

like, that's the entire roster and they all ate πŸ’– the struct itself lives in ./drivers/net/ipa/gsi_trans.h so that's your first stop, bestie 🌈


okay that's the whole page and it was lowkey a vibe πŸ’œ this little gem comes to you from the ./drivers/net/ipa corner of the kernel, dated October 2026 β€” go forth and add your page transfers, queen πŸ‘‘πŸ’…

πŸ“¦ where this page comes from