Lines Matching defs:busy
100 int busy; /**< count of calls to device_busy() */
1148 * @brief Increment the busy counter for the device
1155 if (dev->busy == 0 && dev->parent)
1157 dev->busy++;
1163 * @brief Decrement the busy counter for the device
1168 if (dev->busy != 0 && dev->state != DS_BUSY &&
1170 panic("device_unbusy: called for non-busy device %s",
1172 dev->busy--;
1173 if (dev->busy == 0) {
1380 dev->busy = 0;
1668 KASSERT(dev->busy == 0, ("attach failed but busy"));
1686 if (dev->busy)
2680 panic("resource_list_add: resource entry is busy");
2684 panic("resource_list_add: resource is busy");
2892 indentprintf(("device %d: <%s> %sparent,%schildren,%s%s%s%s%s,%sivars,%ssoftc,busy=%d\n",
2903 dev->busy));