Lines Matching refs:tc_a
1328 struct table_config *tc_a, *tc_b; in swap_tables() local
1340 if ((tc_a = find_table(ni, a)) == NULL) { in swap_tables()
1350 if (tc_a == tc_b) { in swap_tables()
1356 if (tc_a->no.subtype!=tc_b->no.subtype || tc_a->tflags!=tc_b->tflags) { in swap_tables()
1362 if ((tc_a->limit != 0 && tc_b->count > tc_a->limit) || in swap_tables()
1363 (tc_b->limit != 0 && tc_a->count > tc_b->limit)) { in swap_tables()
1369 if (((tc_a->ta->flags | tc_b->ta->flags) & TA_FLAG_READONLY) != 0) { in swap_tables()
1375 rollback_toperation_state(ch, tc_a); in swap_tables()
1380 ti = tablestate[tc_a->no.kidx]; in swap_tables()
1381 ta = tc_a->ta; in swap_tables()
1382 astate = tc_a->astate; in swap_tables()
1383 count = tc_a->count; in swap_tables()
1387 tablestate[tc_a->no.kidx] = tablestate[tc_b->no.kidx]; in swap_tables()
1388 tc_a->ta = tc_b->ta; in swap_tables()
1389 tc_a->astate = tc_b->astate; in swap_tables()
1390 tc_a->count = tc_b->count; in swap_tables()
1399 tc_a->ti_copy = tablestate[tc_a->no.kidx]; in swap_tables()
1403 if (tc_a->ta->change_ti != NULL) in swap_tables()
1404 tc_a->ta->change_ti(tc_a->astate, &tablestate[tc_a->no.kidx]); in swap_tables()