Lines Matching refs:pan_pth
290 static int pan_pth = -1; variable
293 if (pan_pth < 0) in create_tap_read_thread()
294 pan_pth = btsock_thread_create(btpan_tap_fd_signaled, NULL); in create_tap_read_thread()
295 if (pan_pth >= 0) in create_tap_read_thread()
296 btsock_thread_add_fd(pan_pth, tap_fd, 0, SOCK_THREAD_FD_RD, 0); in create_tap_read_thread()
301 if (pan_pth >= 0) in destroy_tap_read_thread()
303 btsock_thread_exit(pan_pth); in destroy_tap_read_thread()
304 pan_pth = -1; in destroy_tap_read_thread()
396 btsock_thread_add_fd(pan_pth, btpan_cb.tap_fd, 0, SOCK_THREAD_FD_RD, 0); in btpan_set_flow_control()
472 if (pan_pth >= 0) in btpan_tap_close()
473 btsock_thread_wakeup(pan_pth); in btpan_tap_close()
752 btsock_thread_add_fd(pan_pth, fd, 0, SOCK_THREAD_FD_RD, 0); in btu_exec_tap_fd_read()
758 btsock_thread_add_fd(pan_pth, fd, 0, SOCK_THREAD_FD_RD, 0); in btu_exec_tap_fd_read()
799 btsock_thread_add_fd(pan_pth, fd, 0, SOCK_THREAD_FD_RD, 0); in btu_exec_tap_fd_read()