Lines Matching refs:app_fd
76 int app_fd; //fd from app's side member
256 if (sock->app_fd != -1) { in btsock_l2cap_free_l()
257 close(sock->app_fd); in btsock_l2cap_free_l()
319 sock->app_fd = fds[1]; in btsock_l2cap_alloc_l()
490 " connection", accept_rs->app_fd); in on_srv_l2cap_psm_connect_l()
493 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()
494 accept_rs->app_fd = -1; // The fd is closed after sent to app in send_app_connect_signal() in on_srv_l2cap_psm_connect_l()
533 " connection", accept_rs->app_fd); in on_srv_l2cap_le_connect_l()
536 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_le_connect_l()
537 accept_rs->app_fd = -1; //the fd is closed after sent to app in on_srv_l2cap_le_connect_l()
966 *sock_fd = sock->app_fd; in btsock_l2cap_listen_or_connect()
970 sock->app_fd = -1; /*This leaks the file descriptor. The FD should be closed in in btsock_l2cap_listen_or_connect()