glock_clear_object(9)
π glock_clear_object(9) β like, the whole kernel API manual moment
okay so bestie, welcome to glock_clear_object, straight out of the Kernel API Manual β¨ this one is a tiny little function but she's important, so let's get into it π
πΈ NAME πΈ
glock_clear_object β clears the gl_object field of a glock. that's it. that's the whole vibe π
β¨ SYNOPSIS β¨
void glock_clear_object (struct gfs2_glock *gl , void *object );
no cap, that's the entire signature π«Ά
π¦ ARGUMENTS π¦
glβ the glock. the main character of this whole situation πobjectβ the object the glock currently points at. like, right now, in this moment, that's who she's looking at π
π₯ SEE ALSO π₯
okay this list is long and honestly iconic of the kernel docs to just dump the entire neighborhood on you π but fr fr, here's the whole friend group β every single one:
wake_up_glock(9), gfs2_glock_hold(9), gfs2_glock_put(9), may_grant(9), do_error(9), find_first_holder(9), do_promote(9), find_first_waiter(9), find_last_waiter(9), state_change(9), finish_xmote(9), do_xmote(9), run_queue(9), glock_set_object(9), gfs2_glock_get(9), __gfs2_holder_init(9), gfs2_holder_reinit(9), gfs2_holder_uninit(9), gfs2_glock_holder_ready(9), gfs2_glock_wait(9), gfs2_glock_async_wait(9), request_demote(9), add_to_queue(9), gfs2_glock_nq(9), gfs2_glock_poll(9), gfs2_glock_dq(9), gfs2_glock_dq_uninit(9), gfs2_glock_nq_num(9), glock_compare(9), nq_m_sync(9), gfs2_glock_nq_m(9), gfs2_glock_dq_m(9), gfs2_should_freeze(9), gfs2_glock_complete(9), glock_hash_walk(9), thaw_glock(9), gfs2_glock_thaw(9), gfs2_wait_glocks(9), dump_holder(9), gfs2_dump_glock(9)
all of those live in the kernel file ./fs/gfs2/glock.c β that's the address, iykyk π
π tiny heads up: glock_set_object(9) is literally right there in the list and she's the opposite energy β you clear it, she sets it. dynamic duo behavior honestly.
π§ sign-off π§
and that's the page, bestie!! π source lives at ./fs/gfs2, version stamped October 2026, and yes she signs her name twice because she's that girl: glock_clear_object(9) at the top and glock_clear_object(9) at the bottom. slay πβ¨π¦
π¦ 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