Lines Matching refs:looper
344 int looper; member
1948 if (thread->looper & BINDER_LOOPER_STATE_ENTERED) { in binder_thread_write()
1949 thread->looper |= BINDER_LOOPER_STATE_INVALID; in binder_thread_write()
1953 thread->looper |= BINDER_LOOPER_STATE_INVALID; in binder_thread_write()
1960 thread->looper |= BINDER_LOOPER_STATE_REGISTERED; in binder_thread_write()
1966 if (thread->looper & BINDER_LOOPER_STATE_REGISTERED) { in binder_thread_write()
1967 thread->looper |= BINDER_LOOPER_STATE_INVALID; in binder_thread_write()
1971 thread->looper |= BINDER_LOOPER_STATE_ENTERED; in binder_thread_write()
1977 thread->looper |= BINDER_LOOPER_STATE_EXITED; in binder_thread_write()
2033 if (thread->looper & (BINDER_LOOPER_STATE_REGISTERED | BINDER_LOOPER_STATE_ENTERED)) { in binder_thread_write()
2057 if (thread->looper & (BINDER_LOOPER_STATE_REGISTERED | BINDER_LOOPER_STATE_ENTERED)) { in binder_thread_write()
2099 if (thread->looper & (BINDER_LOOPER_STATE_REGISTERED | BINDER_LOOPER_STATE_ENTERED)) { in binder_thread_write()
2133 (thread->looper & BINDER_LOOPER_STATE_NEED_RETURN); in binder_has_proc_work()
2139 (thread->looper & BINDER_LOOPER_STATE_NEED_RETURN); in binder_has_thread_work()
2183 thread->looper |= BINDER_LOOPER_STATE_WAITING; in binder_thread_read()
2193 if (!(thread->looper & (BINDER_LOOPER_STATE_REGISTERED | in binder_thread_read()
2196 proc->pid, thread->pid, thread->looper); in binder_thread_read()
2218 thread->looper &= ~BINDER_LOOPER_STATE_WAITING; in binder_thread_read()
2238 !(thread->looper & BINDER_LOOPER_STATE_NEED_RETURN)) in binder_thread_read()
2454 (thread->looper & (BINDER_LOOPER_STATE_REGISTERED | in binder_thread_read()
2546 thread->looper |= BINDER_LOOPER_STATE_NEED_RETURN; in binder_get_thread()
2797 thread->looper &= ~BINDER_LOOPER_STATE_NEED_RETURN; in binder_ioctl()
2996 thread->looper |= BINDER_LOOPER_STATE_NEED_RETURN; in binder_deferred_flush()
2997 if (thread->looper & BINDER_LOOPER_STATE_WAITING) { in binder_deferred_flush()
3300 seq_printf(m, " thread %d: l %02x\n", thread->pid, thread->looper); in print_binder_thread()