search for: idle_list

Displaying 2 results from an estimated 2 matches for "idle_list".

Did you mean: file_list
2011 Dec 23
2
re: Btrfs: fix num_workers_starting bug and other bugs in async thread
...* we have failed to find any workers, just 593 * return the first one we can find. 594 */ 595 if (!list_empty(&workers->worker_list)) 596 fallback = workers->worker_list.next; 597 if (!list_empty(&workers->idle_list)) 598 fallback = workers->idle_list.next; 599 BUG_ON(!fallback); 600 worker = list_entry(fallback, 601 struct btrfs_worker_thread, worker_list); 602 found: 603 /* 604 * this makes sure the worker doesn...
2009 Mar 20
1
chan_ss7 with ringing, but no voice stream.
...s7 does not send the voice steam to the destination. in chan_ss7, i added: =================================================== static struct ss7_chan *cic_hunt_even_mru(struct linkset* linkset) { struct ss7_chan *cur, *prev, *best, *best_prev; best = NULL; best_prev = NULL; for(cur = linkset->idle_list, prev = NULL; cur != NULL; prev = cur, cur = cur->next_idle) { /* Don't select lines that are resetting or blocked. */ ? if(!cur->reset_done || (cur->blocked & (BL_LH|BL_RM|BL_RH|BL_UNEQUIPPED|BL_LINKDOWN))) { ? ? continue; ? ? } /* if((cur->cic % 2) == 0) {? */ /*change to thi...