update_counter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… update_counter(9) β€” Kernel API Manual πŸ’…

okay bestie, welcome to the Kernel API Manual page for update_counter(9). it’s short, it’s specific, and it’s all about bumping the counter tied to a given state. let’s go ✨

🌸 NAME 🌸

update_counter β€” update the counter associated with a given state. that’s the whole vibe: one state, one counter, one update. πŸ’–

✨ SYNOPSIS ✨

void update_counter (struct page_info *info , s32 delta );

πŸŽ€ ARGUMENTS πŸŽ€

  • info β€” the page info to count. this is the thing getting counted, bestie 🫢
  • delta β€” the delta to apply to the counter. yes, it’s literally the amount you’re applying, no cap.

πŸ¦‹ SEE ALSO πŸ¦‹

okay so the cross-reference squad is long and iconic, and every single one is here:

mwah πŸ’‹ β€” that’s the whole page, sourced from ./drivers/md/dm-vdo, dated October 2026, and it’s the update_counter(9) moment. periodt πŸŽ€

πŸ“¦ where this page comes from