Searched refs:app_fd (Results 1 – 2 of 2) sorted by relevance
78 int app_fd; // Temporary storage for the half of the socketpair that's member119 rfc_slots[i].app_fd = INVALID_FD; in btsock_rfc_init()213 slot->app_fd = fds[1]; in alloc_rfc_slot()339 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_listen()348 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_listen()414 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_connect()415 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_connect()463 if (slot->app_fd != INVALID_FD) { in cleanup_rfc_slot()464 close(slot->app_fd); in cleanup_rfc_slot()465 slot->app_fd = INVALID_FD; in cleanup_rfc_slot()[all …]
63 int app_fd; // fd from app's side member248 if (sock->app_fd != -1) { in btsock_l2cap_free_l()249 close(sock->app_fd); in btsock_l2cap_free_l()311 sock->app_fd = fds[1]; in btsock_l2cap_alloc_l()545 accept_rs->app_fd, sock->rx_mtu, p_open->tx_mtu, in on_srv_l2cap_psm_connect_l()547 accept_rs->app_fd = in on_srv_l2cap_psm_connect_l()891 *sock_fd = sock->app_fd; in btsock_l2cap_listen_or_connect()895 sock->app_fd = -1; in btsock_l2cap_listen_or_connect()