Searched refs:table (Results 1 - 25 of 369) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios_test_errors.c24 smbios_test_badvers_mktable(smbios_test_table_t *table) argument
26 smbios_test_table_append_eot(table);
H A Dsmbios.c40 smbios_test_table_t *table; local
46 table = umem_zalloc(sizeof (smbios_test_table_t), UMEM_DEFAULT);
47 if (table == NULL) {
51 table->stt_data = umem_zalloc(SMBIOS_TEST_ALLOC_SIZE, UMEM_DEFAULT);
52 if (table->stt_data == NULL) {
53 umem_free(table, sizeof (smbios_test_table_t));
56 table->stt_buflen = SMBIOS_TEST_ALLOC_SIZE;
57 table->stt_type = type;
58 table->stt_version = version;
59 table
65 smbios_test_table_append_common(smbios_test_table_t *table, const void *buf, size_t len) argument
101 smbios_test_table_append_raw(smbios_test_table_t *table, const void *buf, size_t len) argument
108 smbios_test_table_append_string(smbios_test_table_t *table, const char *str) argument
115 smbios_test_table_append(smbios_test_table_t *table, const void *buf, size_t len) argument
132 smbios_test_table_append_eot(smbios_test_table_t *table) argument
167 smbios_test_table_snapshot(smbios_test_table_t *table, smbios_entry_t **entryp, void **bufp, size_t *lenp) argument
201 smbios_test_table_fini(smbios_test_table_t *table) argument
324 smbios_test_table_t *table = NULL; local
[all...]
/illumos-gate/usr/src/cmd/ipf/examples/
H A Dpool.conf5 table role = ipf type = tree number = 0
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_hashitem.c47 * The hash table routines below implement nested (or recursive)
63 __nis_init_hash_table(__nis_hash_table_mt *table, argument
68 if (table != 0) {
69 errorcode = pthread_mutex_init(&table->lock, 0);
72 "(table->lock) pthread_mutex_init returned %d (%s)",
76 errorcode = pthread_cond_init(&table->cond, 0);
79 "(table->cond) pthread_cond_init returned %d (%s)",
83 errorcode = pthread_mutex_init(&table->traverser_id_lock, 0);
86 "(table->traverser_id_lock) "
91 table
100 __nis_lock_hash_table(__nis_hash_table_mt *table, int traverse, char *msg) argument
174 __nis_ulock_hash_table(__nis_hash_table_mt *table, int traverse, char *msg) argument
232 __find_item_mt(nis_name name, __nis_hash_table_mt *table, int *keyp) argument
269 __nis_insert_item_mt(void *arg, __nis_hash_table_mt *table, int readwrite) argument
312 __nis_insert_name_mt(nis_name name, __nis_hash_table_mt *table) argument
347 __nis_find_item_mt(nis_name name, __nis_hash_table_mt *table, int readwrite, int *trylock) argument
407 __nis_pop_item_mt(__nis_hash_table_mt *table) argument
500 __nis_remove_item_mt(nis_name name, __nis_hash_table_mt *table) argument
581 __nis_release_item(void *arg, __nis_hash_table_mt *table, int readwrite) argument
673 __nis_scan_table_mt( __nis_hash_table_mt *table, bool_t (*func)(__nis_hash_item_mt *, void *), void *funcarg) argument
[all...]
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dinit.c53 const sunFm_table_t *table; local
55 for (table = sun_fm_tables; table->t_name != NULL; table++) {
56 int err = table->t_init();
60 DEBUGMSGTL((MODNAME_STR, "registered table %s\n",
61 table->t_name));
65 ": table %s initialization failed: duplicate "
66 "registration\n", table->t_name);
70 ": table
[all...]
/illumos-gate/usr/src/cmd/spell/
H A Dhash.h32 #define ND ((25750/2) * sizeof (*table))
35 extern unsigned *table;
36 extern int index[]; /* into dif table based on hi hash bits */
H A Dhashcheck.c42 unsigned *table; variable
59 y |= (long)table[tp++] << empty;
62 y |= table[tp]>>i-empty;
91 table = (unsigned *)malloc(hindex[NI-1]*sizeof (*table));
92 (void) fread((char *)table, sizeof (*table), hindex[NI-1], stdin);
H A Dhashlook.c37 unsigned *table; variable
63 wp = &table[hindex[t]];
64 tp = &table[hindex[t+1]];
124 (table = (unsigned *)malloc(hindex[NI-1] * sizeof (*table))) == 0 ||
125 read(fileno(f), (char *)table, sizeof (*table) * hindex[NI-1]) !=
126 hindex[NI-1] * sizeof (*table))
137 (table = (unsigned *)malloc(hindex[NI-1] * sizeof (*table)))
[all...]
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dba_table.c32 /* Implementation file for behavior aggregate (BA) lookup table */
37 * inserts filter_id into element list of bataid->table->masked_values
40 * bataid->table->masked_values[val], an error message is printed if this
48 ba_table_t *table = &bataid->table; local
60 if (ipgpc_list_insert(&table->masked_values[mskd_val].filter_list,
66 (void) ipgpc_list_insert(&table->masks, mask);
68 ++table->masked_values[mskd_val].info;
77 * searches for all filters matching value in bataid->table
78 * search is performed by appling each mask in bataid->table
91 ba_table_t *table = &bataid->table; local
134 ba_table_t *table = &bataid->table; local
[all...]
H A Dtable.c31 /* table structure used for exact-match classification of selectors */
52 * inserts id into table with filter_id as the value
62 hash_table table = taid->table; local
75 if (((table[x].key == key) && (table[x].info == 1)) ||
76 (table[x].info == 0)) {
77 table[x].key = key;
78 table[x].info = 1;
79 (void) ipgpc_list_insert(&table[
126 ht_search(hash_table table, int key) argument
159 hash_table table = taid->table; local
200 hash_table table = taid->table; local
[all...]
/illumos-gate/usr/src/cmd/tbl/
H A Dt9.c26 for(useln=0; useln<MAXLIN && table[useln]==0; useln++);
28 error(gettext("Weird. No data in table."));
29 table[0]=table[useln];
32 error(gettext("Weird. No real lines in table."));
61 table[0][icol].col = dataln;
62 table[0][icol].rcol=0;
69 table[0][icol].rcol = maknew(table[0][icol].col);
72 table[
[all...]
H A Dt5.c17 /* t5.c: read data for table */
63 table[nlin] = (struct colstr *) alocv((ncol+2)*sizeof(table[0][0]));
74 table[nlin][icol].col = cstore;
75 table[nlin][icol].rcol=0;
79 table[nlin][icol].col =
91 table[nlin][icol].rcol =
92 (char *)maknew(table[nlin][icol].col);
95 table[nlin][icol].rcol = table[nli
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_db.c49 * t_lowat - integer percentage of table entries /etc/system only
50 * t_hiwat - integer percentage of table entries /etc/system only
51 * t_lreap - integer percentage of table reap time mdb or /etc/system
52 * t_hreap - integer percentage of table reap time mdb or /etc/system
56 time_t t_lreap = 50; /* default to 50% of table's reap interval */
57 time_t t_hreap = 10; /* default to 10% of table's reap interval */
189 rfs4_table_t *table = private; local
213 * Each table will be marked as "shutdown" and the reaper threads
221 rfs4_table_t *table; local
224 for (table
309 rfs4_table_t *table; local
376 rfs4_table_destroy(rfs4_database_t *db, rfs4_table_t *table) argument
417 rfs4_index_create(rfs4_table_t *table, char *keyname, uint32_t (*hash)(void *), bool_t (compare)(rfs4_entry_t, void *), void *(*mkkey)(rfs4_entry_t), bool_t createable) argument
472 rfs4_table_t *table = entry->dbe_table; local
515 rfs4_dbe_create(rfs4_table_t *table, id_t id, rfs4_entry_t data) argument
565 rfs4_dbe_tabreap_adjust(rfs4_table_t *table) argument
600 rfs4_table_t *table = idx->dbi_table; local
737 rfs4_table_t *table = nsrv4->rfs4_client_tab; local
778 rfs4_dbe_walk(rfs4_table_t *table, void (*callout)(rfs4_entry_t, void *), void *data) argument
809 rfs4_dbe_reap(rfs4_table_t *table, time_t cache_time, uint32_t desired) argument
899 rfs4_table_t *table = (rfs4_table_t *)arg; local
933 rfs4_start_reaper(rfs4_table_t *table) argument
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_biggest.c48 insertn(nsc_keephot_t *table, uint_t n, void *data) argument
53 if (n < 1 || table[1].num > n) {
57 size = table[0].num;
58 if (table[size].num < n) /* biggest so far */
65 if (table[guess].num == n)
67 if (table[guess].num > n)
76 olddata = table[1].ptr;
77 (void) memmove(table + 1, table + 2,
79 table[gues
[all...]
/illumos-gate/usr/src/lib/krb5/ss/
H A Dinvocation.c27 register ss_data **table; local
30 table = _ss_table;
33 if (table == (ss_data **) NULL) {
34 table = (ss_data **) malloc(2 * size);
35 table[0] = table[1] = (ss_data *)NULL;
38 for (sci_idx = 1; table[sci_idx] != (ss_data *)NULL; sci_idx++)
40 table = (ss_data **) realloc((char *)table,
42 table[sci_id
[all...]
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_mmu.c57 * Return the index corresponding to a virt address at a given page table level.
66 * Return a pointer to the page table entry that maps a virtual address.
67 * If there is no page table and probe_only is not set, one is created.
74 paddr_t table; local
87 table = top_page_table;
93 pteval = get_pteval(table, index);
99 table = ma_to_pa(pteval & MMU_PAGEMASK);
100 if (table == -1) {
112 set_pteval(table, index, l, pteval);
114 table
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dpart.c241 /* Check CRC only when buffer size is enough for table. */
244 DPRINTF("GPT table's CRC doesn't match");
260 ptable_gptread(struct ptable *table, void *dev, diskread_t dread) argument
270 buf = malloc(table->sectorsize);
273 tbl = malloc(table->sectorsize * MAXTBLSZ);
280 ptable_close(table);
281 table = NULL;
286 phdr = gpt_checkhdr((struct gpt_hdr *)buf, 1, table->sectors - 1,
287 table->sectorsize);
289 /* Read the primary GPT table
413 ptable_ebrread(struct ptable *table, void *dev, diskread_t dread) argument
491 ptable_bsdread(struct ptable *table, void *dev, diskread_t dread) argument
573 ptable_vtoc8read(struct ptable *table, void *dev, diskread_t dread) argument
661 ptable_dklabelread(struct ptable *table, void *dev, diskread_t dread) argument
723 ptable_iso9660read(struct ptable *table, void *dev, diskread_t dread) argument
763 struct ptable *table; local
899 ptable_close(struct ptable *table) argument
915 ptable_gettype(const struct ptable *table) argument
922 ptable_getsize(const struct ptable *table, uint64_t *sizep) argument
935 ptable_getpart(const struct ptable *table, struct ptable_entry *part, int idx) argument
970 ptable_getbestpart(const struct ptable *table, struct ptable_entry *part) argument
1032 ptable_iterate(const struct ptable *table, void *arg, ptable_iterate_t *iter) argument
[all...]
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/
H A DMakefile.com39 maz%wi2.c maz%win2.c orig%646de%8859.c table.8859-1.IBM-500.c table.IBM-500.8859-1.c table.alt.iso.c table.alt.koi.c \
40 table.alt.mac.c table.alt.win.c table.dhn.ib2.c table.dhn.is2.c table.dhn.maz.c table
[all...]
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/gentbl/
H A DMakefile143 TABLES = table.8859-1.IBM-500.c table.IBM-500.8859-1.c table.alt.iso.c table.alt.koi.c \
144 table.alt.mac.c table.alt.win.c table.dhn.ib2.c table.dhn.is2.c table.dhn.maz.c table
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/et/
H A Derror_table.h18 /*@dependent@*//*@null@*/ const struct error_table *table; member in struct:et_list
23 /*@dependent@*/ const struct error_table *table; member in struct:dynamic_et_list
26 #define ERRCODE_RANGE 8 /* # of bits to shift table number */
28 #define ERRCODE_MAX 0xFFFFFFFFUL /* Mask for maximum error table */
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_rcm.c33 #define MAX_FORMAT 80 /* for info table */
93 DPRINTF("ib_rcm_offline: table = %s\n", *errstring);
243 * table - table to be printed
250 * and appends the rcm_info_t data in the form of a table to the
254 ib_rcm_info_table(rcm_info_t *rinfo, char **table) argument
273 if (rinfo == NULL || table == NULL) {
277 /* Set localized table header strings */
317 /* Allocate space for the table */
319 if (*table
[all...]
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dtable.c31 #include "table.h"
36 * Hash table manager. Store/lookup strings, keyed by string
40 * Generate the key into the table using the first two letters
41 * of "str". The table is alphabetized, with no distinction between
65 store(table, key, datum)
66 stringtable table;
74 cur = table[index];
80 table[index] = new;
85 lookup(table, key)
86 stringtable table;
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Dhash.c58 static struct node **table; variable in typeref:struct:node
71 table = (struct node **)alloc(TABLENGTH * sizeof(struct node *));
75 table[j] = 0;
98 p = table[j];
121 if(table[i] == 0)
123 last = &table[i];
129 q = &table[i];
130 p = table[i];
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_rcm.c33 #define MAX_FORMAT 80 /* for info table */
182 * and appends the rcm_info_t data in the form of a table to the
186 sata_rcm_info_table(rcm_info_t *rinfo, char **table) argument
203 if (rinfo == NULL || table == NULL) {
207 /* Set localized table header strings */
248 /* Allocate space for the table */
250 if (*table == NULL) {
252 *table = calloc(table_size, sizeof (char));
253 if (*table == NULL) {
257 newtable = realloc(*table, strle
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_rcm.c33 #define MAX_FORMAT 80 /* for info table */
83 DPRINTF("usb_rcm_offline: table = %s\n", *errstring);
202 * and appends the rcm_info_t data in the form of a table to the
206 usb_rcm_info_table(rcm_info_t *rinfo, char **table) argument
225 if (rinfo == NULL || table == NULL) {
229 /* Set localized table header strings */
270 /* Allocate space for the table */
272 if (*table == NULL) {
274 *table = calloc(table_size, sizeof (char));
275 if (*table
[all...]

Completed in 263 milliseconds

1234567891011>>