Lines Matching refs:next_req
97 int next_req; variable
402 for (i = (req - lock_queue); i++ < next_req; req++) in delete_queue_entry()
404 next_req--; in delete_queue_entry()
547 if (next_req < 1) in process_queue()
577 for (i = 0, lrp = lock_queue; i++ < next_req; lrp++) { in queue_lock()
611 lrp += (next_req++); in queue_lock()
620 if (next_req > 1) in queue_lock()
621 qsort(lock_queue, next_req, sizeof (lock_queue[0]), lock_sort); in queue_lock()
656 spcs_log("cfglockd", NULL, "Lock queue, %d requests", next_req); in lock_stat()
657 for (i = 0; i < next_req; i++) { in lock_stat()
744 for (i = 0, xrp = lrp = lock_queue; i++ < next_req; lrp++) { in unqueue_lock()
756 next_req = xrp - lock_queue; in unqueue_lock()
821 for (i = 0, lrp = lock_queue; i++ < next_req; lrp++) { in remote_unlock()
867 for (i = 0, locker = lock_queue; i < next_req; i++, locker++) { in keepalive()