Symbol: table
bin/ksh/c_ksh.c
861
struct table *t = &aliases;
bin/ksh/c_ksh.c
998
struct table *t = &aliases;
bin/ksh/edit.c
450
static void glob_table ARGS((const char *, XPtrV *, struct table *));
bin/ksh/edit.c
936
struct table *tp;
bin/ksh/proto.h
218
void tinit ARGS((struct table *, Area *, int));
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
222
void ksh_twalk ARGS((struct tstate *, struct table *));
bin/ksh/proto.h
224
struct tbl ** tsort ARGS((struct table *));
bin/ksh/table.c
106
struct table *tp; /* table */
bin/ksh/table.c
156
struct table *tp;
bin/ksh/table.c
17
static void texpand ARGS((struct table *tp, int nsize));
bin/ksh/table.c
183
struct table *tp;
bin/ksh/table.c
203
void tprintinfo ARGS((struct table *tp));
bin/ksh/table.c
207
struct table *tp;
bin/ksh/table.c
34
struct table *tp;
bin/ksh/table.c
47
struct table *tp;
bin/ksh/table.c
83
struct table *tp; /* table */
bin/ksh/table.h
114
struct table vars; /* local variables */
bin/ksh/table.h
115
struct table funs; /* local functions */
bin/ksh/table.h
138
EXTERN struct table taliases; /* tracked aliases */
bin/ksh/table.h
139
EXTERN struct table builtins; /* built-in commands */
bin/ksh/table.h
140
EXTERN struct table aliases; /* aliases */
bin/ksh/table.h
141
EXTERN struct table keywords; /* keywords */
bin/ksh/table.h
142
EXTERN struct table homedirs; /* homedir() cache */
bin/ksh/var.c
28
static struct table specials;
common/dist/zlib/crc32.c
412
local void write_table(FILE *out, const z_crc_t FAR *table, int k) {
common/dist/zlib/crc32.c
417
(unsigned long)(table[n]),
common/dist/zlib/crc32.c
425
local void write_table32hi(FILE *out, const z_word_t FAR *table, int k) {
common/dist/zlib/crc32.c
430
(unsigned long)(table[n] >> 32),
common/dist/zlib/crc32.c
441
local void write_table64(FILE *out, const z_word_t FAR *table, int k) {
common/dist/zlib/crc32.c
446
(unsigned long long)(table[n]),
common/dist/zlib/inftrees.c
132
*(*table)++ = here; /* make a table to force an error */
common/dist/zlib/inftrees.c
133
*(*table)++ = here;
common/dist/zlib/inftrees.c
210
next = *table; /* current table to fill in */
common/dist/zlib/inftrees.c
293
(*table)[low].op = (unsigned char)curr;
common/dist/zlib/inftrees.c
294
(*table)[low].bits = (unsigned char)root;
common/dist/zlib/inftrees.c
295
(*table)[low].val = (unsigned short)(next - *table);
common/dist/zlib/inftrees.c
310
*table += used;
common/dist/zlib/inftrees.c
49
unsigned codes, code FAR * FAR *table,
common/dist/zlib/inftrees.h
61
unsigned codes, code FAR * FAR *table,
common/dist/zlib/test/infcover.c
623
code *next, table[ENOUGH_DISTS];
common/dist/zlib/test/infcover.c
630
next = table;
common/dist/zlib/test/infcover.c
634
next = table;
common/dist/zlib/zutil.c
210
local ptr_table table[MAX_PTR];
common/dist/zlib/zutil.c
234
table[next_ptr].org_ptr = buf;
common/dist/zlib/zutil.c
239
table[next_ptr++].new_ptr = buf;
common/dist/zlib/zutil.c
254
if (ptr != table[n].new_ptr) continue;
common/dist/zlib/zutil.c
256
farfree(table[n].org_ptr);
common/dist/zlib/zutil.c
258
table[n-1] = table[n];
dist/pf/sbin/pfctl/pfctl_table.c
101
table.pfrt_flags &= ~PFR_TFLAG_PERSIST; \
dist/pf/sbin/pfctl/pfctl_table.c
129
struct pfr_table table;
dist/pf/sbin/pfctl/pfctl_table.c
143
bzero(&table, sizeof(table));
dist/pf/sbin/pfctl/pfctl_table.c
147
if (strlcpy(table.pfrt_name, tname,
dist/pf/sbin/pfctl/pfctl_table.c
148
sizeof(table.pfrt_name)) >= sizeof(table.pfrt_name))
dist/pf/sbin/pfctl/pfctl_table.c
151
if (strlcpy(table.pfrt_anchor, anchor,
dist/pf/sbin/pfctl/pfctl_table.c
152
sizeof(table.pfrt_anchor)) >= sizeof(table.pfrt_anchor))
dist/pf/sbin/pfctl/pfctl_table.c
158
RVTEST(pfr_clr_tables(&table, &ndel, flags));
dist/pf/sbin/pfctl/pfctl_table.c
169
RVTEST(pfr_get_tstats(&table,
dist/pf/sbin/pfctl/pfctl_table.c
172
RVTEST(pfr_get_tables(&table,
dist/pf/sbin/pfctl/pfctl_table.c
190
RVTEST(pfr_del_tables(&table, 1, &ndel, flags));
dist/pf/sbin/pfctl/pfctl_table.c
195
RVTEST(pfr_clr_addrs(&table, &ndel, flags));
dist/pf/sbin/pfctl/pfctl_table.c
204
RVTEST(pfr_add_addrs(&table, b.pfrb_caddr, b.pfrb_size,
dist/pf/sbin/pfctl/pfctl_table.c
218
RVTEST(pfr_del_addrs(&table, b.pfrb_caddr, b.pfrb_size,
dist/pf/sbin/pfctl/pfctl_table.c
236
RVTEST(pfr_set_addrs(&table, b.pfrb_caddr, b.pfrb_size,
dist/pf/sbin/pfctl/pfctl_table.c
271
RVTEST(pfr_get_astats(&table, b.pfrb_caddr,
dist/pf/sbin/pfctl/pfctl_table.c
285
RVTEST(pfr_del_addrs(&table, b2.pfrb_caddr, b2.pfrb_size,
dist/pf/sbin/pfctl/pfctl_table.c
302
RVTEST(pfr_get_astats(&table, b.pfrb_caddr,
dist/pf/sbin/pfctl/pfctl_table.c
305
RVTEST(pfr_get_addrs(&table, b.pfrb_caddr,
dist/pf/sbin/pfctl/pfctl_table.c
327
RVTEST(pfr_tst_addrs(&table, b.pfrb_caddr, b.pfrb_size,
dist/pf/sbin/pfctl/pfctl_table.c
348
RVTEST(pfr_clr_tstats(&table, 1, &nzero, flags));
dist/pf/sbin/pfctl/pfctl_table.c
87
table.pfrt_flags |= PFR_TFLAG_PERSIST; \
dist/pf/sbin/pfctl/pfctl_table.c
90
(pfr_add_tables(&table, 1, &nadd, flags)) && \
dist/pf/sbin/pfctl/pfctl_table.c
96
warn_namespace_collision(table.pfrt_name); \
distrib/utils/more/decode.c
169
cmd_search(table, endtable)
distrib/utils/more/decode.c
170
char *table;
distrib/utils/more/decode.c
175
for (p = table, q = kbuf; p < endtable; p++, q++) {
distrib/utils/more/position.c
101
table[i-1] = table[i];
distrib/utils/more/position.c
102
table[sc_height - 1] = pos;
distrib/utils/more/position.c
118
table[i] = table[i-1];
distrib/utils/more/position.c
119
table[0] = pos;
distrib/utils/more/position.c
127
for (a = 0; a < sc_height && table[a] == NULL_POSITION; a++);
distrib/utils/more/position.c
129
table[b] = table[a];
distrib/utils/more/position.c
130
table[a] = NULL_POSITION;
distrib/utils/more/position.c
142
if (table == 0) {
distrib/utils/more/position.c
144
table = (off_t *)malloc(tablesize * sizeof *table);
distrib/utils/more/position.c
147
table = (off_t *)realloc(table, tablesize * sizeof *table);
distrib/utils/more/position.c
151
table[i] = NULL_POSITION;
distrib/utils/more/position.c
165
if (pos < table[0])
distrib/utils/more/position.c
168
if (pos < table[i])
distrib/utils/more/position.c
58
static off_t *table; /* The position table */
distrib/utils/more/position.c
85
return (table[where]);
games/backgammon/common_source/back.h
107
extern int table[6][6]; /* odds table for possible rolls */
games/backgammon/common_source/init.c
92
int table[6][6];
games/backgammon/common_source/odds.c
51
table[i][j] = 0;
games/backgammon/common_source/odds.c
57
table[i][r1] += val;
games/backgammon/common_source/odds.c
58
table[r1][i] += val;
games/backgammon/common_source/odds.c
61
table[r2][r1] += val;
games/backgammon/common_source/odds.c
62
table[r1][r2] += val;
games/backgammon/common_source/odds.c
77
total += table[i][j];
games/ching/castching/castching.c
114
string[i] = table[getrnum()&01][getrnum()&01][getrnum()&01] + '0';
games/ching/castching/castching.c
74
static int table[2][2][2] = {
games/ching/printching/printching.c
146
if (table[i].lines == lower)
games/ching/printching/printching.c
147
lnum = table[i].trinum;
games/ching/printching/printching.c
148
if (table[i].lines == upper)
games/ching/printching/printching.c
149
unum = table[i].trinum;
games/ching/printching/printching.c
70
} table[] = {
games/primes/primes.c
277
memcpy(table, &pattern[factor], pattern_size-factor);
games/primes/primes.c
281
memcpy(&table[fact_lim], pattern, pattern_size);
games/primes/primes.c
284
memcpy(&table[fact_lim], pattern, TABSIZE-fact_lim);
games/primes/primes.c
291
tab_lim = &table[TABSIZE]; /* sieve it all */
games/primes/primes.c
294
tab_lim = &table[(stop-start)/2]; /* partial sieve */
games/primes/primes.c
304
q = &table[(factor-mod)/2];
games/primes/primes.c
306
q = &table[mod ? factor-(mod/2) : 0];
games/primes/primes.c
318
for (q = table; q < tab_lim; ++q, start+=2) {
games/primes/primes.c
88
static char table[TABSIZE]; /* Eratosthenes sieve of odd numbers */
games/sail/dr_1.c
395
table(sp, closest, shootat, load, hit,
games/sail/dr_2.c
122
table(sp, sq, RIGGING, L_EXPLODE,
games/sail/extern.h
259
void table(struct ship *, struct ship *, int, int, int, int);
games/sail/pl_3.c
199
table(ms, closest, shootat, load, hit, roll);
include/search.h
28
struct _ENTRY *table;
lib/libc/regex/regcomp.c
1182
struct xlocale_collate *table =
lib/libc/regex/regcomp.c
1236
if (table->__collate_load_error || MB_CUR_MAX > 1) {
lib/libc/stdlib/hcreate.c
104
struct internal_head *table;
lib/libc/stdlib/hcreate.c
127
table = NULL;
lib/libc/stdlib/hcreate.c
128
errno = reallocarr(&table, nel, sizeof(*table));
lib/libc/stdlib/hcreate.c
131
head->table = (void *)table;
lib/libc/stdlib/hcreate.c
135
SLIST_INIT(&table[idx]);
lib/libc/stdlib/hcreate.c
143
_DIAGASSERT(htable.table != NULL);
lib/libc/stdlib/hcreate.c
160
struct internal_head *table;
lib/libc/stdlib/hcreate.c
165
p = head->table;
lib/libc/stdlib/hcreate.c
166
head->table = NULL;
lib/libc/stdlib/hcreate.c
167
table = p;
lib/libc/stdlib/hcreate.c
170
while (!SLIST_EMPTY(&table[idx])) {
lib/libc/stdlib/hcreate.c
171
ie = SLIST_FIRST(&table[idx]);
lib/libc/stdlib/hcreate.c
172
SLIST_REMOVE_HEAD(&table[idx], link);
lib/libc/stdlib/hcreate.c
180
free(table);
lib/libc/stdlib/hcreate.c
193
_DIAGASSERT(htable.table != NULL);
lib/libc/stdlib/hcreate.c
201
struct internal_head *table, *chain;
lib/libc/stdlib/hcreate.c
210
p = head->table;
lib/libc/stdlib/hcreate.c
211
table = p;
lib/libc/stdlib/hcreate.c
216
chain = &table[hashval & (head->size - 1)];
lib/libc/stdlib/hcreate.c
91
_DIAGASSERT(htable.table == NULL);
lib/libc/stdlib/hcreate.c
94
if (htable.table != NULL) {
lib/libc/time/zic.c
4015
byword(const char *word, const struct lookup *table)
lib/libc/time/zic.c
4020
if (word == NULL || table == NULL)
lib/libc/time/zic.c
4026
if (table == lasts && ciprefix("last", word) && word[4]) {
lib/libc/time/zic.c
4032
table = wday_names;
lib/libc/time/zic.c
4039
for (lp = table; lp->l_word != NULL; ++lp)
lib/libc/time/zic.c
4046
for (lp = table; lp->l_word != NULL; ++lp)
lib/libc/time/zic.c
4056
for (lp = table; lp->l_word; lp++)
lib/libcurses/EXAMPLES/view.c
54
#define SIZEOF(table) (sizeof(table)/sizeof(table[0]))
lib/libdm/libdm_ioctl.c
674
libdm_table_t table;
lib/libdm/libdm_ioctl.c
676
table = malloc(sizeof(*table));
lib/libdm/libdm_ioctl.c
677
if (table == NULL)
lib/libdm/libdm_ioctl.c
680
table->ldm_tbl = prop_dictionary_create();
lib/libdm/libdm_ioctl.c
682
return table;
lib/libintl/gettext.c
409
struct mosysdepstr *table;
lib/libintl/gettext.c
414
table = (struct mosysdepstr *)(base + flip(ofstable[i], magic));
lib/libintl/gettext.c
417
while (flip(table->segs[count++].ref, magic) != MO_LASTSEG)
lib/libintl/gettext.c
426
table_h[i]->off = (const char *)(base + flip(table->off, magic));
lib/libintl/gettext.c
429
flip(table->segs[j].len, magic);
lib/libintl/gettext.c
431
flip(table->segs[j].ref, magic);
lib/libintl/gettext.c
434
table = (struct mosysdepstr *)&table->segs[count];
lib/libintl/gettext.c
756
free_sysdep_table(struct mosysdepstr_h **table, uint32_t nstring)
lib/libintl/gettext.c
759
if (! table)
lib/libintl/gettext.c
763
if (table[i]) {
lib/libintl/gettext.c
764
free(table[i]->expanded);
lib/libintl/gettext.c
765
free(table[i]);
lib/libintl/gettext.c
768
free(table);
lib/libm/noieee_src/n_support.c
443
static const unsigned long table[] = {
lib/libm/noieee_src/n_support.c
495
py[n0]=py[n0]-table[(py[n0]>>15)&31];
lib/libtelnet/genget.c
76
char **table, /* name entry in table */
lib/libtelnet/genget.c
86
for (c = table; *c != 0; c = (char **)((char *)c + stlen)) {
lib/libwrap/hosts_access.c
170
table_match(const char *table, struct request_info *request)
lib/libwrap/hosts_access.c
186
if ((fp = fopen(table, "r")) != 0) {
lib/libwrap/hosts_access.c
187
tcpd_context.file = table;
lib/libwrap/hosts_access.c
206
tcpd_warn("cannot open %s: %m", table);
lib/libwrap/options.c
547
severity_map(const struct syslog_names *table, char *name)
lib/libwrap/options.c
551
for (t = table; t->name; t++)
libexec/talkd/table.c
132
for (ptr = table; ptr != NIL; ptr = ptr->next) {
libexec/talkd/table.c
173
ptr->next = table;
libexec/talkd/table.c
177
table = ptr;
libexec/talkd/table.c
205
for (ptr = table; ptr != NIL; ptr = ptr->next) {
libexec/talkd/table.c
227
if (table == ptr)
libexec/talkd/table.c
228
table = ptr->next;
libexec/talkd/table.c
77
TABLE_ENTRY *table = NIL;
libexec/talkd/table.c
95
for (ptr = table; ptr != NIL; ptr = ptr->next) {
sbin/atactl/atactl.c
455
const struct attr_table *table;
sbin/atactl/atactl.c
880
vendor_table = vendor_smart_names[i].table;
sbin/dmctl/dmctl.c
455
libdm_table_t table;
sbin/dmctl/dmctl.c
474
table = libdm_table_create();
sbin/dmctl/dmctl.c
478
libdm_table_set_start(start, table);
sbin/dmctl/dmctl.c
479
libdm_table_set_length(length, table);
sbin/dmctl/dmctl.c
480
libdm_table_set_target(target, table);
sbin/dmctl/dmctl.c
481
libdm_table_set_params(params + len, table);
sbin/dmctl/dmctl.c
482
libdm_cmd_set_table(table, cmd);
sbin/dmctl/dmctl.c
484
libdm_table_destroy(table);
sbin/dmctl/dmctl.c
508
libdm_table_t table;
sbin/dmctl/dmctl.c
524
while ((table = libdm_cmd_get_table(iter)) != NULL) {
sbin/dmctl/dmctl.c
526
libdm_table_get_start(table),
sbin/dmctl/dmctl.c
527
libdm_table_get_length(table),
sbin/dmctl/dmctl.c
528
libdm_table_get_target(table));
sbin/dmctl/dmctl.c
529
libdm_table_destroy(table);
sbin/dump/optr.c
361
static SLIST_HEAD(, pfstab) table;
sbin/dump/optr.c
393
SLIST_INSERT_HEAD(&table, pf, pf_list);
sbin/dump/optr.c
417
SLIST_FOREACH(pf, &table, pf_list) {
sbin/efi/devpath3.c
629
XXX: Should we make a table so we can show a name?
sbin/raidctl/rf_configure.c
571
RF_SpareTableEntry_t **table;
sbin/raidctl/rf_configure.c
576
table = calloc(req->TablesPerSpareRegion, sizeof(*table));
sbin/raidctl/rf_configure.c
577
if (table == NULL) {
sbin/raidctl/rf_configure.c
582
table[i] = calloc(req->BlocksPerTable, sizeof(**table));
sbin/raidctl/rf_configure.c
583
if (table[i] == NULL) {
sbin/raidctl/rf_configure.c
588
table[i][j].spareDisk =
sbin/raidctl/rf_configure.c
589
table[i][j].spareBlockOffsetInSUs = -1;
sbin/raidctl/rf_configure.c
633
table[tableNum][tupleNum].spareDisk = spareDisk;
sbin/raidctl/rf_configure.c
634
table[tableNum][tupleNum].spareBlockOffsetInSUs =
sbin/raidctl/rf_configure.c
639
return (void *) table;
sbin/raidctl/rf_configure.c
644
free(table[i]);
sbin/raidctl/rf_configure.c
645
free(table);
sys/arch/amd64/amd64/gdt.c
87
uint64_t *table, *entry;
sys/arch/amd64/amd64/gdt.c
89
table = tp;
sys/arch/amd64/amd64/gdt.c
93
*table = *entry;
sys/arch/amd64/amd64/gdt.c
97
if (!pmap_extract_ma(pmap_kernel(), (vaddr_t)table, &pa) ||
sys/arch/amd64/include/xen/hypercalls.h
124
trap_info_t *table)
sys/arch/amd64/include/xen/hypercalls.h
126
return _hypercall1(int, set_trap_table, table);
sys/arch/arm/at91/at91rm9200bus.c
135
} table[] = {
sys/arch/arm/at91/at91rm9200bus.c
168
for (i = 0; table[i].addr; i++)
sys/arch/arm/at91/at91rm9200bus.c
169
(*found_func)(self, table[i].addr, table[i].pid);
sys/arch/arm/at91/at91sam9260bus.c
132
} table[] = {
sys/arch/arm/at91/at91sam9260bus.c
158
for (i = 0; table[i].addr; i++)
sys/arch/arm/at91/at91sam9260bus.c
159
found_func(self, table[i].addr, table[i].pid);
sys/arch/arm/at91/at91sam9261bus.c
126
} table[] = {
sys/arch/arm/at91/at91sam9261bus.c
154
for (i = 0; table[i].addr; i++)
sys/arch/arm/at91/at91sam9261bus.c
155
(*found_func)(self, table[i].addr, table[i].pid);
sys/arch/arm/sunxi/sun8i_a83t_ccu.c
189
.u.nkmp.table = NULL,
sys/arch/arm/sunxi/sun8i_a83t_ccu.c
210
.u.nkmp.table = NULL,
sys/arch/arm/sunxi/sun9i_a80_ccu.c
191
.u.nkmp.table = NULL,
sys/arch/arm/sunxi/sun9i_a80_ccu.c
212
.u.nkmp.table = NULL,
sys/arch/arm/sunxi/sunxi_ccu.h
111
const struct sunxi_ccu_nkmp_tbl *table;
sys/arch/arm/sunxi/sunxi_ccu.h
143
.u.nkmp.table = (_tbl), \
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
146
if (nkmp->table == NULL || rate == 0)
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
149
for (tab = nkmp->table; tab->rate > 0; tab++)
sys/arch/bebox/stand/boot/siop.c
202
scr_table_t *table;
sys/arch/bebox/stand/boot/siop.c
205
table = &xfer->siop_tables.data[offset];
sys/arch/bebox/stand/boot/siop.c
207
table->addr =
sys/arch/bebox/stand/boot/siop.c
208
htoc32(ctoh32(table->addr) + ctoh32(table->count) -
sys/arch/bebox/stand/boot/siop.c
210
table->count = htoc32(siop_cmd->resid);
sys/arch/bebox/stand/boot/siop.c
245
scr_table_t *table = &xfer->siop_tables.data[offset];
sys/arch/bebox/stand/boot/siop.c
247
xs->resid -= ctoh32(table->count) - xs->resid;
sys/arch/hpc/hpc/platid_gen/platid_gen.c
201
table_getnum(char **table, const char *s, int def, int opt)
sys/arch/hpc/hpc/platid_gen/platid_gen.c
206
while (table[num]) {
sys/arch/hpc/hpc/platid_gen/platid_gen.c
209
diff = strcmp(table[num], s);
sys/arch/hpc/hpc/platid_gen/platid_gen.c
211
diff = strcasecmp(table[num], s);
sys/arch/hppa/dev/pdc.c
984
pdcproc_pci_gettable(int nentries, size_t size, void *table)
sys/arch/hppa/dev/pdc.c
999
memcpy(table, int_tbl, size);
sys/arch/i386/i386/gdt.c
78
update_descriptor(union descriptor *table, union descriptor *entry)
sys/arch/i386/i386/gdt.c
81
*table = *entry;
sys/arch/i386/i386/gdt.c
86
ptp = kvtopte((vaddr_t)table);
sys/arch/i386/i386/gdt.c
87
pa = (*ptp & PTE_4KFRAME) | ((vaddr_t)table & ~PTE_4KFRAME);
sys/arch/i386/include/xen/hypercalls.h
76
HYPERVISOR_set_trap_table(trap_info_t *table)
sys/arch/i386/include/xen/hypercalls.h
81
_hypercall(__HYPERVISOR_set_trap_table, _harg("1" (table)),
sys/arch/i386/pci/pcibios.c
382
pcibios_get_intr_routing(struct pcibios_intr_routing *table,
sys/arch/i386/pci/pcibios.c
393
args.size = *nentries * sizeof(*table);
sys/arch/i386/pci/pcibios.c
394
args.offset = (void *)table;
sys/arch/i386/pci/pcibios.c
397
memset(table, 0, args.size);
sys/arch/i386/pci/pcibios.c
412
*nentries = args.size / sizeof(*table);
sys/arch/ia64/acpi/madt.c
124
ACPI_TABLE_MADT *table;
sys/arch/ia64/acpi/madt.c
141
table = (ACPI_TABLE_MADT *)
sys/arch/ia64/acpi/madt.c
146
table->Header.Signature[0],
sys/arch/ia64/acpi/madt.c
147
table->Header.Signature[1],
sys/arch/ia64/acpi/madt.c
148
table->Header.Signature[2],
sys/arch/ia64/acpi/madt.c
149
table->Header.Signature[3], table);
sys/arch/ia64/acpi/madt.c
151
if (strncmp(table->Header.Signature, ACPI_SIG_MADT,
sys/arch/ia64/acpi/madt.c
153
ACPI_FAILURE(AcpiUtChecksum((void *)table,
sys/arch/ia64/acpi/madt.c
154
table->Header.Length)))
sys/arch/ia64/acpi/madt.c
159
printf("\tLocal APIC address=0x%x\n", table->Address);
sys/arch/ia64/acpi/madt.c
160
ia64_lapic_address = table->Address;
sys/arch/ia64/acpi/madt.c
162
if (table->Flags & ACPI_MADT_PCAT_COMPAT)
sys/arch/ia64/acpi/madt.c
165
end = (char *)table + table->Header.Length;
sys/arch/ia64/acpi/madt.c
166
p = (char *)(table + 1);
sys/arch/ia64/acpi/madt.c
224
ACPI_TABLE_MADT *table;
sys/arch/ia64/acpi/madt.c
242
table = (ACPI_TABLE_MADT *)
sys/arch/ia64/acpi/madt.c
245
if (strncmp(table->Header.Signature, ACPI_SIG_MADT,
sys/arch/ia64/acpi/madt.c
247
ACPI_FAILURE(AcpiUtChecksum((void *)table,
sys/arch/ia64/acpi/madt.c
248
table->Header.Length)))
sys/arch/ia64/acpi/madt.c
251
end = (char *)table + table->Header.Length;
sys/arch/ia64/acpi/madt.c
252
p = (char *)(table + 1);
sys/arch/ia64/ia64/mainbus.c
100
len = table->Header.Length;
sys/arch/ia64/ia64/mainbus.c
101
if (ACPI_FAILURE(AcpiUtChecksum((void *)table, len)))
sys/arch/ia64/ia64/mainbus.c
104
end = (char *)table + table->Header.Length;
sys/arch/ia64/ia64/mainbus.c
105
p = (char *)(table + 1);
sys/arch/ia64/ia64/mainbus.c
72
ACPI_TABLE_MADT *table;
sys/arch/ia64/ia64/mainbus.c
94
table = (ACPI_TABLE_MADT *)
sys/arch/ia64/ia64/mainbus.c
97
sig = table->Header.Signature;
sys/arch/luna68k/dev/psgpam_enc.c
102
#define SPLIT3(table) do { \
sys/arch/luna68k/dev/psgpam_enc.c
103
uint16_t t = (uint16_t)table[v]; \
sys/arch/luna68k/dev/psgpam_enc.c
109
#define ENCODER_DEFINE(enc, TT, table, writer) \
sys/arch/luna68k/dev/psgpam_enc.c
118
v >>= (AUDIO_INTERNAL_BITS - table##_BITS); \
sys/arch/luna68k/dev/psgpam_enc.c
119
writer(table); \
sys/arch/luna68k/dev/psgpam_enc.c
123
#define ENCODER_D_DEFINE(enc, TT, table, writer) \
sys/arch/luna68k/dev/psgpam_enc.c
132
v >>= (AUDIO_INTERNAL_BITS - table##_BITS); \
sys/arch/luna68k/dev/psgpam_enc.c
134
writer(table); \
sys/arch/luna68k/dev/psgpam_enc.c
85
#define BULK(table) *d++ = table[v]
sys/arch/luna68k/dev/psgpam_enc.c
87
#define W8(table) *d++ = table[v]
sys/arch/luna68k/dev/psgpam_enc.c
89
#define W16(table) do { \
sys/arch/luna68k/dev/psgpam_enc.c
90
uint16_t t = (uint16_t)table[v]; \
sys/arch/luna68k/dev/psgpam_enc.c
94
#define W32(table) do { \
sys/arch/luna68k/dev/psgpam_enc.c
95
uint32_t t = (uint32_t)table[v]; \
sys/arch/newsmips/include/apbus.h
67
void *table[16];
sys/arch/prep/stand/boot/siop.c
179
scr_table_t *table;
sys/arch/prep/stand/boot/siop.c
182
table = &xfer->siop_tables.data[offset];
sys/arch/prep/stand/boot/siop.c
184
table->addr =
sys/arch/prep/stand/boot/siop.c
185
htoc32(ctoh32(table->addr) + ctoh32(table->count) -
sys/arch/prep/stand/boot/siop.c
187
table->count = htoc32(siop_cmd->resid);
sys/arch/prep/stand/boot/siop.c
222
scr_table_t *table = &xfer->siop_tables.data[offset];
sys/arch/prep/stand/boot/siop.c
224
xs->resid -= ctoh32(table->count) - xs->resid;
sys/arch/riscv/riscv/db_disasm.c
1158
const struct riscv_disasm_insn *table, *info;
sys/arch/riscv/riscv/db_disasm.c
1167
table = d->u.entries.v;
sys/arch/riscv/riscv/db_disasm.c
1169
info = riscv_disasm_match(table, numtable, insn, 0);
sys/arch/riscv/riscv/db_disasm.c
1281
table = d->u.entries.v;
sys/arch/riscv/riscv/db_disasm.c
1283
info = riscv_disasm_match(table, numtable, insn, imm);
sys/arch/riscv/riscv/db_disasm.c
1359
table = d->u.entries.v;
sys/arch/riscv/riscv/db_disasm.c
1361
info = riscv_disasm_match(table, numtable, insn, imm);
sys/arch/riscv/riscv/db_disasm.c
1383
table = d->u.entries.v;
sys/arch/riscv/riscv/db_disasm.c
1385
info = riscv_disasm_match(table, numtable, insn, imm);
sys/arch/riscv/riscv/db_disasm.c
791
#define TABLE(table) \
sys/arch/riscv/riscv/db_disasm.c
792
.u.entries.v = table, .u.entries.n = __arraycount(table)
sys/arch/riscv/riscv/db_disasm.c
830
riscv_disasm_match(const struct riscv_disasm_insn *table, unsigned num,
sys/arch/riscv/riscv/db_disasm.c
839
info = &table[i];
sys/arch/sandpoint/sandpoint/autoconf.c
154
const struct i2c_deventry *table = call_handle.const_pointer;
sys/arch/sandpoint/sandpoint/autoconf.c
157
table, sandpoint_i2cdev_callback);
sys/arch/sgimips/dev/scn.c
265
} table[] = {
sys/arch/sgimips/dev/scn.c
341
#define TABENTRIES (sizeof(table)/sizeof(table[0]))
sys/arch/sgimips/dev/scn.c
556
tp = table + (*index)++;
sys/arch/shark/shark/profile.c
576
profEnter(struct profHashTable *table, unsigned int lr)
sys/arch/shark/shark/profile.c
588
entries = table->hdr.entries - 1;
sys/arch/shark/shark/profile.c
611
first = sample = &table->entries[index];
sys/arch/shark/shark/profile.c
615
while ( (sample->pc != lr) && (table->hdr.last < table->hdr.tableSize) )
sys/arch/shark/shark/profile.c
628
sample = &table->entries[sample->next];
sys/arch/shark/shark/profile.c
633
if (table->hdr.last < table->hdr.tableSize)
sys/arch/shark/shark/profile.c
635
sample = &table->entries[table->hdr.last];
sys/arch/shark/shark/profile.c
643
first->next = table->hdr.last;
sys/arch/shark/shark/profile.c
648
table->hdr.last++;
sys/arch/shark/shark/profile.c
682
table->hdr.samples++;
sys/arch/shark/shark/profile.c
686
table->hdr.missed++;
sys/arch/shark/shark/profile.c
691
displayTable(struct profHashTable *table)
sys/arch/shark/shark/profile.c
697
for (i=0; i < table->hdr.tableSize; i++)
sys/arch/shark/shark/profile.c
699
sample = &table->entries[i];
sys/arch/shark/shark/profile.c
700
if ((i * table->hdr.tableSize) >= table->hdr.entries)
sys/arch/vax/include/macros.h
272
vax_scanc(u_int size, const u_char *cp, const u_char *table, int mask)
sys/arch/vax/include/macros.h
279
: "r"(size),"r"(cp),"r"(table),"r"(mask)
sys/arch/x68k/dev/ite.c
2406
static const uint32_t table[64] = {
sys/arch/x68k/dev/ite.c
2570
d = table[c - '?'] * ip->decsixel_color;
sys/arch/x68k/dev/ite.c
2589
d = table[c - '?'] * ip->decsixel_color;
sys/arch/x86/x86/est.c
113
const uint16_t *table;
sys/arch/x86/x86/est.c
1174
idhi == fql->table[0] && idlo == fql->table[fql->n - 1]) {
sys/arch/x86/x86/est.c
1259
sc->sc_fake_fqlist.table = sc->sc_fake_table;
sys/arch/x86/x86/est.c
1270
"%d%s", MSR2MHZ(sc->sc_fqlist->table[i], sc->sc_bus_clock),
sys/arch/x86/x86/est.c
1401
if (MSR2MHZ(sc->sc_fqlist->table[i], sc->sc_bus_clock) >= fq)
sys/arch/x86/x86/est.c
1405
est_xcall(sc->sc_fqlist->table[i]);
sys/arch/x86/x86/procfs_machdep.c
243
procfs_getonefeatreg(uint32_t reg, const char * const *table, char *p,
sys/arch/x86/x86/procfs_machdep.c
249
if ((reg & (1U << i)) && table[i]) {
sys/arch/x86/x86/procfs_machdep.c
250
l = snprintf(p, *left, "%s ", table[i]);
sys/crypto/skipjack/skipjack.c
79
u_int8_t * table = key_tables[k];
sys/crypto/skipjack/skipjack.c
81
table [i] = ftable [i ^ key_byte];
sys/ddb/db_command.c
642
const struct db_command *table,
sys/ddb/db_command.c
652
for (cmd = table; cmd->name != 0; cmd++) {
sys/ddb/db_command.c
764
const struct db_command *table;
sys/ddb/db_command.c
769
table = list_ent->db_cmd;
sys/ddb/db_command.c
770
for (i = 0; table[i].name != NULL; i++) {
sys/ddb/db_command.c
771
w = strlen(table[i].name);
sys/ddb/db_command.c
784
table = list_ent->db_cmd;
sys/ddb/db_command.c
786
for (numcmds = 0; table[numcmds].name != NULL; numcmds++)
sys/ddb/db_command.c
792
p = table[j * lines + i].name;
sys/dev/acpi/acpi_slit.c
46
ACPI_TABLE_HEADER *table;
sys/dev/acpi/acpi_slit.c
49
rv = AcpiGetTable(ACPI_SIG_SLIT, 1, (ACPI_TABLE_HEADER **)&table);
sys/dev/acpi/acpi_slit.c
54
if (table == NULL)
sys/dev/acpi/acpi_slit.c
57
if (table->Length == 0xffffffff)
sys/dev/acpi/acpi_slit.c
60
slit = (ACPI_TABLE_SLIT *)table;
sys/dev/acpi/acpi_srat.c
125
ACPI_TABLE_HEADER *table;
sys/dev/acpi/acpi_srat.c
128
rv = AcpiGetTable(ACPI_SIG_SRAT, 1, (ACPI_TABLE_HEADER **)&table);
sys/dev/acpi/acpi_srat.c
133
if (table == NULL)
sys/dev/acpi/acpi_srat.c
136
if (table->Length == 0xffffffff)
sys/dev/acpi/acpi_srat.c
139
srat = (ACPI_TABLE_SRAT *)table;
sys/dev/dm/dm.h
196
char *(*table)(void *);
sys/dev/dm/dm_ioctl.c
985
if (is_table && table_en->target->table)
sys/dev/dm/dm_ioctl.c
986
params = table_en->target->table(
sys/dev/dm/dm_table.c
185
dm_table_size_impl(dm_table_head_t *head, int table)
sys/dev/dm/dm_table.c
194
id = dm_table_busy(head, table);
sys/dev/dm/dm_target.c
321
dmt->table = &dm_target_linear_table;
sys/dev/dm/dm_target.c
336
dmt->table = &dm_target_stripe_table;
sys/dev/dm/dm_target.c
373
dmt->table = &dm_target_delay_table;
sys/dev/dm/dm_target.c
388
dmt->table = &dm_target_flakey_table;
sys/dev/dm/dm_target_delay.c
117
dmt->table = &dm_target_delay_table;
sys/dev/dm/dm_target_flakey.c
106
dmt->table = &dm_target_flakey_table;
sys/dev/dm/dm_target_mirror.c
94
dmt->table = &dm_target_mirror_table;
sys/dev/dm/dm_target_snapshot.c
154
dmt->table = &dm_target_snapshot_table;
sys/dev/dm/dm_target_snapshot.c
166
dmt1->table = &dm_target_snapshot_orig_table;
sys/dev/dm/dm_target_stripe.c
84
dmt->table = &dm_target_stripe_table;
sys/dev/fdt/cpufreq_dt.c
410
struct cpufreq_dt_table *table;
sys/dev/fdt/cpufreq_dt.c
422
TAILQ_FOREACH(table, &cpufreq_dt_tables, next)
sys/dev/fdt/cpufreq_dt.c
423
if (table->phandle == opp_table)
sys/dev/hid/hidkbd.c
338
hidkbd_translate(const struct hidkbd_translation *table, size_t tsize,
sys/dev/hid/hidkbd.c
341
for (; tsize != 0; table++, tsize--)
sys/dev/hid/hidkbd.c
342
if (table->original == keycode)
sys/dev/hid/hidkbd.c
343
return table->translation;
sys/dev/i2c/dbcool.c
1612
for (i=0; chip->table[i].type != DBC_EOF; i++) {
sys/dev/i2c/dbcool.c
1615
else if (chip->table[i].type != DBC_CTL) {
sys/dev/i2c/dbcool.c
1619
switch (chip->table[i].type) {
sys/dev/i2c/dbcool.c
1633
(chip->table[i].reg.val_reg == DBCOOL_12VIN) &&
sys/dev/i2c/dbcool.c
1657
vid_reg = chip->table[i].reg.val_reg;
sys/dev/i2c/dbcool.c
1679
i, chip->table[i].type);
sys/dev/i2c/dbcool.c
1695
name_index = sc->sc_dc.dc_chip->table[idx].name_index;
sys/dev/i2c/dbcool.c
1696
snprintf(name, 7, "s%02x", sc->sc_dc.dc_chip->table[idx].reg.val_reg);
sys/dev/i2c/dbcool.c
1702
sc->sc_regs[idx] = &sc->sc_dc.dc_chip->table[idx].reg;
sys/dev/i2c/dbcool.c
1703
sc->sc_nom_volt[idx] = sc->sc_dc.dc_chip->table[idx].nom_volt_index;
sys/dev/i2c/dbcool.c
1720
if (j >= DBCOOL_MAXSENSORS || chip->table[j].type != DBC_TEMP)
sys/dev/i2c/dbcool.c
1722
if (chip->table[j].name_index == chip->table[idx].name_index)
sys/dev/i2c/dbcool.c
1730
int name_index = sc->sc_dc.dc_chip->table[idx].name_index;
sys/dev/i2c/dbcool.c
1745
sysctl_index = chip->table[idx].sysctl_index;
sys/dev/i2c/dbcool.c
1746
sysctl_reg = chip->table[idx].reg.val_reg;
sys/dev/i2c/dbcool.c
1992
nom = nominal_voltages[sc->sc_dc.dc_chip->table[idx].nom_volt_index];
sys/dev/i2c/dbcool.c
2126
nom = nominal_voltages[sc->sc_dc.dc_chip->table[idx].nom_volt_index];
sys/dev/i2c/dbcool_var.h
141
struct dbcool_sensor *table;
sys/dev/i2c/tsllux.c
1009
table = lux_factor_table_cs_package;
sys/dev/i2c/tsllux.c
1012
table = lux_factor_table;
sys/dev/i2c/tsllux.c
1022
if (ratio <= table[idx].k)
sys/dev/i2c/tsllux.c
1026
temp = ((channel0 * table[idx].b) - (channel1 * table[idx].m));
sys/dev/i2c/tsllux.c
936
const struct lux_factor_table_entry *table;
sys/dev/ic/aac.c
348
aac_describe_code(const struct aac_code_lookup *table, u_int32_t code)
sys/dev/ic/aac.c
352
for (i = 0; table[i].string != NULL; i++)
sys/dev/ic/aac.c
353
if (table[i].code == code)
sys/dev/ic/aac.c
354
return (table[i].string);
sys/dev/ic/aac.c
356
return (table[i + 1].string);
sys/dev/ic/aic79xx.c
8591
ahd_print_register(ahd_reg_parse_entry_t *table, u_int num_entries,
sys/dev/ic/aic79xx.c
8607
if (table == NULL) {
sys/dev/ic/aic79xx.c
8621
if (((value & table[entry].mask)
sys/dev/ic/aic79xx.c
8622
!= table[entry].value)
sys/dev/ic/aic79xx.c
8623
|| ((printed_mask & table[entry].mask)
sys/dev/ic/aic79xx.c
8624
== table[entry].mask))
sys/dev/ic/aic79xx.c
8630
table[entry].name);
sys/dev/ic/aic79xx.c
8631
printed_mask |= table[entry].mask;
sys/dev/ic/aic7xxx.c
6533
ahc_print_register(ahc_reg_parse_entry_t *table, u_int num_entries,
sys/dev/ic/aic7xxx.c
6550
if (table == NULL) {
sys/dev/ic/aic7xxx.c
6565
if (((value & table[entry].mask)
sys/dev/ic/aic7xxx.c
6566
!= table[entry].value)
sys/dev/ic/aic7xxx.c
6567
|| ((printed_mask & table[entry].mask)
sys/dev/ic/aic7xxx.c
6568
== table[entry].mask))
sys/dev/ic/aic7xxx.c
6575
table[entry].name);
sys/dev/ic/aic7xxx.c
6576
printed_mask |= table[entry].mask;
sys/dev/ic/siop_common.c
729
scr_table_t *table; /* table with partial xfer */
sys/dev/ic/siop_common.c
747
table = &siop_cmd->siop_tables->data[offset];
sys/dev/ic/siop_common.c
749
table->count, table->addr);
sys/dev/ic/siop_common.c
795
scr_table_t *table;
sys/dev/ic/siop_common.c
833
table = &siop_cmd->siop_tables->data[offset];
sys/dev/ic/siop_common.c
835
table->addr =
sys/dev/ic/siop_common.c
836
siop_htoc32(sc, siop_ctoh32(sc, table->addr) +
sys/dev/ic/siop_common.c
837
siop_ctoh32(sc, table->count) - siop_cmd->resid);
sys/dev/ic/siop_common.c
838
table->count = siop_htoc32(sc, siop_cmd->resid);
sys/dev/ic/siop_common.c
855
scr_table_t *table;
sys/dev/ic/siop_common.c
875
table = &siop_cmd->siop_tables->data[offset];
sys/dev/ic/siop_common.c
877
siop_ctoh32(sc, table->count) - siop_cmd->resid;
sys/dev/ic/siop_common.c
885
scr_table_t *table; /* table with IWR */
sys/dev/ic/siop_common.c
904
table = &siop_cmd->siop_tables->data[offset];
sys/dev/ic/siop_common.c
907
if (siop_ctoh32(sc, table->count) & 1) {
sys/dev/midictl.c
135
uint64_t *table;
sys/dev/midictl.c
164
uint64_t *table,
sys/dev/midictl.c
181
s->table = kmem_zalloc(sizeof(*s->table)<<s->lgcapacity, KM_SLEEP);
sys/dev/midictl.c
189
kmem_free(s->table, sizeof(*s->table)<<s->lgcapacity);
sys/dev/midictl.c
547
kmem_free(s->table, sizeof(*s->table)<<s->lgcapacity);
sys/dev/midictl.c
578
s->idx = store_idx(s->lgcapacity, s->table, s->key, mask);
sys/dev/midictl.c
580
if ( !(s->table[s->idx] & IS_USED) )
sys/dev/midictl.c
596
return 3 & (s->table[s->idx]>>CTL1SHIFT(chan));
sys/dev/midictl.c
598
return 0xff & (s->table[s->idx]>>CTL7SHIFT(chan));
sys/dev/midictl.c
604
return 0xffff & (s->table[s->idx]>>CTLESHIFT(chan));
sys/dev/midictl.c
615
orig = s->table[s->idx];
sys/dev/midictl.c
640
s->table[s->idx] = orig;
sys/dev/midictl.c
646
store_idx(uint32_t lgcapacity, uint64_t *table,
sys/dev/midictl.c
662
val = (uint32_t)(table[idx] & mask);
sys/dev/midictl.c
703
if (!(s->table[oidx] & IS_USED))
sys/dev/midictl.c
705
if (s->table[oidx] & IS_CTL7)
sys/dev/midictl.c
710
s->table[oidx] & mask, mask);
sys/dev/midictl.c
711
newtbl[nidx] = s->table[oidx];
sys/dev/midictl.c
713
oldtbl = s->table;
sys/dev/midictl.c
714
s->table = newtbl;
sys/dev/pci/mly_tables.h
76
mly_describe_code(const struct mly_code_lookup *table, u_int32_t code)
sys/dev/pci/mly_tables.h
80
for (i = 0; table[i].string != NULL; i++)
sys/dev/pci/mly_tables.h
81
if (table[i].code == code)
sys/dev/pci/mly_tables.h
82
return (table[i].string);
sys/dev/pci/mly_tables.h
84
return (table[i + 1].string);
sys/dev/pci/pci_subr.c
1359
static int table[8] = {
sys/dev/pci/pci_subr.c
1363
if (idx >= __arraycount(table))
sys/dev/pci/pci_subr.c
1365
return table[idx];
sys/dev/pci/qat/qat_hw15reg.h
226
#define FW_INIT_RING_MASK_SET(table, id) \
sys/dev/pci/qat/qat_hw15reg.h
227
table->firt_ring_mask[id >> RING_MASK_TABLE_ENTRY_LOG_SZ] =\
sys/dev/pci/qat/qat_hw15reg.h
228
table->firt_ring_mask[id >> RING_MASK_TABLE_ENTRY_LOG_SZ] | \
sys/dev/pci/twa.c
471
twa_find_msg_string(const struct twa_message *table, uint16_t code)
sys/dev/pci/twa.c
475
for (i = 0; table[i].message != NULL; i++)
sys/dev/pci/twa.c
476
if (table[i].code == code)
sys/dev/pci/twa.c
477
return(table[i].message);
sys/dev/pci/twa.c
479
return(table[i].message);
sys/dev/pci/twe.c
260
twe_describe_code(const struct twe_code_table *table, uint32_t code)
sys/dev/pci/twe.c
263
for (; table->string != NULL; table++) {
sys/dev/pci/twe.c
264
if (table->code == code)
sys/dev/pci/twe.c
265
return (table->string);
sys/dev/ppbus/ppbus_msq.c
118
return (&table[index]);
sys/dev/ppbus/ppbus_msq.c
72
struct ppbus_xfer * table;
sys/dev/ppbus/ppbus_msq.c
76
table = ppbdev->get_xfer;
sys/dev/ppbus/ppbus_msq.c
80
table = ppbdev->put_xfer;
sys/dev/raidframe/rf_decluster.c
688
RF_SpareTableEntry_t **table = info->SpareTable;
sys/dev/raidframe/rf_decluster.c
691
RF_Free(table[i], info->BlocksPerTable * sizeof(RF_SpareTableEntry_t));
sys/dev/raidframe/rf_decluster.c
693
RF_Free(table, info->TablesPerSpareRegion * sizeof(RF_SpareTableEntry_t *));
sys/dev/sysmon/sysmon_envsys_tables.c
145
const struct sme_descr_entry *table = sme_find_table(table_id);
sys/dev/sysmon/sysmon_envsys_tables.c
147
if (table != NULL)
sys/dev/sysmon/sysmon_envsys_tables.c
148
for (; table->type != -1; table++)
sys/dev/sysmon/sysmon_envsys_tables.c
149
if (table->type == key)
sys/dev/sysmon/sysmon_envsys_tables.c
150
return table;
sys/dev/sysmon/sysmon_envsys_tables.c
158
const struct sme_descr_entry *table = sme_find_table(table_id);
sys/dev/sysmon/sysmon_envsys_tables.c
160
if (table != NULL)
sys/dev/sysmon/sysmon_envsys_tables.c
161
for (; table->type != -1; table++)
sys/dev/sysmon/sysmon_envsys_tables.c
162
if (strcmp(table->desc, str) == 0)
sys/dev/sysmon/sysmon_envsys_tables.c
163
return table;
sys/dist/pf/net/pf_ioctl.c
2869
struct pfr_table *table;
sys/dist/pf/net/pf_ioctl.c
2878
table = (struct pfr_table *)malloc(sizeof(*table),
sys/dist/pf/net/pf_ioctl.c
2882
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2891
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2897
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2904
bzero(table, sizeof(*table));
sys/dist/pf/net/pf_ioctl.c
2905
strlcpy(table->pfrt_anchor, ioe->anchor,
sys/dist/pf/net/pf_ioctl.c
2906
sizeof(table->pfrt_anchor));
sys/dist/pf/net/pf_ioctl.c
2907
if ((error = pfr_ina_begin(table,
sys/dist/pf/net/pf_ioctl.c
2909
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2917
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2924
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2930
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2938
struct pfr_table *table;
sys/dist/pf/net/pf_ioctl.c
2947
table = (struct pfr_table *)malloc(sizeof(*table),
sys/dist/pf/net/pf_ioctl.c
2951
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2960
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2966
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2973
bzero(table, sizeof(*table));
sys/dist/pf/net/pf_ioctl.c
2974
strlcpy(table->pfrt_anchor, ioe->anchor,
sys/dist/pf/net/pf_ioctl.c
2975
sizeof(table->pfrt_anchor));
sys/dist/pf/net/pf_ioctl.c
2976
if ((error = pfr_ina_rollback(table,
sys/dist/pf/net/pf_ioctl.c
2978
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2986
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
2993
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3001
struct pfr_table *table;
sys/dist/pf/net/pf_ioctl.c
3011
table = (struct pfr_table *)malloc(sizeof(*table),
sys/dist/pf/net/pf_ioctl.c
3016
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3025
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3032
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3043
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3052
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3062
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3073
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3082
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3089
bzero(table, sizeof(*table));
sys/dist/pf/net/pf_ioctl.c
3090
strlcpy(table->pfrt_anchor, ioe->anchor,
sys/dist/pf/net/pf_ioctl.c
3091
sizeof(table->pfrt_anchor));
sys/dist/pf/net/pf_ioctl.c
3092
if ((error = pfr_ina_commit(table, ioe->ticket,
sys/dist/pf/net/pf_ioctl.c
3094
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3102
free(table, M_TEMP);
sys/dist/pf/net/pf_ioctl.c
3109
free(table, M_TEMP);
sys/fs/cd9660/cd9660_rrip.c
492
const RRIP_TABLE *table)
sys/fs/cd9660/cd9660_rrip.c
528
for (ptable = table; ptable->func; ptable++) {
sys/fs/cd9660/cd9660_rrip.c
572
for (ptable = table; ptable->func2; ptable++)
sys/fs/v7fs/v7fs_vfsops.c
419
enum vtype table[] = { VCHR, VDIR, VBLK, VREG, VLNK, VSOCK };
sys/fs/v7fs/v7fs_vfsops.c
424
return table[((mode >> 13) & 7) - 1];
sys/fs/v7fs/v7fs_vnops.c
74
v7fs_mode_t table[] = { 0, V7FS_IFREG, V7FS_IFDIR, V7FS_IFBLK,
sys/fs/v7fs/v7fs_vnops.c
77
return table[type];
sys/kern/kern_history.c
381
find_string(struct addr_xlt table[], size_t *count, const char *string,
sys/kern/kern_history.c
387
if (string == table[i].addr && len == table[i].len)
sys/kern/kern_history.c
401
add_string(struct addr_xlt table[], size_t *count, const char *string,
sys/kern/kern_history.c
405
if (find_string(table, count, string, len) == 0) {
sys/kern/kern_history.c
406
table[*count].addr = string;
sys/kern/kern_history.c
407
table[*count].len = len;
sys/kern/kern_history.c
408
table[*count + 1].offset = table[*count].offset + len + 1;
sys/kern/kern_ksyms.c
195
findsym(const char *name, struct ksyms_symtab *table, int type)
sys/kern/kern_ksyms.c
201
sym = table->sd_symstart;
sys/kern/kern_ksyms.c
202
str = table->sd_strstart - table->sd_usroffset;
sys/kern/kern_ksyms.c
203
nglob = table->sd_nglob;
sys/kern/kern_ksyms.c
233
maxsym = sym + table->sd_symsize / sizeof(Elf_Sym);
sys/kern/subr_vmem.c
1622
static const char * const table[] = {
sys/kern/subr_vmem.c
1629
if (type >= __arraycount(table)) {
sys/kern/subr_vmem.c
1632
return table[type];
sys/kern/tty.c
2604
ttspeedtab(int speed, const struct speedtab *table)
sys/kern/tty.c
2607
for (; table->sp_speed != -1; table++)
sys/kern/tty.c
2608
if (table->sp_speed == speed)
sys/kern/tty.c
2609
return (table->sp_code);
sys/kern/tty_conf.c
256
} table[] = {
sys/kern/tty_conf.c
269
for (i = 0; table[i].name != NULL; i++) {
sys/kern/tty_conf.c
270
if (strcmp(disc->l_name, table[i].name) == 0) {
sys/kern/tty_conf.c
271
disc->l_no = table[i].num;
sys/lib/libkern/scanc.c
38
scanc(u_int size, const u_char *cp, const u_char table[], int mask)
sys/lib/libkern/scanc.c
42
while (cp < end && (table[*cp] & mask) == 0)
sys/net/npf/npf_ctl.c
215
const nvlist_t *table = tables[i];
sys/net/npf/npf_ctl.c
218
error = npf_mk_table(npf, table, resp, tblset, &t, 0);
sys/net/npf/npf_tableset.c
295
nvlist_t *table;
sys/net/npf/npf_tableset.c
300
table = nvlist_create(0);
sys/net/npf/npf_tableset.c
301
nvlist_add_string(table, "name", t->t_name);
sys/net/npf/npf_tableset.c
302
nvlist_add_number(table, "type", t->t_type);
sys/net/npf/npf_tableset.c
303
nvlist_add_number(table, "id", tid);
sys/net/npf/npf_tableset.c
305
nvlist_append_nvlist_array(nvl, "tables", table);
sys/net/npf/npf_tableset.c
306
nvlist_destroy(table);
sys/net/zlib.c
3900
uInt table; /* table lengths (14 bits) */
sys/net/zlib.c
4165
s->sub.trees.table = t = (uInt)b & 0x3fff;
sys/net/zlib.c
4186
while (s->sub.trees.index < 4 + (s->sub.trees.table >> 10))
sys/net/zlib.c
4211
while (t = s->sub.trees.table,
sys/net/zlib.c
4236
t = s->sub.trees.table;
sys/net/zlib.c
4261
t = s->sub.trees.table;
sys/net/zlib.c
5718
local ptr_table table[MAX_PTR];
sys/net/zlib.c
5741
table[next_ptr].org_ptr = buf;
sys/net/zlib.c
5746
table[next_ptr++].new_ptr = buf;
sys/net/zlib.c
5759
if (ptr != table[n].new_ptr) continue;
sys/net/zlib.c
5761
farfree(table[n].org_ptr);
sys/net/zlib.c
5763
table[n-1] = table[n];
sys/netcan/can_pcb.c
105
canp->canp_table = table;
sys/netcan/can_pcb.c
114
TAILQ_INSERT_HEAD(&table->canpt_queue, canp, canp_queue);
sys/netcan/can_pcb.c
292
can_pcbnotify(struct canpcbtable *table, u_int32_t faddr, u_int32_t laddr,
sys/netcan/can_pcb.c
303
head = CANPCBHASH_CONNECT(table, faddr, laddr);
sys/netcan/can_pcb.c
316
can_pcbnotifyall(struct canpcbtable *table, u_int32_t faddr, int errno,
sys/netcan/can_pcb.c
324
TAILQ_FOREACH_SAFE(canp, &table->canpt_queue, canp_queue, ncanp) {
sys/netcan/can_pcb.c
333
can_pcbpurgeif0(struct canpcbtable *table, struct ifnet *ifp)
sys/netcan/can_pcb.c
342
can_pcbpurgeif(struct canpcbtable *table, struct ifnet *ifp)
sys/netcan/can_pcb.c
346
for (canp = CIRCLEQ_FIRST(&table->canpt_queue);
sys/netcan/can_pcb.c
347
canp != (void *)&table->canpt_queue;
sys/netcan/can_pcb.c
56
#define CANPCBHASH_BIND(table, ifindex) \
sys/netcan/can_pcb.c
57
&(table)->canpt_bindhashtbl[ \
sys/netcan/can_pcb.c
58
(ifindex) & (table)->canpt_bindhash]
sys/netcan/can_pcb.c
59
#define CANPCBHASH_CONNECT(table, ifindex) \
sys/netcan/can_pcb.c
60
&(table)->canpt_connecthashtbl[ \
sys/netcan/can_pcb.c
61
(ifindex) & (table)->canpt_bindhash]
sys/netcan/can_pcb.c
66
can_pcbinit(struct canpcbtable *table, int bindhashsize, int connecthashsize)
sys/netcan/can_pcb.c
76
TAILQ_INIT(&table->canpt_queue);
sys/netcan/can_pcb.c
77
table->canpt_bindhashtbl = hashinit(bindhashsize, HASH_LIST, true,
sys/netcan/can_pcb.c
78
&table->canpt_bindhash);
sys/netcan/can_pcb.c
79
table->canpt_connecthashtbl = hashinit(connecthashsize, HASH_LIST,
sys/netcan/can_pcb.c
80
true, &table->canpt_connecthash);
sys/netcan/can_pcb.c
86
struct canpcbtable *table = v;
sys/netinet/in_pcb.c
1013
if (vp && table->vestige) {
sys/netinet/in_pcb.c
1014
void *state = (*table->vestige->init_ports4)(laddr, lport_arg, lookup_wildcard);
sys/netinet/in_pcb.c
1018
while (table->vestige
sys/netinet/in_pcb.c
1019
&& (*table->vestige->next_port4)(state, vp)) {
sys/netinet/in_pcb.c
1066
inpcb_lookup(struct inpcbtable *table,
sys/netinet/in_pcb.c
1078
head = INPCBHASH_CONNECT(table, faddr, fport, laddr, lport);
sys/netinet/in_pcb.c
1089
if (vp && table->vestige) {
sys/netinet/in_pcb.c
1090
if ((*table->vestige->lookup4)(faddr, fport_arg,
sys/netinet/in_pcb.c
1118
inpcb_lookup_bound(struct inpcbtable *table,
sys/netinet/in_pcb.c
1125
head = INPCBHASH_BIND(table, laddr, lport);
sys/netinet/in_pcb.c
1134
head = INPCBHASH_BIND(table, zeroin_addr, lport);
sys/netinet/in_pcb.c
144
#define INPCBHASH_PORT(table, lport) \
sys/netinet/in_pcb.c
145
&(table)->inpt_porthashtbl[ntohs(lport) & (table)->inpt_porthash]
sys/netinet/in_pcb.c
146
#define INPCBHASH_BIND(table, laddr, lport) \
sys/netinet/in_pcb.c
147
&(table)->inpt_bindhashtbl[ \
sys/netinet/in_pcb.c
148
((ntohl((laddr).s_addr) + ntohs(lport))) & (table)->inpt_bindhash]
sys/netinet/in_pcb.c
149
#define INPCBHASH_CONNECT(table, faddr, fport, laddr, lport) \
sys/netinet/in_pcb.c
150
&(table)->inpt_connecthashtbl[ \
sys/netinet/in_pcb.c
152
(ntohl((laddr).s_addr) + ntohs(lport))) & (table)->inpt_connecthash]
sys/netinet/in_pcb.c
178
inpcb_init(struct inpcbtable *table, int bindhashsize, int connecthashsize)
sys/netinet/in_pcb.c
182
TAILQ_INIT(&table->inpt_queue);
sys/netinet/in_pcb.c
183
table->inpt_porthashtbl = hashinit(bindhashsize, HASH_LIST, true,
sys/netinet/in_pcb.c
184
&table->inpt_porthash);
sys/netinet/in_pcb.c
185
table->inpt_bindhashtbl = hashinit(bindhashsize, HASH_LIST, true,
sys/netinet/in_pcb.c
186
&table->inpt_bindhash);
sys/netinet/in_pcb.c
187
table->inpt_connecthashtbl = hashinit(connecthashsize, HASH_LIST, true,
sys/netinet/in_pcb.c
188
&table->inpt_connecthash);
sys/netinet/in_pcb.c
189
table->inpt_lastlow = IPPORT_RESERVEDMAX;
sys/netinet/in_pcb.c
190
table->inpt_lastport = (in_port_t)anonportmax;
sys/netinet/in_pcb.c
202
struct inpcbtable *table = v;
sys/netinet/in_pcb.c
226
inp->inp_table = table;
sys/netinet/in_pcb.c
262
TAILQ_INSERT_HEAD(&table->inpt_queue, inp, inp_queue);
sys/netinet/in_pcb.c
263
LIST_INSERT_HEAD(INPCBHASH_PORT(table, inp->inp_lport), inp,
sys/netinet/in_pcb.c
273
struct inpcbtable *table = inp->inp_table;
sys/netinet/in_pcb.c
287
lastport = &table->inpt_lastlow;
sys/netinet/in_pcb.c
291
lastport = &table->inpt_lastport;
sys/netinet/in_pcb.c
369
struct inpcbtable *table = inp->inp_table;
sys/netinet/in_pcb.c
416
t6 = in6pcb_lookup_local(table, &mapped, sin->sin_port, wild, &vestige);
sys/netinet/in_pcb.c
428
t = inpcb_lookup_local(table, sin->sin_addr, sin->sin_port, 1, &vestige);
sys/netinet/in_pcb.c
450
t = inpcb_lookup_local(table, sin->sin_addr, sin->sin_port, wild, &vestige);
sys/netinet/in_pcb.c
463
LIST_INSERT_HEAD(INPCBHASH_PORT(table, inp->inp_lport), inp,
sys/netinet/in_pcb.c
769
inpcb_notify(struct inpcbtable *table, struct in_addr faddr, u_int fport_arg,
sys/netinet/in_pcb.c
782
head = INPCBHASH_CONNECT(table, faddr, fport, laddr, lport);
sys/netinet/in_pcb.c
799
inpcb_notifyall(struct inpcbtable *table, struct in_addr faddr, int errno,
sys/netinet/in_pcb.c
807
TAILQ_FOREACH(inp, &table->inpt_queue, inp_queue) {
sys/netinet/in_pcb.c
848
inpcb_purgeif0(struct inpcbtable *table, struct ifnet *ifp)
sys/netinet/in_pcb.c
852
TAILQ_FOREACH(inp, &table->inpt_queue, inp_queue) {
sys/netinet/in_pcb.c
872
inpcb_purgeif(struct inpcbtable *table, struct ifnet *ifp)
sys/netinet/in_pcb.c
877
TAILQ_FOREACH(inp, &table->inpt_queue, inp_queue) {
sys/netinet/in_pcb.c
954
inpcb_lookup_local(struct inpcbtable *table, struct in_addr laddr,
sys/netinet/in_pcb.c
967
head = INPCBHASH_PORT(table, lport);
sys/netinet/portalgo.c
157
struct inpcbtable * const table = inp->inp_table;
sys/netinet/portalgo.c
183
*lastport = table->inpt_lastlow;
sys/netinet/portalgo.c
188
*lastport = table->inpt_lastport;
sys/netinet/portalgo.c
200
*lastport = table->inpt_lastlow;
sys/netinet/portalgo.c
205
*lastport = table->inpt_lastport;
sys/netinet/portalgo.c
242
struct inpcbtable * const table = inp->inp_table;
sys/netinet/portalgo.c
264
pcb = inpcb_lookup_local(table, sin.sin_addr, htons(port), 1,
sys/netinet/portalgo.c
318
t = inpcb_lookup_local(table,
sys/netinet/portalgo.c
329
t = in6pcb_lookup_local(table, &sin6.sin6_addr,
sys/netinet/raw_ip.c
237
rip_pcbnotify(struct inpcbtable *table,
sys/netinet/raw_ip.c
245
TAILQ_FOREACH(inp, &table->inpt_queue, inp_queue) {
sys/netinet6/in6_pcb.c
1043
in6pcb_lookup(struct inpcbtable *table, const struct in6_addr *faddr6,
sys/netinet6/in6_pcb.c
1055
head = IN6PCBHASH_CONNECT(table, faddr6, fport, laddr6, lport);
sys/netinet6/in6_pcb.c
1079
if (vp && table->vestige) {
sys/netinet6/in6_pcb.c
1080
if ((*table->vestige->lookup6)(faddr6, fport_arg,
sys/netinet6/in6_pcb.c
1089
in6pcb_lookup_bound(struct inpcbtable *table, const struct in6_addr *laddr6,
sys/netinet6/in6_pcb.c
1099
head = IN6PCBHASH_BIND(table, laddr6, lport);
sys/netinet6/in6_pcb.c
112
#define IN6PCBHASH_PORT(table, lport) \
sys/netinet6/in6_pcb.c
1120
head = IN6PCBHASH_BIND(table, &zero_mapped, lport);
sys/netinet6/in6_pcb.c
113
&(table)->inpt_porthashtbl[ntohs(lport) & (table)->inpt_porthash]
sys/netinet6/in6_pcb.c
1138
head = IN6PCBHASH_BIND(table, &zeroin6_addr, lport);
sys/netinet6/in6_pcb.c
114
#define IN6PCBHASH_BIND(table, laddr, lport) \
sys/netinet6/in6_pcb.c
115
&(table)->inpt_bindhashtbl[ \
sys/netinet6/in6_pcb.c
118
(table)->inpt_bindhash]
sys/netinet6/in6_pcb.c
119
#define IN6PCBHASH_CONNECT(table, faddr, fport, laddr, lport) \
sys/netinet6/in6_pcb.c
120
&(table)->inpt_bindhashtbl[ \
sys/netinet6/in6_pcb.c
125
ntohs(lport))) & (table)->inpt_bindhash]
sys/netinet6/in6_pcb.c
133
in6pcb_init(struct inpcbtable *table, int bindhashsize, int connecthashsize)
sys/netinet6/in6_pcb.c
136
inpcb_init(table, bindhashsize, connecthashsize);
sys/netinet6/in6_pcb.c
137
table->inpt_lastport = (in_port_t)ip6_anonportmax;
sys/netinet6/in6_pcb.c
235
struct inpcbtable *table = inp->inp_table;
sys/netinet6/in6_pcb.c
279
t = inpcb_lookup_local(table,
sys/netinet6/in6_pcb.c
297
t = in6pcb_lookup_local(table, &sin6->sin6_addr,
sys/netinet6/in6_pcb.c
319
LIST_INSERT_HEAD(IN6PCBHASH_PORT(table, inp->inp_lport),
sys/netinet6/in6_pcb.c
602
in6pcb_notify(struct inpcbtable *table, const struct sockaddr *dst,
sys/netinet6/in6_pcb.c
645
TAILQ_FOREACH(inp, &table->inpt_queue, inp_queue) {
sys/netinet6/in6_pcb.c
748
in6pcb_purgeif0(struct inpcbtable *table, struct ifnet *ifp)
sys/netinet6/in6_pcb.c
756
TAILQ_FOREACH(inp, &table->inpt_queue, inp_queue) {
sys/netinet6/in6_pcb.c
798
in6pcb_purgeif(struct inpcbtable *table, struct ifnet *ifp)
sys/netinet6/in6_pcb.c
803
TAILQ_FOREACH(inp, &table->inpt_queue, inp_queue) {
sys/netinet6/in6_pcb.c
833
in6pcb_lookup_local(struct inpcbtable *table, struct in6_addr *laddr6,
sys/netinet6/in6_pcb.c
844
head = IN6PCBHASH_PORT(table, lport);
sys/netinet6/in6_pcb.c
913
if (vp && table->vestige && table->vestige->init_ports6) {
sys/netinet6/in6_pcb.c
918
state = (*table->vestige->init_ports6)(laddr6,
sys/netinet6/in6_pcb.c
921
while (table->vestige
sys/netinet6/in6_pcb.c
922
&& (*table->vestige->next_port6)(state, vp)) {
sys/netinet6/in6_src.c
847
struct inpcbtable *table = inp->inp_table;
sys/netinet6/in6_src.c
858
lastport = &table->inpt_lastlow;
sys/netinet6/in6_src.c
862
lastport = &table->inpt_lastport;
sys/opencrypto/cryptosoft_xform.c
585
uint8_t* table = (uint8_t*) &key_tables[10];
sys/opencrypto/cryptosoft_xform.c
589
key_tables[k] = table;
sys/opencrypto/cryptosoft_xform.c
590
table += 0x100;
sys/sys/syscall_stats.h
134
#define SYSCALL_TIME_SYS_ENTRY(l,table,code)
sys/sys/syscall_stats.h
144
#define SYSCALL_COUNT(table, code)
sys/sys/syscall_stats.h
44
#define SYSCALL_COUNT(table, code) ((table)[code]++)
sys/sys/syscall_stats.h
72
#define SYSCALL_TIME_SYS_ENTRY(l, table, code) do { \
sys/sys/syscall_stats.h
75
(l)->l_syscall_counter = (table) + (code); \
sys/uvm/pmap/pmap_devmap.c
68
pmap_devmap_register(const struct pmap_devmap *table)
sys/uvm/pmap/pmap_devmap.c
71
pd_table = table;
sys/uvm/pmap/pmap_devmap.c
80
pmap_devmap_bootstrap(vaddr_t root, const struct pmap_devmap *table)
sys/uvm/pmap/pmap_devmap.c
84
(uintptr_t)table, 0, 0);
sys/uvm/pmap/pmap_devmap.c
89
pd_table = table;
sys/uvm/pmap/pmap_devmap.c
91
for (size_t i = 0; table[i].pd_size != 0; i++) {
sys/uvm/pmap/pmap_devmap.c
92
const struct pmap_devmap * const pdp = &table[i];
tests/dev/audio/audiotest.c
4950
struct setinfo_mode_t *table = table_SETINFO_mode_##openmode; \
tests/dev/audio/audiotest.c
4951
int setmode = table[index].setmode; \
tests/dev/audio/audiotest.c
4953
? table[index].expmode7 \
tests/dev/audio/audiotest.c
4954
: table[index].expmode9; \
tests/dev/audio/audiotest.c
5005
struct setinfo_mode_t *table = (hw_fulldup()) \
tests/dev/audio/audiotest.c
5008
int setmode = table[index].setmode; \
tests/dev/audio/audiotest.c
5010
? table[index].expmode7 \
tests/dev/audio/audiotest.c
5011
: table[index].expmode9; \
tests/dev/audio/audiotest.c
5203
} table[] = {
tests/dev/audio/audiotest.c
5227
for (i = 0; i < (int)__arraycount(table); i++) {
tests/dev/audio/audiotest.c
5228
ch = table[i].ch;
tests/dev/audio/audiotest.c
5229
bool expected = table[i].expected;
tests/dev/audio/audiotest.c
5316
} table[] = {
tests/dev/audio/audiotest.c
5338
for (i = 0; i < (int)__arraycount(table); i++) {
tests/dev/audio/audiotest.c
5339
int freq = table[i].freq;
tests/dev/audio/audiotest.c
5340
bool expected = table[i].expected;
tests/lib/libc/stdlib/t_abs.c
101
} table[] = {
tests/lib/libc/stdlib/t_abs.c
112
for (size_t i = 0; i < __arraycount(table); i++)
tests/lib/libc/stdlib/t_abs.c
113
ATF_CHECK(labs(table[i].val) == table[i].res);
tests/lib/libc/stdlib/t_abs.c
127
} table[] = {
tests/lib/libc/stdlib/t_abs.c
141
for (size_t i = 0; i < __arraycount(table); i++)
tests/lib/libc/stdlib/t_abs.c
142
ATF_CHECK(llabs(table[i].val) == table[i].res);
tests/lib/libc/stdlib/t_abs.c
50
} table[] = {
tests/lib/libc/stdlib/t_abs.c
59
for (size_t i = 0; i < __arraycount(table); i++)
tests/lib/libc/stdlib/t_abs.c
60
ATF_CHECK(abs(table[i].val) == table[i].res);
tests/lib/libc/stdlib/t_abs.c
74
} table[] = {
tests/lib/libc/stdlib/t_abs.c
86
for (size_t i = 0; i < __arraycount(table); i++)
tests/lib/libc/stdlib/t_abs.c
87
ATF_CHECK(imaxabs(table[i].val) == table[i].res);
tests/lib/libcurses/director/testlang_parse.y
879
check_function_table(char *function, const char *const table[], int nfunctions)
tests/lib/libcurses/director/testlang_parse.y
884
if (strcmp(function, table[i]) == 0)
tests/lib/libm/t_ldexp.c
166
run_test(struct ldexp_test *table)
tests/lib/libm/t_ldexp.c
172
for (i = 0; table->result != NULL; table++, i++) {
tests/lib/libm/t_ldexp.c
174
v = ldexp(table->x, table->exp1);
tests/lib/libm/t_ldexp.c
176
if (table->exp2 != SKIP)
tests/lib/libm/t_ldexp.c
177
v = ldexp(v, table->exp2);
tests/lib/libm/t_ldexp.c
181
ATF_CHECK_STREQ_MSG(table->result, outbuf,
tests/lib/libm/t_ldexp.c
183
i, table->result, outbuf);
tests/usr.bin/indent/fmt_decl.c
608
HashTable /* of CachedDirListNode */ table;
usr.bin/getaddrinfo/support.c
100
const char *const *table, size_t n)
usr.bin/getaddrinfo/support.c
109
if ((table[i] != NULL) && (strcmp(string, table[i]) == 0)) {
usr.bin/mail/support.c
679
member(char *realfield, struct ignoretab *table)
usr.bin/mail/support.c
683
for (igp = table->i_head[hash(realfield)]; igp != 0; igp = igp->i_link)
usr.bin/make/dir.c
236
HashTable /* of CachedDirListNode */ table;
usr.bin/make/dir.c
348
HashTable_Init(&odirs->table);
usr.bin/make/dir.c
357
odirs->table.numEntries);
usr.bin/make/dir.c
367
HashTable_Done(&odirs->table);
usr.bin/make/dir.c
374
CachedDirListNode *ln = HashTable_FindValue(&odirs->table, name);
usr.bin/make/dir.c
381
if (HashTable_FindEntry(&odirs->table, cdir->name) != NULL)
usr.bin/make/dir.c
384
HashTable_Set(&odirs->table, cdir->name, odirs->list.last);
usr.bin/make/dir.c
390
HashEntry *he = HashTable_FindEntry(&odirs->table, name);
usr.bin/make/dir.c
395
HashTable_DeleteEntry(&odirs->table, he);
usr.bin/make/hash.c
313
HashTable *t = hi->table;
usr.bin/make/hash.h
125
hi->table = t;
usr.bin/make/hash.h
99
HashTable *table; /* Table being searched. */
usr.bin/mkcsmapper/yacc.y
254
table = (void *)malloc(table_size * dst_unit_bits / 8);
usr.bin/mkcsmapper/yacc.y
255
if (table == NULL) {
usr.bin/mkcsmapper/yacc.y
271
(*putfunc)(table, i, val);
usr.bin/mkcsmapper/yacc.y
388
_region_init(&data, table, table_size*dst_unit_bits/8);
usr.bin/mkcsmapper/yacc.y
591
(*putfunc)(table, ofs++, dst);
usr.bin/mkcsmapper/yacc.y
67
static void *table = NULL;
usr.bin/mklocale/yacc.y
131
| table
usr.bin/mklocale/yacc.y
135
table : entry
usr.bin/mklocale/yacc.y
136
| table entry
usr.bin/netstat/inet.c
277
struct inpcbtable table;
usr.bin/netstat/inet.c
294
kread(off, (char *)&table, sizeof table);
usr.bin/netstat/inet.c
295
head = &table.inpt_queue;
usr.bin/netstat/inet6.c
289
struct inpcbtable table;
usr.bin/netstat/inet6.c
302
kread(off, (char *)&table, sizeof (table));
usr.bin/netstat/inet6.c
303
head = &table.inpt_queue;
usr.bin/usbhidaction/usbhidaction.c
123
table = optarg;
usr.bin/usbhidaction/usbhidaction.c
140
hid_init(table);
usr.bin/usbhidaction/usbhidaction.c
97
const char *table = NULL;
usr.bin/usbhidctl/usbhid.c
1002
hid_init(table);
usr.bin/usbhidctl/usbhid.c
824
char const *table;
usr.bin/usbhidctl/usbhid.c
834
table = NULL;
usr.bin/usbhidctl/usbhid.c
853
table = optarg;
usr.bin/xlint/lint2/hash.c
108
hte->h_link = table[h];
usr.bin/xlint/lint2/hash.c
110
table[h] = hte;
usr.bin/xlint/lint2/hash.c
155
hte_t **table = htab;
usr.bin/xlint/lint2/hash.c
158
for (hte = table[i]; hte != NULL; hte = hte->h_link)
usr.bin/xlint/lint2/hash.c
170
hte_t **table = htab;
usr.bin/xlint/lint2/hash.c
173
for (hte = table[i]; hte != NULL; hte = hte->h_link)
usr.bin/xlint/lint2/hash.c
188
hash_free(hte_t **table)
usr.bin/xlint/lint2/hash.c
194
for (hte = table[i]; hte != NULL; hte = nexthte) {
usr.bin/xlint/lint2/hash.c
200
free(table);
usr.bin/xlint/lint2/hash.c
79
hash_search(hte_t **table, const char *s, bool mknew)
usr.bin/xlint/lint2/hash.c
84
if (table == NULL)
usr.bin/xlint/lint2/hash.c
85
table = htab;
usr.bin/xlint/lint2/hash.c
88
for (hte = table[h]; hte != NULL; hte = hte->h_link) {
usr.sbin/acpitools/acpidump/acpi.c
134
static void acpi_walk_subtables(ACPI_TABLE_HEADER *table, void *first,
usr.sbin/acpitools/acpidump/acpi.c
136
static void acpi_walk_nfit(ACPI_TABLE_HEADER *table, void *first,
usr.sbin/acpitools/acpidump/acpi.c
2431
acpi_walk_lpit(ACPI_TABLE_HEADER *table, void *first,
usr.sbin/acpitools/acpidump/acpi.c
2438
end = (char *)table + table->Length;
usr.sbin/acpitools/acpidump/acpi.c
858
acpi_walk_subtables(ACPI_TABLE_HEADER *table, void *first,
usr.sbin/acpitools/acpidump/acpi.c
865
end = (char *)table + table->Length;
usr.sbin/acpitools/acpidump/acpi.c
879
acpi_walk_nfit(ACPI_TABLE_HEADER *table, void *first,
usr.sbin/acpitools/acpidump/acpi.c
886
end = (char *)table + table->Length;
usr.sbin/bootp/common/hash.c
129
bucketptr = hashtable->table;
usr.sbin/bootp/common/hash.c
135
hashtable->member = (hashtable->table)[0];
usr.sbin/bootp/common/hash.c
186
memberptr = (hashtable->table)[hashcode % (hashtable->size)];
usr.sbin/bootp/common/hash.c
223
temp->next = (hashtable->table)[hashcode];
usr.sbin/bootp/common/hash.c
224
(hashtable->table)[hashcode] = temp;
usr.sbin/bootp/common/hash.c
252
memberptr = (hashtable->table)[hashcode];
usr.sbin/bootp/common/hash.c
254
(hashtable->table)[hashcode] = memberptr->next;
usr.sbin/bootp/common/hash.c
260
memberptr = (hashtable->table)[hashcode];
usr.sbin/bootp/common/hash.c
304
memberptr = (hashtable->table)[hashcode % (hashtable->size)];
usr.sbin/bootp/common/hash.c
340
!(memberptr = (hashtable->table)[bucket])) {
usr.sbin/bootp/common/hash.c
352
hashtable->member = (hashtable->table)[0];
usr.sbin/bootp/common/hash.c
376
hashtable->member = (hashtable->table)[0];
usr.sbin/bootp/common/hash.c
88
hashtblptr->member = (hashtblptr->table)[0];
usr.sbin/bootp/common/hash.h
117
hash_member *table[1]; /* Dynamically extended */
usr.sbin/makefs/ffs/ffs_alloc.c
546
scanc(u_int size, const u_char *cp, const u_char table[], int mask)
usr.sbin/makefs/ffs/ffs_alloc.c
550
while (cp < end && (table[*cp] & mask) == 0)
usr.sbin/mtree/only.c
101
e->next = table[h];
usr.sbin/mtree/only.c
102
table[h] = e;
usr.sbin/mtree/only.c
62
static struct hentry *table[1024];
usr.sbin/mtree/only.c
80
*h = hash_str(str) % __arraycount(table);
usr.sbin/mtree/only.c
82
for (e = table[*h]; e; e = e->next)
usr.sbin/npf/npfctl/npf_parse.y
247
| table
usr.sbin/npf/npfctl/npf_parse.y
362
table
usr.sbin/sunlabel/sunlabel.c
1023
unsigned char table[2 * NPART][NPART];
usr.sbin/sunlabel/sunlabel.c
1075
table[j][i] = 1;
usr.sbin/sunlabel/sunlabel.c
1077
table[j][i] = 0;
usr.sbin/sunlabel/sunlabel.c
1110
if (table[k][i] && table[k][j])
usr.sbin/sunlabel/sunlabel.c
1137
if (table[k][j]) {
usr.sbin/tadpolectl/tadpolectl.c
152
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
166
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
177
table[num].value = req.rspbuf[0]&0x01 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
189
table[num].value = req.rspbuf[0]&0x01 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
200
table[num].value = req.rspbuf[0]&0x02 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
212
table[num].value = req.rspbuf[0]&0x02 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
223
table[num].value = req.rspbuf[0]&0x04 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
235
table[num].value = req.rspbuf[0]&0x04 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
246
table[num].value = req.rspbuf[0]&0x08 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
258
table[num].value = req.rspbuf[0]&0x08 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
269
table[num].value = req.rspbuf[0]&0x10 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
281
table[num].value = req.rspbuf[0]&0x10 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
290
table[num].value = 0;
usr.sbin/tadpolectl/tadpolectl.c
304
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
318
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
329
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
343
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
351
table[num].value = 0;
usr.sbin/tadpolectl/tadpolectl.c
367
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
381
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
392
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
406
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
417
table[num].value = req.rspbuf[0]&0x02 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
429
table[num].value = req.rspbuf[0]&0x02 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
440
table[num].value = req.rspbuf[0]&0x04 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
452
table[num].value = req.rspbuf[0]&0x04 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
463
table[num].value = req.rspbuf[0]&0x10 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
475
table[num].value = req.rspbuf[0]&0x10 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
488
table[num].value = i&0x0040 ? 0 : 1;
usr.sbin/tadpolectl/tadpolectl.c
501
table[num].value = i&0x0008 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
512
table[num].value = req.rspbuf[0] == 0xfb ? 0 : req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
524
table[num].value = req.rspbuf[0] == 0xfb ? 0 : req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
533
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
539
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
548
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
554
table[num].value = req.rspbuf[0];
usr.sbin/tadpolectl/tadpolectl.c
567
table[num].value = i&0x0004 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
580
table[num].value = i&0x0002 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
593
table[num].value = i&0x0001 ? 1 : 0;
usr.sbin/tadpolectl/tadpolectl.c
604
table[num].value = (req.rspbuf[0]<<24)+(req.rspbuf[1]<<16)+
usr.sbin/tadpolectl/tadpolectl.c
616
table[num].value = (req.rspbuf[0]<<24)+(req.rspbuf[1]<<16)+
usr.sbin/tadpolectl/tadpolectl.c
631
table[num].value = atoi(strdup(buf));
usr.sbin/tadpolectl/tadpolectl.c
646
table[num].value = atoi(strdup(buf));
usr.sbin/tadpolectl/tadpolectl.c
661
table[num].value = pwrreq.state;
usr.sbin/tadpolectl/tadpolectl.c
695
if (strcmp(string, table[j].mib) == 0) {
usr.sbin/tadpolectl/tadpolectl.c
704
ret = (*table[i].funcptr)(0, newval, i);
usr.sbin/tadpolectl/tadpolectl.c
708
ret = (*table[i].funcptr)(1, 0, i);
usr.sbin/tadpolectl/tadpolectl.c
710
printf("%d\n", table[i].value);
usr.sbin/tadpolectl/tadpolectl.c
712
printf("%s = %d\n", dashdot(table[i].mib), table[i].value);
usr.sbin/tadpolectl/tadpolectl.c
762
(void)(*table[j].funcptr)(1, 0, j);
usr.sbin/tadpolectl/tadpolectl.c
764
printf("%d\n", table[j].value);
usr.sbin/tadpolectl/tadpolectl.c
766
printf("%s = %d\n", dashdot(table[j].mib),
usr.sbin/tadpolectl/tadpolectl.c
767
table[j].value);
usr.sbin/tadpolectl/tadpolectl.c
90
} table[NUM_MIBS] = {
usr.sbin/tcpdchk/tcpdchk.c
209
parse_table(const char *table, struct request_info *request)
usr.sbin/tcpdchk/tcpdchk.c
221
if ((fp = fopen(table, "r")) != NULL) {
usr.sbin/tcpdchk/tcpdchk.c
222
tcpd_context.file = table;
usr.sbin/tcpdchk/tcpdchk.c
275
tcpd_warn("cannot open %s: %m", table);
usr.sbin/tprof/arch/tprof_x86.c
104
struct event_table *table;
usr.sbin/tprof/arch/tprof_x86.c
115
table = &intel_arch1;
usr.sbin/tprof/arch/tprof_x86.c
116
for (i = 0; i < table->nevents; i++) {
usr.sbin/tprof/arch/tprof_x86.c
123
table->names[i].enabled = false;
usr.sbin/tprof/arch/tprof_x86.c
125
table->names[i].enabled = false;
usr.sbin/tprof/arch/tprof_x86.c
128
return table;
usr.sbin/tprof/arch/tprof_x86.c
1336
recursive_event_list(struct event_table *table)
usr.sbin/tprof/arch/tprof_x86.c
1340
printf("%s:\n", table->tablename);
usr.sbin/tprof/arch/tprof_x86.c
1341
for (i = 0; i < table->nevents; i++) {
usr.sbin/tprof/arch/tprof_x86.c
1342
if (!table->names[i].enabled)
usr.sbin/tprof/arch/tprof_x86.c
1344
printf("\t%s\n", table->names[i].name);
usr.sbin/tprof/arch/tprof_x86.c
1347
if (table->next != NULL)
usr.sbin/tprof/arch/tprof_x86.c
1348
recursive_event_list(table->next);
usr.sbin/tprof/arch/tprof_x86.c
1359
recursive_event_lookup(struct event_table *table, const char *name,
usr.sbin/tprof/arch/tprof_x86.c
1364
for (i = 0; i < table->nevents; i++) {
usr.sbin/tprof/arch/tprof_x86.c
1365
if (!table->names[i].enabled)
usr.sbin/tprof/arch/tprof_x86.c
1367
if (!strcmp(table->names[i].name, name)) {
usr.sbin/tprof/arch/tprof_x86.c
1368
param->p_event = table->names[i].event;
usr.sbin/tprof/arch/tprof_x86.c
1369
param->p_unit = table->names[i].unit;
usr.sbin/tprof/arch/tprof_x86.c
1374
if (table->next != NULL)
usr.sbin/tprof/arch/tprof_x86.c
1375
recursive_event_lookup(table->next, name, param);
usr.sbin/tprof/arch/tprof_x86.c
800
struct event_table *table;
usr.sbin/tprof/arch/tprof_x86.c
807
table = init_intel_arch1();
usr.sbin/tprof/arch/tprof_x86.c
827
table->next = init_intel_silvermont_airmont();
usr.sbin/tprof/arch/tprof_x86.c
831
table->next = init_intel_goldmont();
usr.sbin/tprof/arch/tprof_x86.c
834
table->next = init_intel_goldmontplus();
usr.sbin/tprof/arch/tprof_x86.c
842
table->next = init_intel_skylake_kabylake();
usr.sbin/tprof/arch/tprof_x86.c
848
table->next = init_intel_skylake_x();
usr.sbin/tprof/arch/tprof_x86.c
850
table->next = init_intel_cascadelake();
usr.sbin/tprof/arch/tprof_x86.c
856
return table;
usr.sbin/usbdevs/usbdevs.c
189
getstrings(const struct stringtable *table, int row, int col,
usr.sbin/usbdevs/usbdevs.c
200
while (table->string != NULL) {
usr.sbin/usbdevs/usbdevs.c
201
if (table->row == row) {
usr.sbin/usbdevs/usbdevs.c
202
if (table->col == -1)
usr.sbin/usbdevs/usbdevs.c
203
*rp = table->string;
usr.sbin/usbdevs/usbdevs.c
204
else if (table->col == col)
usr.sbin/usbdevs/usbdevs.c
205
*cp = table->string;
usr.sbin/usbdevs/usbdevs.c
206
} else if (table->row > row)
usr.sbin/usbdevs/usbdevs.c
209
++table;
usr.sbin/wiconfig/wiconfig.c
597
wi_optlookup(struct wi_table *table, int opt)
usr.sbin/wiconfig/wiconfig.c
601
for (wt = table; wt->wi_type != 0; wt++)
usr.sbin/wiconfig/wiconfig.c
794
struct wi_table *wt, **table;
usr.sbin/wiconfig/wiconfig.c
825
for (table = wi_tables; *table != NULL; table++)
usr.sbin/wiconfig/wiconfig.c
826
if ((wt = wi_optlookup(*table, ch)) != NULL) {
usr.sbin/wiconfig/wiconfig.c
857
for (table = wi_tables; *table != NULL; table++)
usr.sbin/wiconfig/wiconfig.c
858
for (wt = *table; wt->wi_code != WI_NONE; wt++)
usr.sbin/ypserv/revnetgroup/hash.c
124
lookup(struct group_entry **table, const char *key)
usr.sbin/ypserv/revnetgroup/hash.c
128
cur = table[hashkey(key)];
usr.sbin/ypserv/revnetgroup/hash.c
157
store(struct group_entry *table[], const char *key, const char *data)
usr.sbin/ypserv/revnetgroup/hash.c
167
new->next = table[i];
usr.sbin/ypserv/revnetgroup/hash.c
168
table[i] = new;
usr.sbin/ypserv/revnetgroup/hash.c
186
mstore(struct member_entry *table[], const char *key, const char *data,
usr.sbin/ypserv/revnetgroup/hash.c
194
cur = table[i];
usr.sbin/ypserv/revnetgroup/hash.c
224
new->next = table[i];
usr.sbin/ypserv/revnetgroup/hash.c
225
table[i] = new;