Lines Matching refs:bytecount
1342 handoff = (IOHibernateHandoff *) &handoff->data[handoff->bytecount]) { in IOHibernateDone()
1343 HIBPRINT("handoff %p, %x, %x\n", handoff, handoff->type, handoff->bytecount); in IOHibernateDone()
1373 (vm_offset_t)data, (vm_size_t)handoff->bytecount); in IOHibernateDone()
1382 md = IOBufferMemoryDescriptor::withBytes(data, handoff->bytecount, kIODirectionOutIn); in IOHibernateDone()
2464 handoff = (IOHibernateHandoff *) &handoff->data[handoff->bytecount]) { in hibernate_machine_init()
2466 (&handoff->data[handoff->bytecount] > handoffEnd)) { in hibernate_machine_init()
2477 if (handoff->bytecount == sizeof(*gIOHibernateGraphicsInfo)) { in hibernate_machine_init()
2486 if (handoff->bytecount == sizeof(*wakevars)) { in hibernate_machine_init()
2489 panic("kIOHibernateHandoffTypeCryptVars(%d)", handoff->bytecount); in hibernate_machine_init()
2493 bzero(data, handoff->bytecount); in hibernate_machine_init()
2497 if (handoff->bytecount == vars->volumeCryptKeySize) { in hibernate_machine_init()
2501 panic("kIOHibernateHandoffTypeVolumeCryptKey(%d)", handoff->bytecount); in hibernate_machine_init()
2510 hibernate_newruntime_map(data, handoff->bytecount, in hibernate_machine_init()