Lines Matching refs:queue_count
565 ap_dev->queue_count++; in ap_increase_queue_count()
566 if (ap_dev->queue_count == 1) { in ap_increase_queue_count()
583 ap_dev->queue_count--; in ap_decrease_queue_count()
584 if (ap_dev->queue_count > 0) in ap_decrease_queue_count()
842 atomic_sub(ap_dev->queue_count, &ap_poll_requests); in ap_device_remove()
1261 if (ap_dev->queue_count <= 0) in ap_poll_read()
1277 if (ap_dev->queue_count > 0) in ap_poll_read()
1283 atomic_sub(ap_dev->queue_count, &ap_poll_requests); in ap_poll_read()
1284 ap_dev->queue_count = 0; in ap_poll_read()
1311 ap_dev->queue_count >= ap_dev->queue_depth) in ap_poll_write()
1324 if (ap_dev->queue_count < ap_dev->queue_depth && in ap_poll_write()
1374 ap_dev->queue_count < ap_dev->queue_depth) { in __ap_queue_message()
1488 atomic_sub(ap_dev->queue_count, &ap_poll_requests); in ap_reset()
1489 ap_dev->queue_count = 0; in ap_reset()