Lines Matching defs:table
86 warn_duplicate_tables(table.pfrt_name, \
87 table.pfrt_anchor); \
88 table.pfrt_flags |= PFR_TFLAG_PERSIST; \
91 (pfr_add_tables(&table, 1, &nadd, flags)) && \
97 xprintf(opts, "%d table created", nadd); \
101 table.pfrt_flags &= ~PFR_TFLAG_PERSIST; \
128 struct pfr_table table;
142 bzero(&table, sizeof(table));
146 if (strlcpy(table.pfrt_name, tname,
147 sizeof(table.pfrt_name)) >= sizeof(table.pfrt_name))
150 if (strlcpy(table.pfrt_anchor, anchor,
151 sizeof(table.pfrt_anchor)) >= sizeof(table.pfrt_anchor))
157 RVTEST(pfr_clr_tables(&table, &ndel, flags));
168 RVTEST(pfr_get_tstats(&table,
171 RVTEST(pfr_get_tables(&table,
189 RVTEST(pfr_del_tables(&table, 1, &ndel, flags));
190 xprintf(opts, "%d table deleted", ndel);
194 RVTEST(pfr_clr_addrs(&table, &ndel, flags));
203 RVTEST(pfr_add_addrs(&table, b.pfrb_caddr, b.pfrb_size,
218 RVTEST(pfr_del_addrs(&table, b.pfrb_caddr, b.pfrb_size,
237 RVTEST(pfr_set_addrs(&table, b.pfrb_caddr, b.pfrb_size,
273 RVTEST(pfr_get_astats(&table, b.pfrb_caddr,
289 RVTEST(pfr_del_addrs(&table, b2.pfrb_caddr, b2.pfrb_size,
307 RVTEST(pfr_get_astats(&table, b.pfrb_caddr,
310 RVTEST(pfr_get_addrs(&table, b.pfrb_caddr,
332 RVTEST(pfr_tst_addrs(&table, b.pfrb_caddr, b.pfrb_size,
353 RVTEST(pfr_clr_tstats(&table, 1, &nzero, flags));
354 xprintf(opts, "%d table/stats cleared", nzero);
561 warnx("warning: table <%s> already defined"