Lines Matching refs:t
11 static inline void tasklet_lock(struct tasklet_struct *t) in tasklet_lock() argument
13 while (!tasklet_trylock(t)) in tasklet_lock()
17 static inline bool tasklet_is_locked(const struct tasklet_struct *t) in tasklet_is_locked() argument
19 return test_bit(TASKLET_STATE_RUN, &t->state); in tasklet_is_locked()
22 static inline void __tasklet_disable_sync_once(struct tasklet_struct *t) in __tasklet_disable_sync_once() argument
24 if (!atomic_fetch_inc(&t->count)) in __tasklet_disable_sync_once()
25 tasklet_unlock_spin_wait(t); in __tasklet_disable_sync_once()
28 static inline bool __tasklet_is_enabled(const struct tasklet_struct *t) in __tasklet_is_enabled() argument
30 return !atomic_read(&t->count); in __tasklet_is_enabled()
33 static inline bool __tasklet_enable(struct tasklet_struct *t) in __tasklet_enable() argument
35 return atomic_dec_and_test(&t->count); in __tasklet_enable()
38 static inline bool __tasklet_is_scheduled(struct tasklet_struct *t) in __tasklet_is_scheduled() argument
40 return test_bit(TASKLET_STATE_SCHED, &t->state); in __tasklet_is_scheduled()