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