Home
last modified time | relevance | path

Searched refs:dh_hash (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/ufs/ufs/
H A Dufs_dirhash.c251 if (dh->dh_hash != NULL) in ufsdirhash_create()
287 if (dh->dh_hash != NULL) in ufsdirhash_acquire()
370 if (dh->dh_hash != NULL) in ufsdirhash_build()
382 memreqd = sizeof(*dh) + narrays * sizeof(*dh->dh_hash) + in ufsdirhash_build()
383 narrays * DH_NBLKOFF * sizeof(**dh->dh_hash) + in ufsdirhash_build()
416 dh->dh_hash = malloc(narrays * sizeof(dh->dh_hash[0]), in ufsdirhash_build()
418 if (dh->dh_hash == NULL) in ufsdirhash_build()
425 if ((dh->dh_hash[i] = DIRHASH_BLKALLOC()) == NULL) in ufsdirhash_build()
428 dh->dh_hash[i][j] = DIRHASH_EMPTY; in ufsdirhash_build()
520 if (dh->dh_hash != NULL) { in ufsdirhash_free_locked()
[all …]
H A Ddirhash.h83 ((dh)->dh_hash[(slot) >> DH_BLKOFFSHIFT][(slot) & DH_BLKOFFMASK])
89 doff_t **dh_hash; /* the hash array (2-level) */ member
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_ident.c686 for (idp = dhp->dh_hash[i]; idp != NULL; idp = next) { in dt_idhash_destroy()
693 for (idp = dhp->dh_hash[i]; idp != NULL; idp = next) { in dt_idhash_destroy()
711 for (idp = dhp->dh_hash[i]; idp != NULL; idp = idp->di_next) { in dt_idhash_update()
736 for (idp = dhp->dh_hash[h]; idp != NULL; idp = idp->di_next) { in dt_idhash_lookup()
784 idp->di_next = dhp->dh_hash[h]; in dt_idhash_insert()
786 dhp->dh_hash[h] = idp; in dt_idhash_insert()
804 idp->di_next = dhp->dh_hash[h]; in dt_idhash_xinsert()
807 dhp->dh_hash[h] = idp; in dt_idhash_xinsert()
819 dt_ident_t **pp = &dhp->dh_hash[h]; in dt_idhash_delete()
822 for (idp = dhp->dh_hash[h]; idp != NULL; idp = idp->di_next) { in dt_idhash_delete()
[all …]
H A Ddt_ident.h126 dt_ident_t *dh_hash[1]; /* array of hash table bucket pointers */ member