Lines Matching refs:per_store_ap
810 static struct xarray *per_store_ap = &per_store_arr;
879 lsip = xa_load(per_store_ap, 0); /* should never be NULL */
2928 return xa_load(per_store_ap, devip->sdbg_host->si_idx);
5828 if (!xa_empty(per_store_ap)) {
5845 xa_for_each(per_store_ap, l_idx, sip) {
5846 niu = xa_get_mark(per_store_ap, l_idx,
6033 xa_clear_mark(per_store_ap, idx,
6040 xa_set_mark(per_store_ap, sdhp->si_idx,
6349 xa_for_each_marked(per_store_ap, idx, sip,
6455 if (sdebug_fake_rw == 0 && !xa_empty(per_store_ap)) {
6456 struct sdeb_store_info *sip = xa_load(per_store_ap, 0);
6847 xa_init_flags(per_store_ap, XA_FLAGS_ALLOC | XA_FLAGS_LOCK_IRQ);
6922 xa_destroy(per_store_ap);
6943 if (xa_empty(per_store_ap))
6945 sip = xa_load(per_store_ap, idx);
6952 xa_erase(per_store_ap, idx);
6962 xa_for_each(per_store_ap, idx, sip) {
6989 xa_lock_irqsave(per_store_ap, iflags);
6990 res = __xa_alloc(per_store_ap, &n_idx, sip, xal, GFP_ATOMIC);
6992 xa_unlock_irqrestore(per_store_ap, iflags);
7000 xa_unlock_irqrestore(per_store_ap, iflags);
7066 if (xa_get_mark(per_store_ap, idx, SDEB_XA_NOT_IN_USE))
7067 xa_clear_mark(per_store_ap, idx, SDEB_XA_NOT_IN_USE);
7150 xa_set_mark(per_store_ap, idx, SDEB_XA_NOT_IN_USE);