create_lease_buf(9)
π¦ create_lease_buf(9) β Kernel API Manual π¦
okay bestie, welcome to the Kernel API Manual page for create_lease_buf, and it's literally here to create a lease context for an open cmd response. That's the whole vibe. β¨
πΈ NAME πΈ
create_lease_buf β create lease context for open cmd response π
β¨ SYNOPSIS β¨
void create_lease_buf (u8 *rbuf , struct lease *lease );
Yep, it's a void function β no return value on the page. It just takes its two pointer besties and goes to work. π«Ά
π ARGUMENTS π
rbufβ the buffer to create the lease context response in. This is where the response gets made, periodt.leaseβ the buffer for the stored parsed lease state information. It's holding that parsed lease state info, no cap. πΎ
π SEE ALSO π
all the related kernel crew live in the kernel file ./fs/smb/server/oplock.c β and yes bestie, here's the full list, every single one:
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)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_posix_rsp_buf(9)create_aapl_rsp_buf(9)lookup_lease_in_table(9)
mwah π β source/version: ./fs/smb/server; date: October 2026; page: create_lease_buf(9) π
π¦ 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