Searched refs:getphysreq (Results 1 – 1 of 1) sorted by relevance
448 dk_physical_extent_t getphysreq; in kern_open_file_for_direct_io() local449 bzero(&getphysreq, sizeof(getphysreq)); in kern_open_file_for_direct_io()451 getphysreq.offset = fileblk + physoffset; in kern_open_file_for_direct_io()452 getphysreq.length = (filechunk - physoffset); in kern_open_file_for_direct_io()453 error = do_ioctl(p1, p2, DKIOCGETPHYSICALEXTENT, (caddr_t) &getphysreq); in kern_open_file_for_direct_io()458 target = getphysreq.dev; in kern_open_file_for_direct_io()459 } else if (target != getphysreq.dev) { in kern_open_file_for_direct_io()464 assert(getphysreq.offset >= minoffset); in kern_open_file_for_direct_io()468 for (rev = 4096; rev <= getphysreq.length; rev += 4096) { in kern_open_file_for_direct_io()469 callback(callback_ref, getphysreq.offset + getphysreq.length - rev, 4096); in kern_open_file_for_direct_io()[all …]