smb2_write_rdma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– smb2_write_rdma(9) β€” Kernel API Manual πŸ’–

Okay bestie, gather round 🫢 This is the Kernel API Manual page for smb2_write_rdma, and it is literally about receiving and storing an RDMA WRITE payload. No cap.

🌸 NAME 🌸

smb2_write_rdma β€” receive and store an RDMA WRITE payload. That is the whole name-brand vibe ✨

✨ SYNOPSIS ✨

ssize_t smb2_write_rdma (struct ksmbd_work *work , struct smbdirect_buffer_descriptor_v1 *desc , unsigned int desc_len , struct smb2_rdma_write_transform *transform , struct ksmbd_file *fp , loff_t offset , size_t length , bool sync );

πŸŽ€ ARGUMENTS πŸŽ€

  • work β€” request work item. The request’s main character energy.
  • desc β€” client RDMA buffer descriptors. The buffer-descriptor besties.
  • desc_len β€” descriptor array length. How many descriptors are in the array, periodt.
  • transform β€” parsed transform, or NULL for an untransformed transfer. So if this transfer is untransformed, this slot is NULL.
  • fp β€” target open file. The file we are writing into.
  • offset β€” target file offset. Where in the file this is landing.
  • length β€” transfer length. How much is moving.
  • sync β€” request synchronous storage completion. The β€œtell me when storage is done” switch.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here’s the tea β˜•: this function receives the payload, authenticates or decrypts it when required, and writes it to the target file. That is the whole flow, bestie πŸ’–

πŸ”₯ RETURN πŸ”₯

On success you get the written byte count β€” yes, the actual number of bytes β€” otherwise it is a negative errno. Honest queen behavior πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Go be nosy with the whole crew:


Okay that is the page, bestie 🫢 This little icon is filed as smb2_write_rdma(9), lives under ./fs/smb/server, and is stamped October 2026. Mwah πŸ’‹

πŸ“¦ where this page comes from