Lines Matching refs:waitfor
235 static gn_error __sm_block_timeout(int waitfor, int t, gn_data *data, struct gn_statemachine *state) in __sm_block_timeout() argument
247 err = sm_wait_for(waitfor, data, state); in __sm_block_timeout()
269 return sm_error_get(waitfor, state); in __sm_block_timeout()
280 return sm_error_get(waitfor, state); in __sm_block_timeout()
287 gn_error sm_block_timeout(int waitfor, int t, gn_data *data, struct gn_statemachine *state) in sm_block_timeout() argument
293 err = __sm_block_timeout(waitfor, t, data, state); in sm_block_timeout()
303 gn_error sm_block(int waitfor, gn_data *data, struct gn_statemachine *state) in sm_block() argument
305 return sm_block_timeout(waitfor, 40, data, state); in sm_block()
309 gn_error sm_block_no_retry_timeout(int waitfor, int t, gn_data *data, struct gn_statemachine *state) in sm_block_no_retry_timeout() argument
311 return __sm_block_timeout(waitfor, t, data, state); in sm_block_no_retry_timeout()
315 gn_error sm_block_no_retry(int waitfor, gn_data *data, struct gn_statemachine *state) in sm_block_no_retry() argument
317 return sm_block_no_retry_timeout(waitfor, 100, data, state); in sm_block_no_retry()