Lines Matching refs:task
34 * Defines how should task behave when back end is offline.
40 /* An offline and online callback is registered. The task is disabled
57 * If EOK, task will be scheduled again to 'last_execution_time + period'.
58 * If other error code, task will be rescheduled to 'now + period'.
64 * If EOK, task will be scheduled again to 'last_execution_time + period'.
65 * If other error code, task will be rescheduled to 'now + period'.
75 * The first execution is scheduled first_delay seconds after the task is
81 * If the task is reenabled, it will be scheduled again to
88 * every time the task is scheduled. The maximum value of
90 * original value when the task is disabled. With max_backoff
93 * If an internal error occurred, the task is automatically disabled.
124 void be_ptask_enable(struct be_ptask *task);
125 void be_ptask_disable(struct be_ptask *task);
126 void be_ptask_destroy(struct be_ptask **task);
128 time_t be_ptask_get_period(struct be_ptask *task);
129 time_t be_ptask_get_timeout(struct be_ptask *task);