xa_store_bh(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xa_store_bh(9) ✨

okay so bestie, this is a page from the Kernel API Manual for xa_store_bh(9) β€” yes the (9) is giving kernel-API energy πŸ’…. Let's get into it, no cap.


πŸŽ€ NAME πŸŽ€

xa_store_bh β€” Store this entry in the XArray. πŸ’–


🌸 SYNOPSIS 🌸

void * xa_store_bh (struct xarray *xa , unsigned long index , void *entry , gfp_t gfp );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • xa β€” XArray. The main character array itself πŸ‘‘.
  • index β€” Index into array. Where you're pointing, bestie πŸ“.
  • entry β€” New entry. The new thing you're putting there ✨.
  • gfp β€” Memory allocation flags. The allocation vibe check flags 🧚.

πŸ’– DESCRIPTION πŸ’–

okay so this function is like calling xa_store except it disables softirqs while holding the array lock. That's the whole little plot twist πŸ”₯. It's giving "store, but make it softirq-safe" ✨.


πŸ”₯ CONTEXT πŸ”₯

Any context. It takes and releases the xa_lock while disabling softirqs 🫢.


πŸ‘‘ RETURN πŸ‘‘

The old entry at this index or xa_err if an error happened. So you get the previous occupant, or an error situation β€” iconic either way πŸ’€βœ¨.


🌈 SEE ALSO 🌈

Kernel file ./include/linux/xarray.h β€” plus the whole extended fam, fr fr:


okay bestie, that's the whole page πŸ’– source/version: ./include/linux Β· date: October 2026 Β· mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from