MCPcopy Create free account
hub / github.com/bootlin/elixir / xa_cmpxchg

Function xa_cmpxchg

t/tree/include/linux/xarray.h:647–657  ·  view source on GitHub ↗

* xa_cmpxchg() - Conditionally replace an entry in the XArray. * @xa: XArray. * @index: Index into array. * @old: Old value to test against. * @entry: New value to place in array. * @gfp: Memory allocation flags. * * If the entry at @index is the same as @old, replace it with @entry. * If the return value is equal to @old, then the exchange was successful. * * Context: Any context. Take

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

xa_reserveFunction · 0.85
xa_releaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected