Lines Matching refs:new_one
100 PowerChangeEntry *new_one = NULL;
102 new_one = (PowerChangeEntry *)IOMalloc(sizeof(PowerChangeEntry));
103 if(!new_one) return false;
105 new_one->actionType = IOPMPowerStateQueue::kUnIdle;
106 new_one->state = inState;
107 new_one->target = inTarget;
113 OSEnqueueAtomic((void **)&changes, (void *)new_one, 0);
126 PowerChangeEntry *new_one = NULL;
128 new_one = (PowerChangeEntry *)IOMalloc(sizeof(PowerChangeEntry));
129 if(!new_one) return false;
131 new_one->actionType = IOPMPowerStateQueue::kPMFeatureChange;
132 new_one->state = inState;
133 new_one->target = inTarget;
139 OSEnqueueAtomic((void **)&changes, (void *)new_one, 0);