Lines Matching defs:clhp
1046 umem_cpu_log_header_t *clhp = &lhp->lh_cpu[i];
1047 (void) mutex_init(&clhp->clh_lock, USYNC_THREAD, NULL);
1048 clhp->clh_chunk = i;
1074 umem_cpu_log_header_t *clhp =
1080 (void) mutex_lock(&clhp->clh_lock);
1081 clhp->clh_hits++;
1082 if (size > clhp->clh_avail) {
1085 lhp->lh_free[lhp->lh_tail] = clhp->clh_chunk;
1087 clhp->clh_chunk = lhp->lh_free[lhp->lh_head];
1089 clhp->clh_current = lhp->lh_base +
1090 clhp->clh_chunk * lhp->lh_chunksize;
1091 clhp->clh_avail = lhp->lh_chunksize;
1096 logspace = clhp->clh_current;
1097 clhp->clh_current += size;
1098 clhp->clh_avail -= size;
1100 (void) mutex_unlock(&clhp->clh_lock);