Lines Matching defs:dep
1105 dcentry_t *dep;
1127 dep = dcp->dc_namehash[hash & dcp->dc_nhash_mask];
1128 while (dep != NULL) {
1129 if ((dep->de_hash == hash) &&
1130 (namlen == dep->de_namelen) &&
1131 bcmp(dep->de_name, name, namlen) == 0) {
1132 *handle = dep->de_handle;
1137 dep = dep->de_next;
1246 dcentry_t **hp, *dep;
1259 dep = kmem_alloc(sizeof (dcentry_t) - 1 + namlen, KM_NOSLEEP);
1260 if (dep == NULL) {
1270 dep = kmem_alloc(sizeof (dcentry_t) - 1 + namlen, KM_NOSLEEP);
1271 if (dep != NULL)
1280 dep = kmem_alloc(sizeof (dcentry_t) - 1 + namlen, KM_NOSLEEP);
1281 if (dep == NULL) {
1313 kmem_free(dep, sizeof (dcentry_t) - 1 + namlen);
1328 dep->de_handle = handle;
1329 dep->de_hash = hash;
1340 dep->de_namelen = namlen;
1341 bcopy(name, dep->de_name, namlen);
1342 dep->de_next = *hp;
1343 *hp = dep;
1350 kmem_free(dep, sizeof (dcentry_t) - 1 + namlen);
1470 dcentry_t *dep, *nhp;
1482 dep = nhp->de_next;
1485 nhp = dep;
1746 dcentry_t *dep;
1760 dep = dcp->dc_namehash[hash & dcp->dc_nhash_mask];
1761 while (dep != NULL) {
1762 if ((dep->de_hash == hash) &&
1763 (namlen == dep->de_namelen) &&
1764 bcmp(dep->de_name, name, namlen) == 0) {
1765 dep->de_handle = handle;
1769 dep = dep->de_next;
1885 dcentry_t **newhash, *dep, **nhp, *tep;
1914 dep = dcp->dc_namehash[i];
1915 while (dep != NULL) { /* for each chained entry */
1916 tep = dep;
1917 dep = dep->de_next;