Lines Matching refs:dep
1106 dcentry_t *dep; in dnlc_dir_lookup() local
1128 dep = dcp->dc_namehash[hash & dcp->dc_nhash_mask]; in dnlc_dir_lookup()
1129 while (dep != NULL) { in dnlc_dir_lookup()
1130 if ((dep->de_hash == hash) && in dnlc_dir_lookup()
1131 (namlen == dep->de_namelen) && in dnlc_dir_lookup()
1132 bcmp(dep->de_name, name, namlen) == 0) { in dnlc_dir_lookup()
1133 *handle = dep->de_handle; in dnlc_dir_lookup()
1138 dep = dep->de_next; in dnlc_dir_lookup()
1247 dcentry_t **hp, *dep; in dnlc_dir_add_entry() local
1260 dep = kmem_alloc(DCENTTRY_SIZE(namlen), KM_NOSLEEP); in dnlc_dir_add_entry()
1261 if (dep == NULL) { in dnlc_dir_add_entry()
1271 dep = kmem_alloc(DCENTTRY_SIZE(namlen), KM_NOSLEEP); in dnlc_dir_add_entry()
1272 if (dep != NULL) in dnlc_dir_add_entry()
1281 dep = kmem_alloc(DCENTTRY_SIZE(namlen), KM_NOSLEEP); in dnlc_dir_add_entry()
1282 if (dep == NULL) { in dnlc_dir_add_entry()
1314 kmem_free(dep, DCENTTRY_SIZE(namlen)); in dnlc_dir_add_entry()
1329 dep->de_handle = handle; in dnlc_dir_add_entry()
1330 dep->de_hash = hash; in dnlc_dir_add_entry()
1341 dep->de_namelen = namlen; in dnlc_dir_add_entry()
1342 bcopy(name, dep->de_name, namlen); in dnlc_dir_add_entry()
1343 dep->de_next = *hp; in dnlc_dir_add_entry()
1344 *hp = dep; in dnlc_dir_add_entry()
1351 kmem_free(dep, DCENTTRY_SIZE(namlen)); in dnlc_dir_add_entry()
1471 dcentry_t *dep, *nhp; in dnlc_dir_abort() local
1483 dep = nhp->de_next; in dnlc_dir_abort()
1485 nhp = dep; in dnlc_dir_abort()
1745 dcentry_t *dep; in dnlc_dir_update() local
1759 dep = dcp->dc_namehash[hash & dcp->dc_nhash_mask]; in dnlc_dir_update()
1760 while (dep != NULL) { in dnlc_dir_update()
1761 if ((dep->de_hash == hash) && in dnlc_dir_update()
1762 (namlen == dep->de_namelen) && in dnlc_dir_update()
1763 bcmp(dep->de_name, name, namlen) == 0) { in dnlc_dir_update()
1764 dep->de_handle = handle; in dnlc_dir_update()
1768 dep = dep->de_next; in dnlc_dir_update()
1884 dcentry_t **newhash, *dep, **nhp, *tep; in dnlc_dir_adjust_nhash() local
1913 dep = dcp->dc_namehash[i]; in dnlc_dir_adjust_nhash()
1914 while (dep != NULL) { /* for each chained entry */ in dnlc_dir_adjust_nhash()
1915 tep = dep; in dnlc_dir_adjust_nhash()
1916 dep = dep->de_next; in dnlc_dir_adjust_nhash()