Searched refs:xa (Results 1 – 2 of 2) sorted by relevance
10 void rust_helper_xa_init_flags(struct xarray *xa, gfp_t flags) in rust_helper_xa_init_flags() argument12 return xa_init_flags(xa, flags); in rust_helper_xa_init_flags()15 int rust_helper_xa_trylock(struct xarray *xa) in rust_helper_xa_trylock() argument17 return xa_trylock(xa); in rust_helper_xa_trylock()20 void rust_helper_xa_lock(struct xarray *xa) in rust_helper_xa_lock() argument22 return xa_lock(xa); in rust_helper_xa_lock()25 void rust_helper_xa_unlock(struct xarray *xa) in rust_helper_xa_unlock() argument27 return xa_unlock(xa); in rust_helper_xa_unlock()
58 xa: Opaque<bindings::xarray>, field98 xa <- Opaque::ffi_init(|xa| unsafe { in new()99 bindings::xa_init_flags(xa, flags) in new()126 xa: self, in try_lock()137 unsafe { bindings::xa_lock(self.xa.get()) }; in lock()140 xa: self, in lock()151 xa: &'a XArray<T>, field160 unsafe { bindings::xa_unlock(self.xa.xa.get()) }; in drop()186 let ptr = unsafe { bindings::xa_load(self.xa.xa.get(), index) }; in load()212 let ptr = unsafe { bindings::__xa_erase(self.xa.xa.get(), index) }.cast(); in remove()[all …]
Completed in 4 milliseconds