Searched refs:app_fd (Results 1 – 2 of 2) sorted by relevance
79 int app_fd; // Temporary storage for the half of the socketpair that's sent member119 rfc_slots[i].app_fd = INVALID_FD; in btsock_rfc_init()207 slot->app_fd = fds[1]; in alloc_rfc_slot()305 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_listen()314 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_listen()371 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_connect()372 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_connect()414 if (slot->app_fd != INVALID_FD) { in cleanup_rfc_slot()415 close(slot->app_fd); in cleanup_rfc_slot()416 slot->app_fd = INVALID_FD; in cleanup_rfc_slot()[all …]
54 int app_fd; // fd from app's side member221 if (sock->app_fd != -1) { in btsock_l2cap_free_l()222 close(sock->app_fd); in btsock_l2cap_free_l()278 sock->app_fd = fds[1]; in btsock_l2cap_alloc_l()464 accept_rs->app_fd, sock->rx_mtu, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()465 accept_rs->app_fd = in on_srv_l2cap_psm_connect_l()777 *sock_fd = sock->app_fd; in btsock_l2cap_listen_or_connect()781 sock->app_fd = -1; in btsock_l2cap_listen_or_connect()