Lines Matching refs:tasks
53 * sleeping tasks and completes any pending operations that can be fulfilled.
54 * Semaphores are actively given to waiting tasks (necessary for FIFO).
433 * @pt: list of tasks to be woken up
437 * could be destroyed already and the tasks can disappear as soon as the
530 * update_queue(sma, semnum): Look for tasks that can be completed.
533 * @pt: list head for the tasks that must be woken up.
538 * The tasks that must be woken up are added to @pt. The return code
613 * @pt: list head of the tasks that must be woken up.
646 * semncnt number of tasks waiting on semval being nonzero
647 * semzcnt number of tasks waiting on semval being zero
649 * Since semaphore operations are to be performed atomically, tasks actually
707 struct list_head tasks;
721 INIT_LIST_HEAD(&tasks);
724 wake_up_sem_queue_prepare(&tasks, q, -EIDRM);
731 wake_up_sem_queue_do(&tasks);
855 struct list_head tasks;
861 INIT_LIST_HEAD(&tasks);
949 do_smart_update(sma, NULL, 0, 0, &tasks);
991 do_smart_update(sma, NULL, 0, 0, &tasks);
998 wake_up_sem_queue_do(&tasks);
1300 struct list_head tasks;
1349 INIT_LIST_HEAD(&tasks);
1399 do_smart_update(sma, sops, nsops, 1, &tasks);
1482 wake_up_sem_queue_do(&tasks);
1496 * parent and child tasks.
1543 struct list_head tasks;
1608 INIT_LIST_HEAD(&tasks);
1609 do_smart_update(sma, NULL, 0, 1, &tasks);
1611 wake_up_sem_queue_do(&tasks);