|
XenevaOS
|
#include <xarray.h>
Public Attributes | |
| spinlock_t | xa_lock |
| gfp_t | xa_flags |
| void __rcu * | xa_head |
struct xarray - The anchor of the XArray. @xa_lock: Lock that protects the contents of the XArray.
To use the xarray, define it statically or embed it in your data structure. It is a very small data structure, so it does not usually make sense to allocate it separately and keep a pointer to it in your data structure.
You may use the xa_lock to protect your own data structures as well.
| gfp_t xarray::xa_flags |
| void __rcu* xarray::xa_head |
| spinlock_t xarray::xa_lock |