Lines Matching defs:cpuhp
8930 cpu_hme_pend_t *cpuhp;
8934 cpuhp = &cpu_hme_pend[i];
8935 if (cpuhp->chp_listp != NULL) {
8936 mutex_enter(&cpuhp->chp_mutex);
8937 if (cpuhp->chp_listp == NULL) {
8938 mutex_exit(&cpuhp->chp_mutex);
8941 for (last_hmeblkp = cpuhp->chp_listp;
8946 list = cpuhp->chp_listp;
8947 cpuhp->chp_listp = NULL;
8948 cpuhp->chp_count = 0;
8949 mutex_exit(&cpuhp->chp_mutex);
15381 cpu_hme_pend_t *cpuhp;
15394 cpuhp = &cpu_hme_pend[CPU->cpu_seqid];
15395 mutex_enter(&cpuhp->chp_mutex);
15397 if ((cpuhp->chp_count + count) == 0) {
15398 mutex_exit(&cpuhp->chp_mutex);
15402 if ((now.tv_sec - cpuhp->chp_timestamp) > 1) {
15407 (cpuhp->chp_count + count) > cpu_hme_pend_thresh ||
15411 *listp = cpuhp->chp_listp;
15413 pr_hblkp->hblk_next = cpuhp->chp_listp;
15415 cpuhp->chp_listp = NULL;
15416 cpuhp->chp_count = 0;
15417 cpuhp->chp_timestamp = now.tv_sec;
15418 mutex_exit(&cpuhp->chp_mutex);
15432 pr_hblkp->hblk_next = cpuhp->chp_listp;
15433 cpuhp->chp_listp = *listp;
15434 cpuhp->chp_count += count;
15436 mutex_exit(&cpuhp->chp_mutex);
15438 mutex_exit(&cpuhp->chp_mutex);
15597 cpu_hme_pend_t *cpuhp;
15601 cpuhp = &cpu_hme_pend[i];
15602 if (cpuhp->chp_listp != NULL) {
15603 mutex_enter(&cpuhp->chp_mutex);
15604 if (cpuhp->chp_listp == NULL) {
15605 mutex_exit(&cpuhp->chp_mutex);
15610 for (hmeblkp = cpuhp->chp_listp; hmeblkp != NULL;
15614 cpuhp->chp_listp =
15620 ASSERT(cpuhp->chp_count > 0);
15621 cpuhp->chp_count--;
15628 mutex_exit(&cpuhp->chp_mutex);