Home
last modified time | relevance | path

Searched refs:lock_type (Results 1 – 1 of 1) sorted by relevance

/lib/
Dxarray.c36 static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type) in xas_lock_type() argument
38 if (lock_type == XA_LOCK_IRQ) in xas_lock_type()
40 else if (lock_type == XA_LOCK_BH) in xas_lock_type()
46 static inline void xas_unlock_type(struct xa_state *xas, unsigned int lock_type) in xas_unlock_type() argument
48 if (lock_type == XA_LOCK_IRQ) in xas_unlock_type()
50 else if (lock_type == XA_LOCK_BH) in xas_unlock_type()
325 unsigned int lock_type = xa_lock_type(xas->xa); in __xas_nomem() local
334 xas_unlock_type(xas, lock_type); in __xas_nomem()
336 xas_lock_type(xas, lock_type); in __xas_nomem()