/illumos-gate/usr/src/cmd/ipf/examples/ |
H A D | pool.conf | 5 table role = ipf type = tree number = 0
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 47 * 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 D | init.c | 53 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 D | hash.h | 32 #define ND ((25750/2) * sizeof (*table)) 35 extern unsigned *table; 36 extern int index[]; /* into dif table based on hi hash bits */
|
H A D | hashcheck.c | 42 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 D | hashlook.c | 37 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 D | ba_table.c | 32 /* 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 D | table.c | 31 /* 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 D | t9.c | 26 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 D | t5.c | 17 /* 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 D | nfs4_db.c | 44 * t_lowat - integer percentage of table entries /etc/system only 45 * t_hiwat - integer percentage of table entries /etc/system only 46 * t_lreap - integer percentage of table reap time mdb or /etc/system 47 * t_hreap - integer percentage of table reap time mdb or /etc/system 51 time_t t_lreap = 50; /* default to 50% of table's reap interval */ 52 time_t t_hreap = 10; /* default to 10% of table's reap interval */ 184 rfs4_table_t *table = private; local 208 * Each table will be marked as "shutdown" and the reaper threads 216 rfs4_table_t *table; local 219 for (table 260 rfs4_table_t *table; local 331 rfs4_table_destroy(rfs4_database_t *db, rfs4_table_t *table) argument 372 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 427 rfs4_table_t *table = entry->dbe_table; local 470 rfs4_dbe_create(rfs4_table_t *table, id_t id, rfs4_entry_t data) argument 520 rfs4_dbe_tabreap_adjust(rfs4_table_t *table) argument 555 rfs4_table_t *table = idx->dbi_table; local 686 rfs4_table_t *table = rfs4_client_tab; local 731 rfs4_dbe_walk(rfs4_table_t *table, void (*callout)(rfs4_entry_t, void *), void *data) argument 762 rfs4_dbe_reap(rfs4_table_t *table, time_t cache_time, uint32_t desired) argument 852 rfs4_table_t *table = (rfs4_table_t *)arg; local 885 rfs4_start_reaper(rfs4_table_t *table) argument [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_biggest.c | 48 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 D | invocation.c | 27 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 D | boot_mmu.c | 57 * 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/lib/gss_mechs/mech_krb5/et/ |
H A D | error_table.h | 18 /*@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 D | cfga_rcm.c | 33 #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/boot/sys/boot/common/ |
H A D | part.c | 232 /* Check CRC only when buffer size is enough for table. */ 235 DEBUG("GPT table's CRC doesn't match"); 251 ptable_gptread(struct ptable *table, void *dev, diskread_t dread) argument 261 buf = malloc(table->sectorsize); 264 tbl = malloc(table->sectorsize * MAXTBLSZ); 271 ptable_close(table); 272 table = NULL; 277 phdr = gpt_checkhdr((struct gpt_hdr *)buf, 1, table->sectors - 1, 278 table->sectorsize); 280 /* Read the primary GPT table 385 ptable_ebrread(struct ptable *table, void *dev, diskread_t dread) argument 463 ptable_bsdread(struct ptable *table, void *dev, diskread_t dread) argument 545 ptable_vtoc8read(struct ptable *table, void *dev, diskread_t dread) argument 633 ptable_dklabelread(struct ptable *table, void *dev, diskread_t dread) argument 697 struct ptable *table; local 830 ptable_close(struct ptable *table) argument 843 ptable_gettype(const struct ptable *table) argument 850 ptable_getpart(const struct ptable *table, struct ptable_entry *part, int idx) argument 885 ptable_getbestpart(const struct ptable *table, struct ptable_entry *part) argument 947 ptable_iterate(const struct ptable *table, void *arg, ptable_iterate_t *iter) argument [all...] |
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | table.c | 31 #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/uts/common/avs/ns/sdbc/ |
H A D | sd_hash.h | 42 struct _sd_hash_hd *hh_next; /* hash table */ 69 #define HASH(cd, blk, table) \ 70 (((cd << 6) ^ ((blk) ^ ((blk) >> table->ht_bits))) \ 71 & (table->ht_mask)) 81 _sd_hash_table_t *table); 83 _sd_hash_hd_t *hptr, _sd_hash_table_t *table); 84 extern int _sd_hash_delete(_sd_hash_hd_t *hptr, _sd_hash_table_t *table); 86 _sd_hash_table_t *table);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | man_hash.c | 42 * Lookup table is indexed first by lower-case first letter (plus one 48 static unsigned char table[26 * HASH_DEPTH]; variable 56 if (*table != '\0') 59 memset(table, UCHAR_MAX, sizeof(table)); 69 if (UCHAR_MAX == table[x + j]) { 70 table[x + j] = (unsigned char)i; 92 if (UCHAR_MAX == (y = table[x + i]))
|
H A D | mdoc_hash.c | 33 static unsigned char table[27 * 12]; variable 42 if (*table != '\0') 45 memset(table, UCHAR_MAX, sizeof(table)); 56 if (UCHAR_MAX == table[major + j]) { 57 table[major + j] = (unsigned char)i; 86 if (UCHAR_MAX == (i = table[major + j]))
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | hash.c | 58 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 D | cfga_rcm.c | 33 #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 D | cfga_rcm.c | 33 #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...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_rcm.c | 250 * the rcm_info_t data in the form of a table to the given character pointer. 253 scsi_rcm_info_table(rcm_info_t *rinfo, char **table) argument 270 if (rinfo == NULL || table == NULL) 273 /* Set localized table header strings */ 308 /* Allocate space for the table */ 310 if (*table == NULL) { 312 *table = calloc(table_size, sizeof (char)); 313 if (*table == NULL) 316 newtable = realloc(*table, strlen(*table) [all...] |