Home
last modified time | relevance | path

Searched refs:htab (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/mandoc/
H A Dmansearch.c94 struct ohash *htab; in mansearch() local
163 if ((htab = manmerge(e, NULL)) == NULL) { in mansearch()
168 for (rp = ohash_first(htab, &slot); rp != NULL; in mansearch()
169 rp = ohash_next(htab, &slot)) { in mansearch()
211 ohash_delete(htab); in mansearch()
212 free(htab); in mansearch()
237 manmerge(struct expr *e, struct ohash *htab) in manmerge() argument
241 return manmerge_term(e, htab); in manmerge()
243 return manmerge_or(e->child, htab); in manmerge()
245 return manmerge_and(e->child, htab); in manmerge()
[all …]
H A Droff.c640 struct ohash *htab; in roffhash_alloc() local
646 htab = mandoc_malloc(sizeof(*htab)); in roffhash_alloc()
647 mandoc_ohash_init(htab, 8, offsetof(struct roffreq, name)); in roffhash_alloc()
656 slot = ohash_qlookup(htab, req->name); in roffhash_alloc()
657 ohash_insert(htab, slot, req); in roffhash_alloc()
659 return htab; in roffhash_alloc()
663 roffhash_free(struct ohash *htab) in roffhash_free() argument
668 if (htab == NULL) in roffhash_free()
670 for (req = ohash_first(htab, &slot); req != NULL; in roffhash_free()
671 req = ohash_next(htab, &slot)) in roffhash_free()
[all …]
H A Dmandocdb.c1854 struct ohash *htab; in putkeys() local
1866 htab = &names; in putkeys()
1875 htab = &strings; in putkeys()
1885 slot = ohash_qlookupi(htab, cp, &end); in putkeys()
1886 s = ohash_find(htab, slot); in putkeys()
1894 ohash_insert(htab, slot, s); in putkeys()
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/
H A Dncheck.c83 struct htab struct
88 } *htab; argument
126 struct htab *lookup(ino_t i, int ef);
305 htab = (struct htab *)extend_tbl((uchar_t *)htab, &htab_size, in check()
306 (unsigned)(hsize * sizeof (struct htab))); in check()
307 if (htab == 0) { in check()
413 struct htab *hp; in pass2()
537 struct htab *hp; in pname()
555 struct htab *
558 struct htab *hp; in lookup()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/
H A Dff.c79 struct htab struct
84 } *htab; variable
138 struct htab *lookup(ino_t i, int ef);
360 htab = (struct htab *)calloc(hsize, sizeof (struct htab)); in check()
369 if ((itab == NULL) || (htab == NULL)) { in check()
420 free(htab); in check()
456 struct htab *hp; in pass2()
596 struct htab *hp; in pname()
617 struct htab *
620 struct htab *hp; in lookup()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/mp/
H A Dmp_region.c303 0, &dbmp->htab)) != 0)
305 __db_hashinit(dbmp->htab, mp->htab_buckets);
306 mp->htab = R_OFFSET(dbmp, dbmp->htab);
318 dbmp->htab = R_ADDR(dbmp, dbmp->mp->htab);
H A Dmp_pr.c238 for (htabp = dbmp->htab,
240 if (SH_TAILQ_FIRST(&dbmp->htab[bucket], __bh) != NULL)
242 for (bhp = SH_TAILQ_FIRST(&dbmp->htab[bucket], __bh);
H A Dmp_fget.c166 for (bhp = SH_TAILQ_FIRST(&dbmp->htab[bucket], __bh);
267 SH_TAILQ_INSERT_HEAD(&dbmp->htab[bucket], bhp, hq, __bh);
H A Dmp_bh.c529 SH_TAILQ_REMOVE(&dbmp->htab[off], bhp, hq, __bh);
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dfastlz.c204 const unsigned char **htab = g_htab; in FASTLZ_COMPRESSOR() local
224 for (hslot = htab; hslot < htab + HASH_SIZE; hslot++) in FASTLZ_COMPRESSOR()
257 hslot = htab + hval; in FASTLZ_COMPRESSOR()
258 ref = htab[hval]; in FASTLZ_COMPRESSOR()
399 htab[hval] = ip++; in FASTLZ_COMPRESSOR()
401 htab[hval] = ip++; in FASTLZ_COMPRESSOR()
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dfiles_common.c395 files_hashent_t *hp, *htab; in _nss_files_XY_hash() local
429 htab = &fhp->fh_table[hashop * fhp->fh_size];
431 for (hp = htab[hash % fhp->fh_size].h_first; hp != NULL;
435 line = hp - htab;
585 htab = &fhp->fh_table[ht * fhp->fh_size];
586 for (hp = &htab[line - 1]; hp >= htab; hp--) {
588 hp->h_next = htab[bucket].h_first;
589 htab[bucket].h_first = hp;
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dqry.c345 htab_t *htab = cache_get_htab(OBJ_PG); in qry_e2g() local
353 FOR_EACH_ITEM(htab, uid, { in qry_e2g()
916 htab_t *htab; in get_qry_keys() local
949 htab = cache_get_htab(OBJ_ISCSI); in get_qry_keys()
950 FOR_EACH_ITEM(htab, node_uid, { in get_qry_keys()
998 htab_t *htab; in get_qry_ops2() local
1013 htab = cache_get_htab(OBJ_ISCSI); in get_qry_ops2()
1014 FOR_EACH_ITEM(htab, node_uid, { in get_qry_ops2()
H A Disns_htab.h60 typedef struct htab { struct
H A Dadmintf.c1836 htab_t *htab = cache_get_htab(OBJ_ISCSI); in enumerate_node_op() local
1846 FOR_EACH_ITEM(htab, uid, { in enumerate_node_op()
1875 htab_t *htab = cache_get_htab(OBJ_DD); in enumerate_dd_op() local
1885 FOR_EACH_ITEM(htab, uid, { in enumerate_dd_op()
1913 htab_t *htab = cache_get_htab(OBJ_DDS); in enumerate_ddset_op() local
1923 FOR_EACH_ITEM(htab, uid, { in enumerate_ddset_op()
H A Dobj.c888 c->t = (struct htab **)calloc(sizeof (struct htab *), MAX_OBJ_TYPE); in obj_tab_init()
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dmp.h137 DB_HASHTAB *htab; /* Hash table of bucket headers. */ member
222 size_t htab; /* Hash table offset. */ member
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c142 static count_int htab [OUTSTACKSIZE]; variable
145 #define htabof(i) htab[i]
160 #define tab_suffixof(i) ((char_type *)(htab))[i]
1784 count_int *htab_p = htab+hsize; in cl_hash()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.h98 typedef struct htab { /* Memory resident data structure */ struct