Lines Matching refs:handoff

1301 			IOHibernateHandoff * handoff;  in IOHibernateDone()  local
1303 for (handoff = (IOHibernateHandoff *) vars->handoffBuffer->getBytesNoCopy(); in IOHibernateDone()
1305 handoff = (IOHibernateHandoff *) &handoff->data[handoff->bytecount]) { in IOHibernateDone()
1306 HIBPRINT("handoff %p, %x, %x\n", handoff, handoff->type, handoff->bytecount); in IOHibernateDone()
1307 uint8_t * __unused data = &handoff->data[0]; in IOHibernateDone()
1308 switch (handoff->type) { in IOHibernateDone()
1336 (vm_offset_t)data, (vm_size_t)handoff->bytecount); in IOHibernateDone()
1345 md = IOBufferMemoryDescriptor::withBytes(data, handoff->bytecount, kIODirectionOutIn); in IOHibernateDone()
1354 done = (kIOHibernateHandoffType != (handoff->type & 0xFFFF0000)); in IOHibernateDone()
2396 IOHibernateHandoff * handoff; in hibernate_machine_init() local
2403 for (handoff = (IOHibernateHandoff *) vars->handoffBuffer->getBytesNoCopy(); in hibernate_machine_init()
2405 handoff = (IOHibernateHandoff *) &handoff->data[handoff->bytecount]) { in hibernate_machine_init()
2406 if (((uint8_t*)handoff < handoffStart) || in hibernate_machine_init()
2407 (&handoff->data[handoff->bytecount] > handoffEnd)) { in hibernate_machine_init()
2411 uint8_t * data = &handoff->data[0]; in hibernate_machine_init()
2412 switch (handoff->type) { in hibernate_machine_init()
2418 if (handoff->bytecount == sizeof(*gIOHibernateGraphicsInfo)) { in hibernate_machine_init()
2426 wakevars = (hibernate_cryptwakevars_t *) &handoff->data[0]; in hibernate_machine_init()
2427 if (handoff->bytecount == sizeof(*wakevars)) { in hibernate_machine_init()
2430 panic("kIOHibernateHandoffTypeCryptVars(%d)", handoff->bytecount); in hibernate_machine_init()
2434 bzero(data, handoff->bytecount); in hibernate_machine_init()
2438 if (handoff->bytecount == vars->volumeCryptKeySize) { in hibernate_machine_init()
2442 panic("kIOHibernateHandoffTypeVolumeCryptKey(%d)", handoff->bytecount); in hibernate_machine_init()
2451 hibernate_newruntime_map(data, handoff->bytecount, in hibernate_machine_init()
2472 done = (kIOHibernateHandoffType != (handoff->type & 0xFFFF0000)); in hibernate_machine_init()