Home
last modified time | relevance | path

Searched refs:hashtab (Results 1 – 24 of 24) sorted by relevance

/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dheap.c268 static unsigned char hashtab[SM_HEAP_TABLE_SIZE] = variable
315 h = hashtab[n & 0xFF];
316 h = hashtab[h ^ ((n >> 8) & 0xFF)];
317 h = hashtab[h ^ ((n >> 16) & 0xFF)];
318 h = hashtab[h ^ ((n >> 24) & 0xFF)];
325 h = hashtab[n & 0xFF];
326 h = hashtab[h ^ ((n >> 8) & 0xFF)];
327 h = hashtab[h ^ ((n >> 16) & 0xFF)];
328 h = hashtab[h ^ ((n >> 24) & 0xFF)];
329 h = hashtab[h ^ ((n >> 32) & 0xFF)];
[all …]
/titanic_41/usr/src/cmd/lastcomm/
H A Dlc_utils.c50 static struct devhash *hashtab; variable
171 (void) strcpy(hashtab->dev_name, in srch_dir()
173 hashtab->dev_nxt = dev_chain; in srch_dir()
174 dev_chain = hashtab; in srch_dir()
175 hashtab++; in srch_dir()
191 hashtab = malloc(NDEVS * sizeof (struct devhash)); in setupdevs()
192 if (hashtab == NULL) { in setupdevs()
/titanic_41/usr/src/tools/cscope-fast/
H A Dlookup.c100 static struct keystruct *hashtab[HASHMOD]; /* pointer table */ variable
113 p->next = hashtab[j]; in initsymtab()
114 hashtab[j] = p; in initsymtab()
127 for (p = hashtab[hash(ident) % HASHMOD]; p != NULL; p = p->next) { in lookup()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dlookup.c32 static struct syment *hashtab[HASHSIZE]; variable
120 for (s = hashtab[n]; s != NULL; s = s->s_next) {
143 s->s_next = hashtab[n];
144 hashtab[n] = s;
/titanic_41/usr/src/cmd/make/bin/
H A Dmisc.cc347 for (p = hashtab.begin(), e = hashtab.end(); p != e; p++) { in dump_make_state()
398 for (p = hashtab.begin(), e = hashtab.end(); p != e; p++) { in dump_make_state()
406 for (p = hashtab.begin(), e = hashtab.end(); p != e; p++) { in dump_make_state()
417 for (p = hashtab.begin(), e = hashtab.end(); p != e; p++) { in dump_make_state()
438 for (p = hashtab.begin(), e = hashtab.end(); p != e; p++) { in dump_make_state()
494 for (p = hashtab.begin(), e = hashtab.end(); p != e; p++) { in dump_target_list()
H A Dnse_printdep.cc289 for (np = hashtab.begin(), e = hashtab.end(); np != e; np++) { in print_forest()
H A Drep.cc333 for (np = hashtab.begin(), e = hashtab.end(); np != e; np++) { in gather_recursive_deps()
H A Dstate.cc240 for (np = hashtab.begin(), e = hashtab.end(); np != e; np++) { in write_state_file()
H A Dread2.cc1482 for (Name_set::iterator np = hashtab.begin(), e = hashtab.end(); np != e; np++) { in read_suffixes_list()
/titanic_41/usr/src/cmd/spell/
H A Dhash.c52 static signed char hashtab[] = { variable
75 c = hashtab[c-' ']; in hash()
/titanic_41/usr/src/uts/common/os/
H A Dmodsubr.c510 find_mbind(char *name, struct bind **hashtab, int deleted) in find_mbind() argument
514 for (mb = hashtab[nm_hash(name)]; mb; mb = mb->b_next) { in find_mbind()
537 make_mbind(char *name, int num, char *bind_name, struct bind **hashtab) in make_mbind() argument
542 ASSERT(hashtab != NULL); in make_mbind()
546 if (find_mbind(name, hashtab, 0) != NULL) in make_mbind()
557 pmb = &hashtab[nm_hash(name)]; in make_mbind()
569 delete_mbind(char *name, struct bind **hashtab) in delete_mbind() argument
573 for (mb = hashtab[nm_hash(name)]; mb; mb = mb->b_next) { in delete_mbind()
592 purge_mbind(int num, struct bind **hashtab) in purge_mbind() argument
599 for (mb = hashtab[i]; mb; mb = mb->b_next) { in purge_mbind()
H A Dmodsysfile.c2261 read_binding_file(char *bindfile, struct bind **hashtab, in read_binding_file() argument
2279 if (hashtab != NULL) { in read_binding_file()
2280 clear_binding_hash(hashtab); in read_binding_file()
2355 hashtab) == 0) in read_binding_file()
/titanic_41/usr/src/cmd/sendmail/db/lock/
H A Dlock.c182 HASHLOOKUP(lt->hashtab, __db_lockobj, links,
409 HASHREMOVE_EL(lt->hashtab, __db_lockobj,
683 HASHLOOKUP(lt->hashtab, __db_lockobj, links,
802 HASHLOOKUP(lt->hashtab, __db_lockobj, links, dbt, sh_obj,
806 HASHLOOKUP(lt->hashtab, __db_lockobj, links, locker,
859 HASHINSERT(lt->hashtab,
915 HASHREMOVE_EL(lt->hashtab,
H A Dlock_deadlock.c269 for (op = SH_TAILQ_FIRST(&lt->hashtab[i], __db_lockobj);
279 for (op = SH_TAILQ_FIRST(&lt->hashtab[i], __db_lockobj);
441 HASHREMOVE_EL(lt->hashtab, __db_lockobj,
H A Dlock_region.c135 lt->hashtab =
468 lt->hashtab =
624 for (op = SH_TAILQ_FIRST(&lt->hashtab[i], __db_lockobj);
/titanic_41/usr/src/cmd/make/lib/mksh/
H A Dglobals.cc93 Name_set hashtab; variable
H A Dmisc.cc187 np = hashtab.lookup(mbs_name); in getname_fn()
201 np = hashtab.insert(mbs_name, found); in getname_fn()
238 hashtab.insert(name); in store_name()
/titanic_41/usr/src/cmd/sendmail/db/include/
H A Dlock.h114 DB_HASHTAB *hashtab; /* Beginning of hash table. */ member
/titanic_41/usr/src/uts/common/sys/nxge/
H A Dnxge_mac.h244 uint16_t hashtab[MAC_MAX_HASH_ENTRY]; member
/titanic_41/usr/src/lib/libproc/common/
H A DPcontrol.h199 struct ps_lwphandle **hashtab; /* hash table for LWPs (Lgrab()) */ member
H A DPcontrol.c1182 if (P->hashtab != NULL) { in Pfree()
1185 while ((L = P->hashtab[i]) != NULL) in Pfree()
1188 free(P->hashtab); in Pfree()
3107 for (Lp = &P->hashtab[lwpid % (HASHSIZE - 1)]; in Lfind()
3133 else if (P->hashtab == NULL && in Lgrab()
3134 (P->hashtab = calloc(HASHSIZE, sizeof (struct ps_lwphandle *))) in Lgrab()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dupdate.c215 Word *hashtab; /* hash table pointer */ in update_osym() local
280 hashtab = (Word *)(ofl->ofl_oshash->os_outdata->d_buf); in update_osym()
281 hashbkt = &hashtab[2]; in update_osym()
282 hashchain = &hashtab[2 + ofl->ofl_hashbkts]; in update_osym()
283 hashtab[0] = ofl->ofl_hashbkts; in update_osym()
284 hashtab[1] = DYNSYM_ALL_CNT(ofl); in update_osym()
/titanic_41/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c982 find_mbind(const char *name, uintptr_t *hashtab) in find_mbind() argument
990 mb = hashtab[hashndx]; in find_mbind()
/titanic_41/usr/src/cmd/make/include/mksh/
H A Ddefs.h870 extern Name_set hashtab;