Searched refs:queue_empty (Results 1 – 2 of 2) sorted by relevance
40 unsigned int queue_empty : 1; member
1158 static int queue_empty(struct apm_user *as) in queue_empty() function1467 if ((queue_empty(as)) && (fp->f_flags & O_NONBLOCK)) in do_read()1469 wait_event_interruptible(apm_waitqueue, !queue_empty(as)); in do_read()1471 while ((i >= sizeof(event)) && !queue_empty(as)) { in do_read()1507 if (!queue_empty(as)) in do_poll()