Lines Matching refs:act
193 init_action(action_t *act, int sleep, action_id_t call, int nargs, ...) in init_action() argument
198 act->act_dosleep = sleep; in init_action()
199 act->act_id = call; in init_action()
202 act->act_args[i] = va_arg(ap, void*); in init_action()
282 action_t *act = (action_t*)actionptr; in execute_action() local
283 void **args = act->act_args; in execute_action()
291 T_LOG("Beginning action of type %d: %s\n", act->act_id, get_action_name(act->act_id)); in execute_action()
294 if (SLEEP == act->act_dosleep) { in execute_action()
297 switch (act->act_id) { in execute_action()
339 res = write((int)act->act_fd, TEST_STRING, strlen(TEST_STRING)); in execute_action()
347 while (write((int)act->act_fd, "a", 1) > 0) { in execute_action()
356 res = lseek((int)act->act_fd, (int)args[0], SEEK_SET); in execute_action()