Lines Matching refs:app_fd
83 int app_fd; // Temporary storage for the half of the socketpair that's sent back to upper layers. member
119 rfc_slots[i].app_fd = INVALID_FD; in btsock_rfc_init()
208 slot->app_fd = fds[1]; in alloc_rfc_slot()
300 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_listen()
308 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_listen()
367 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_connect()
368 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_connect()
407 if (slot->app_fd != INVALID_FD) { in cleanup_rfc_slot()
408 close(slot->app_fd); in cleanup_rfc_slot()
409 slot->app_fd = INVALID_FD; in cleanup_rfc_slot()
501 send_app_connect_signal(srv_rs->fd, &accept_rs->addr, srv_rs->scn, 0, accept_rs->app_fd); in on_srv_rfc_connect()
502 accept_rs->app_fd = INVALID_FD; // Ownership of the application fd has been transferred. in on_srv_rfc_connect()