Lines Matching refs:busy
128 int busy; /**< count of calls to device_busy() */
1808 dev->busy = 0;
2599 * @brief Increment the busy counter for the device
2606 if (dev->busy == 0 && dev->parent)
2608 dev->busy++;
2614 * @brief Decrement the busy counter for the device
2619 if (dev->busy != 0 && dev->state != DS_BUSY &&
2621 panic("device_unbusy: called for non-busy device %s",
2623 dev->busy--;
2624 if (dev->busy == 0) {
2913 KASSERT(dev->busy == 0, ("attach failed but busy"));
2931 if (dev->busy)
3107 panic("resource_list_free: resource entry is busy");
3174 panic("resource_list_add: resource entry is busy");
3183 * @brief Determine if a resource entry is busy.
3185 * Returns true if a resource entry is busy meaning that it has an
3192 * @returns Non-zero if the entry is busy, zero otherwise.
3399 "resource entry %#x type %d for child %s is busy\n", *rid,
3460 panic("resource_list_release: resource entry is not busy");
5152 indentprintf(("device %d: <%s> %sparent,%schildren,%s%s%s%s%s,%sivars,%ssoftc,busy=%d\n",
5163 dev->busy));