Lines Matching refs:wait

411  *	@wait: Wait if queue full
421 int aac_queue_get(struct aac_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned long *nonotify)
427 /* if no entries wait for some if caller wants to */
438 /* if no entries wait for some if caller wants to */
472 * @wait: Async/sync select
477 * Sends the requested FIB to the adapter and optionally will wait for a
478 * response FIB. If the caller does not wish to wait for a response than
479 * an event to wait on must be supplied. This event will be set when a
484 int priority, int wait, int reply, fib_callback callback,
500 * There are 5 cases with the wait and response requested flags.
501 * The only invalid cases are if the caller requests to wait and
511 if (wait && !reply) {
513 } else if (!wait && reply) {
516 } else if (!wait && !reply) {
519 } else if (wait && reply) {
560 * going to wait.
562 if (!wait) {
583 if (wait) {
598 if (wait)
611 if (wait) {
624 if (wait) {
635 * If the caller wanted us to wait for response wait now.
638 if (wait) {
641 if (wait < 0) {
654 if (wait == -1) {
667 if (wait == -1) {
711 int wait;
719 wait = 0;
723 wait = 1;
737 if (wait) {
749 if (wait) {
759 if (wait) {
954 * status wait timeout
1196 * waiting on something else, setup to wait on a Config Change.
1325 * wait for a container change.
2425 * until the queue is empty. When the queue is empty it will wait for
2432 DECLARE_WAITQUEUE(wait, current);
2447 add_wait_queue(&dev->queues->queue[HostNormCmdQueue].cmdready, &wait);
2519 remove_wait_queue(&dev->queues->queue[HostNormCmdQueue].cmdready, &wait);