bin/ksh/c_ksh.c
1309
struct tbl *vq, *voptarg;
bin/ksh/c_ksh.c
26
struct tbl *pwd_s, *oldpwd_s;
bin/ksh/c_ksh.c
430
struct tbl *tp;
bin/ksh/c_ksh.c
565
struct tbl *vp, **p;
bin/ksh/c_ksh.c
713
struct tbl *f;
bin/ksh/c_ksh.c
763
struct tbl *tvp;
bin/ksh/c_ksh.c
923
struct tbl *ap, **p;
bin/ksh/c_ksh.c
942
struct tbl *ap;
bin/ksh/c_ksh.c
999
struct tbl *ap;
bin/ksh/c_sh.c
258
struct tbl *vp;
bin/ksh/c_sh.c
690
struct tbl *vp = global(id);
bin/ksh/edit.c
102
struct tbl *vp;
bin/ksh/edit.c
939
struct tbl *te;
bin/ksh/eval.c
1283
struct tbl *ap;
bin/ksh/eval.c
154
struct tbl *var; /* variable for ${var..} */
bin/ksh/eval.c
266
struct tbl v;
bin/ksh/eval.c
34
struct tbl *var; /* variable in ${var..} */
bin/ksh/eval.c
709
struct tbl *vp;
bin/ksh/exec.c
1092
struct tbl *tp;
bin/ksh/exec.c
1116
struct tbl *tp;
bin/ksh/exec.c
26
static int comexec ARGS((struct op *, struct tbl *volatile, char **,
bin/ksh/exec.c
29
static int call_builtin ARGS((struct tbl *, char **));
bin/ksh/exec.c
30
static int iosetup ARGS((struct ioword *, struct tbl *));
bin/ksh/exec.c
447
struct tbl *volatile tp;
bin/ksh/exec.c
598
struct tbl *ftp;
bin/ksh/exec.c
776
struct tbl *tp;
bin/ksh/exec.c
788
struct tbl *
bin/ksh/exec.c
795
struct tbl *tp = (struct tbl *) 0;
bin/ksh/exec.c
821
struct tbl *tp;
bin/ksh/exec.c
866
struct tbl *tp;
bin/ksh/exec.c
87
struct tbl *tp = NULL;
bin/ksh/exec.c
891
struct tbl *
bin/ksh/exec.c
896
static struct tbl temp;
bin/ksh/exec.c
898
struct tbl *tp = NULL, *tbi;
bin/ksh/exec.c
999
struct tbl *tp;
bin/ksh/expr.c
128
struct tbl *val; /* value from token() */
bin/ksh/expr.c
129
struct tbl *evaling; /* variable that is being recursively
bin/ksh/expr.c
139
static struct tbl *evalexpr ARGS((Expr_state *es, enum prec prec));
bin/ksh/expr.c
141
static struct tbl *do_ppmm(Expr_state *, enum token, struct tbl *, bool);
bin/ksh/expr.c
143
struct tbl *vasn));
bin/ksh/expr.c
144
static struct tbl *tempvar ARGS((void));
bin/ksh/expr.c
145
static struct tbl *intvar ARGS((Expr_state *es, struct tbl *vp));
bin/ksh/expr.c
156
struct tbl v;
bin/ksh/expr.c
171
struct tbl *vp;
bin/ksh/expr.c
175
struct tbl *v;
bin/ksh/expr.c
183
curstate.evaling = (struct tbl *) 0;
bin/ksh/expr.c
283
static struct tbl *
bin/ksh/expr.c
288
struct tbl *vl, UNINITIALIZED(*vr), *vasn;
bin/ksh/expr.c
540
static struct tbl *
bin/ksh/expr.c
541
do_ppmm(Expr_state *es, enum token op, struct tbl *vasn, bool is_prefix)
bin/ksh/expr.c
543
struct tbl *vl;
bin/ksh/expr.c
564
struct tbl *vasn;
bin/ksh/expr.c
572
static struct tbl *
bin/ksh/expr.c
575
struct tbl *vp;
bin/ksh/expr.c
577
vp = (struct tbl*) alloc(sizeof(struct tbl), ATEMP);
bin/ksh/expr.c
587
static struct tbl *
bin/ksh/expr.c
590
struct tbl *vp;
bin/ksh/expr.c
592
struct tbl *vq;
bin/ksh/expr.c
607
es->evaling = (struct tbl *) 0;
bin/ksh/lex.c
733
struct tbl *p;
bin/ksh/lex.h
19
struct tbl *tblp; /* alias (SALIAS) */
bin/ksh/mail.c
194
struct tbl *vp;
bin/ksh/mail.c
51
struct tbl *vp;
bin/ksh/main.c
172
struct tbl *vp = global("PATH");
bin/ksh/main.c
228
struct tbl *pwd_v = global("PWD");
bin/ksh/main.c
267
struct tbl *vp = global("PS1");
bin/ksh/proto.h
219
struct tbl * mytsearch ARGS((struct table *, const char *, unsigned int));
bin/ksh/proto.h
220
struct tbl * tenter ARGS((struct table *, const char *, unsigned int));
bin/ksh/proto.h
221
void mytdelete ARGS((struct tbl *));
bin/ksh/proto.h
223
struct tbl * tnext ARGS((struct tstate *));
bin/ksh/proto.h
224
struct tbl ** tsort ARGS((struct table *));
bin/ksh/proto.h
257
struct tbl * global ARGS((const char *));
bin/ksh/proto.h
258
struct tbl * local(const char *, bool);
bin/ksh/proto.h
259
char * str_val ARGS((struct tbl *));
bin/ksh/proto.h
260
long intval ARGS((struct tbl *));
bin/ksh/proto.h
261
int setstr ARGS((struct tbl *, const char *, int));
bin/ksh/proto.h
262
struct tbl *setint_v ARGS((struct tbl *, struct tbl *));
bin/ksh/proto.h
263
void setint ARGS((struct tbl *, long));
bin/ksh/proto.h
264
int getint ARGS((struct tbl *, long *));
bin/ksh/proto.h
265
struct tbl * typeset ARGS((const char *, Tflag, Tflag, int, int));
bin/ksh/proto.h
266
void unset ARGS((struct tbl *, int));
bin/ksh/proto.h
73
struct tbl * findfunc ARGS((const char *, unsigned int, int));
bin/ksh/proto.h
76
struct tbl * findcom ARGS((const char *, int));
bin/ksh/proto.h
84
int v_evaluate ARGS((struct tbl *, const char *, volatile int));
bin/ksh/syn.c
693
struct tbl *p;
bin/ksh/table.c
104
struct tbl *
bin/ksh/table.c
110
struct tbl **pp, *p;
bin/ksh/table.c
131
p = (struct tbl *) alloc(offsetof(struct tbl, name[0]) + len,
bin/ksh/table.c
137
p->u.array = (struct tbl *)0;
bin/ksh/table.c
148
struct tbl *p;
bin/ksh/table.c
162
struct tbl *
bin/ksh/table.c
167
struct tbl *p = *ts->next++;
bin/ksh/table.c
178
return strcmp(((struct tbl *)p1)->name, ((struct tbl *)p2)->name);
bin/ksh/table.c
181
struct tbl **
bin/ksh/table.c
186
struct tbl **p, **sp, **dp;
bin/ksh/table.c
188
p = (struct tbl **)alloc(sizeofN(struct tbl *, tp->size+1), ATEMP);
bin/ksh/table.c
209
struct tbl *te;
bin/ksh/table.c
221
struct tbl **pp, *p;
bin/ksh/table.c
51
struct tbl *tblp, **p;
bin/ksh/table.c
52
struct tbl **ntblp, **otblp = tp->tbls;
bin/ksh/table.c
55
ntblp = (struct tbl**) alloc(sizeofN(struct tbl *, nsize), tp->areap);
bin/ksh/table.c
81
struct tbl *
bin/ksh/table.c
87
struct tbl **pp, *p;
bin/ksh/table.h
10
struct tbl **tbls; /* hashed table items */
bin/ksh/table.h
134
struct tbl **next;
bin/ksh/table.h
30
struct tbl *array; /* array values */
bin/ksh/var.c
1095
struct tbl *vp;
bin/ksh/var.c
1152
static struct tbl *
bin/ksh/var.c
1154
struct tbl *vp;
bin/ksh/var.c
1157
struct tbl *prev, *curr, *new;
bin/ksh/var.c
1179
new = (struct tbl *)alloc(sizeof(struct tbl) + namelen,
bin/ksh/var.c
1238
struct tbl *vp, *vq;
bin/ksh/var.c
124
struct tbl *tp;
bin/ksh/var.c
173
struct tbl *
bin/ksh/var.c
178
struct tbl *vp;
bin/ksh/var.c
256
struct tbl *
bin/ksh/var.c
260
struct tbl *vp;
bin/ksh/var.c
27
static struct tbl vtemp;
bin/ksh/var.c
278
struct tbl *vq = (struct tbl *) 0;
bin/ksh/var.c
29
static char *formatstr ARGS((struct tbl *vp, const char *s));
bin/ksh/var.c
30
static void export ARGS((struct tbl *vp, const char *val));
bin/ksh/var.c
302
struct tbl *vp;
bin/ksh/var.c
33
static void getspec ARGS((struct tbl *vp));
bin/ksh/var.c
34
static void setspec ARGS((struct tbl *vp));
bin/ksh/var.c
35
static void unsetspec ARGS((struct tbl *vp));
bin/ksh/var.c
355
struct tbl *vp;
bin/ksh/var.c
36
static struct tbl *arraysearch ARGS((struct tbl *, int));
bin/ksh/var.c
370
struct tbl *vq;
bin/ksh/var.c
417
struct tbl *vq;
bin/ksh/var.c
421
struct tbl *vp = &vtemp;
bin/ksh/var.c
437
struct tbl *vp;
bin/ksh/var.c
501
struct tbl *
bin/ksh/var.c
503
struct tbl *vq, *vp;
bin/ksh/var.c
525
struct tbl *vp;
bin/ksh/var.c
589
struct tbl *vp;
bin/ksh/var.c
613
struct tbl *
bin/ksh/var.c
619
struct tbl *vp;
bin/ksh/var.c
620
struct tbl *vpbase, *t;
bin/ksh/var.c
72
struct tbl *vp, **vpp = l->vars.tbls, *vq;
bin/ksh/var.c
769
struct tbl *vp;
bin/ksh/var.c
775
struct tbl *a, *tmp;
bin/ksh/var.c
785
vp->u.array = (struct tbl *) 0;
bin/ksh/var.c
875
struct tbl *vp, **vpp;
bin/ksh/var.c
884
struct tbl *vp2;
bin/ksh/var.c
927
struct tbl *tp;
bin/ksh/var.c
938
struct tbl *tp;
bin/ksh/var.c
952
struct tbl *vp;
bin/ksh/var.c
994
struct tbl *vp;
bin/ksh/vi.c
738
struct tbl *ap;
dist/pf/sbin/pfctl/pfctl_optimize.c
1216
add_opt_table(struct pfctl *pf, struct pf_opt_tbl **tbl, sa_family_t af,
dist/pf/sbin/pfctl/pfctl_optimize.c
1225
if (*tbl == NULL) {
dist/pf/sbin/pfctl/pfctl_optimize.c
1226
if ((*tbl = calloc(1, sizeof(**tbl))) == NULL ||
dist/pf/sbin/pfctl/pfctl_optimize.c
1227
((*tbl)->pt_buf = calloc(1, sizeof(*(*tbl)->pt_buf))) ==
dist/pf/sbin/pfctl/pfctl_optimize.c
1230
(*tbl)->pt_buf->pfrb_type = PFRB_ADDRS;
dist/pf/sbin/pfctl/pfctl_optimize.c
1231
SIMPLEQ_INIT(&(*tbl)->pt_nodes);
dist/pf/sbin/pfctl/pfctl_optimize.c
1234
snprintf((*tbl)->pt_name, sizeof((*tbl)->pt_name), "%s%d",
dist/pf/sbin/pfctl/pfctl_optimize.c
1236
DEBUG("creating table <%s>", (*tbl)->pt_name);
dist/pf/sbin/pfctl/pfctl_optimize.c
1244
DEBUG("<%s> adding %s/%d", (*tbl)->pt_name, inet_ntop(af,
dist/pf/sbin/pfctl/pfctl_optimize.c
1249
if (append_addr_host((*tbl)->pt_buf, &node_host, 0, 0)) {
dist/pf/sbin/pfctl/pfctl_optimize.c
1261
SIMPLEQ_INSERT_TAIL(&(*tbl)->pt_nodes, ti, entries);
dist/pf/sbin/pfctl/pfctl_optimize.c
1264
(*tbl)->pt_rulecount++;
dist/pf/sbin/pfctl/pfctl_optimize.c
1265
if ((*tbl)->pt_rulecount == TABLE_THRESHOLD)
dist/pf/sbin/pfctl/pfctl_optimize.c
1266
DEBUG("table <%s> now faster than skip steps", (*tbl)->pt_name);
dist/pf/sbin/pfctl/pfctl_optimize.c
1277
pf_opt_create_table(struct pfctl *pf, struct pf_opt_tbl *tbl)
dist/pf/sbin/pfctl/pfctl_optimize.c
1301
DEBUG("translating temporary table <%s> to <%s%x_%d>", tbl->pt_name,
dist/pf/sbin/pfctl/pfctl_optimize.c
1303
snprintf(tbl->pt_name, sizeof(tbl->pt_name), "%s%x_%d",
dist/pf/sbin/pfctl/pfctl_optimize.c
1306
if (strcasecmp(t->pfrt_name, tbl->pt_name) == 0) {
dist/pf/sbin/pfctl/pfctl_optimize.c
1309
tbl->pt_name);
dist/pf/sbin/pfctl/pfctl_optimize.c
1317
if (pfctl_define_table(tbl->pt_name, PFR_TFLAG_CONST, 1,
dist/pf/sbin/pfctl/pfctl_optimize.c
1318
pf->anchor->name, tbl->pt_buf, pf->anchor->ruleset.tticket)) {
dist/pf/sbin/pfctl/pfctl_optimize.c
1319
warn("failed to create table %s", tbl->pt_name);
dist/pf/sbin/pfctl/pfctl_radix.c
100
if (size < 0 || (size && tbl == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
106
io.pfrio_buffer = tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
107
io.pfrio_esize = sizeof(*tbl);
dist/pf/sbin/pfctl/pfctl_radix.c
117
pfr_get_tables(struct pfr_table *filter, struct pfr_table *tbl, int *size,
dist/pf/sbin/pfctl/pfctl_radix.c
122
if (size == NULL || *size < 0 || (*size && tbl == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
130
io.pfrio_buffer = tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
131
io.pfrio_esize = sizeof(*tbl);
dist/pf/sbin/pfctl/pfctl_radix.c
140
pfr_get_tstats(struct pfr_table *filter, struct pfr_tstats *tbl, int *size,
dist/pf/sbin/pfctl/pfctl_radix.c
145
if (size == NULL || *size < 0 || (*size && tbl == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
153
io.pfrio_buffer = tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
154
io.pfrio_esize = sizeof(*tbl);
dist/pf/sbin/pfctl/pfctl_radix.c
163
pfr_clr_addrs(struct pfr_table *tbl, int *ndel, int flags)
dist/pf/sbin/pfctl/pfctl_radix.c
167
if (tbl == NULL) {
dist/pf/sbin/pfctl/pfctl_radix.c
173
io.pfrio_table = *tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
182
pfr_add_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
dist/pf/sbin/pfctl/pfctl_radix.c
187
if (tbl == NULL || size < 0 || (size && addr == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
193
io.pfrio_table = *tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
205
pfr_del_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
dist/pf/sbin/pfctl/pfctl_radix.c
210
if (tbl == NULL || size < 0 || (size && addr == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
216
io.pfrio_table = *tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
228
pfr_set_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
dist/pf/sbin/pfctl/pfctl_radix.c
233
if (tbl == NULL || size < 0 || (size && addr == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
239
io.pfrio_table = *tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
258
pfr_get_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int *size,
dist/pf/sbin/pfctl/pfctl_radix.c
263
if (tbl == NULL || size == NULL || *size < 0 ||
dist/pf/sbin/pfctl/pfctl_radix.c
270
io.pfrio_table = *tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
281
pfr_get_astats(struct pfr_table *tbl, struct pfr_astats *addr, int *size,
dist/pf/sbin/pfctl/pfctl_radix.c
286
if (tbl == NULL || size == NULL || *size < 0 ||
dist/pf/sbin/pfctl/pfctl_radix.c
293
io.pfrio_table = *tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
304
pfr_clr_astats(struct pfr_table *tbl, struct pfr_addr *addr, int size,
dist/pf/sbin/pfctl/pfctl_radix.c
309
if (tbl == NULL || size < 0 || (size && addr == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
315
io.pfrio_table = *tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
327
pfr_clr_tstats(struct pfr_table *tbl, int size, int *nzero, int flags)
dist/pf/sbin/pfctl/pfctl_radix.c
331
if (size < 0 || (size && !tbl)) {
dist/pf/sbin/pfctl/pfctl_radix.c
337
io.pfrio_buffer = tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
338
io.pfrio_esize = sizeof(*tbl);
dist/pf/sbin/pfctl/pfctl_radix.c
348
pfr_set_tflags(struct pfr_table *tbl, int size, int setflag, int clrflag,
dist/pf/sbin/pfctl/pfctl_radix.c
353
if (size < 0 || (size && !tbl)) {
dist/pf/sbin/pfctl/pfctl_radix.c
359
io.pfrio_buffer = tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
360
io.pfrio_esize = sizeof(*tbl);
dist/pf/sbin/pfctl/pfctl_radix.c
374
pfr_tst_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
dist/pf/sbin/pfctl/pfctl_radix.c
379
if (tbl == NULL || size < 0 || (size && addr == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
385
io.pfrio_table = *tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
397
pfr_ina_define(struct pfr_table *tbl, struct pfr_addr *addr, int size,
dist/pf/sbin/pfctl/pfctl_radix.c
402
if (tbl == NULL || size < 0 || (size && addr == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
408
io.pfrio_table = *tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
75
pfr_add_tables(struct pfr_table *tbl, int size, int *nadd, int flags)
dist/pf/sbin/pfctl/pfctl_radix.c
79
if (size < 0 || (size && tbl == NULL)) {
dist/pf/sbin/pfctl/pfctl_radix.c
85
io.pfrio_buffer = tbl;
dist/pf/sbin/pfctl/pfctl_radix.c
86
io.pfrio_esize = sizeof(*tbl);
dist/pf/sbin/pfctl/pfctl_radix.c
96
pfr_del_tables(struct pfr_table *tbl, int size, int *ndel, int flags)
dist/pf/sbin/pfctl/pfctl_table.c
497
struct pfr_table tbl;
dist/pf/sbin/pfctl/pfctl_table.c
499
bzero(&tbl, sizeof(tbl));
dist/pf/sbin/pfctl/pfctl_table.c
500
if (strlcpy(tbl.pfrt_name, name, sizeof(tbl.pfrt_name)) >=
dist/pf/sbin/pfctl/pfctl_table.c
501
sizeof(tbl.pfrt_name) || strlcpy(tbl.pfrt_anchor, anchor,
dist/pf/sbin/pfctl/pfctl_table.c
502
sizeof(tbl.pfrt_anchor)) >= sizeof(tbl.pfrt_anchor))
dist/pf/sbin/pfctl/pfctl_table.c
504
tbl.pfrt_flags = flags;
dist/pf/sbin/pfctl/pfctl_table.c
506
return pfr_ina_define(&tbl, ab->pfrb_caddr, ab->pfrb_size, NULL,
games/cribbage/score.c
292
pegscore(CARD crd, const CARD tbl[], unsigned n, int sum)
games/cribbage/score.c
309
while (ju <= n && crd.rank == tbl[n - ju].rank)
games/cribbage/score.c
321
if (got[tbl[i].rank])
games/cribbage/score.c
323
got[tbl[i].rank] = TRUE;
games/cribbage/score.c
324
if (tbl[i].rank < lo)
games/cribbage/score.c
325
lo = tbl[i].rank;
games/cribbage/score.c
326
if (tbl[i].rank > hi)
games/cribbage/score.c
327
hi = tbl[i].rank;
games/fortune/fortune/fortune.c
1000
choice = arc4random_uniform(parent->tbl.str_numstr);
games/fortune/fortune/fortune.c
1002
choice, parent->tbl.str_numstr));
games/fortune/fortune/fortune.c
1003
for (fp = parent->child; (u_int32_t)choice >= fp->tbl.str_numstr;
games/fortune/fortune/fortune.c
1005
choice -= fp->tbl.str_numstr;
games/fortune/fortune/fortune.c
1007
fp->name, fp->tbl.str_numstr, choice));
games/fortune/fortune/fortune.c
101
STRFILE tbl;
games/fortune/fortune/fortune.c
1010
fp->tbl.str_numstr));
games/fortune/fortune/fortune.c
1029
sum_tbl(&Noprob_tbl, &fp->tbl);
games/fortune/fortune/fortune.c
1080
fp->pos = arc4random_uniform(fp->tbl.str_numstr);
games/fortune/fortune/fortune.c
1081
else if (fp->pos >= fp->tbl.str_numstr)
games/fortune/fortune/fortune.c
1082
fp->pos %= fp->tbl.str_numstr;
games/fortune/fortune/fortune.c
1086
fp->pos = arc4random_uniform(fp->tbl.str_numstr);
games/fortune/fortune/fortune.c
1089
if ((u_int64_t)++(fp->pos) >= fp->tbl.str_numstr)
games/fortune/fortune/fortune.c
1090
fp->pos -= fp->tbl.str_numstr;
games/fortune/fortune/fortune.c
1110
if (read(fd, (char *) &fp->tbl, sizeof fp->tbl) != sizeof fp->tbl) {
games/fortune/fortune/fortune.c
1114
BE32TOH(fp->tbl.str_numstr);
games/fortune/fortune/fortune.c
1115
BE32TOH(fp->tbl.str_longlen);
games/fortune/fortune/fortune.c
1116
BE32TOH(fp->tbl.str_shortlen);
games/fortune/fortune/fortune.c
1117
BE32TOH(fp->tbl.str_flags);
games/fortune/fortune/fortune.c
1121
zero_tbl(&fp->tbl);
games/fortune/fortune/fortune.c
1124
sum_tbl(&fp->tbl, &child->tbl);
games/fortune/fortune/fortune.c
1275
if (fp->tbl.str_longlen > maxlen)
games/fortune/fortune/fortune.c
1276
maxlen = fp->tbl.str_longlen;
games/fortune/fortune/fortune.c
1306
if (!STR_ENDSTRING(sp, fp->tbl))
games/fortune/fortune/fortune.c
1310
if (fp->tbl.str_flags & STR_ROTATED)
games/fortune/fortune/fortune.c
1315
printf("%c%c", fp->tbl.str_delim,
games/fortune/fortune/fortune.c
1316
fp->tbl.str_delim);
games/fortune/fortune/fortune.c
1323
if (fp->tbl.str_flags & STR_ROTATED)
games/fortune/fortune/fortune.c
262
!STR_ENDSTRING(line, fp->tbl); Fort_len++) {
games/fortune/fortune/fortune.c
263
if (fp->tbl.str_flags & STR_ROTATED)
games/fortune/fortune/fortune.c
280
if (!(Fortfile->tbl.str_flags & (STR_RANDOM | STR_ORDERED)))
games/fortune/fortune/fortune.c
287
!STR_ENDSTRING(line, Fortfile->tbl))
games/fortune/fortune/fortune.c
952
while ((u_int32_t)choice >= fp->tbl.str_numstr) {
games/fortune/fortune/fortune.c
953
choice -= fp->tbl.str_numstr;
games/fortune/fortune/fortune.c
957
fp->name, fp->tbl.str_numstr,
games/fortune/fortune/fortune.c
961
fp->tbl.str_numstr));
games/fortune/fortune/fortune.c
973
(off_t) (sizeof fp->tbl + fp->pos * sizeof Seekpts[0]), SEEK_SET);
games/fortune/strfile/strfile.h
39
#define STR_ENDSTRING(line,tbl) \
games/fortune/strfile/strfile.h
40
((line)[0] == (tbl).str_delim && (line)[1] == '\n')
games/fortune/unstr/unstr.c
100
BE32TOH(tbl.str_longlen);
games/fortune/unstr/unstr.c
101
BE32TOH(tbl.str_shortlen);
games/fortune/unstr/unstr.c
102
BE32TOH(tbl.str_flags);
games/fortune/unstr/unstr.c
103
if (!(tbl.str_flags & (STR_ORDERED | STR_RANDOM))) {
games/fortune/unstr/unstr.c
107
Delimch = tbl.str_delim;
games/fortune/unstr/unstr.c
108
order_unstr(&tbl);
games/fortune/unstr/unstr.c
127
order_unstr(STRFILE *tbl)
games/fortune/unstr/unstr.c
134
for (i = 0; i < tbl->str_numstr; i++) {
games/fortune/unstr/unstr.c
141
if (sp == NULL || STR_ENDSTRING(sp, *tbl))
games/fortune/unstr/unstr.c
90
static STRFILE tbl; /* description table */
games/fortune/unstr/unstr.c
97
(void) fread((char *) &tbl, sizeof tbl, 1, Dataf);
games/fortune/unstr/unstr.c
98
BE32TOH(tbl.str_version);
games/fortune/unstr/unstr.c
99
BE32TOH(tbl.str_numstr);
lib/libc/db/btree/bt_split.c
190
tbl = GETBLEAF(lchild, NEXTINDEX(lchild) - 1);
lib/libc/db/btree/bt_split.c
191
a.size = tbl->ksize;
lib/libc/db/btree/bt_split.c
192
a.data = tbl->bytes;
lib/libc/db/btree/bt_split.c
86
BLEAF *bl = NULL, *tbl; /* pacify gcc */
lib/libdm/libdm_ioctl.c
617
libdm_table_t tbl;
lib/libdm/libdm_ioctl.c
619
tbl = malloc(sizeof(*tbl));
lib/libdm/libdm_ioctl.c
620
if (tbl == NULL)
lib/libdm/libdm_ioctl.c
623
tbl->ldm_tbl = prop_object_iterator_next(iter->ldm_obji);
lib/libdm/libdm_ioctl.c
624
if (tbl->ldm_tbl == NULL) {
lib/libdm/libdm_ioctl.c
625
free(tbl);
lib/libdm/libdm_ioctl.c
629
return tbl;
lib/libm/ld128/k_expl.h
101
} tbl[INTERVALS] = {
lib/libm/ld128/k_expl.h
258
t = tbl[n2].lo + tbl[n2].hi;
lib/libm/ld128/k_expl.h
259
*hip = tbl[n2].hi;
lib/libm/ld128/k_expl.h
260
*lop = tbl[n2].lo + t * (q + r1);
lib/libm/ld128/s_exp2l.c
414
t = tbl[i0]; /* exp2t[i0] */
lib/libm/ld128/s_exp2l.c
61
static const long double tbl[TBLSIZE] = {
lib/libm/ld128/s_expl.c
288
t = tbl[n2].lo + tbl[n2].hi;
lib/libm/ld128/s_expl.c
291
t = SUM2P(tbl[n2].hi - 1, tbl[n2].lo * (r1 + 1) + t * q +
lib/libm/ld128/s_expl.c
292
tbl[n2].hi * r1);
lib/libm/ld128/s_expl.c
296
t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q +
lib/libm/ld128/s_expl.c
297
tbl[n2].hi * r1);
lib/libm/ld128/s_expl.c
301
t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
lib/libm/ld128/s_expl.c
305
t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
lib/libm/ld128/s_expl.c
315
t = SUM2P(tbl[n2].hi, tbl[n2].lo - twomk + t * (q + r1));
lib/libm/ld128/s_expl.c
317
t = SUM2P(tbl[n2].hi - twomk, tbl[n2].lo + t * (q + r1));
lib/libm/ld80/k_expl.h
242
t = (long double)tbl[n2].lo + tbl[n2].hi;
lib/libm/ld80/k_expl.h
243
*hip = tbl[n2].hi;
lib/libm/ld80/k_expl.h
244
*lop = tbl[n2].lo + t * (q + r1);
lib/libm/ld80/k_expl.h
77
} tbl[INTERVALS] = {
lib/libm/ld80/s_exp2l.c
273
long double t_hi = tbl[i0];
lib/libm/ld80/s_exp2l.c
274
long double t_lo = tbl[i0 + 1];
lib/libm/ld80/s_exp2l.c
63
static const double tbl[TBLSIZE * 2] = {
lib/libm/ld80/s_expl.c
240
t = (long double)tbl[n2].lo + tbl[n2].hi;
lib/libm/ld80/s_expl.c
243
t = SUM2P(tbl[n2].hi - 1, tbl[n2].lo * (r1 + 1) + t * q +
lib/libm/ld80/s_expl.c
244
tbl[n2].hi * r1);
lib/libm/ld80/s_expl.c
248
t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q +
lib/libm/ld80/s_expl.c
249
tbl[n2].hi * r1);
lib/libm/ld80/s_expl.c
253
t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
lib/libm/ld80/s_expl.c
257
t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
lib/libm/ld80/s_expl.c
267
t = SUM2P(tbl[n2].hi, tbl[n2].lo - twomk + t * (q + r1));
lib/libm/ld80/s_expl.c
269
t = SUM2P(tbl[n2].hi - twomk, tbl[n2].lo + t * (q + r1));
lib/libm/noieee_src/n_exp2.c
373
t = tbl[i0]; /* exp2t[i0] */
lib/libm/noieee_src/n_exp2.c
374
z -= tbl[i0 + 1]; /* eps[i0] */
lib/libm/noieee_src/n_exp2.c
53
static const double tbl[TBLSIZE * 2] = {
lib/libm/src/s_exp2.c
390
t = tbl[i0].exp2;
lib/libm/src/s_exp2.c
391
z -= tbl[i0].eps;
lib/libm/src/s_exp2.c
61
} tbl[TBLSIZE] = {
sbin/efi/certs.c
300
static struct cert_tbl tbl[] = {
sbin/efi/certs.c
309
qsort(tbl, __arraycount(tbl), sizeof(*tbl), sortcmpfn);
sbin/efi/certs.c
313
tp = bsearch(uuid, tbl, __arraycount(tbl), sizeof(*tbl), srchcmpfn);
sbin/efi/devpath1.c
269
static const char *tbl[] = {
sbin/efi/devpath1.c
276
if (type >= __arraycount(tbl))
sbin/efi/devpath1.c
279
return tbl[type];
sbin/efi/devpath3.c
516
static struct vendor_type tbl[] = {
sbin/efi/devpath3.c
552
for (size_t i = 0; i < __arraycount(tbl); i++) {
sbin/efi/devpath3.c
553
if (memcmp(uuid, &tbl[i].GUID, sizeof(*uuid)) == 0) {
sbin/efi/devpath3.c
554
return &tbl[i];
sbin/efi/devpath4.c
309
} tbl[] = {
sbin/efi/devpath4.c
324
for (size_t i = 0; i < __arraycount(tbl); i++) {
sbin/efi/devpath4.c
325
if (memcmp(uuid, &tbl[i].GUID, sizeof(*uuid)) == 0) {
sbin/efi/devpath4.c
326
return tbl[i].type;
sbin/efi/main.c
164
} tbl[] = {
sbin/efi/main.c
186
for (size_t i = 0; i < __arraycount(tbl); i++) {
sbin/efi/main.c
188
if (isprint(tbl[i].opt))
sbin/efi/main.c
189
n = printf("-%c | --%s", tbl[i].opt, tbl[i].name);
sbin/efi/main.c
191
n = printf(" --%s", tbl[i].name);
sbin/efi/main.c
192
printf("%*s %s\n", 32 - n, "", tbl[i].help);
sbin/efi/showvar.c
489
static struct vartbl *tp, tbl[] = {
sbin/efi/showvar.c
536
qsort(tbl, __arraycount(tbl), sizeof(*tbl), varcmpsortfn);
sbin/efi/showvar.c
552
tp = bsearch(v->name, tbl, __arraycount(tbl), sizeof(*tbl),
sbin/gpt/biosboot.c
153
set_bootable(gpt_t gpt, map_t map, map_t tbl, unsigned int i)
sbin/gpt/biosboot.c
161
ent = gpt_ent(map, tbl, j);
sbin/gpt/biosboot.c
165
ent = gpt_ent(map, tbl, i);
sbin/gpt/biosboot.c
168
return gpt_write_crc(gpt, map, tbl);
sbin/gpt/biosboot.c
249
if (set_bootable(gpt, gpt->gpt, gpt->tbl, i) == -1)
sbin/gpt/gpt.c
748
gpt->tbl = map_find(gpt, MAP_TYPE_PRI_GPT_TBL);
sbin/gpt/gpt.c
750
if (gpt->tbl == NULL || gpt->lbt == NULL) {
sbin/gpt/gpt.c
759
gpt_write_crc(gpt_t gpt, map_t map, map_t tbl)
sbin/gpt/gpt.c
763
hdr->hdr_crc_table = htole32(crc32(tbl->map_data,
sbin/gpt/gpt.c
776
if (gpt_write(gpt, tbl) == -1) {
sbin/gpt/gpt.c
791
return gpt_write_crc(gpt, gpt->gpt, gpt->tbl);
sbin/gpt/gpt.c
823
gpt_ent(map_t map, map_t tbl, unsigned int i)
sbin/gpt/gpt.c
826
return (void *)((char *)tbl->map_data + i * le32toh(hdr->hdr_entsz));
sbin/gpt/gpt.c
832
return gpt_ent(gpt->gpt, gpt->tbl, i);
sbin/gpt/gpt.c
943
if ((gpt->tbl = map_add(gpt, 2LL, blocks,
sbin/gpt/gpt.c
961
hdr->hdr_lba_start = htole64((uint64_t)(gpt->tbl->map_start + blocks));
sbin/gpt/gpt.c
965
hdr->hdr_lba_table = htole64((uint64_t)(gpt->tbl->map_start));
sbin/gpt/gpt.c
972
ent = gpt->tbl->map_data;
sbin/gpt/gpt.c
988
MAP_TYPE_SEC_GPT_TBL, gpt->tbl->map_data, 0)) == NULL) {
sbin/gpt/gpt_private.h
44
struct map *tbl, *lbt, *gpt, *tpg;
sbin/gpt/migrate.c
260
ent = gpt->tbl->map_data;
sbin/gpt/recover.c
125
dtbl = &gpt->tbl;
sbin/gpt/recover.c
132
stbl = gpt->tbl;
sbin/gpt/recover.c
168
gpt->tbl = map_find(gpt, MAP_TYPE_PRI_GPT_TBL);
sbin/gpt/recover.c
176
if (gpt->tbl == NULL && gpt->lbt == NULL) {
sbin/gpt/recover.c
190
if (gpt->tbl != NULL && gpt->lbt == NULL) {
sbin/gpt/recover.c
192
last - gpt->tbl->map_size) == -1)
sbin/gpt/recover.c
194
} else if (gpt->tbl == NULL && gpt->lbt != NULL) {
sbin/gpt/recover.c
83
dtbl = gpt->tbl;
sbin/gpt/recover.c
93
stbl = gpt->tbl;
sbin/gpt/resizedisk.c
118
gpt->tbl = map_find(gpt, MAP_TYPE_PRI_GPT_TBL);
sbin/gpt/resizedisk.c
119
if (gpt->tbl == NULL) {
sbin/gpt/resizedisk.c
133
gpt_size = gpt->tbl->map_size;
sbin/gpt/resizedisk.c
147
for (ent = gpt->tbl->map_data; ent <
sbin/gpt/resizedisk.c
148
(struct gpt_ent *)((char *)gpt->tbl->map_data +
sbin/gpt/resizedisk.c
191
MAP_TYPE_SEC_GPT_TBL, gpt->tbl->map_data, 0);
sbin/nvmectl/nvmectl.c
102
gen_usage(tbl);
sbin/nvmectl/nvmectl.c
88
dispatch(int argc, char *argv[], const struct nvme_function *tbl)
sbin/nvmectl/nvmectl.c
90
const struct nvme_function *f = tbl;
sbin/nvmectl/nvmectl.c
93
gen_usage(tbl);
sbin/routed/trace.c
545
trace_bits(const struct bits *tbl,
sbin/routed/trace.c
560
&& (b = tbl->bits_mask) != 0) {
sbin/routed/trace.c
562
if (tbl->bits_name[0] != '\0') {
sbin/routed/trace.c
565
(void)fprintf(ftrace, "%s", tbl->bits_name);
sbin/routed/trace.c
568
if (0 == (field &= ~(b | tbl->bits_clear)))
sbin/routed/trace.c
571
tbl++;
sbin/routed/trace.c
573
if (field != 0 && tbl->bits_name != 0) {
sbin/routed/trace.c
576
(void)fprintf(ftrace, tbl->bits_name, field);
share/examples/puffs/rot13fs/rot13fs.c
173
tbl[i] = (uint8_t)i;
share/examples/puffs/rot13fs/rot13fs.c
175
tbl[i + 'a'] = 'a' + ((i + 13) % 26);
share/examples/puffs/rot13fs/rot13fs.c
177
tbl[i + 'A'] = 'A' + ((i + 13) % 26);
share/examples/puffs/rot13fs/rot13fs.c
59
static uint8_t tbl[256];
share/examples/puffs/rot13fs/rot13fs.c
67
*b = tbl[*b];
sys/arch/alpha/alpha/db_disasm.c
152
static const struct tbl pal_op_tbl[] = {
sys/arch/alpha/alpha/db_disasm.c
443
float_name(const struct tbl *tbl, int op, const char *type)
sys/arch/alpha/alpha/db_disasm.c
448
for (i = 0; tbl[i].name != NULL; i++) {
sys/arch/alpha/alpha/db_disasm.c
449
if (tbl[i].code == op)
sys/arch/alpha/alpha/db_disasm.c
450
return (tbl[i].name);
sys/arch/alpha/alpha/db_disasm.c
461
static const struct tbl anyf_tbl[] = {
sys/arch/alpha/alpha/db_disasm.c
480
static const struct tbl ieeef_tbl[] = {
sys/arch/alpha/alpha/db_disasm.c
660
static const struct tbl vaxf_tbl[] = {
sys/arch/arm/apple/apple_pcie.c
629
pcireg_t tbl;
sys/arch/arm/apple/apple_pcie.c
644
tbl = pci_conf_read(pa->pa_pc, pa->pa_tag, off + PCI_MSIX_TBLOFFSET);
sys/arch/arm/apple/apple_pcie.c
645
bar = PCI_BAR0 + (4 * (tbl & PCI_MSIX_TBLBIR_MASK));
sys/arch/arm/apple/apple_pcie.c
646
table_offset = tbl & PCI_MSIX_TBLOFFSET_MASK;
sys/arch/arm/cortex/gic_v2m.c
278
pcireg_t tbl;
sys/arch/arm/cortex/gic_v2m.c
294
tbl = pci_conf_read(pa->pa_pc, pa->pa_tag, off + PCI_MSIX_TBLOFFSET);
sys/arch/arm/cortex/gic_v2m.c
295
bar = PCI_BAR0 + (4 * (tbl & PCI_MSIX_TBLBIR_MASK));
sys/arch/arm/cortex/gic_v2m.c
296
table_offset = tbl & PCI_MSIX_TBLOFFSET_MASK;
sys/arch/arm/cortex/gicv3_its.c
724
pcireg_t tbl;
sys/arch/arm/cortex/gicv3_its.c
734
tbl = pci_conf_read(pa->pa_pc, pa->pa_tag, off + PCI_MSIX_TBLOFFSET);
sys/arch/arm/cortex/gicv3_its.c
735
bar = PCI_BAR0 + (4 * (tbl & PCI_MSIX_TBLBIR_MASK));
sys/arch/arm/cortex/gicv3_its.c
736
table_offset = tbl & PCI_MSIX_TBLOFFSET_MASK;
sys/arch/arm/nvidia/tegra124_cpu.c
235
u_int tbl = 0;
sys/arch/arm/nvidia/tegra124_cpu.c
238
tbl = tegra124_speedo.cpu_speedo_id;
sys/arch/arm/nvidia/tegra124_cpu.c
240
return rate <= tegra124_cpufreq_max[tbl];
sys/arch/arm/nxp/imx6_ccm.c
291
KASSERT(div->tbl != NULL);
sys/arch/arm/nxp/imx6_ccm.c
293
for (int i = 0; div->tbl[i] != 0; i++)
sys/arch/arm/nxp/imx6_ccm.c
295
rate /= div->tbl[i];
sys/arch/arm/nxp/imx6_ccm.c
438
KASSERT(div->tbl != NULL);
sys/arch/arm/nxp/imx6_ccm.c
439
for (int i = 0; div->tbl[i] != 0; i++)
sys/arch/arm/nxp/imx6_ccm.c
440
if (div->tbl[i] == divider)
sys/arch/arm/nxp/imx6_ccmvar.h
122
const int *tbl;
sys/arch/arm/nxp/imx6_ccmvar.h
250
.tbl = (_tbl) \
sys/arch/bebox/bebox/cpu.c
150
u_int tbu, tbl;
sys/arch/bebox/bebox/cpu.c
169
tbl = h->hatch_tbl;
sys/arch/bebox/bebox/cpu.c
173
__asm volatile ("mttbl %0" :: "r"(tbl));
sys/arch/bebox/stand/boot/clock.c
60
u_long tbh, tbl, scratch;
sys/arch/bebox/stand/boot/clock.c
65
tbl = tb;
sys/arch/bebox/stand/boot/clock.c
68
: "=&r"(scratch) : "r"(tbh), "r"(tbl));
sys/arch/evbppc/mpc85xx/machdep.c
892
uint32_t tbl;
sys/arch/evbppc/mpc85xx/machdep.c
896
tbl = mfspr(SPR_RTBL) + TBSYNC_SLOP;
sys/arch/evbppc/mpc85xx/machdep.c
897
} while (tbl < TBSYNC_SLOP);
sys/arch/evbppc/mpc85xx/machdep.c
900
h->hatch_tbl = tbl;
sys/arch/evbppc/mpc85xx/machdep.c
949
while (tbl != mftbl())
sys/arch/evbppc/mpc85xx/machdep.c
967
((int64_t)tbu << 32) + tbl,
sys/arch/evbppc/nintendo/cpu.c
200
u_int tbl = h->hatch_tbl;
sys/arch/evbppc/nintendo/cpu.c
208
__asm volatile ("mttbl %0" :: "r"(tbl));
sys/arch/ia64/ia64/consinit.c
125
struct dig64_hcdp_table *tbl;
sys/arch/ia64/ia64/consinit.c
136
tbl = (void *)IA64_PHYS_TO_RR7(hcdp);
sys/arch/ia64/ia64/consinit.c
138
m = tbl->length - sizeof(struct dig64_hcdp_table);
sys/arch/ia64/ia64/consinit.c
141
desc = (union dev_desc *)((char *)tbl->entry + n);
sys/arch/ia64/ia64/consinit.c
79
struct dig64_hcdp_table *tbl;
sys/arch/ia64/ia64/consinit.c
86
tbl = (void*)IA64_PHYS_TO_RR7(hcdp);
sys/arch/ia64/ia64/consinit.c
88
m = tbl->length - sizeof(struct dig64_hcdp_table);
sys/arch/ia64/ia64/consinit.c
90
desc = (union dev_desc *)((char *)tbl->entry + n);
sys/arch/ia64/ia64/consinit.c
95
if (tbl->revision < 3)
sys/arch/ia64/ia64/consinit.c
98
tbl->revision);
sys/arch/ia64/include/efilib.h
36
void *efi_get_table(EFI_GUID *tbl);
sys/arch/ia64/stand/efi/libefi/efi.c
66
efi_get_table(EFI_GUID *tbl)
sys/arch/ia64/stand/efi/libefi/efi.c
73
if (!memcmp(id, tbl, sizeof(EFI_GUID)))
sys/arch/ia64/stand/ia64/efi/main.c
506
struct dig64_hcdp_table *tbl;
sys/arch/ia64/stand/ia64/efi/main.c
510
tbl = efi_get_table(&hcdp);
sys/arch/ia64/stand/ia64/efi/main.c
511
if (tbl == NULL) {
sys/arch/ia64/stand/ia64/efi/main.c
515
if (memcmp(tbl->signature, HCDP_SIGNATURE, sizeof(tbl->signature))) {
sys/arch/ia64/stand/ia64/efi/main.c
519
printf("HCDP table at 0x%lx\n", (u_long)tbl);
sys/arch/ia64/stand/ia64/efi/main.c
520
printf("Signature = %s\n", hcdp_string(tbl->signature, 4));
sys/arch/ia64/stand/ia64/efi/main.c
521
printf("Length = %u\n", tbl->length);
sys/arch/ia64/stand/ia64/efi/main.c
522
printf("Revision = %u\n", tbl->revision);
sys/arch/ia64/stand/ia64/efi/main.c
523
printf("Checksum = %u\n", tbl->checksum);
sys/arch/ia64/stand/ia64/efi/main.c
524
printf("OEM Id = %s\n", hcdp_string(tbl->oem_id, 6));
sys/arch/ia64/stand/ia64/efi/main.c
525
printf("Table Id = %s\n", hcdp_string(tbl->oem_tbl_id, 8));
sys/arch/ia64/stand/ia64/efi/main.c
526
printf("OEM rev = %u\n", tbl->oem_rev);
sys/arch/ia64/stand/ia64/efi/main.c
527
printf("Creator Id = %s\n", hcdp_string(tbl->creator_id, 4));
sys/arch/ia64/stand/ia64/efi/main.c
528
printf("Creator rev= %u\n", tbl->creator_rev);
sys/arch/ia64/stand/ia64/efi/main.c
529
printf("Entries = %u\n", tbl->entries);
sys/arch/ia64/stand/ia64/efi/main.c
531
m = tbl->length - sizeof(struct dig64_hcdp_table);
sys/arch/ia64/stand/ia64/efi/main.c
535
desc = (union dev_desc *)((char *)tbl->entry + n);
sys/arch/ia64/stand/ia64/efi/main.c
570
if (tbl->revision < 3) {
sys/arch/macppc/macppc/cpu.c
341
u_int tbl = h->hatch_tbl;
sys/arch/macppc/macppc/cpu.c
347
__asm volatile ("mttbl %0" :: "r"(tbl));
sys/arch/ofppc/ofppc/cpu.c
303
u_int tbl = h->hatch_tbl;
sys/arch/ofppc/ofppc/cpu.c
309
__asm volatile ("mttbl %0" :: "r"(tbl));
sys/arch/powerpc/booke/e500_timer.c
190
u_long tbh, tbl, scratch;
sys/arch/powerpc/booke/e500_timer.c
196
tbl = tb;
sys/arch/powerpc/booke/e500_timer.c
207
: "r"(tbh), "r"(tbl), "n"(SPR_TBL), "n"(SPR_TBU)
sys/arch/powerpc/ibm4xx/clock.c
266
u_long tbh, tbl, scratch;
sys/arch/powerpc/ibm4xx/clock.c
272
tbl = tb;
sys/arch/powerpc/ibm4xx/clock.c
292
: "r" (tbh), "r" (tbl)
sys/arch/powerpc/include/cpu.h
269
uint32_t tbl;
sys/arch/powerpc/include/cpu.h
279
: [tbl] "=r" (tbl));
sys/arch/powerpc/include/cpu.h
281
return tbl;
sys/arch/powerpc/powerpc/clock.c
210
uint32_t tbh, tbl, scratch;
sys/arch/powerpc/powerpc/clock.c
247
tbl = tb;
sys/arch/powerpc/powerpc/clock.c
250
: "=&r"(scratch) : "r"(tbh), "r"(tbl)
sys/arch/prep/prep/cpu.c
146
u_int tbl = h->hatch_tbl;
sys/arch/prep/prep/cpu.c
154
__asm volatile ("mttbl %0" :: "r"(tbl));
sys/arch/prep/stand/boot/clock.c
101
tbl = tb;
sys/arch/prep/stand/boot/clock.c
105
: "r"(tbh), "r"(tbl));
sys/arch/prep/stand/boot/clock.c
76
u_long tbh, tbl, scratch;
sys/arch/prep/stand/boot/clock.c
83
mfrtc(&tbh, &tbl);
sys/arch/prep/stand/boot/clock.c
88
tbl += n * 1000;
sys/arch/prep/stand/boot/clock.c
89
if (tbl >= 1000000000) {
sys/arch/prep/stand/boot/clock.c
91
tbl -= 1000000000;
sys/arch/prep/stand/boot/clock.c
96
: "r"(tbh), "r"(tbl), "n"(SPR_RTCU_R), "n"(SPR_RTCL_R));
sys/arch/rs6000/stand/boot/clock.c
102
tbl = tb;
sys/arch/rs6000/stand/boot/clock.c
106
: "r"(tbh), "r"(tbl));
sys/arch/rs6000/stand/boot/clock.c
76
u_long tbh, tbl, scratch;
sys/arch/rs6000/stand/boot/clock.c
84
mfrtc(&tbh, &tbl);
sys/arch/rs6000/stand/boot/clock.c
89
tbl += n * 1000;
sys/arch/rs6000/stand/boot/clock.c
90
if (tbl >= 1000000000) {
sys/arch/rs6000/stand/boot/clock.c
92
tbl -= 1000000000;
sys/arch/rs6000/stand/boot/clock.c
97
: "r"(tbh), "r"(tbl), "n"(SPR_RTCU_R), "n"(SPR_RTCL_R));
sys/arch/sandpoint/stand/altboot/brdsetup.c
1037
uint32_t scratch, tbh, tbl;
sys/arch/sandpoint/stand/altboot/brdsetup.c
1042
tbl = tb;
sys/arch/sandpoint/stand/altboot/brdsetup.c
1053
: "r"(tbh), "r"(tbl)
sys/arch/sun3/sun3x/pmap.c
1234
a_tmgr_t *tbl;
sys/arch/sun3/sun3x/pmap.c
1238
tbl = TAILQ_FIRST(&a_pool);
sys/arch/sun3/sun3x/pmap.c
1239
if (tbl == NULL) {
sys/arch/sun3/sun3x/pmap.c
1256
TAILQ_REMOVE(&a_pool, tbl, at_link);
sys/arch/sun3/sun3x/pmap.c
1267
if (tbl->at_parent) {
sys/arch/sun3/sun3x/pmap.c
1268
KASSERT(tbl->at_wcnt == 0);
sys/arch/sun3/sun3x/pmap.c
1269
pmap = tbl->at_parent;
sys/arch/sun3/sun3x/pmap.c
1270
free_a_table(tbl, false);
sys/arch/sun3/sun3x/pmap.c
1274
return tbl;
sys/arch/sun3/sun3x/pmap.c
1284
b_tmgr_t *tbl;
sys/arch/sun3/sun3x/pmap.c
1287
tbl = TAILQ_FIRST(&b_pool);
sys/arch/sun3/sun3x/pmap.c
1288
if (tbl == NULL)
sys/arch/sun3/sun3x/pmap.c
1290
TAILQ_REMOVE(&b_pool, tbl, bt_link);
sys/arch/sun3/sun3x/pmap.c
1291
if (tbl->bt_parent) {
sys/arch/sun3/sun3x/pmap.c
1292
KASSERT(tbl->bt_wcnt == 0);
sys/arch/sun3/sun3x/pmap.c
1293
tbl->bt_parent->at_dtbl[tbl->bt_pidx].attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
1294
tbl->bt_parent->at_ecnt--;
sys/arch/sun3/sun3x/pmap.c
1295
free_b_table(tbl, false);
sys/arch/sun3/sun3x/pmap.c
1297
return tbl;
sys/arch/sun3/sun3x/pmap.c
1307
c_tmgr_t *tbl;
sys/arch/sun3/sun3x/pmap.c
1310
tbl = TAILQ_FIRST(&c_pool);
sys/arch/sun3/sun3x/pmap.c
1311
if (tbl == NULL)
sys/arch/sun3/sun3x/pmap.c
1313
TAILQ_REMOVE(&c_pool, tbl, ct_link);
sys/arch/sun3/sun3x/pmap.c
1314
if (tbl->ct_parent) {
sys/arch/sun3/sun3x/pmap.c
1315
KASSERT(tbl->ct_wcnt == 0);
sys/arch/sun3/sun3x/pmap.c
1316
tbl->ct_parent->bt_dtbl[tbl->ct_pidx].attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
1317
tbl->ct_parent->bt_ecnt--;
sys/arch/sun3/sun3x/pmap.c
1318
free_c_table(tbl, false);
sys/arch/sun3/sun3x/pmap.c
1320
return tbl;
sys/arch/sun3/sun3x/pmap.c
2783
pmap_get_pteinfo(u_int idx, pmap_t *pmap, c_tmgr_t **tbl)
sys/arch/sun3/sun3x/pmap.c
2795
*tbl = &Ctmgrbase[(idx - NUM_KERN_PTES) / MMU_C_TBL_SIZE];
sys/arch/sun3/sun3x/pmap.c
2797
*pmap = (*tbl)->ct_pmap;
sys/arch/sun3/sun3x/pmap.c
2804
va = (*tbl)->ct_va;
sys/arch/sun68k/stand/libsa/sun3x.c
220
mmu_short_pte_t *tbl;
sys/arch/sun68k/stand/libsa/sun3x.c
223
tbl = (mmu_short_pte_t *) *romVectorPtr->lomemptaddr;
sys/arch/sun68k/stand/libsa/sun3x.c
226
tbl = (mmu_short_pte_t *) *romVectorPtr->monptaddr;
sys/arch/sun68k/stand/libsa/sun3x.c
229
tbl = (mmu_short_pte_t *) *romVectorPtr->shadowpteaddr;
sys/arch/sun68k/stand/libsa/sun3x.c
237
return tbl[pn].attr.raw;
sys/arch/sun68k/stand/libsa/sun3x.c
245
mmu_short_pte_t *tbl;
sys/arch/sun68k/stand/libsa/sun3x.c
251
tbl = (mmu_short_pte_t *) *romVectorPtr->lomemptaddr;
sys/arch/sun68k/stand/libsa/sun3x.c
257
tbl = (mmu_short_pte_t *) *romVectorPtr->monptaddr;
sys/arch/sun68k/stand/libsa/sun3x.c
263
tbl = (mmu_short_pte_t *) *romVectorPtr->shadowpteaddr;
sys/arch/sun68k/stand/libsa/sun3x.c
272
tbl[pn].attr.raw = pa;
sys/arch/x86/pci/msipic.c
669
pcireg_t tbl;
sys/arch/x86/pci/msipic.c
707
tbl = pci_conf_read(pc, tag, off + PCI_MSIX_TBLOFFSET);
sys/arch/x86/pci/msipic.c
708
table_offset = tbl & PCI_MSIX_TBLOFFSET_MASK;
sys/arch/x86/pci/msipic.c
709
bir = tbl & PCI_MSIX_TBLBIR_MASK;
sys/arch/x86/x86/x86_ipmi.c
184
struct smbtable tbl;
sys/arch/x86/x86/x86_ipmi.c
186
tbl.cookie = 0;
sys/arch/x86/x86/x86_ipmi.c
188
if (smbios_find_table(SMBIOS_TYPE_IPMIDEV, &tbl))
sys/arch/x86/x86/x86_ipmi.c
189
ipmi_smbios_probe(tbl.tblhdr, ia);
sys/dev/audio/audio.c
8657
mixer_devinfo_t *mi, const struct portname *tbl)
sys/dev/audio/audio.c
8666
for(i = 0; tbl[i].name; i++)
sys/dev/audio/audio.c
8669
tbl[i].name) == 0) {
sys/dev/audio/audio.c
8670
ports->allports |= tbl[i].mask;
sys/dev/audio/audio.c
8671
ports->aumask[ports->nports] = tbl[i].mask;
sys/dev/audio/audio.c
8683
for(i = 0; tbl[i].name; i++)
sys/dev/audio/audio.c
8686
tbl[i].name) == 0) {
sys/dev/audio/audio.c
8687
ports->allports |= tbl[i].mask;
sys/dev/audio/audio.c
8688
ports->aumask[ports->nports] = tbl[i].mask;
sys/dev/dm/device-mapper.c
528
dm_table_t *tbl;
sys/dev/dm/device-mapper.c
536
tbl = dm_table_get_entry(&dmv->table_head, DM_TABLE_ACTIVE);
sys/dev/dm/device-mapper.c
542
SLIST_FOREACH(table_en, tbl, next)
sys/dev/dm/device-mapper.c
597
dm_table_t *tbl;
sys/dev/dm/device-mapper.c
635
tbl = dm_table_get_entry(&dmv->table_head, DM_TABLE_ACTIVE);
sys/dev/dm/device-mapper.c
644
SLIST_FOREACH(table_en, tbl, next) {
sys/dev/dm/dm_ioctl.c
616
dm_table_t *tbl;
sys/dev/dm/dm_ioctl.c
655
tbl = dm_table_get_entry(&dmv->table_head, table_type);
sys/dev/dm/dm_ioctl.c
657
SLIST_FOREACH(table_en, tbl, next)
sys/dev/dm/dm_ioctl.c
713
dm_table_t *tbl;
sys/dev/dm/dm_ioctl.c
758
tbl = dm_table_get_entry(&dmv->table_head, DM_TABLE_INACTIVE);
sys/dev/dm/dm_ioctl.c
809
if (SLIST_EMPTY(tbl) || last_table == NULL)
sys/dev/dm/dm_ioctl.c
811
SLIST_INSERT_HEAD(tbl, table_en, next);
sys/dev/dm/dm_ioctl.c
902
dm_table_t *tbl;
sys/dev/dm/dm_ioctl.c
955
tbl = dm_table_get_entry(&dmv->table_head, table_type);
sys/dev/dm/dm_ioctl.c
957
SLIST_FOREACH(table_en, tbl, next) {
sys/dev/dm/dm_table.c
149
dm_table_t *tbl;
sys/dev/dm/dm_table.c
165
tbl = &head->tables[id];
sys/dev/dm/dm_table.c
167
while ((table_en = SLIST_FIRST(tbl)) != NULL) {
sys/dev/dm/dm_table.c
168
SLIST_REMOVE(tbl, table_en, dm_table_entry, next);
sys/dev/dm/dm_table.c
174
KASSERT(SLIST_EMPTY(tbl));
sys/dev/dm/dm_table.c
187
dm_table_t *tbl;
sys/dev/dm/dm_table.c
197
tbl = &head->tables[id];
sys/dev/dm/dm_table.c
203
SLIST_FOREACH(table_en, tbl, next)
sys/dev/dm/dm_table.c
238
dm_table_t *tbl;
sys/dev/dm/dm_table.c
249
tbl = &head->tables[id];
sys/dev/dm/dm_table.c
256
SLIST_FOREACH(table_en, tbl, next) {
sys/dev/dm/dm_table.c
284
dm_table_t *tbl;
sys/dev/dm/dm_table.c
291
tbl = &head->tables[id];
sys/dev/dm/dm_table.c
293
SLIST_FOREACH(table_en, tbl, next)
sys/dev/ic/bwi.c
3653
const uint16_t *tbl;
sys/dev/ic/bwi.c
3709
tbl = bwi_phy_noise_scale_11g_rev2;
sys/dev/ic/bwi.c
3712
tbl = bwi_phy_noise_scale_11g_rev7;
sys/dev/ic/bwi.c
3715
tbl = bwi_phy_noise_scale_11g;
sys/dev/ic/bwi.c
3719
bwi_tbl_write_2(mac, BWI_PHYTBL_NOISE_SCALE + i, tbl[i]);
sys/dev/ic/bwi.c
3725
tbl = bwi_phy_sigma_sq_11g_rev2;
sys/dev/ic/bwi.c
3728
tbl = bwi_phy_sigma_sq_11g_rev7;
sys/dev/ic/bwi.c
3731
tbl = NULL;
sys/dev/ic/bwi.c
3735
bwi_tbl_write_2(mac, BWI_PHYTBL_SIGMA_SQ + i, tbl[i]);
sys/dev/ic/esiop.c
1764
esiop_lun->lun_tagtbl->tbl[esiop_cmd->cmd_c.tag] =
sys/dev/ic/esiop.c
187
sc->sc_done_slot = &tagtbl_donering->tbl[0];
sys/dev/ic/esiop.c
2064
newtbls[i].tbl = &tbls[i * ESIOP_NTAG];
sys/dev/ic/esiop.c
2069
newtbls[i].tbl[j] = j;
sys/dev/ic/esiopvar.h
83
uint32_t *tbl; /* the table itself */
sys/dev/pci/cxgb/cxgb_offload.c
964
NEIGH_CACHE_STAT_INC(neigh->tbl, res_failed);
sys/dev/pci/if_ipw.c
1585
ipw_get_table1(struct ipw_softc *sc, uint32_t *tbl)
sys/dev/pci/if_ipw.c
1596
if ((error = copyout(&size, tbl, sizeof(size))) != 0)
sys/dev/pci/if_ipw.c
1599
for (i = 1, ++tbl; i < size; i++, tbl++) {
sys/dev/pci/if_ipw.c
1602
if ((error = copyout(&data, tbl, sizeof(data))) != 0)
sys/dev/pci/if_iwi.c
1858
iwi_get_table0(struct iwi_softc *sc, uint32_t *tbl)
sys/dev/pci/if_iwi.c
1865
return copyout(buf, tbl, sizeof buf);
sys/dev/pci/if_iwi.c
1871
return copyout(buf, tbl, sizeof buf);
sys/dev/pci/qat/qat_hw15.c
307
struct fw_init_ring_table *tbl;
sys/dev/pci/qat/qat_hw15.c
312
tbl = qadr->qadr_cya_ring_tbl;
sys/dev/pci/qat/qat_hw15.c
314
tbl = qadr->qadr_cyb_ring_tbl;
sys/dev/pci/qat/qat_hw15.c
321
param = &tbl->firt_bulk_rings[sc->sc_hw.qhw_ring_sym_tx];
sys/dev/pci/qat/qat_hw15.c
324
FW_INIT_RING_MASK_SET(tbl, sc->sc_hw.qhw_ring_sym_tx);
sys/dev/pci/unichromefb.c
590
uni_wr_x(struct unichromefb_softc *sc, struct io_reg *tbl, int num)
sys/dev/pci/unichromefb.c
596
bus_space_write_1(sc->sc_iot, sc->sc_ioh, tbl[i].port,
sys/dev/pci/unichromefb.c
597
tbl[i].index);
sys/dev/pci/unichromefb.c
599
tbl[i].port + 1);
sys/dev/pci/unichromefb.c
600
tmp = (tmp & (~tbl[i].mask)) | tbl[i].value;
sys/dev/pci/unichromefb.c
601
bus_space_write_1(sc->sc_iot, sc->sc_ioh, tbl[i].index + 1,
sys/dev/smbios_platform.c
206
platform_add(struct smbtable *tbl, const char *key, int idx)
sys/dev/smbios_platform.c
210
if (smbios_get_string(tbl, idx, tmpbuf, 128) != NULL) {
sys/dev/smbios_platform.c
220
platform_add_word(struct smbtable *tbl, const char *key, uint16_t val,
sys/dev/smbios_platform.c
258
platform_add_date(struct smbtable *tbl, const char *key, int idx)
sys/dev/smbios_platform.c
263
if (smbios_get_string(tbl, idx, tmpbuf, 128) == NULL)
sys/dev/smbios_platform.c
281
platform_add_uuid(struct smbtable *tbl, const char *key, const uint8_t *buf)
sys/dev/usb/usbdi.c
1442
usb_match_device(const struct usb_devno *tbl, u_int nentries, u_int sz,
sys/dev/usb/usbdi.c
1446
uint16_t tproduct = tbl->ud_product;
sys/dev/usb/usbdi.c
1447
if (tbl->ud_vendor == vendor &&
sys/dev/usb/usbdi.c
1449
return tbl;
sys/dev/usb/usbdi.c
1450
tbl = (const struct usb_devno *)((const char *)tbl + sz);
sys/dev/usb/usbdi.h
238
#define usb_lookup(tbl, vendor, product) \
sys/dev/usb/usbdi.h
239
usb_match_device((const struct usb_devno *)(tbl), sizeof(tbl) / sizeof((tbl)[0]), sizeof((tbl)[0]), (vendor), (product))
sys/dist/pf/net/pf.c
1167
if ((aw->p.tbl = pfr_attach_table(rs, aw->v.tblname)) == NULL)
sys/dist/pf/net/pf.c
1175
if (aw->type != PF_ADDR_TABLE || aw->p.tbl == NULL)
sys/dist/pf/net/pf.c
1177
pfr_detach_table(aw->p.tbl);
sys/dist/pf/net/pf.c
1178
aw->p.tbl = NULL;
sys/dist/pf/net/pf.c
1184
struct pfr_ktable *kt = aw->p.tbl;
sys/dist/pf/net/pf.c
1190
aw->p.tbl = NULL;
sys/dist/pf/net/pf.c
1389
return (aw1->p.tbl != aw2->p.tbl);
sys/dist/pf/net/pf.c
2369
if (!pfr_pool_get(rpool->cur->addr.p.tbl,
sys/dist/pf/net/pf.c
2386
if (pfr_pool_get(rpool->cur->addr.p.tbl,
sys/dist/pf/net/pf.c
2802
#define in_pcbhashlookup(tbl, saddr, sport, daddr, dport) \
sys/dist/pf/net/pf.c
2803
inpcb_lookup(tbl, saddr, sport, daddr, dport, NULL)
sys/dist/pf/net/pf.c
2804
#define in6_pcbhashlookup(tbl, saddr, sport, daddr, dport) \
sys/dist/pf/net/pf.c
2805
in6pcb_lookup(tbl, saddr, sport, daddr, dport, 0, NULL)
sys/dist/pf/net/pf.c
2806
#define in_pcblookup_listen(tbl, addr, port, zero) \
sys/dist/pf/net/pf.c
2807
inpcb_lookup_bound(tbl, addr, port)
sys/dist/pf/net/pf.c
2808
#define in6_pcblookup_listen(tbl, addr, port, zero) \
sys/dist/pf/net/pf.c
2809
in6pcb_lookup_bound(tbl, addr, port, zero)
sys/dist/pf/net/pf.c
6042
pfr_update_stats(tr->src.addr.p.tbl, (sk == NULL ||
sys/dist/pf/net/pf.c
6048
pfr_update_stats(tr->dst.addr.p.tbl, (sk == NULL ||
sys/dist/pf/net/pf.c
6464
pfr_update_stats(tr->src.addr.p.tbl, (sk == NULL ||
sys/dist/pf/net/pf.c
6469
pfr_update_stats(tr->dst.addr.p.tbl, (sk == NULL ||
sys/dist/pf/net/pf_table.c
1189
pfr_add_tables(struct pfr_table *tbl, int size, int *nadd, int flags)
sys/dist/pf/net/pf_table.c
1200
if (COPYIN(tbl+i, &key.pfrkt_t, sizeof(key.pfrkt_t), flags))
sys/dist/pf/net/pf_table.c
1269
pfr_del_tables(struct pfr_table *tbl, int size, int *ndel, int flags)
sys/dist/pf/net/pf_table.c
1278
if (COPYIN(tbl+i, &key.pfrkt_t, sizeof(key.pfrkt_t), flags))
sys/dist/pf/net/pf_table.c
1309
pfr_get_tables(struct pfr_table *filter, struct pfr_table *tbl, int *size,
sys/dist/pf/net/pf_table.c
1330
if (COPYOUT(&p->pfrkt_t, tbl++, sizeof(*tbl), flags))
sys/dist/pf/net/pf_table.c
1342
pfr_get_tstats(struct pfr_table *filter, struct pfr_tstats *tbl, int *size,
sys/dist/pf/net/pf_table.c
1371
if (COPYOUT(&p->pfrkt_ts, tbl++, sizeof(*tbl), flags)) {
sys/dist/pf/net/pf_table.c
1393
pfr_clr_tstats(struct pfr_table *tbl, int size, int *nzero, int flags)
sys/dist/pf/net/pf_table.c
1404
if (COPYIN(tbl+i, &key.pfrkt_t, sizeof(key.pfrkt_t), flags))
sys/dist/pf/net/pf_table.c
1427
pfr_set_tflags(struct pfr_table *tbl, int size, int setflag, int clrflag,
sys/dist/pf/net/pf_table.c
1441
if (COPYIN(tbl+i, &key.pfrkt_t, sizeof(key.pfrkt_t), flags))
sys/dist/pf/net/pf_table.c
1514
pfr_ina_define(struct pfr_table *tbl, struct pfr_addr *addr, int size,
sys/dist/pf/net/pf_table.c
1528
if (pfr_validate_table(tbl, PFR_TFLAG_USRMASK,
sys/dist/pf/net/pf_table.c
1531
rs = pf_find_ruleset(tbl->pfrt_anchor);
sys/dist/pf/net/pf_table.c
1534
tbl->pfrt_flags |= PFR_TFLAG_INACTIVE;
sys/dist/pf/net/pf_table.c
1536
kt = RB_FIND(pfr_ktablehead, &pfr_ktables, (struct pfr_ktable *)tbl);
sys/dist/pf/net/pf_table.c
1538
kt = pfr_create_ktable(tbl, 0, 1);
sys/dist/pf/net/pf_table.c
1543
if (!tbl->pfrt_anchor[0])
sys/dist/pf/net/pf_table.c
1548
strlcpy(key.pfrkt_name, tbl->pfrt_name, sizeof(key.pfrkt_name));
sys/dist/pf/net/pf_table.c
1564
shadow = pfr_create_ktable(tbl, 0, 0);
sys/dist/pf/net/pf_table.c
1751
pfr_validate_table(struct pfr_table *tbl, int allowedflags, int no_reserved)
sys/dist/pf/net/pf_table.c
1755
if (!tbl->pfrt_name[0])
sys/dist/pf/net/pf_table.c
1757
if (no_reserved && !strcmp(tbl->pfrt_anchor, PF_RESERVED_ANCHOR))
sys/dist/pf/net/pf_table.c
1759
if (tbl->pfrt_name[PF_TABLE_NAME_SIZE-1])
sys/dist/pf/net/pf_table.c
1761
for (i = strlen(tbl->pfrt_name); i < PF_TABLE_NAME_SIZE; i++)
sys/dist/pf/net/pf_table.c
1762
if (tbl->pfrt_name[i])
sys/dist/pf/net/pf_table.c
1764
if (pfr_fix_anchor(tbl->pfrt_anchor))
sys/dist/pf/net/pf_table.c
1766
if (tbl->pfrt_flags & ~allowedflags)
sys/dist/pf/net/pf_table.c
1915
pfr_create_ktable(struct pfr_table *tbl, long tzero, int attachruleset)
sys/dist/pf/net/pf_table.c
1925
kt->pfrkt_t = *tbl;
sys/dist/pf/net/pf_table.c
1928
rs = pf_find_or_create_ruleset(tbl->pfrt_anchor);
sys/dist/pf/net/pf_table.c
1999
pfr_lookup_table(struct pfr_table *tbl)
sys/dist/pf/net/pf_table.c
2003
(struct pfr_ktable *)tbl));
sys/dist/pf/net/pf_table.c
2091
struct pfr_table tbl;
sys/dist/pf/net/pf_table.c
2094
bzero(&tbl, sizeof(tbl));
sys/dist/pf/net/pf_table.c
2095
strlcpy(tbl.pfrt_name, name, sizeof(tbl.pfrt_name));
sys/dist/pf/net/pf_table.c
2097
strlcpy(tbl.pfrt_anchor, ac->path, sizeof(tbl.pfrt_anchor));
sys/dist/pf/net/pf_table.c
2098
kt = pfr_lookup_table(&tbl);
sys/dist/pf/net/pf_table.c
2100
kt = pfr_create_ktable(&tbl, time_second, 1);
sys/dist/pf/net/pf_table.c
2104
bzero(tbl.pfrt_anchor, sizeof(tbl.pfrt_anchor));
sys/dist/pf/net/pf_table.c
2105
rt = pfr_lookup_table(&tbl);
sys/dist/pf/net/pf_table.c
2107
rt = pfr_create_ktable(&tbl, 0, 1);
sys/dist/pf/net/pf_table.c
236
pfr_clr_addrs(struct pfr_table *tbl, int *ndel, int flags)
sys/dist/pf/net/pf_table.c
243
if (pfr_validate_table(tbl, 0, flags & PFR_FLAG_USERIOCTL))
sys/dist/pf/net/pf_table.c
245
kt = pfr_lookup_table(tbl);
sys/dist/pf/net/pf_table.c
268
pfr_add_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
sys/dist/pf/net/pf_table.c
280
if (pfr_validate_table(tbl, 0, flags & PFR_FLAG_USERIOCTL))
sys/dist/pf/net/pf_table.c
282
kt = pfr_lookup_table(tbl);
sys/dist/pf/net/pf_table.c
348
pfr_del_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
sys/dist/pf/net/pf_table.c
359
if (pfr_validate_table(tbl, 0, flags & PFR_FLAG_USERIOCTL))
sys/dist/pf/net/pf_table.c
361
kt = pfr_lookup_table(tbl);
sys/dist/pf/net/pf_table.c
438
pfr_set_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
sys/dist/pf/net/pf_table.c
452
if (pfr_validate_table(tbl, ignore_pfrt_flags, flags &
sys/dist/pf/net/pf_table.c
455
kt = pfr_lookup_table(tbl);
sys/dist/pf/net/pf_table.c
555
pfr_tst_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size,
sys/dist/pf/net/pf_table.c
564
if (pfr_validate_table(tbl, 0, 0))
sys/dist/pf/net/pf_table.c
566
kt = pfr_lookup_table(tbl);
sys/dist/pf/net/pf_table.c
593
pfr_get_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int *size,
sys/dist/pf/net/pf_table.c
601
if (pfr_validate_table(tbl, 0, 0))
sys/dist/pf/net/pf_table.c
603
kt = pfr_lookup_table(tbl);
sys/dist/pf/net/pf_table.c
632
pfr_get_astats(struct pfr_table *tbl, struct pfr_astats *addr, int *size,
sys/dist/pf/net/pf_table.c
643
if (pfr_validate_table(tbl, 0, 0))
sys/dist/pf/net/pf_table.c
645
kt = pfr_lookup_table(tbl);
sys/dist/pf/net/pf_table.c
682
pfr_clr_astats(struct pfr_table *tbl, struct pfr_addr *addr, int size,
sys/dist/pf/net/pf_table.c
693
if (pfr_validate_table(tbl, 0, 0))
sys/dist/pf/net/pf_table.c
695
kt = pfr_lookup_table(tbl);
sys/dist/pf/net/pfvar.h
180
struct pfr_ktable *tbl;
sys/dist/pf/net/pfvar.h
348
!pfr_match_addr((aw)->p.tbl, (x), (af))) || \
sys/fs/nfs/common/nfsrvcache.h
121
struct nfsrvhashhead tbl;
sys/fs/nfs/server/nfs_nfsdcache.c
243
(&nfsrchash_table[nfsrc_hash(xid)].tbl)
sys/fs/nfs/server/nfs_nfsdcache.c
317
LIST_INIT(&nfsrchash_table[i].tbl);
sys/fs/nfs/server/nfs_nfsdcache.c
318
LIST_INIT(&nfsrcahash_table[i].tbl);
sys/fs/nfs/server/nfs_nfsdcache.c
590
LIST_INSERT_HEAD(&hbp->tbl, rp, rc_ahash);
sys/fs/nfs/server/nfs_nfsdcache.c
819
LIST_FOREACH_SAFE(rp, &nfsrchash_table[i].tbl, rc_hash, nextrp)
sys/fs/nfs/server/nfs_nfsdcache.c
851
LIST_FOREACH_SAFE(rp, &hbp->tbl, rc_ahash, nextrp) {
sys/fs/nfs/server/nfs_nfsdcache.c
906
LIST_FOREACH_SAFE(rp, &nfsrchash_table[i].tbl, rc_hash,
sys/fs/nfs/server/nfs_nfsdcache.c
956
LIST_FOREACH_SAFE(rp, &nfsrchash_table[i].tbl,
sys/kern/kern_fileassoc.c
192
struct fileassoc_table *tbl = v;
sys/kern/kern_fileassoc.c
196
for (i = 0; i < tbl->tbl_nslots; i++) {
sys/kern/kern_fileassoc.c
199
while ((faf = LIST_FIRST(&tbl->tbl_hash[i])) != NULL) {
sys/kern/kern_fileassoc.c
205
hashdone(tbl->tbl_hash, HASH_LIST, tbl->tbl_mask);
sys/kern/kern_fileassoc.c
206
specificdata_fini(fileassoc_domain, &tbl->tbl_data);
sys/kern/kern_fileassoc.c
207
kmem_free(tbl, sizeof(*tbl));
sys/kern/kern_fileassoc.c
301
struct fileassoc_table *tbl;
sys/kern/kern_fileassoc.c
308
tbl = fileassoc_table_lookup(vp->v_mount);
sys/kern/kern_fileassoc.c
309
if (tbl == NULL) {
sys/kern/kern_fileassoc.c
321
indx = FILEASSOC_HASH(tbl, th);
sys/kern/kern_fileassoc.c
322
hash_entry = &(tbl->tbl_hash[indx]);
sys/kern/kern_fileassoc.c
355
fileassoc_table_resize(struct fileassoc_table *tbl)
sys/kern/kern_fileassoc.c
365
newtbl->tbl_nslots = (tbl->tbl_nslots * 2);
sys/kern/kern_fileassoc.c
366
if (newtbl->tbl_nslots < tbl->tbl_nslots)
sys/kern/kern_fileassoc.c
367
newtbl->tbl_nslots = tbl->tbl_nslots;
sys/kern/kern_fileassoc.c
375
for (i = 0; i < tbl->tbl_nslots; i++) {
sys/kern/kern_fileassoc.c
378
while ((faf = LIST_FIRST(&tbl->tbl_hash[i])) != NULL) {
sys/kern/kern_fileassoc.c
393
if (tbl->tbl_nused != newtbl->tbl_nused)
sys/kern/kern_fileassoc.c
395
"needed %zu entries, got %zu", tbl->tbl_nused,
sys/kern/kern_fileassoc.c
398
hashdone(tbl->tbl_hash, HASH_LIST, tbl->tbl_mask);
sys/kern/kern_fileassoc.c
399
specificdata_fini(fileassoc_domain, &tbl->tbl_data);
sys/kern/kern_fileassoc.c
400
kmem_free(tbl, sizeof(*tbl));
sys/kern/kern_fileassoc.c
411
struct fileassoc_table *tbl;
sys/kern/kern_fileassoc.c
414
tbl = fileassoc_table_lookup(mp);
sys/kern/kern_fileassoc.c
415
if (tbl != NULL)
sys/kern/kern_fileassoc.c
416
return (tbl);
sys/kern/kern_fileassoc.c
419
tbl = kmem_zalloc(sizeof(*tbl), KM_SLEEP);
sys/kern/kern_fileassoc.c
420
tbl->tbl_nslots = FILEASSOC_INITIAL_TABLESIZE;
sys/kern/kern_fileassoc.c
421
tbl->tbl_hash = hashinit(tbl->tbl_nslots, HASH_LIST, true,
sys/kern/kern_fileassoc.c
422
&tbl->tbl_mask);
sys/kern/kern_fileassoc.c
423
tbl->tbl_nused = 0;
sys/kern/kern_fileassoc.c
424
specificdata_init(fileassoc_domain, &tbl->tbl_data);
sys/kern/kern_fileassoc.c
426
mount_setspecific(mp, fileassoc_mountspecific_key, tbl);
sys/kern/kern_fileassoc.c
428
return (tbl);
sys/kern/kern_fileassoc.c
437
struct fileassoc_table *tbl;
sys/kern/kern_fileassoc.c
439
tbl = fileassoc_table_lookup(mp);
sys/kern/kern_fileassoc.c
440
if (tbl == NULL)
sys/kern/kern_fileassoc.c
444
table_dtor(tbl);
sys/kern/kern_fileassoc.c
456
struct fileassoc_table *tbl;
sys/kern/kern_fileassoc.c
459
tbl = fileassoc_table_lookup(mp);
sys/kern/kern_fileassoc.c
460
if (tbl == NULL)
sys/kern/kern_fileassoc.c
463
for (i = 0; i < tbl->tbl_nslots; i++) {
sys/kern/kern_fileassoc.c
466
LIST_FOREACH(faf, &tbl->tbl_hash[i], faf_list) {
sys/kern/kern_fileassoc.c
484
struct fileassoc_table *tbl;
sys/kern/kern_fileassoc.c
487
tbl = fileassoc_table_lookup(mp);
sys/kern/kern_fileassoc.c
488
if (tbl == NULL)
sys/kern/kern_fileassoc.c
491
for (i = 0; i < tbl->tbl_nslots; i++) {
sys/kern/kern_fileassoc.c
494
LIST_FOREACH(faf, &tbl->tbl_hash[i], faf_list) {
sys/kern/kern_fileassoc.c
511
struct fileassoc_table *tbl;
sys/kern/kern_fileassoc.c
533
tbl = fileassoc_table_lookup(vp->v_mount);
sys/kern/kern_fileassoc.c
534
if (tbl == NULL) {
sys/kern/kern_fileassoc.c
535
tbl = fileassoc_table_add(vp->v_mount);
sys/kern/kern_fileassoc.c
538
indx = FILEASSOC_HASH(tbl, th);
sys/kern/kern_fileassoc.c
539
hash_entry = &(tbl->tbl_hash[indx]);
sys/kern/kern_fileassoc.c
552
if (++(tbl->tbl_nused) == tbl->tbl_nslots) {
sys/kern/kern_fileassoc.c
555
newtbl = fileassoc_table_resize(tbl);
sys/kern/kern_fileassoc.c
569
struct fileassoc_table *tbl;
sys/kern/kern_fileassoc.c
585
tbl = fileassoc_table_lookup(vp->v_mount);
sys/kern/kern_fileassoc.c
586
KASSERT(tbl != NULL);
sys/kern/kern_fileassoc.c
587
--(tbl->tbl_nused); /* XXX gc? */
sys/kern/kern_fileassoc.c
92
#define FILEASSOC_HASH(tbl, handle) \
sys/kern/kern_fileassoc.c
94
& ((tbl)->tbl_mask))
sys/net/npf/npf_ctl.c
677
npf_table_t *tbl, *gc_tbl = NULL;
sys/net/npf/npf_ctl.c
682
error = npf_mk_table(npf, req, resp, nc->tableset, &tbl, true);
sys/net/npf/npf_ctl.c
686
gc_tbl = npf_tableset_swap(nc->tableset, tbl);
sys/net/npf/npf_ctl.c
689
gc_tbl = tbl;
sys/net/npf/npf_socket.c
121
#define in_pcbhashlookup(tbl, saddr, sport, daddr, dport) \
sys/net/npf/npf_socket.c
122
inpcb_lookup(tbl, saddr, sport, daddr, dport, NULL)
sys/net/npf/npf_socket.c
123
#define in_pcblookup_listen(tbl, addr, port) \
sys/net/npf/npf_socket.c
124
inpcb_lookup_bound(tbl, addr, port)
sys/net/npf/npf_socket.c
183
#define in6_pcbhashlookup(tbl, saddr, sport, daddr, dport) \
sys/net/npf/npf_socket.c
184
in6pcb_lookup(tbl, saddr, sport, daddr, dport, 0, NULL)
sys/net/npf/npf_socket.c
186
#define in6_pcblookup_listen(tbl, addr, port) \
sys/net/npf/npf_socket.c
187
in6pcb_lookup_bound(tbl, addr, port, 0)
usr.bin/column/column.c
217
TBL *tbl;
usr.bin/column/column.c
220
t = tbl = ecalloc(entries, sizeof(*t));
usr.bin/column/column.c
248
for (cnt = 0, t = tbl; cnt < entries; ++cnt, ++t) {
usr.bin/column/column.c
254
free(tbl);
usr.bin/config/hash.c
399
struct HT *tbl; \
usr.bin/config/hash.c
401
tbl = ecalloc(1, sizeof(*tbl)); \
usr.bin/config/hash.c
402
ht_init(&tbl->imp, 8); \
usr.bin/config/hash.c
403
return tbl; \
usr.bin/config/hash.c
407
HT##_insert(struct HT *tbl, const char *name, struct VT *val) \
usr.bin/config/hash.c
409
return ht_insert(&tbl->imp, name, val); \
usr.bin/config/hash.c
413
HT##_replace(struct HT *tbl, const char *name, struct VT *val) \
usr.bin/config/hash.c
415
return ht_replace(&tbl->imp, name, val); \
usr.bin/config/hash.c
419
HT##_remove(struct HT *tbl, const char *name) \
usr.bin/config/hash.c
421
return ht_remove(&tbl->imp, name); \
usr.bin/config/hash.c
425
HT##_lookup(struct HT *tbl, const char *name) \
usr.bin/config/hash.c
427
return ht_lookup(&tbl->imp, name); \
usr.bin/config/hash.c
444
HT##_enumerate(struct HT *tbl, \
usr.bin/config/hash.c
452
return ht_enumerate(&tbl->imp, HT##_enumerate_thunk, &ctx); \
usr.bin/deroff/deroff.c
1149
tbl();
usr.bin/deroff/deroff.c
245
static void tbl(void);
usr.bin/make/dir.c
407
HashTable *tbl = useLstat ? &lmtimes : &mtimes;
usr.bin/make/dir.c
415
cst = HashTable_FindValue(tbl, pathname);
usr.bin/make/dir.c
432
HashTable_Set(tbl, pathname, cst);
usr.bin/make/dir.c
509
FreeCachedTable(HashTable *tbl)
usr.bin/make/dir.c
512
HashIter_Init(&hi, tbl);
usr.bin/make/dir.c
515
HashTable_Done(tbl);
usr.bin/make/hash.h
106
HashTable tbl;
usr.bin/make/hash.h
147
HashTable_Init(&set->tbl);
usr.bin/make/hash.h
153
HashTable_Done(&set->tbl);
usr.bin/make/hash.h
161
(void)HashTable_CreateEntry(&set->tbl, key, &isNew);
usr.bin/make/hash.h
168
return HashTable_FindEntry(&set->tbl, key) != NULL;
usr.bin/make/hash.h
174
HashIter_Init(hi, &set->tbl);
usr.sbin/bootp/common/hash.h
125
extern void hash_Reset(hash_tbl *tbl, hash_freefp);
usr.sbin/ipwctl/ipwctl.c
164
static const struct statistic tbl[] = {
usr.sbin/ipwctl/ipwctl.c
345
for (st = tbl; st->index != 0; st++) {
usr.sbin/iwictl/iwictl.c
147
static const struct statistic tbl[] = {
usr.sbin/iwictl/iwictl.c
213
for (st = tbl; st->index != 0; st++)
usr.sbin/tprof/arch/tprof_armv7.c
110
tprof_event_list_table(struct pmu_event_table *tbl)
usr.sbin/tprof/arch/tprof_armv7.c
114
printf("%s:\n", tbl->name);
usr.sbin/tprof/arch/tprof_armv7.c
115
for (n = 0; n < tbl->nevents; n++) {
usr.sbin/tprof/arch/tprof_armv7.c
116
printf("\t%s\n", tbl->events[n].name);
usr.sbin/tprof/arch/tprof_armv7.c
119
if (tbl->next)
usr.sbin/tprof/arch/tprof_armv7.c
120
tprof_event_list_table(tbl->next);
usr.sbin/tprof/arch/tprof_armv7.c
131
struct pmu_event_table *tbl)
usr.sbin/tprof/arch/tprof_armv7.c
135
for (n = 0; n < tbl->nevents; n++) {
usr.sbin/tprof/arch/tprof_armv7.c
136
if (strcmp(tbl->events[n].name, name) == 0) {
usr.sbin/tprof/arch/tprof_armv7.c
137
param->p_event = tbl->events[n].event;
usr.sbin/tprof/arch/tprof_armv7.c
143
if (tbl->next)
usr.sbin/tprof/arch/tprof_armv7.c
144
tprof_event_lookup_table(name, param, tbl->next);
usr.sbin/tprof/arch/tprof_armv8.c
137
tprof_event_list_table(struct pmu_event_table *tbl)
usr.sbin/tprof/arch/tprof_armv8.c
141
printf("%s:\n", tbl->name);
usr.sbin/tprof/arch/tprof_armv8.c
142
for (n = 0; n < tbl->nevents; n++) {
usr.sbin/tprof/arch/tprof_armv8.c
143
printf("\t%s\n", tbl->events[n].name);
usr.sbin/tprof/arch/tprof_armv8.c
146
if (tbl->next)
usr.sbin/tprof/arch/tprof_armv8.c
147
tprof_event_list_table(tbl->next);
usr.sbin/tprof/arch/tprof_armv8.c
158
struct pmu_event_table *tbl)
usr.sbin/tprof/arch/tprof_armv8.c
162
for (n = 0; n < tbl->nevents; n++) {
usr.sbin/tprof/arch/tprof_armv8.c
163
if (strcmp(tbl->events[n].name, name) == 0) {
usr.sbin/tprof/arch/tprof_armv8.c
164
param->p_event = tbl->events[n].event;
usr.sbin/tprof/arch/tprof_armv8.c
170
if (tbl->next)
usr.sbin/tprof/arch/tprof_armv8.c
171
tprof_event_lookup_table(name, param, tbl->next);