Searched refs:lock_type (Results 1 – 1 of 1) sorted by relevance
36 static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type) in xas_lock_type() argument38 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() argument48 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() local334 xas_unlock_type(xas, lock_type); in __xas_nomem()336 xas_lock_type(xas, lock_type); in __xas_nomem()