Lines Matching defs:hent
376 struct vn_htable_list *hent, **htmp, *q_next, *q_prev;
388 hent = hp->vn_htable[hkey];
389 while (hent && (hent->vn_ptr != ptr))
390 hent = hent->vn_h_next;
392 /* 3. if hent is NULL, we did not find in hash table, do mdb_vread */
393 if (hent == NULL) {
402 hent = hp->vn_q_last;
405 if (hent->vn_ptr) {
406 htmp = &hp->vn_htable[VN_HTABLE_KEY(hent->vn_ptr, hp)];
407 while (*htmp != hent)
409 *htmp = hent->vn_h_next;
413 hent->vn_ptr = ptr;
414 hent->vn_flag = vn.v_flag;
417 hent->vn_h_next = hp->vn_htable[hkey];
418 hp->vn_htable[hkey] = hent;
421 /* Remove from queue. hent is not first, vn_q_prev is not NULL */
422 q_next = hent->vn_q_next;
423 q_prev = hent->vn_q_prev;
431 hent->vn_q_prev = NULL;
432 hent->vn_q_next = q_first;
433 q_first->vn_q_prev = hent;
434 hp->vn_q_first = hent;
436 /* Set v_flag in vnode pointer from hent */
437 vp->v_flag = hent->vn_flag;