• Home
  • Raw
  • Download

Lines Matching refs:command

188   skc_scheduler_command_t command = SKC_SCHEDULER_COMMAND_INVALID;  in skc_scheduler_acquire()  local
196 command = scheduler->available.indices[--scheduler->available.rem]; in skc_scheduler_acquire()
201 if (command != SKC_SCHEDULER_COMMAND_INVALID) in skc_scheduler_acquire()
204 struct skc_scheduler_command * const sc = scheduler->extent + command; in skc_scheduler_acquire()
213 return command; in skc_scheduler_acquire()
223 skc_scheduler_command_t const command) in skc_scheduler_release() argument
229 scheduler->available.indices[scheduler->available.rem++] = command; in skc_scheduler_release()
241 skc_scheduler_command_t const command) in skc_scheduler_append() argument
243 scheduler->extent[command].state = SKC_SCHEDULER_COMMAND_STATE_WAITING; in skc_scheduler_append()
252 scheduler->waiting.indices[scheduler->waiting.tail] = command; in skc_scheduler_append()
277 skc_scheduler_command_t const command = skc_scheduler_acquire(scheduler,pfn,data,name); in skc_scheduler_schedule() local
279 if (command != SKC_SCHEDULER_COMMAND_INVALID) in skc_scheduler_schedule()
281 skc_scheduler_append(scheduler,command); in skc_scheduler_schedule()
283 return command; in skc_scheduler_schedule()
299 skc_scheduler_command_t * const command) in skc_scheduler_pop() argument
301 *command = SKC_SCHEDULER_COMMAND_INVALID; in skc_scheduler_pop()
309 *command = scheduler->waiting.indices[scheduler->waiting.head]; in skc_scheduler_pop()
322 skc_scheduler_command_t * const command) in skc_scheduler_pop_wait() argument
333 *command = scheduler->waiting.indices[scheduler->waiting.head]; in skc_scheduler_pop_wait()
360 skc_scheduler_command_t const command) in skc_scheduler_execute() argument
364 skc_scheduler_command_execute(scheduler->extent + command); in skc_scheduler_execute()
367 skc_scheduler_release(scheduler,command); in skc_scheduler_execute()
381 skc_scheduler_command_t command; in skc_scheduler_yield() local
383 skc_scheduler_pop(scheduler,&command); in skc_scheduler_yield()
385 if (command == SKC_SCHEDULER_COMMAND_INVALID) { in skc_scheduler_yield()
391 skc_scheduler_execute(scheduler,command); in skc_scheduler_yield()
408 skc_scheduler_command_t command; in skc_scheduler_wait() local
411 skc_scheduler_pop_wait(scheduler,&command); in skc_scheduler_wait()
414 skc_scheduler_execute(scheduler,command); in skc_scheduler_wait()
431 skc_scheduler_command_t command; in skc_scheduler_wait_one() local
434 skc_scheduler_pop_wait(scheduler,&command); in skc_scheduler_wait_one()
437 skc_scheduler_execute(scheduler,command); in skc_scheduler_wait_one()
459 skc_scheduler_command_t const command)
461 struct skc_scheduler_command * const sc = scheduler->extent + command;
486 if (next == command)