Lines Matching refs:bytecount
1358 handoff = (IOHibernateHandoff *) &handoff->data[handoff->bytecount]) { in IOHibernateDone()
1359 HIBPRINT("handoff %p, %x, %x\n", handoff, handoff->type, handoff->bytecount); in IOHibernateDone()
1389 (vm_offset_t)data, (vm_size_t)handoff->bytecount); in IOHibernateDone()
1398 md = IOBufferMemoryDescriptor::withBytes(data, handoff->bytecount, kIODirectionOutIn); in IOHibernateDone()
2485 handoff = (IOHibernateHandoff *) &handoff->data[handoff->bytecount]) { in hibernate_machine_init()
2487 (&handoff->data[handoff->bytecount] > handoffEnd)) { in hibernate_machine_init()
2498 if (handoff->bytecount == sizeof(*gIOHibernateGraphicsInfo)) { in hibernate_machine_init()
2507 if (handoff->bytecount == sizeof(*wakevars)) { in hibernate_machine_init()
2510 panic("kIOHibernateHandoffTypeCryptVars(%d)", handoff->bytecount); in hibernate_machine_init()
2514 bzero(data, handoff->bytecount); in hibernate_machine_init()
2518 if (handoff->bytecount == vars->volumeCryptKeySize) { in hibernate_machine_init()
2522 panic("kIOHibernateHandoffTypeVolumeCryptKey(%d)", handoff->bytecount); in hibernate_machine_init()
2531 hibernate_newruntime_map(data, handoff->bytecount, in hibernate_machine_init()