Lines Matching refs:app_fd
92 int app_fd; // Temporary storage for the half of the socketpair that's sent member
132 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()
541 accept_rs->app_fd); in on_srv_rfc_connect()
542 accept_rs->app_fd = in on_srv_rfc_connect()