Lines Matching defs:lhp
262 cachefs_rl_listhead_t *lhp;
312 lhp = RL_HEAD(resp, CACHEFS_RL_FREE);
313 memset(lhp, 0, sizeof (cachefs_rl_listhead_t));
314 lhp = RL_HEAD(resp, CACHEFS_RL_NONE);
315 memset(lhp, 0, sizeof (cachefs_rl_listhead_t));
316 lhp = RL_HEAD(resp, CACHEFS_RL_MF);
317 memset(lhp, 0, sizeof (cachefs_rl_listhead_t));
318 lhp = RL_HEAD(resp, CACHEFS_RL_ACTIVE);
319 memset(lhp, 0, sizeof (cachefs_rl_listhead_t));
342 cachefs_rl_listhead_t *lhp;
345 lhp = RL_HEAD(resp, type);
346 index = lhp->rli_front;
398 if (itemcnt != lhp->rli_itemcnt) {
401 lhp->rli_itemcnt, itemcnt);
660 cachefs_rl_listhead_t *lhp;
676 lhp = RL_HEAD(resp, otype);
677 if ((lhp->rli_back == 0) || (lhp->rli_front == 0))
678 assert((lhp->rli_back == 0) && (lhp->rli_front == 0));
680 if (lhp->rli_back == entno)
681 lhp->rli_back = next;
682 if (lhp->rli_front == entno)
683 lhp->rli_front = prev;
692 lhp->rli_blkcnt -= blks;
693 lhp->rli_itemcnt--;
698 lhp = RL_HEAD(resp, type);
702 rl_ent->rl_fwd_idx = lhp->rli_back;
704 if (lhp->rli_back != 0) {
705 assert(lhp->rli_front != 0);
706 rl_ent = res_rlent_get(resp, lhp->rli_back);
709 assert(lhp->rli_front == 0);
710 lhp->rli_front = entno;
712 lhp->rli_back = entno;
713 lhp->rli_blkcnt += blks;
714 lhp->rli_itemcnt++;