Lines Matching refs:handoff

1300 			IOHibernateHandoff * handoff;  in IOHibernateDone()  local
1302 for (handoff = (IOHibernateHandoff *) vars->handoffBuffer->getBytesNoCopy(); in IOHibernateDone()
1304 handoff = (IOHibernateHandoff *) &handoff->data[handoff->bytecount]) { in IOHibernateDone()
1305 HIBPRINT("handoff %p, %x, %x\n", handoff, handoff->type, handoff->bytecount); in IOHibernateDone()
1306 uint8_t * __unused data = &handoff->data[0]; in IOHibernateDone()
1307 switch (handoff->type) { in IOHibernateDone()
1335 (vm_offset_t)data, (vm_size_t)handoff->bytecount); in IOHibernateDone()
1344 md = IOBufferMemoryDescriptor::withBytes(data, handoff->bytecount, kIODirectionOutIn); in IOHibernateDone()
1353 done = (kIOHibernateHandoffType != (handoff->type & 0xFFFF0000)); in IOHibernateDone()
2393 IOHibernateHandoff * handoff; in hibernate_machine_init() local
2400 for (handoff = (IOHibernateHandoff *) vars->handoffBuffer->getBytesNoCopy(); in hibernate_machine_init()
2402 handoff = (IOHibernateHandoff *) &handoff->data[handoff->bytecount]) { in hibernate_machine_init()
2403 if (((uint8_t*)handoff < handoffStart) || in hibernate_machine_init()
2404 (&handoff->data[handoff->bytecount] > handoffEnd)) { in hibernate_machine_init()
2408 uint8_t * data = &handoff->data[0]; in hibernate_machine_init()
2409 switch (handoff->type) { in hibernate_machine_init()
2415 if (handoff->bytecount == sizeof(*gIOHibernateGraphicsInfo)) { in hibernate_machine_init()
2423 wakevars = (hibernate_cryptwakevars_t *) &handoff->data[0]; in hibernate_machine_init()
2424 if (handoff->bytecount == sizeof(*wakevars)) { in hibernate_machine_init()
2427 panic("kIOHibernateHandoffTypeCryptVars(%d)", handoff->bytecount); in hibernate_machine_init()
2431 bzero(data, handoff->bytecount); in hibernate_machine_init()
2435 if (handoff->bytecount == vars->volumeCryptKeySize) { in hibernate_machine_init()
2439 panic("kIOHibernateHandoffTypeVolumeCryptKey(%d)", handoff->bytecount); in hibernate_machine_init()
2448 hibernate_newruntime_map(data, handoff->bytecount, in hibernate_machine_init()
2469 done = (kIOHibernateHandoffType != (handoff->type & 0xFFFF0000)); in hibernate_machine_init()