Searched refs:getphysreq (Results 1 – 1 of 1) sorted by relevance
479 dk_physical_extent_t getphysreq; in kern_open_file_for_direct_io() local480 bzero(&getphysreq, sizeof(getphysreq)); in kern_open_file_for_direct_io()482 getphysreq.offset = fileblk + physoffset; in kern_open_file_for_direct_io()483 getphysreq.length = (filechunk - physoffset); in kern_open_file_for_direct_io()484 error = do_ioctl(p1, p2, DKIOCGETPHYSICALEXTENT, (caddr_t) &getphysreq); in kern_open_file_for_direct_io()489 target = getphysreq.dev; in kern_open_file_for_direct_io()490 } else if (target != getphysreq.dev) { in kern_open_file_for_direct_io()495 assert(getphysreq.offset >= minoffset); in kern_open_file_for_direct_io()499 for (rev = 4096; rev <= getphysreq.length; rev += 4096) { in kern_open_file_for_direct_io()500 callback(callback_ref, getphysreq.offset + getphysreq.length - rev, 4096); in kern_open_file_for_direct_io()[all …]