Searched defs:table (Results 51 - 75 of 192) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libtecla/common/
H A Dkeytab.c47 * When allocating or reallocating the key-binding table, how
53 * Define the size of the hash table that is used to associate action
59 * Define a binary-symbol-table object.
63 int size; /* The allocated dimension of table[] */
64 int nkey; /* The current number of members in the table */
65 KeySym *table; /* The table of lexically sorted key sequences */ member in struct:KeyTab
66 HashTable *actions; /* The hash table of actions */
83 * Create a new key-binding symbol table.
107 kt->table
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index.cc75 /* Get rid of table and all associated entries, and reset counters */
83 /* Add sanity test in case table was corrupted */
85 for (i = 0; i < table_size; i++) { // go through table
95 delete tab; // get rid of table itself
116 /* Returns the next size to use for the hash table */
139 * Old table is deleted after the relocation.
158 "wu db_index::grow: table size exceeds calloc limit");
159 FATAL("db_index::grow: table size exceeds calloc limit",
166 tab = oldtab; // restore previous table info
190 db_table *table, bool_
189 lookup(item *index_value, long *how_many_found, db_table *table, bool_t checkTTL) argument
[all...]
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/libbc/libc/gen/common/
H A D_times_power.c97 unsigned short productsize, trailing_zeros_to_delete, needed_precision, *pp, *table[3], max[3], *start[3], *lz[3], tablepower[3]; local
115 table[0] = _tiny_powers_two;
116 table[1] = _small_powers_two;
117 table[2] = _big_powers_two;
134 table[0] = _tiny_powers_ten;
135 table[1] = _small_powers_ten;
136 table[2] = _big_powers_ten;
225 printf("+ %d * ", (table[i])[id + (start[i])[tablepower[i]]]);
250 _multiply_base_two(pbf, (_BIG_FLOAT_DIGIT) ((table[i])[tablepower[i]]), (unsigned long) 0);
260 _copy_big_float_digits(pbf->bsignificand, (unsigned short *) &((table[
[all...]
/illumos-gate/usr/src/lib/libc/port/fp/
H A D__x_power.c243 unsigned short *pp, *table[3], canquit; local
273 * Set up pointers to the table entries and compute their
297 table[0] = (unsigned short *)__tbl_2_small_digits + pp[0];
300 table[1] = (unsigned short *)__tbl_2_big_digits + pp[0];
303 table[2] = (unsigned short *)__tbl_2_huge_digits + pp[0];
338 table[0] = (unsigned short *)__tbl_10_small_digits + pp[0];
341 table[1] = (unsigned short *)__tbl_10_big_digits + pp[0];
344 table[2] = (unsigned short *)__tbl_10_huge_digits + pp[0];
388 __multiply_base_two(pbf, (table[i])[0]);
397 (void) memcpy(pbf->bsignificand, table[
[all...]
/illumos-gate/usr/src/cmd/units/
H A Dunits.c31 struct table struct
36 } table[NTAB]; variable in typeref:struct:table
80 struct table *hash(char *name);
112 printf(gettext("no table\n"));
246 struct table *q;
312 struct table *tp, *lp;
337 for(tp = &table[0]; tp < &table[NTAB]; tp++) {
479 struct table *
482 struct table *t
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rcm.c344 * Queries RCM information for resources, and formats it into a table.
345 * The table is appended to the info argument. If the info argument is a
478 * the rcm_info_t data in the form of a table to the given character pointer.
481 fp_rcm_info_table(rcm_info_t *rinfo, char **table) argument
498 if (rinfo == NULL || table == NULL)
501 /* Set localized table header strings */
538 /* Allocate space for the table */
540 if (*table == NULL)
541 *table = malloc(table_size);
543 newtable = realloc(*table, strle
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfc_led_parse.c73 * The table below is used to lookup .conf file keywords to yield either
76 static lookup_t table[] = { variable
101 * length of longest string in table (with space for null terminator)
105 static const int tab_len = (sizeof (table))/sizeof (table[0]);
156 if ((strncasecmp(token_start, table[i].tok_str,
157 toklen) == 0) && (table[i].tok_str[toklen] == '\0')) {
158 *fun = table[i].action;
159 return (table[i].tok);
/illumos-gate/usr/src/cmd/prstat/
H A Dprtable.c115 if (tbl->n_nent) { /* do linear search if table is not empty */
120 return (1); /* if table is empty return true */
127 add_element(table_t *table, long element) argument
129 if (table->t_size == table->t_nent) {
130 if ((table->t_size *= 2) == 0)
131 table->t_size = 4;
132 table->t_list = Realloc(table->t_list,
133 table
139 has_element(table_t *table, long element) argument
155 foreach_element(table_t *table, void *buf, void (*walker)(long, void *)) argument
[all...]
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_rcm.c40 * Define structures for a path-to-usage lookup table.
70 info_table_t *table; member in struct:__anon645
83 static void free_table(info_table_t *table, size_t table_len);
164 * Free a table of RCM resource names.
323 * First a lookup table is built to map lists of RCM usage to
325 * the lookup table is used for each node to find matching
332 info_table_t *table; local
336 /* Build a lookup table, mapping paths to usage information */
337 if ((rv = build_table(info, &table, &table_len)) != 0) {
338 log_err("Cannot build RCM lookup table (
522 info_table_t *table; local
630 free_table(info_table_t *table, size_t table_len) argument
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c883 iphtable_t table; local
894 iter.ili_data = &table;
904 printhash_live(&table, fd, poolname, opts);
906 htstp->iphs_tables = table.iph_next;
/illumos-gate/usr/src/cmd/tbl/
H A Dt0.c38 struct colstr *table[MAXLIN]; variable in typeref:struct:colstr
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_asp.c56 * This table is ordered such that longest prefix matches are hit first
81 * The IPv6 Default Address Selection policy table.
82 * Until someone up above reconfigures the policy table, use the global
83 * default. The table needs no lock since the only way to alter it is
92 /* Initialize the table lock */
113 * Return false if the table is being updated. Else, increment the ref
185 * saved update to the table, if any.
200 * Since the table is only anticipated to have five or six entries
233 * If we had deferred updating the table because of outstanding references,
240 ip6_asp_t *table; local
[all...]
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_subr.c37 * hashtable dynamically grows if the number of vnodes in the table as a
38 * whole exceeds the size of the table left-shifted by
61 * Due to the hashing algorithm, the size of the hash table needs to be a
127 * the correct table), so we hash to the wrong bucket, grab the wrong
129 * again. If both the size and the table changed since we loaded them,
133 * locks in the table, hence the unlocking code (TABLE_LOCK_EXIT())
134 * doesn't need to do any dances, since neither the table nor the size
212 struct lobucket *table; local
218 table = li->li_hashtable;
220 mutex_destroy(&table[
497 lretire(struct loinfo *li, struct lobucket *table, uint_t size) argument
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_trace.c67 static int _sd_set_adump(int cd, int flag, _sdtr_table_t *table);
110 "sdbc(_sdbc_tr_load) cannot allocate trace table");
214 * Build a ALERT trace entry and place it into the trace table.
236 * no device trace buffer -- use SDT_INV_CD table?
245 * no device trace buffer -- use SDT_INV_CD table?
292 * Build a trace entry and place it into the trace table.
306 * no device trace buffer -- use SDT_INV_CD table?
401 * SD_LOGSIZE: table.tt_max (size for future opens)
402 * SD_SET_LBOLT: table.tt_lbolt
403 * SD_SET_MASK: table
417 _sdtr_table_t *table; member in struct:a
570 _sd_set_adump(int cd, int flag, _sdtr_table_t *table) argument
[all...]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_hash.c38 * Provides a generic hash table with chaining.
52 * A hash table element
62 * The hash table
68 DAPL_HASH_ELEM *table; member in struct:dapl_hash_table
75 * the number of entries in the whole hash table, as
77 * ignores empty buckets, giving us data on overall table
83 uint64_t hash_tbl_max; /* max in entire table */
84 uint64_t hash_tbl_total; /* total in table */
99 /* datum value in empty table slots (use 0UL or ~0UL as appropriate) */
107 &((p_table)->table)[DAPL_DOHAS
[all...]
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ko/
H A Dkiconv_ko.c53 size_t *ret_val, kiconv_table_array_t *table, size_t nitems);
467 kiconv_table_t *table, size_t nitems)
488 index = kiconv_binsearch(utf8, table, nitems);
489 kocode = table[index].value;
538 kiconv_table_array_t *table, size_t nitems)
557 index = kiconv_binsearch(ko_val, table, nitems);
558 u8 = table[index].u8;
466 utf8_to_ko(uint32_t utf8, uchar_t *ob, uchar_t *obtail, size_t *ret_val, kiconv_table_t *table, size_t nitems) argument
537 ko_to_utf8(uint32_t ko_val, uchar_t *ob, uchar_t *obtail, size_t *ret_val, kiconv_table_array_t *table, size_t nitems) argument
/illumos-gate/usr/src/lib/krb5/ss/
H A Dlisten.c67 ss_request_table **table; local
74 for (table = info->rqt_tables; *table; table++) {
75 for (request = (*table)->requests;
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dkboot_mmu.c60 * Page table and memory stuff.
69 int kbm_pae_support = 0; /* PAE is 64 bit Page table entries */
70 int kbm_pge_support = 0; /* PGE is Page table global bit enabled */
80 * Initialize memory management parameters for boot time page table management
127 * Change the addressible page table window to point at a given page
175 * try update_va_mapping first - fails if page table is missing.
218 * try update_va_mapping first - fails if page table is missing.
295 * If this entry is a pointer to a lower level page table
305 * We found a boot level page table entry
328 * Destroy a boot loader page table
467 get_pteval(paddr_t table, uint_t index) argument
478 set_pteval(paddr_t table, uint_t index, uint_t level, x86pte_t pteval) argument
514 map_pte(paddr_t table, uint_t index) argument
[all...]
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxen_mmu.c47 mfn_t *mfn_list_pages; /* pages that make a table of mfn's */
48 /* that make up the pa_to_ma table */
118 set_pteval(paddr_t table, uint_t index, uint_t level, x86pte_t pteval) argument
121 maddr_t mtable = pa_to_ma(table);
327 * as that table is sparse. It also has to check for non-faulting, but out of
328 * range that exceed the table.
363 * mfn_to_pfn_mapping[] table.
/illumos-gate/usr/src/cmd/logadm/
H A Dopts.c60 static struct lut *Info; /* table driving parsing */
62 /* table that drives argument parsing */
98 * opts_init -- set current options parsing table
101 opts_init(struct optinfo *table, int numentries) argument
104 Info = lut_add(Info, table->oi_o, table);
105 table++;
161 /* see if option was in our parsing table */
515 /* table that drives argument parsing */
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dinfcover.c622 code *next, table[ENOUGH_DISTS]; local
629 next = table;
633 next = table;
/illumos-gate/usr/src/boot/sys/boot/common/
H A Ddisk.c47 struct ptable *table; member in struct:open_disk
191 struct ptable *table; local
210 table = ptable_open(pa->dev, part->end - part->start + 1,
212 if (table == NULL)
218 ret = ptable_iterate(table, &bsd, ptable_print);
219 ptable_close(table);
236 return (ptable_iterate(od->table, &pa, ptable_print));
280 struct ptable *table; local
295 table = NULL;
302 * main partition table
[all...]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_object.c523 nwam_get_prop_table_entry(struct nwam_prop_table table, const char *propname) argument
525 struct nwam_prop_table_entry *cur = table.entries;
526 struct nwam_prop_table_entry *end = cur + table.num_entries;
538 nwam_get_prop_description(struct nwam_prop_table table, const char *propname, argument
545 if ((pte = nwam_get_prop_table_entry(table, propname)) == NULL) {
555 nwam_get_prop_type(struct nwam_prop_table table, const char *propname, argument
562 if ((pte = nwam_get_prop_table_entry(table, propname)) == NULL)
571 nwam_prop_multivalued(struct nwam_prop_table table, const char *propname, argument
578 if ((pte = nwam_get_prop_table_entry(table, propname)) == NULL)
590 nwam_prop_read_only(struct nwam_prop_table table, cons argument
610 struct nwam_prop_table table; member in struct:validate_internal_arg
625 struct nwam_prop_table table = via->table; local
676 nwam_validate_prop(struct nwam_prop_table table, struct nwam_handle *hp, const char *propname, nwam_value_t value) argument
691 nwam_validate(struct nwam_prop_table table, struct nwam_handle *hp, const char **errpropp) argument
718 nwam_get_default_proplist(struct nwam_prop_table table, uint64_t type, uint64_t class, const char ***prop_list, uint_t *numvalues) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c74 * these functions will overlay the symbol table of libprtdiag
83 void display_ffb(Board_node *board, int table);
125 * Display the table header for CPUs . Then display the CPU
443 display_ffb(Board_node *board, int table) argument

Completed in 139 milliseconds

12345678