Lines Matching refs:per_store_ap
819 static struct xarray *per_store_ap = &per_store_arr;
884 lsip = xa_load(per_store_ap, 0); /* should never be NULL */
3001 return xa_load(per_store_ap, devip->sdbg_host->si_idx);
5965 if (!xa_empty(per_store_ap)) {
5982 xa_for_each(per_store_ap, l_idx, sip) {
5983 niu = xa_get_mark(per_store_ap, l_idx,
6173 xa_clear_mark(per_store_ap, idx,
6180 xa_set_mark(per_store_ap, sdhp->si_idx,
6497 xa_for_each_marked(per_store_ap, idx, sip,
6603 if (sdebug_fake_rw == 0 && !xa_empty(per_store_ap)) {
6604 struct sdeb_store_info *sip = xa_load(per_store_ap, 0);
6981 xa_init_flags(per_store_ap, XA_FLAGS_ALLOC | XA_FLAGS_LOCK_IRQ);
7059 xa_destroy(per_store_ap);
7079 if (xa_empty(per_store_ap))
7081 sip = xa_load(per_store_ap, idx);
7088 xa_erase(per_store_ap, idx);
7098 xa_for_each(per_store_ap, idx, sip) {
7125 xa_lock_irqsave(per_store_ap, iflags);
7126 res = __xa_alloc(per_store_ap, &n_idx, sip, xal, GFP_ATOMIC);
7128 xa_unlock_irqrestore(per_store_ap, iflags);
7136 xa_unlock_irqrestore(per_store_ap, iflags);
7202 if (xa_get_mark(per_store_ap, idx, SDEB_XA_NOT_IN_USE))
7203 xa_clear_mark(per_store_ap, idx, SDEB_XA_NOT_IN_USE);
7286 xa_set_mark(per_store_ap, idx, SDEB_XA_NOT_IN_USE);