Searched refs:DRIVE_IS_IDLE (Results 1 – 3 of 3) sorted by relevance
183 if (DRIVE_IS_IDLE(dp)) in mhd_idle()921 if ((dp->dr_fd < 0) && (! (DRIVE_IS_IDLE(dp) || in mhd_drive_thread()956 assert(DRIVE_IS_IDLE(dp)); in mhd_drive_thread()962 assert(DRIVE_IS_IDLE(dp)); in mhd_drive_thread()968 assert(DRIVE_IS_IDLE(dp)); in mhd_drive_thread()990 if ((dp->dr_fd >= 0) && (DRIVE_IS_IDLE(dp))) { in mhd_drive_thread()1005 if (! DRIVE_IS_IDLE(dp)) in mhd_drive_thread()
56 assert(DRIVE_IS_IDLE(dp)); in mhd_add_drive_to_set()79 assert(DRIVE_IS_IDLE(dp)); in mhd_del_drive_from_set()138 if (DRIVE_IS_IDLE(dp)) in mhd_wait_set()188 if (! DRIVE_IS_IDLE(dp)) { in mhd_idle_set()
80 #define DRIVE_IS_IDLE(dp) (((dp)->dr_state == DRIVE_IDLE) || \ macro