Lines Matching defs:xa
378 static inline void xa_init_flags(struct xarray *xa, gfp_t flags) in xa_init_flags()
393 static inline void xa_init(struct xarray *xa) in xa_init()
405 static inline bool xa_empty(const struct xarray *xa) in xa_empty()
418 static inline bool xa_marked(const struct xarray *xa, xa_mark_t mark) in xa_marked()
447 #define xa_for_each_range(xa, index, entry, start, last) \ argument
476 #define xa_for_each_start(xa, index, entry, start) \ argument
500 #define xa_for_each(xa, index, entry) \ argument
527 #define xa_for_each_marked(xa, index, entry, filter) \ argument
531 #define xa_trylock(xa) spin_trylock(&(xa)->xa_lock) argument
532 #define xa_lock(xa) spin_lock(&(xa)->xa_lock) argument
533 #define xa_unlock(xa) spin_unlock(&(xa)->xa_lock) argument
534 #define xa_lock_bh(xa) spin_lock_bh(&(xa)->xa_lock) argument
535 #define xa_unlock_bh(xa) spin_unlock_bh(&(xa)->xa_lock) argument
536 #define xa_lock_irq(xa) spin_lock_irq(&(xa)->xa_lock) argument
537 #define xa_unlock_irq(xa) spin_unlock_irq(&(xa)->xa_lock) argument
538 #define xa_lock_irqsave(xa, flags) \ argument
540 #define xa_unlock_irqrestore(xa, flags) \ argument
542 #define xa_lock_nested(xa, subclass) \ argument
544 #define xa_lock_bh_nested(xa, subclass) \ argument
546 #define xa_lock_irq_nested(xa, subclass) \ argument
548 #define xa_lock_irqsave_nested(xa, flags, subclass) \ argument
585 static inline void *xa_store_bh(struct xarray *xa, unsigned long index, in xa_store_bh()
612 static inline void *xa_store_irq(struct xarray *xa, unsigned long index, in xa_store_irq()
638 static inline void *xa_erase_bh(struct xarray *xa, unsigned long index) in xa_erase_bh()
662 static inline void *xa_erase_irq(struct xarray *xa, unsigned long index) in xa_erase_irq()
688 static inline void *xa_cmpxchg(struct xarray *xa, unsigned long index, in xa_cmpxchg()
716 static inline void *xa_cmpxchg_bh(struct xarray *xa, unsigned long index, in xa_cmpxchg_bh()
744 static inline void *xa_cmpxchg_irq(struct xarray *xa, unsigned long index, in xa_cmpxchg_irq()
774 static inline int __must_check xa_insert(struct xarray *xa, in xa_insert()
804 static inline int __must_check xa_insert_bh(struct xarray *xa, in xa_insert_bh()
834 static inline int __must_check xa_insert_irq(struct xarray *xa, in xa_insert_irq()
864 static inline __must_check int xa_alloc(struct xarray *xa, u32 *id, in xa_alloc()
894 static inline int __must_check xa_alloc_bh(struct xarray *xa, u32 *id, in xa_alloc_bh()
924 static inline int __must_check xa_alloc_irq(struct xarray *xa, u32 *id, in xa_alloc_irq()
958 static inline int xa_alloc_cyclic(struct xarray *xa, u32 *id, void *entry, in xa_alloc_cyclic()
992 static inline int xa_alloc_cyclic_bh(struct xarray *xa, u32 *id, void *entry, in xa_alloc_cyclic_bh()
1026 static inline int xa_alloc_cyclic_irq(struct xarray *xa, u32 *id, void *entry, in xa_alloc_cyclic_irq()
1058 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve()
1076 int xa_reserve_bh(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve_bh()
1094 int xa_reserve_irq(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve_irq()
1108 static inline void xa_release(struct xarray *xa, unsigned long index) in xa_release()
1162 #define XA_BUG_ON(xa, x) do { \ argument
1175 #define XA_BUG_ON(xa, x) do { } while (0) argument
1180 static inline void *xa_head(const struct xarray *xa) in xa_head()
1187 static inline void *xa_head_locked(const struct xarray *xa) in xa_head_locked()
1194 static inline void *xa_entry(const struct xarray *xa, in xa_entry()
1203 static inline void *xa_entry_locked(const struct xarray *xa, in xa_entry_locked()
1212 static inline struct xa_node *xa_parent(const struct xarray *xa, in xa_parent()
1220 static inline struct xa_node *xa_parent_locked(const struct xarray *xa, in xa_parent_locked()
1327 struct xarray *xa; member
1536 static inline int xa_get_order(struct xarray *xa, unsigned long index) in xa_get_order()