Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
Dxarray.c35 return (__force unsigned int)xa->xa_flags & 3; in xa_lock_type()
60 return xa->xa_flags & XA_FLAGS_TRACK_FREE; in xa_track_free()
65 return xa->xa_flags & XA_FLAGS_ZERO_BUSY; in xa_zero_busy()
70 if (!(xa->xa_flags & XA_FLAGS_MARK(mark))) in xa_mark_set()
71 xa->xa_flags |= XA_FLAGS_MARK(mark); in xa_mark_set()
76 if (xa->xa_flags & XA_FLAGS_MARK(mark)) in xa_mark_clear()
77 xa->xa_flags &= ~(XA_FLAGS_MARK(mark)); in xa_mark_clear()
304 if (xas->xa->xa_flags & XA_FLAGS_ACCOUNT) in xas_nomem()
334 if (xas->xa->xa_flags & XA_FLAGS_ACCOUNT) in __xas_nomem()
372 if (xas->xa->xa_flags & XA_FLAGS_ACCOUNT) in xas_alloc()
[all …]
Dradix-tree.c97 return root->xa_flags & (__GFP_BITS_MASK & ~GFP_ZONEMASK); in root_gfp_mask()
120 root->xa_flags |= (__force gfp_t)(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_set()
125 root->xa_flags &= (__force gfp_t)~(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_clear()
130 root->xa_flags &= (__force gfp_t)((1 << ROOT_TAG_SHIFT) - 1); in root_tag_clear_all()
135 return (__force int)root->xa_flags & (1 << (tag + ROOT_TAG_SHIFT)); in root_tag_get()
140 return (__force unsigned)root->xa_flags >> ROOT_TAG_SHIFT; in root_tags_get()
145 return !!(root->xa_flags & ROOT_IS_IDR); in is_idr()
Didr.c41 if (WARN_ON_ONCE(!(idr->idr_rt.xa_flags & ROOT_IS_IDR))) in idr_alloc_u32()
42 idr->idr_rt.xa_flags |= IDR_RT_MARKER; in idr_alloc_u32()
596 xa->xa_flags >> ROOT_TAG_SHIFT); in ida_dump()
Dtest_xarray.c476 if (xa->xa_flags & XA_FLAGS_ALLOC) { in check_reserve()
/linux-6.6.21/include/linux/
Dxarray.h299 gfp_t xa_flags; member
305 .xa_flags = flags, \
381 xa->xa_flags = flags; in xa_init_flags()
420 return xa->xa_flags & XA_FLAGS_MARK(mark); in xa_marked()