Lines Matching refs:hfc_stage
179 if (hfsmp->hfc_stage != HFC_IDLE) {
182 hfsmp->hfc_stage = HFC_BUSY;
238 hfsmp->hfc_stage = HFC_IDLE;
239 wakeup((caddr_t)&hfsmp->hfc_stage);
281 hfsmp->hfc_stage = HFC_RECORDING;
282 wakeup((caddr_t)&hfsmp->hfc_stage);
298 enum hfc_stage newstage = HFC_IDLE;
301 if (hfsmp->hfc_stage != HFC_RECORDING)
304 hfsmp->hfc_stage = HFC_BUSY;
321 hfsmp->hfc_stage = HFC_EVALUATION;
322 wakeup((caddr_t)&hfsmp->hfc_stage);
416 hfsmp->hfc_stage = newstage;
417 wakeup((caddr_t)&hfsmp->hfc_stage);
433 if (hfsmp->hfc_stage == HFC_DISABLED)
446 if (hotdata == NULL || hfsmp->hfc_stage != HFC_RECORDING) {
450 hfsmp->hfc_stage = HFC_BUSY;
496 hfsmp->hfc_stage = HFC_DISABLED;
497 wakeup((caddr_t)&hfsmp->hfc_stage);
532 hfsmp->hfc_stage = HFC_DISABLED;
542 hfsmp->hfc_stage = HFC_DISABLED;
551 if (hfsmp->hfc_stage == HFC_DISABLED)
552 hfsmp->hfc_stage = HFC_IDLE;
693 hfsmp->hfc_stage = HFC_IDLE;
705 if (hfsmp->hfc_stage) {
710 switch (hfsmp->hfc_stage) {
756 if (hfsmp->hfc_stage != HFC_RECORDING)
776 if (hfsmp->hfc_stage != HFC_RECORDING)
847 if (hfsmp->hfc_stage != HFC_RECORDING)
863 if (hfsmp->hfc_stage != HFC_RECORDING)
1059 enum hfc_stage stage;
1070 if (hfsmp->hfc_stage != HFC_ADOPTION) {
1077 stage = hfsmp->hfc_stage;
1078 hfsmp->hfc_stage = HFC_BUSY;
1243 hfsmp->hfc_stage = stage;
1244 wakeup((caddr_t)&hfsmp->hfc_stage);
1261 enum hfc_stage stage;
1270 if (hfsmp->hfc_stage != HFC_EVICTION) {
1281 stage = hfsmp->hfc_stage;
1282 hfsmp->hfc_stage = HFC_BUSY;
1440 hfsmp->hfc_stage = stage;
1441 wakeup((caddr_t)&hfsmp->hfc_stage);