Lines Matching refs:rs_last
1432 rstruct->rs_last = min_val; in xpvtap_rs_init()
1505 array_idx = rstruct->rs_last >> 6; in xpvtap_rs_alloc()
1507 last = rstruct->rs_last & 0x3F; in xpvtap_rs_alloc()
1512 *resource = rstruct->rs_last; in xpvtap_rs_alloc()
1522 rstruct->rs_last++; in xpvtap_rs_alloc()
1523 if (rstruct->rs_last > max) { in xpvtap_rs_alloc()
1524 rstruct->rs_last = rstruct->rs_min; in xpvtap_rs_alloc()
1537 rstruct->rs_last++; in xpvtap_rs_alloc()
1538 if (rstruct->rs_last > max) { in xpvtap_rs_alloc()
1539 rstruct->rs_last = rstruct->rs_min; in xpvtap_rs_alloc()
1615 array_idx = rstruct->rs_last >> 6; in xpvtap_rs_flush()
1617 last = rstruct->rs_last & 0x3F; in xpvtap_rs_flush()
1622 (*callback)(arg, rstruct->rs_last); in xpvtap_rs_flush()
1629 rstruct->rs_last++; in xpvtap_rs_flush()
1630 if (rstruct->rs_last > max) { in xpvtap_rs_flush()
1631 rstruct->rs_last = rstruct->rs_min; in xpvtap_rs_flush()