Lines Matching defs:table
463 fatal("%s: too many hosts in table",
468 log_info("adding %d hosts from table %s%s",
1282 struct table *table = NULL;
1288 /* the table is already selected */
1291 table = rlt->rlt_table;
1292 if (table->conf.check && !table->up)
1293 table = NULL;
1297 /* otherwise grep the first active table */
1299 table = rlt->rlt_table;
1301 (table->conf.check && !table->up))
1302 table = NULL;
1308 if (table == NULL) {
1356 DPRINTF("%s: session %d: table %s host %s, "
1358 __func__, con->se_id, table->conf.name,
1361 if (!table->conf.check || host->up == HOST_UP)
1368 DPRINTF("%s: session %d: table %s host %s, p 0x%016llx, idx %d",
1369 __func__, con->se_id, table->conf.name, host->conf.name,
1376 if (!table->conf.check || host->up == HOST_UP)
1380 TAILQ_FOREACH(host, &table->hosts, entry) {
1383 if (!table->conf.check || host->up == HOST_UP)
1394 con->se_out.port = table->conf.port;
1852 struct table *table;
1862 if ((table = table_find(env, host->conf.tableid)) ==
1864 fatalx("%s: invalid table id", __func__);
1866 table->up--;
1879 if ((table = table_find(env, id)) == NULL)
1881 table->conf.flags |= F_DISABLE;
1882 table->up = 0;
1883 TAILQ_FOREACH(host, &table->hosts, entry)
1888 if ((table = table_find(env, id)) == NULL)
1890 table->conf.flags &= ~(F_DISABLE);
1891 table->up = 0;
1892 TAILQ_FOREACH(host, &table->hosts, entry)
1908 if ((table = table_find(env, host->conf.tableid))
1910 fatalx("%s: invalid table id", __func__);
1922 table->up++;
1924 table->up--;