Lines Matching refs:INVALID_FD
123 rfc_slots[i].fd = INVALID_FD; in btsock_rfc_init()
124 rfc_slots[i].app_fd = INVALID_FD; in btsock_rfc_init()
150 if (rfc_slots[i].fd == INVALID_FD) return &rfc_slots[i]; in find_free_slot()
202 int fds[2] = {INVALID_FD, INVALID_FD}; in alloc_rfc_slot()
279 *sock_fd = INVALID_FD; in btsock_rfc_listen()
323 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_listen()
337 *sock_fd = INVALID_FD; in btsock_rfc_connect()
386 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_connect()
416 if (slot->fd != INVALID_FD) { in cleanup_rfc_slot()
419 slot->fd = INVALID_FD; in cleanup_rfc_slot()
422 if (slot->app_fd != INVALID_FD) { in cleanup_rfc_slot()
424 slot->app_fd = INVALID_FD; in cleanup_rfc_slot()
465 if (send_fd == INVALID_FD) in send_app_connect_signal()
517 INVALID_FD; // Ownership of the application fd has been transferred. in on_srv_rfc_connect()