ksmbd_conn_get(9)
π¦ ksmbd_conn_get(9) β NAME π¦
okay bestie, this is ksmbd_conn_get(9), straight out of the Kernel API Manual β¨ and it's about one thing: take a reference on @conn and return it. That's the whole vibe. π
πΈ SYNOPSIS πΈ
struct ksmbd_conn * ksmbd_conn_get (struct ksmbd_conn *conn );
π ARGUMENTS π
connβ connection instance to get a reference to π«Ά
π DESCRIPTION π
It hands conn right back to you, unchanged β like, no glow-up, no edits, just the same pointer. This is so callers can write this in one expression:
fp->conn = ksmbd_conn_get(work->conn);
And if conn is NULL? It returns NULL. That's it. Iconic, lowkey. π¦
β SEE ALSO β
- Kernel file
./fs/smb/server/connection.c ksmbd_conn_put(9)ksmbd_conn_free(9)ksmbd_conn_alloc(9)ksmbd_conn_handler_loop(9)
mwah π this cutie came from ./fs/smb/server, dated October 2026, and the page is ksmbd_conn_get(9) β no cap, that's the whole footer vibe π
π¦ 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