create_posix_rsp_buf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… create_posix_rsp_buf(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes, the actual manual, section 9, kernel space, no userland shenanigans here ✨


🌸 NAME 🌸

create_posix_rsp_buf β€” literally creates the posix extension context πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void create_posix_rsp_buf (char *cc , struct ksmbd_file *fp );

that's it. that's the whole vibe. void return, two args, she's simple and she knows it πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • cc β€” the buffer where the posix response gets created, iykyk 🫢 this is where the posix goes on the posix response, no cap
  • fp β€” the ksmbd file pointer, aka the main character of this whole operation πŸ‘‘

🌈 SEE ALSO 🌈

okay this list is long and honestly kind of iconic, so buckle up buttercup πŸ“ β€” all of these live in the kernel file ./fs/smb/server/oplock.c:

like… that's the whole friend group fr fr 🧚 go read them, they're all serving πŸ’€


ngl bestie, this page is short because the function is short β€” don't come for me, come for the source 😭

and that's a wrap! brought to you by the fine folks at ./fs/smb/server, dated October 2026, living in the Kernel API Manual, create_posix_rsp_buf(9) β€” slay, bye πŸ‘‹πŸ’œ

πŸ“¦ where this page comes from