create_posix_rsp_buf(9)
π 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 capfpβ theksmbdfile 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:
alloc_opinfo(9)opinfo_write_to_read(9)opinfo_read_handle_to_read(9)opinfo_write_to_none(9)opinfo_read_to_none(9)lease_read_to_write(9)lease_none_upgrade(9)close_id_del_oplock(9)grant_write_oplock(9)grant_read_oplock(9)grant_none_oplock(9)same_client_has_lease(9)__smb2_oplock_break_noti(9)smb2_oplock_break_noti(9)__smb2_lease_break_noti(9)smb2_lease_break_noti(9)smb_grant_oplock(9)smb_break_all_write_oplock(9)__smb_break_all_levII_oplock(9)smb_break_all_oplock(9)smb2_map_lease_to_oplock(9)create_lease_buf(9)parse_lease_state(9)smb2_find_context_vals(9)create_durable_rsp_buf(9)create_durable_v2_rsp_buf(9)create_mxac_rsp_buf(9)create_aapl_rsp_buf(9)lookup_lease_in_table(9)
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
- 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