Lines Matching defs:wait
65 * Andrew Morton : Make unregister_netdevice wait
10172 * netdev_wait_allrefs - wait until all references are gone.
10186 int wait = 0, refcnt;
10220 if (!wait) {
10222 wait = WAIT_REFS_MIN_MSECS;
10224 msleep(wait);
10225 wait = min(wait << 1, WAIT_REFS_MAX_MSECS);
10257 * safely in order to wait for the netdev refcnt to drop to zero.
11199 DEFINE_WAIT_FUNC(wait, woken_wake_function);
11201 add_wait_queue(&netdev_unregistering_wq, &wait);
11215 wait_woken(&wait, TASK_UNINTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT);
11217 remove_wait_queue(&netdev_unregistering_wq, &wait);
11233 * wait here for all pending unregistrations to complete,