__xa_clear_mark(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __xa_clear_mark(9) β€” the Kernel API Manual glow-up

okay so bestie, welcome to the <pink>Kernel API Manual</pink> entry for __xa_clear_mark β€” yes that's the locked-version, the spicy one, the one you only call when you're already holding the lock. we love a main character who knows their context ✨


🌸 NAME

__xa_clear_mark β€” Clear this mark on this entry while locked. πŸŽ€

like, literally just un-marking a thing. no cap. and you gotta be holding the lock, iykyk πŸ”’


πŸ¦‹ SYNOPSIS

void __xa_clear_mark (struct xarray *xa , unsigned long index ,
       xa_mark_t mark );

void, bestie. it returns nothing. it simply does πŸ’…


✨ ARGUMENTS

  • xa β€” the XArray itself. the whole vibe container. 🫢
  • index β€” Index of entry. which lil slot we're talking about, fr fr.
  • mark β€” Mark number. the mark in question. the one getting cleared. bye boo πŸ‘‹

πŸ”₯ CONTEXT

Any context. πŸ’€ like, truly any. BUT β€” and this is the important part, don't @ me β€” Expects xa_lock to be held on entry.

⚠️ so yeah, <red>the lock must already be held</red> when you walk in. this function is not gonna grab it for you, she's not your mom. if you call her without the lock you're on your own, and that's a you problem 🧚

πŸ‘‘ SEE ALSO

the whole friend group, and yes i'm listing every single one because we don't do half-finished here 🌈:

Kernel file ./lib/xarray.c β†’ xas_load(9), xas_nomem(9), xas_free_nodes(9), xas_create_range(9), xas_store(9), xas_get_mark(9), xas_set_mark(9), xas_clear_mark(9), xas_init_marks(9), xas_split_alloc(9), xas_split(9), xas_try_split_min_order(9), xas_try_split(9), xas_pause(9), xas_find(9), xas_find_marked(9), xas_find_conflict(9), xa_load(9), __xa_erase(9), xa_erase(9), __xa_store(9), xa_store(9), __xa_cmpxchg(9), __xa_insert(9), xa_store_range(9), xas_get_order(9), xa_get_order(9), __xa_alloc(9), __xa_alloc_cyclic(9), __xa_set_mark(9), xa_get_mark(9), xa_set_mark(9), xa_clear_mark(9), xa_find(9), xa_find_after(9), xa_extract(9), xa_delete_node(9), xa_destroy(9)

like. that's the whole roster. ate and left no crumbs πŸ“


so yeah, that's the page πŸ’œ huge shoutout to the source dir ./lib, dated <yellow>October 2026</yellow>, and this very page is __xa_clear_mark(9) β€” go clear some marks, bestie, and hold that lock πŸ˜­πŸ’…

πŸ“¦ where this page comes from