Lines Matching refs:INVALID_FD
118 rfc_slots[i].fd = INVALID_FD; in btsock_rfc_init()
119 rfc_slots[i].app_fd = INVALID_FD; in btsock_rfc_init()
145 if (rfc_slots[i].fd == INVALID_FD) return &rfc_slots[i]; in find_free_slot()
197 int fds[2] = {INVALID_FD, INVALID_FD}; in alloc_rfc_slot()
273 *sock_fd = INVALID_FD; in btsock_rfc_listen()
314 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_listen()
328 *sock_fd = INVALID_FD; in btsock_rfc_connect()
372 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_connect()
402 if (slot->fd != INVALID_FD) { in cleanup_rfc_slot()
411 slot->fd = INVALID_FD; in cleanup_rfc_slot()
414 if (slot->app_fd != INVALID_FD) { in cleanup_rfc_slot()
416 slot->app_fd = INVALID_FD; in cleanup_rfc_slot()
459 if (send_fd == INVALID_FD) in send_app_connect_signal()
524 INVALID_FD; // Ownership of the application fd has been transferred. in on_srv_rfc_connect()