Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A 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 …]
H A 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()
H A 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()
H A Dtest_xarray.c476 if (xa->xa_flags & XA_FLAGS_ALLOC) { in check_reserve()
/openbmc/qemu/hw/audio/
H A Dasc.c183 fs->xa_flags = asc_fifo_get(fs); in generate_fifo()
187 shift = fs->xa_flags & 0xf; in generate_fifo()
188 filter = fs->xa_flags >> 4; in generate_fifo()
567 VMSTATE_UINT8(xa_flags, ASCFIFOState),
/openbmc/qemu/include/hw/audio/
H A Dasc.h51 uint8_t xa_flags; member
/openbmc/linux/include/linux/
H A 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()