Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 652) sorted by relevance

12345678910>>...27

/titanic_51/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, in __nis_init_hash_table() argument
68 if (table != 0) { in __nis_init_hash_table()
69 errorcode = pthread_mutex_init(&table->lock, 0); in __nis_init_hash_table()
72 "(table->lock) pthread_mutex_init returned %d (%s)", in __nis_init_hash_table()
76 errorcode = pthread_cond_init(&table->cond, 0); in __nis_init_hash_table()
79 "(table->cond) pthread_cond_init returned %d (%s)", in __nis_init_hash_table()
83 errorcode = pthread_mutex_init(&table->traverser_id_lock, 0); in __nis_init_hash_table()
86 "(table->traverser_id_lock) " in __nis_init_hash_table()
91 table in __nis_init_hash_table()
100 __nis_lock_hash_table(__nis_hash_table_mt * table,int traverse,char * msg) __nis_lock_hash_table() argument
174 __nis_ulock_hash_table(__nis_hash_table_mt * table,int traverse,char * msg) __nis_ulock_hash_table() argument
232 __find_item_mt(nis_name name,__nis_hash_table_mt * table,int * keyp) __find_item_mt() argument
269 __nis_insert_item_mt(void * arg,__nis_hash_table_mt * table,int readwrite) __nis_insert_item_mt() argument
312 __nis_insert_name_mt(nis_name name,__nis_hash_table_mt * table) __nis_insert_name_mt() argument
347 __nis_find_item_mt(nis_name name,__nis_hash_table_mt * table,int readwrite,int * trylock) __nis_find_item_mt() argument
407 __nis_pop_item_mt(__nis_hash_table_mt * table) __nis_pop_item_mt() argument
500 __nis_remove_item_mt(nis_name name,__nis_hash_table_mt * table) __nis_remove_item_mt() argument
581 __nis_release_item(void * arg,__nis_hash_table_mt * table,int readwrite) __nis_release_item() argument
674 __nis_scan_table_mt(__nis_hash_table_mt * table,bool_t (* func)(__nis_hash_item_mt *,void *),void * funcarg) __nis_scan_table_mt() argument
[all...]
H A Ddb_mindex.cc48 * Constructor: Create new table using scheme defintion supplied.
49 * (Make copy of scheme and keep it with table.)
62 /* Constructor: Create empty table (no scheme, no table or indices). */
66 table = NULL; in db_mindex()
83 * Initialize table using information given in scheme 'how'.
85 * create the required number of indices; and create table for storing
117 table = new db_table(); in init()
118 if (table == NULL) { in init()
124 FATAL("db_mindex::init: could not allocate space for table", in init()
[all...]
H A Ddb_mindex3.cc129 (void) mutex_lock(&table->mapping.enumLock); in entriesFromLDAP()
130 if (table->mapping.enumTid != 0) { in entriesFromLDAP()
133 stat = pthread_kill(table->mapping.enumTid, 0); in entriesFromLDAP()
137 myself, table->mapping.enumTid, in entriesFromLDAP()
138 NIL(t->objName), table->mapping.enumStat, in entriesFromLDAP()
139 ldap_err2string(table->mapping.enumStat)); in entriesFromLDAP()
141 table->mapping.enumTid = 0; in entriesFromLDAP()
142 table->mapping.enumStat = -1; in entriesFromLDAP()
144 if (table->mapping.enumDeferred) { in entriesFromLDAP()
147 table in entriesFromLDAP()
333 db_table *table; entriesFromLDAPreal() local
[all...]
/titanic_51/usr/src/uts/common/fs/nfs/
H A Dnfs4_db.c44 * 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; in rfs4_dbe_kmem_destructor() local
208 * Each table will be marked as "shutdown" and the reaper threads
216 rfs4_table_t *table; in rfs4_database_shutdown() local
219 for (table in rfs4_database_shutdown()
260 rfs4_table_t *table; rfs4_table_create() local
331 rfs4_table_destroy(rfs4_database_t * db,rfs4_table_t * table) rfs4_table_destroy() 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) rfs4_index_create() argument
427 rfs4_table_t *table = entry->dbe_table; rfs4_dbe_destroy() local
470 rfs4_dbe_create(rfs4_table_t * table,id_t id,rfs4_entry_t data) rfs4_dbe_create() argument
520 rfs4_dbe_tabreap_adjust(rfs4_table_t * table) rfs4_dbe_tabreap_adjust() argument
555 rfs4_table_t *table = idx->dbi_table; rfs4_dbsearch() local
686 rfs4_table_t *table = rfs4_client_tab; rfs4_cpr_callb() local
731 rfs4_dbe_walk(rfs4_table_t * table,void (* callout)(rfs4_entry_t,void *),void * data) rfs4_dbe_walk() argument
762 rfs4_dbe_reap(rfs4_table_t * table,time_t cache_time,uint32_t desired) rfs4_dbe_reap() argument
852 rfs4_table_t *table = (rfs4_table_t *)arg; reaper_thread() local
885 rfs4_start_reaper(rfs4_table_t * table) rfs4_start_reaper() argument
[all...]
/titanic_51/usr/src/test/util-tests/tests/smbios/
H A Dsmbios.c35 * Number of bytes we allocate at a given time for an SMBIOS table.
65 smbios_test_table_t *table; in smbios_test_table_init() local
71 table = umem_zalloc(sizeof (smbios_test_table_t), UMEM_DEFAULT); in smbios_test_table_init()
72 if (table == NULL) { in smbios_test_table_init()
76 table->stt_data = umem_zalloc(SMBIOS_TEST_ALLOC_SIZE, UMEM_DEFAULT); in smbios_test_table_init()
77 if (table->stt_data == NULL) { in smbios_test_table_init()
78 umem_free(table, sizeof (smbios_test_table_t)); in smbios_test_table_init()
81 table->stt_buflen = SMBIOS_TEST_ALLOC_SIZE; in smbios_test_table_init()
82 table->stt_type = type; in smbios_test_table_init()
83 table in smbios_test_table_init()
90 smbios_test_table_append_common(smbios_test_table_t * table,const void * buf,size_t len) smbios_test_table_append_common() argument
126 smbios_test_table_append_raw(smbios_test_table_t * table,const void * buf,size_t len) smbios_test_table_append_raw() argument
133 smbios_test_table_append_string(smbios_test_table_t * table,const char * str) smbios_test_table_append_string() argument
140 smbios_test_table_append(smbios_test_table_t * table,const void * buf,size_t len) smbios_test_table_append() argument
173 smbios_test_table_snapshot(smbios_test_table_t * table,smbios_entry_t ** entryp,void ** bufp,size_t * lenp) smbios_test_table_snapshot() argument
207 smbios_test_table_fini(smbios_test_table_t * table) smbios_test_table_fini() argument
221 smbios_test_mktable(smbios_test_table_t * table) smbios_test_mktable() argument
391 smbios_test_table_t *table; main() local
[all...]
/titanic_51/usr/src/uts/common/ipp/ipgpc/
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; in ht_insert() local
75 if (((table[x].key == key) && (table[x].info == 1)) || in ht_insert()
76 (table[x].info == 0)) { in ht_insert()
77 table[x].key = key; in ht_insert()
78 table[x].info = 1; in ht_insert()
79 (void) ipgpc_list_insert(&table[ in ht_insert()
126 ht_search(hash_table table,int key) ht_search() argument
159 hash_table table = taid->table; ht_retrieve() local
200 hash_table table = taid->table; ht_remove() local
[all...]
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; in ba_insert() local
60 if (ipgpc_list_insert(&table->masked_values[mskd_val].filter_list, in ba_insert()
66 (void) ipgpc_list_insert(&table->masks, mask); in ba_insert()
68 ++table->masked_values[mskd_val].info; in ba_insert()
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; ba_retrieve() local
134 ba_table_t *table = &bataid->table; ba_remove() local
[all...]
/titanic_51/usr/src/boot/sys/boot/common/
H A Dpart.c234 /* Check CRC only when buffer size is enough for table. */ in gpt_checktbl()
237 DEBUG("GPT table's CRC doesn't match"); in gpt_checktbl()
253 ptable_gptread(struct ptable *table, void *dev, diskread_t dread) in ptable_gptread() argument
263 buf = malloc(table->sectorsize); in ptable_gptread()
266 tbl = malloc(table->sectorsize * MAXTBLSZ); in ptable_gptread()
273 ptable_close(table); in ptable_gptread()
274 table = NULL; in ptable_gptread()
279 phdr = gpt_checkhdr((struct gpt_hdr *)buf, 1, table->sectors - 1, in ptable_gptread()
280 table->sectorsize); in ptable_gptread()
282 /* Read the primary GPT table in ptable_gptread()
407 ptable_ebrread(struct ptable * table,void * dev,diskread_t dread) ptable_ebrread() argument
485 ptable_bsdread(struct ptable * table,void * dev,diskread_t dread) ptable_bsdread() argument
567 ptable_vtoc8read(struct ptable * table,void * dev,diskread_t dread) ptable_vtoc8read() argument
655 ptable_dklabelread(struct ptable * table,void * dev,diskread_t dread) ptable_dklabelread() argument
718 struct ptable *table; ptable_open() local
852 ptable_close(struct ptable * table) ptable_close() argument
865 ptable_gettype(const struct ptable * table) ptable_gettype() argument
872 ptable_getsize(const struct ptable * table,uint64_t * sizep) ptable_getsize() argument
885 ptable_getpart(const struct ptable * table,struct ptable_entry * part,int idx) ptable_getpart() argument
920 ptable_getbestpart(const struct ptable * table,struct ptable_entry * part) ptable_getbestpart() argument
982 ptable_iterate(const struct ptable * table,void * arg,ptable_iterate_t * iter) ptable_iterate() argument
[all...]
H A Ddisk.c45 struct ptable *table; member
110 struct ptable *table; in ptable_print() local
134 table = ptable_open(&dev, part->end - part->start + 1, in ptable_print()
136 if (table != NULL) { in ptable_print()
141 ret = ptable_iterate(table, &bsd, ptable_print); in ptable_print()
142 ptable_close(table); in ptable_print()
162 return (ptable_iterate(od->table, &pa, ptable_print)); in disk_print()
220 struct ptable *table; in disk_open() local
230 table = NULL; in disk_open()
246 od->table in disk_open()
[all...]
/titanic_51/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...]
/titanic_51/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...]
/titanic_51/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); in ib_rcm_offline()
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) in ib_rcm_info_table() argument
273 if (rinfo == NULL || table == NULL) { in ib_rcm_info_table()
277 /* Set localized table header strings */ in ib_rcm_info_table()
317 /* Allocate space for the table */ in ib_rcm_info_table()
319 if (*table in ib_rcm_info_table()
[all...]
/titanic_51/usr/src/lib/libsqlite/test/
H A Dtable.test17 # $Id: table.test,v 1.22 2003/01/29 18:46:54 drh Exp $
22 # Create a basic table and verify it is added to sqlite_master
24 do_test table-1.1 {
42 do_test table-1.3 {
44 } {test1 test1 table}
49 do_test table-1.4 {
53 } {test1 test1 table}
57 do_test table-1.5 {
62 # Close and reopen the database. Verify that the table is
65 do_test table
[all...]
/titanic_51/usr/src/cmd/tbl/
H A Dt5.c17 /* t5.c: read data for table */
63 table[nlin] = (struct colstr *) alocv((ncol+2)*sizeof(table[0][0])); in gettbl()
74 table[nlin][icol].col = cstore; in gettbl()
75 table[nlin][icol].rcol=0; in gettbl()
79 table[nlin][icol].col = in gettbl()
91 table[nlin][icol].rcol = in gettbl()
92 (char *)maknew(table[nlin][icol].col); in gettbl()
95 table[nlin][icol].rcol = table[nli in gettbl()
[all...]
H A Dt9.c26 for(useln=0; useln<MAXLIN && table[useln]==0; useln++); in yetmore()
28 error(gettext("Weird. No data in table.")); in yetmore()
29 table[0]=table[useln]; in yetmore()
32 error(gettext("Weird. No real lines in table.")); in yetmore()
61 table[0][icol].col = dataln; in domore()
62 table[0][icol].rcol=0; in domore()
69 table[0][icol].rcol = maknew(table[0][icol].col); in domore()
72 table[ in domore()
[all...]
/titanic_51/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) in sata_rcm_info_table() argument
203 if (rinfo == NULL || table == NULL) { in sata_rcm_info_table()
207 /* Set localized table header strings */ in sata_rcm_info_table()
248 /* Allocate space for the table */ in sata_rcm_info_table()
250 if (*table == NULL) { in sata_rcm_info_table()
252 *table = calloc(table_size, sizeof (char)); in sata_rcm_info_table()
253 if (*table == NULL) { in sata_rcm_info_table()
257 newtable = realloc(*table, strle in sata_rcm_info_table()
[all...]
/titanic_51/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); in usb_rcm_offline()
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) in usb_rcm_info_table() argument
225 if (rinfo == NULL || table == NULL) { in usb_rcm_info_table()
229 /* Set localized table header strings */ in usb_rcm_info_table()
270 /* Allocate space for the table */ in usb_rcm_info_table()
272 if (*table == NULL) { in usb_rcm_info_table()
274 *table = calloc(table_size, sizeof (char)); in usb_rcm_info_table()
275 if (*table in usb_rcm_info_table()
[all...]
/titanic_51/usr/src/lib/libbc/libc/gen/common/
H A Dhsearch.c36 DIV - use the remainder mod table size as a hashing function.
113 typedef struct entry { /* Hash table entry */
124 static NODE **table; /* The address of the hash table */ variable
128 typedef ENTRY TABELEM; /* What the table contains (TABle ELEMents) */
129 static TABELEM *table; /* The address of the hash table */ variable
130 static unsigned int count = 0; /* Number of entries in hash table */
134 static unsigned int length; /* Size of the hash table */
202 * Create a hash table n
[all...]
/titanic_51/usr/src/cmd/nscd/
H A Dnscd_biggest.c48 insertn(nsc_keephot_t *table, uint_t n, void *data) in insertn() argument
53 if (n < 1 || table[1].num > n) { in insertn()
57 size = table[0].num; in insertn()
58 if (table[size].num < n) /* biggest so far */ in insertn()
65 if (table[guess].num == n) in insertn()
67 if (table[guess].num > n) in insertn()
76 olddata = table[1].ptr; in insertn()
77 (void) memmove(table + 1, table + 2, in insertn()
79 table[gues in insertn()
[all...]
/titanic_51/usr/src/lib/libc/port/gen/
H A Dhsearch.c34 * DIV - use the remainder mod table size as a hashing function.
122 static NODE **table; /* The address of the hash table */ variable
126 typedef ENTRY TABELEM; /* What the table contains (TABle ELEMents) */
127 static TABELEM *table; /* The address of the hash table */ variable
128 static unsigned int count = 0; /* Number of entries in hash table */
132 static unsigned int length; /* Size of the hash table */
197 printf("Do you wish to start another hash table (yes/no?)"); in main()
206 hcreate(size_t size) /* Create a hash table n
[all...]
/titanic_51/usr/src/lib/fm/libfmd_snmp/common/
H A Dinit.c53 const sunFm_table_t *table; in init_sunFM() local
55 for (table = sun_fm_tables; table->t_name != NULL; table++) { in init_sunFM()
56 int err = table->t_init(); in init_sunFM()
60 DEBUGMSGTL((MODNAME_STR, "registered table %s\n", in init_sunFM()
61 table->t_name)); in init_sunFM()
65 ": table %s initialization failed: duplicate " in init_sunFM()
66 "registration\n", table->t_name); in init_sunFM()
70 ": table in init_sunFM()
[all...]
/titanic_51/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c250 * 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) in scsi_rcm_info_table() argument
270 if (rinfo == NULL || table == NULL) in scsi_rcm_info_table()
273 /* Set localized table header strings */ in scsi_rcm_info_table()
308 /* Allocate space for the table */ in scsi_rcm_info_table()
310 if (*table == NULL) { in scsi_rcm_info_table()
312 *table = calloc(table_size, sizeof (char)); in scsi_rcm_info_table()
313 if (*table == NULL) in scsi_rcm_info_table()
316 newtable = realloc(*table, strlen(*table) in scsi_rcm_info_table()
[all...]
/titanic_51/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...]
/titanic_51/usr/src/cmd/oawk/
H A Db.c342 * but someone has length and will includes NULLs in table as one of data.
343 * Please note, CCL table which has a length data and data will include NULLs,
826 * Insert CCL entry to CCL table with maintain optimized order.
835 ccl_chars_t *table; in insert_table() local
842 dprintf("Inserting {%o, %o} to table %o\n", cs, ce, table_base); in insert_table()
844 * Searching the table to find out where should put the new item. in insert_table()
846 for (i = 0, table = table_base; i < table_size; i++, table++) { in insert_table()
847 tns = table->cc_ns; in insert_table()
848 tcs = table in insert_table()
972 ccl_chars_t *table; delete_table() local
1073 dump_table(ccl_chars_t * table,int size) dump_table() argument
[all...]
/titanic_51/usr/src/cmd/spell/
H A Dhashlook.c37 unsigned *table; variable
63 wp = &table[hindex[t]]; in hashlook()
64 tp = &table[hindex[t+1]]; in hashlook()
124 (table = (unsigned *)malloc(hindex[NI-1] * sizeof (*table))) == 0 || in prime()
125 read(fileno(f), (char *)table, sizeof (*table) * hindex[NI-1]) != in prime()
126 hindex[NI-1] * sizeof (*table)) in prime()
137 (table = (unsigned *)malloc(hindex[NI-1] * sizeof (*table))) in prime()
[all...]

12345678910>>...27