Searched refs:MAX_THREAD (Results 1 – 1 of 1) sorted by relevance
66 #define MAX_THREAD 8 macro95 static thread_slot_t ts[MAX_THREAD];135 for (i = MAX_THREAD - 1; i >= 0; i--) { in alloc_thread_slot()146 if (0 <= h && h < MAX_THREAD) { in free_thread_slot()158 for (h = 0; h < MAX_THREAD; h++) { in btsock_thread_init()222 if (h < 0 || h >= MAX_THREAD) { in btsock_thread_add_fd()252 if (thread_handle < 0 || thread_handle >= MAX_THREAD) { in btsock_thread_remove_fd_and_close()271 if (h < 0 || h >= MAX_THREAD) { in btsock_thread_post_cmd()303 if (h < 0 || h >= MAX_THREAD) { in btsock_thread_wakeup()319 if (h < 0 || h >= MAX_THREAD) { in btsock_thread_exit()