XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
xarray Struct Reference

#include <xarray.h>

Public Attributes

spinlock_t xa_lock
 
gfp_t xa_flags
 
void __rcu * xa_head
 

Detailed Description

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.

Member Data Documentation

◆ xa_flags

gfp_t xarray::xa_flags

◆ xa_head

void __rcu* xarray::xa_head

◆ xa_lock

spinlock_t xarray::xa_lock

The documentation for this struct was generated from the following file: