__xa_set_mark(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

__xa_set_mark β€” bestie, this is the one that sets this mark on this entry while you're already holding the lock πŸ’… no cap.


✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • xa β€” the XArray itself. the main character structure fr 🫢
  • index β€” index of the entry you're eyeing up. that's the slot, not the thing in it πŸ‘‘
  • mark β€” mark number. which little tag you're slapping on 🏷️

πŸ’– DESCRIPTION πŸ’–

so here's the vibe check 🌸 you go to set a mark on an entry β€” but if that entry is NULL? it does not succeed. attempting to set a mark on a NULL entry does not succeed, periodt. lowkey that's the whole personality of this function πŸ’€


πŸ”₯ CONTEXT πŸ”₯

any context, king β€” any context at all ✨ but (and this is the important bit, ngl) it expects xa_lock to be held on entry. so like… you already locked it. this function is not doing that for you, bestie πŸ™ˆ

⚠️ xa_lock must be held on entry β€” that's not a suggestion, that's the assignment πŸ’…

🌈 SEE ALSO 🌈

kernel file: ./lib/xarray.c πŸ“ and like… all of these icons, iykyk:


okay that's the whole page, bestie 🧚 this one lives in ./lib, dated October 2026, and it goes by __xa_set_mark(9) β€” ate and left no crumbs πŸ’œβœ¨

πŸ“¦ where this page comes from