Lines Matching refs:accept_rs

235 …rfc_slot_t *accept_rs = alloc_rfc_slot(addr, srv_rs->service_name, srv_rs->service_uuid, srv_rs->s…  in create_srv_accept_rfc_slot()  local
236 if (!accept_rs) { in create_srv_accept_rfc_slot()
241 accept_rs->f.server = false; in create_srv_accept_rfc_slot()
242 accept_rs->f.connected = true; in create_srv_accept_rfc_slot()
243 accept_rs->security = srv_rs->security; in create_srv_accept_rfc_slot()
244 accept_rs->mtu = srv_rs->mtu; in create_srv_accept_rfc_slot()
245 accept_rs->role = srv_rs->role; in create_srv_accept_rfc_slot()
246 accept_rs->rfc_handle = open_handle; in create_srv_accept_rfc_slot()
247 accept_rs->rfc_port_handle = BTA_JvRfcommGetPortHdl(open_handle); in create_srv_accept_rfc_slot()
248 accept_rs->app_uid = srv_rs->app_uid; in create_srv_accept_rfc_slot()
253 assert(accept_rs->rfc_port_handle != srv_rs->rfc_port_handle); in create_srv_accept_rfc_slot()
256 uint32_t new_listen_id = accept_rs->id; in create_srv_accept_rfc_slot()
257 accept_rs->id = srv_rs->id; in create_srv_accept_rfc_slot()
260 return accept_rs; in create_srv_accept_rfc_slot()
494 …rfc_slot_t *accept_rs = create_srv_accept_rfc_slot(srv_rs, (const bt_bdaddr_t *)p_open->rem_bda, p… in on_srv_rfc_connect() local
495 if (!accept_rs) in on_srv_rfc_connect()
500 btsock_thread_add_fd(pth, accept_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, accept_rs->id); in on_srv_rfc_connect()
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()