glock_clear_object(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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