Home
last modified time | relevance | path

Searched refs:hashinfo (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetprojent.c87 static files_hash_t hashinfo = { variable
123 return (_nss_files_XY_hash(be, a, 0, &hashinfo, 0, in getbyname()
129 return (_nss_files_XY_hash(be, a, 0, &hashinfo, 1, check_projid)); in getbyprojid()
150 &hashinfo));
H A Dgetgrent.c89 static files_hash_t hashinfo = { variable
121 return (_nss_files_XY_hash(be, a, 0, &hashinfo, 0, check_grname));
164 return (_nss_files_XY_hash(be, argp, 0, &hashinfo, 1, check_grgid));
252 &hashinfo));
H A Dgetpwnam.c91 static files_hash_t hashinfo = { variable
123 return (_nss_files_XY_hash(be, a, 0, &hashinfo, 0, check_pwname));
166 return (_nss_files_XY_hash(be, argp, 0, &hashinfo, 1, check_pwuid));
249 &hashinfo));
H A Dfiles_common.c632 if (be->hashinfo != NULL) {
633 (void) mutex_lock(&be->hashinfo->fh_lock);
634 if (--be->hashinfo->fh_refcnt == 0)
635 _nss_files_hash_destroy(be->hashinfo);
636 (void) mutex_unlock(&be->hashinfo->fh_lock);
662 be->hashinfo = fhp;
H A Dgetnetgrent.c93 static files_hash_t hashinfo = { variable
123 return (_nss_files_XY_hash(be, a, 1, &hashinfo, 0, check_netgrname)); in getbyname()
866 &hashinfo); in _nss_files_netgroup_constr()
H A Dfiles_common.h83 files_hash_t *hashinfo; member
/illumos-gate/usr/src/cmd/boot/common/
H A Dbblk_einfo.c301 bblk_hash_t *hashinfo = bblk_hash_list[BBLK_DEFAULT_HASH]; in prepare_and_write_einfo() local
308 hash_size = hashinfo->size; in prepare_and_write_einfo()
318 if (compute_hash(hs, data, hashinfo) < 0) { in prepare_and_write_einfo()
320 hashinfo->name); in prepare_and_write_einfo()
324 einfo->hash_type = hashinfo->type; in prepare_and_write_einfo()
325 einfo->hash_size = hashinfo->size; in prepare_and_write_einfo()