• Home
  • Raw
  • Download

Lines Matching refs:t

471 static void __tasklet_schedule_common(struct tasklet_struct *t,  in __tasklet_schedule_common()  argument
480 t->next = NULL; in __tasklet_schedule_common()
481 *head->tail = t; in __tasklet_schedule_common()
482 head->tail = &(t->next); in __tasklet_schedule_common()
487 void __tasklet_schedule(struct tasklet_struct *t) in __tasklet_schedule() argument
489 __tasklet_schedule_common(t, &tasklet_vec, in __tasklet_schedule()
494 void __tasklet_hi_schedule(struct tasklet_struct *t) in __tasklet_hi_schedule() argument
496 __tasklet_schedule_common(t, &tasklet_hi_vec, in __tasklet_hi_schedule()
514 struct tasklet_struct *t = list; in tasklet_action_common() local
518 if (tasklet_trylock(t)) { in tasklet_action_common()
519 if (!atomic_read(&t->count)) { in tasklet_action_common()
521 &t->state)) in tasklet_action_common()
523 t->func(t->data); in tasklet_action_common()
524 tasklet_unlock(t); in tasklet_action_common()
527 tasklet_unlock(t); in tasklet_action_common()
531 t->next = NULL; in tasklet_action_common()
532 *tl_head->tail = t; in tasklet_action_common()
533 tl_head->tail = &t->next; in tasklet_action_common()
549 void tasklet_init(struct tasklet_struct *t, in tasklet_init() argument
552 t->next = NULL; in tasklet_init()
553 t->state = 0; in tasklet_init()
554 atomic_set(&t->count, 0); in tasklet_init()
555 t->func = func; in tasklet_init()
556 t->data = data; in tasklet_init()
560 void tasklet_kill(struct tasklet_struct *t) in tasklet_kill() argument
565 while (test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) { in tasklet_kill()
568 } while (test_bit(TASKLET_STATE_SCHED, &t->state)); in tasklet_kill()
570 tasklet_unlock_wait(t); in tasklet_kill()
571 clear_bit(TASKLET_STATE_SCHED, &t->state); in tasklet_kill()
621 void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu) in tasklet_kill_immediate() argument
626 BUG_ON(test_bit(TASKLET_STATE_RUN, &t->state)); in tasklet_kill_immediate()
628 if (!test_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_kill_immediate()
633 if (*i == t) { in tasklet_kill_immediate()
634 *i = t->next; in tasklet_kill_immediate()