Home
last modified time | relevance | path

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

/linux-6.1.9/lib/
Dxarray.c33 return (__force unsigned int)xa->xa_flags & 3; in xa_lock_type()
58 return xa->xa_flags & XA_FLAGS_TRACK_FREE; in xa_track_free()
63 return xa->xa_flags & XA_FLAGS_ZERO_BUSY; in xa_zero_busy()
68 if (!(xa->xa_flags & XA_FLAGS_MARK(mark))) in xa_mark_set()
69 xa->xa_flags |= XA_FLAGS_MARK(mark); in xa_mark_set()
74 if (xa->xa_flags & XA_FLAGS_MARK(mark)) in xa_mark_clear()
75 xa->xa_flags &= ~(XA_FLAGS_MARK(mark)); in xa_mark_clear()
306 if (xas->xa->xa_flags & XA_FLAGS_ACCOUNT) in xas_nomem()
336 if (xas->xa->xa_flags & XA_FLAGS_ACCOUNT) in __xas_nomem()
374 if (xas->xa->xa_flags & XA_FLAGS_ACCOUNT) in xas_alloc()
[all …]
Dradix-tree.c95 return root->xa_flags & (__GFP_BITS_MASK & ~GFP_ZONEMASK); in root_gfp_mask()
118 root->xa_flags |= (__force gfp_t)(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_set()
123 root->xa_flags &= (__force gfp_t)~(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_clear()
128 root->xa_flags &= (__force gfp_t)((1 << ROOT_TAG_SHIFT) - 1); in root_tag_clear_all()
133 return (__force int)root->xa_flags & (1 << (tag + ROOT_TAG_SHIFT)); in root_tag_get()
138 return (__force unsigned)root->xa_flags >> ROOT_TAG_SHIFT; in root_tags_get()
143 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.1.9/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()