Searched refs:app_fd (Results 1 – 2 of 2) sorted by relevance
92 int app_fd; // Temporary storage for the half of the socketpair that's sent member132 rfc_slots[i].app_fd = INVALID_FD; in btsock_rfc_init()221 slot->app_fd = fds[1]; in alloc_rfc_slot()323 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_listen()332 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_listen()390 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_connect()391 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_connect()433 if (slot->app_fd != INVALID_FD) { in cleanup_rfc_slot()434 close(slot->app_fd); in cleanup_rfc_slot()435 slot->app_fd = INVALID_FD; in cleanup_rfc_slot()[all …]
75 int app_fd; // fd from app's side member241 if (sock->app_fd != -1) { in btsock_l2cap_free_l()242 close(sock->app_fd); in btsock_l2cap_free_l()306 sock->app_fd = fds[1]; in btsock_l2cap_alloc_l()488 DVLOG(2) << "sending connect signal & app fd: " << accept_rs->app_fd in on_srv_l2cap_psm_connect_l()492 accept_rs->app_fd, sock->rx_mtu, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()493 accept_rs->app_fd = in on_srv_l2cap_psm_connect_l()537 DVLOG(2) << "sending connect signal & app fd: " << accept_rs->app_fd in on_srv_l2cap_le_connect_l()541 accept_rs->app_fd, sock->rx_mtu, p_open->tx_mtu); in on_srv_l2cap_le_connect_l()542 accept_rs->app_fd = -1; // the fd is closed after sent to app in on_srv_l2cap_le_connect_l()[all …]