Searched refs:ds_hash (Results 1 - 2 of 2) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/dsvclockd/
H A Ddatastore.c43 static uint32_t ds_hash(const char *);
87 ds->ds_hash[i].cl_head = NULL;
88 (void) mutex_init(&ds->ds_hash[i].cl_lock, USYNC_THREAD, 0);
173 for (cn = ds->ds_hash[i].cl_head; cn != NULL; cn = cn_next) {
177 (void) mutex_destroy(&ds->ds_hash[i].cl_lock);
197 uint32_t idhash = ds_hash(cn_id);
199 cn_list = &ds->ds_hash[idhash % DSVCD_DS_HASH_SIZE];
238 uint32_t idhash = ds_hash(cn->cn_id);
240 cn_list = &ds->ds_hash[idhash % DSVCD_DS_HASH_SIZE];
263 cn_list = &ds->ds_hash[
302 ds_hash(const char *cn_id) function
[all...]
H A Ddatastore.h78 dsvcd_container_list_t ds_hash[DSVCD_DS_HASH_SIZE]; member in struct:dsvcd_datastore

Completed in 94 milliseconds