Lines Matching refs:t

141 static inline int tasklet_trylock(struct tasklet_struct *t)  in tasklet_trylock()  argument
143 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock()
146 static inline void tasklet_unlock(struct tasklet_struct *t) in tasklet_unlock() argument
149 clear_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_unlock()
152 static inline void tasklet_unlock_wait(struct tasklet_struct *t) in tasklet_unlock_wait() argument
154 while (test_bit(TASKLET_STATE_RUN, &(t)->state)) { barrier(); } in tasklet_unlock_wait()
157 #define tasklet_trylock(t) 1 argument
158 #define tasklet_unlock_wait(t) do { } while (0) argument
159 #define tasklet_unlock(t) do { } while (0) argument
162 extern void FASTCALL(__tasklet_schedule(struct tasklet_struct *t));
164 static inline void tasklet_schedule(struct tasklet_struct *t) in tasklet_schedule() argument
166 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_schedule()
167 __tasklet_schedule(t); in tasklet_schedule()
170 extern void FASTCALL(__tasklet_hi_schedule(struct tasklet_struct *t));
172 static inline void tasklet_hi_schedule(struct tasklet_struct *t) in tasklet_hi_schedule() argument
174 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_hi_schedule()
175 __tasklet_hi_schedule(t); in tasklet_hi_schedule()
179 static inline void tasklet_disable_nosync(struct tasklet_struct *t) in tasklet_disable_nosync() argument
181 atomic_inc(&t->count); in tasklet_disable_nosync()
185 static inline void tasklet_disable(struct tasklet_struct *t) in tasklet_disable() argument
187 tasklet_disable_nosync(t); in tasklet_disable()
188 tasklet_unlock_wait(t); in tasklet_disable()
192 static inline void tasklet_enable(struct tasklet_struct *t) in tasklet_enable() argument
195 atomic_dec(&t->count); in tasklet_enable()
198 static inline void tasklet_hi_enable(struct tasklet_struct *t) in tasklet_hi_enable() argument
201 atomic_dec(&t->count); in tasklet_hi_enable()
204 extern void tasklet_kill(struct tasklet_struct *t);
205 extern void tasklet_init(struct tasklet_struct *t,