Lines Matching defs:tablestate
131 #define KIDX_TO_TI(ch, k) (&(((struct table_info *)(ch)->tablestate)[k]))
585 /* Fill in tablestate */
1206 struct table_info ti_old, ti_new, *tablestate;
1292 tablestate = (struct table_info *)ch->tablestate;
1295 ti_old = tablestate[kidx];
1296 tablestate[kidx] = ti_new;
1306 ta->change_ti(tc->astate, &tablestate[kidx]);
1361 * runtime data @ti (ch->tablestate)
1385 struct table_info ti, *tablestate;
1434 tablestate = (struct table_info *)ch->tablestate;
1435 ti = tablestate[tc_a->no.kidx];
1442 tablestate[tc_a->no.kidx] = tablestate[tc_b->no.kidx];
1447 tablestate[tc_b->no.kidx] = ti;
1454 tc_a->ti_copy = tablestate[tc_a->no.kidx];
1455 tc_b->ti_copy = tablestate[tc_b->no.kidx];
1459 tc_a->ta->change_ti(tc_a->astate, &tablestate[tc_a->no.kidx]);
1461 tc_b->ta->change_ti(tc_b->astate, &tablestate[tc_b->no.kidx]);
1538 void *new_idx, *old_tablestate, *tablestate;
1552 tablestate = malloc(ntables * sizeof(struct table_info),
1573 memcpy(tablestate, ch->tablestate, sizeof(struct table_info) * tbl);
1579 old_tablestate = ch->tablestate;
1580 ch->tablestate = tablestate;
1589 ti = (struct table_info *)ch->tablestate;
3326 free(ch->tablestate, M_IPFW);
3344 ch->tablestate = malloc(V_fw_tables_max * sizeof(struct table_info),