Lines Matching refs:rs
115 static void cleanup_rfc_slot(rfc_slot_t* rs);
119 static bool send_app_scn(rfc_slot_t* rs);
680 rfc_slot_t* rs = find_rfc_slot_by_id(id); in jv_dm_cback() local
683 if (rs && (new_scn != 0)) { in jv_dm_cback()
684 rs->scn = new_scn; in jv_dm_cback()
697 if (!send_app_scn(rs)) { in jv_dm_cback()
699 APPL_TRACE_DEBUG("send_app_scn() failed, close rs->id:%d", rs->id); in jv_dm_cback()
700 cleanup_rfc_slot(rs); in jv_dm_cback()
702 if (rs->is_service_uuid_valid) { in jv_dm_cback()
705 BTA_JvCreateRecordByUser(rs->id); in jv_dm_cback()
710 rs->id); in jv_dm_cback()
712 BTA_JvRfcommStartServer(rs->security, rs->role, rs->scn, in jv_dm_cback()
713 MAX_RFC_SESSION, rfcomm_cback, rs->id); in jv_dm_cback()
716 } else if (rs) { in jv_dm_cback()
718 "jv_dm_cback: Error: allocate channel %d, slot found:%p", rs->scn, in jv_dm_cback()
719 rs); in jv_dm_cback()
720 cleanup_rfc_slot(rs); in jv_dm_cback()