Lines Matching refs:do_ioctl
113 int (*do_ioctl)(void * p1, void * p2, u_long theIoctl, caddr_t result); in kern_ioctl_file_extents() local
128 do_ioctl = &file_ioctl; in kern_ioctl_file_extents()
133 do_ioctl = &device_ioctl; in kern_ioctl_file_extents()
140 (void) do_ioctl(p1, p2, _DKIOCCSPINEXTENT, (caddr_t)&pin); in kern_ioctl_file_extents()
144 (void) do_ioctl(p1, p2, _DKIOCCSUNPINEXTENT, (caddr_t)&pin); in kern_ioctl_file_extents()
173 error = do_ioctl(p1, p2, theIoctl, (caddr_t)&unmap); in kern_ioctl_file_extents()
179 error = do_ioctl(p1, p2, theIoctl, (caddr_t)&pin); in kern_ioctl_file_extents()
187 error = do_ioctl(p1, p2, theIoctl, (caddr_t)&pin); in kern_ioctl_file_extents()
245 int (*do_ioctl)(void * p1, void * p2, u_long theIoctl, caddr_t result); in kern_open_file_for_direct_io() local
313 do_ioctl = &file_ioctl; in kern_open_file_for_direct_io()
316 error = do_ioctl(p1, p2, DKIOCAPFSGETWBCRANGE, (caddr_t) &wbc_range); in kern_open_file_for_direct_io()
361 do_ioctl = &device_ioctl; in kern_open_file_for_direct_io()
372 error = do_ioctl(p1, p2, DKIOCCORESTORAGE, (caddr_t)&cs_info); in kern_open_file_for_direct_io()
377 error = do_ioctl(p1, p2, DKIOCGETBLOCKSIZE, (caddr_t) &ref->blksize); in kern_open_file_for_direct_io()
389 error = do_ioctl(p1, p2, DKIOCGETBLOCKCOUNT, (caddr_t) &fileblk); in kern_open_file_for_direct_io()
414 error = do_ioctl(p1, p2, DKIOCLOCKPHYSICALEXTENTS, NULL); in kern_open_file_for_direct_io()
447 error = do_ioctl(p1, p2, DKIOCGETPHYSICALEXTENT, (caddr_t) &getphysreq); in kern_open_file_for_direct_io()
485 do_ioctl = &file_ioctl; in kern_open_file_for_direct_io()
491 error = do_ioctl(p1, p2, DKIOCGETBASE, (caddr_t) partitionbase_result); in kern_open_file_for_direct_io()
499 error = do_ioctl(p1, p2, DKIOCGETBLOCKSIZE, (caddr_t) &blksize); in kern_open_file_for_direct_io()
506 error = do_ioctl(p1, p2, DKIOCGETMAXBLOCKCOUNTREAD, (caddr_t) &count); in kern_open_file_for_direct_io()
515 error = do_ioctl(p1, p2, DKIOCGETMAXBLOCKCOUNTWRITE, (caddr_t) &count); in kern_open_file_for_direct_io()
524 error = do_ioctl(p1, p2, DKIOCGETMAXBYTECOUNTREAD, (caddr_t) &count); in kern_open_file_for_direct_io()
532 error = do_ioctl(p1, p2, DKIOCGETMAXBYTECOUNTWRITE, (caddr_t) &count); in kern_open_file_for_direct_io()
540 error = do_ioctl(p1, p2, DKIOCGETMAXSEGMENTBYTECOUNTREAD, (caddr_t) &count); in kern_open_file_for_direct_io()
542 error = do_ioctl(p1, p2, DKIOCGETMAXSEGMENTCOUNTREAD, (caddr_t) &segcount); in kern_open_file_for_direct_io()
552 error = do_ioctl(p1, p2, DKIOCGETMAXSEGMENTBYTECOUNTWRITE, (caddr_t) &count); in kern_open_file_for_direct_io()
554 error = do_ioctl(p1, p2, DKIOCGETMAXSEGMENTCOUNTWRITE, (caddr_t) &segcount); in kern_open_file_for_direct_io()
569 error = do_ioctl(p1, p2, DKIOCISSOLIDSTATE, (caddr_t)&isssd); in kern_open_file_for_direct_io()
596 (void) do_ioctl(p1, p2, DKIOCUNLOCKPHYSICALEXTENTS, NULL); in kern_open_file_for_direct_io()
607 (void) do_ioctl(p1, p2, DKIOCAPFSRELEASEWBCRANGE, (caddr_t) NULL); in kern_open_file_for_direct_io()
662 int (*do_ioctl)(void * p1, void * p2, u_long theIoctl, caddr_t result); in kern_close_file_for_direct_io() local
672 do_ioctl = &file_ioctl; in kern_close_file_for_direct_io()
677 do_ioctl = &device_ioctl; in kern_close_file_for_direct_io()
679 (void) do_ioctl(p1, p2, DKIOCUNLOCKPHYSICALEXTENTS, NULL); in kern_close_file_for_direct_io()
699 (void) do_ioctl(p1, p2, DKIOCAPFSRELEASEWBCRANGE, (caddr_t) NULL); in kern_close_file_for_direct_io()