| /xnu-12377.41.6/bsd/vm/ |
| H A D | vm_compressor_backing_file.c | 135 error = VNOP_IOCTL(vp, FIOPINSWAP, NULL, 0, ctx); in vm_swapfile_preallocate() 357 error = VNOP_IOCTL(devvp, _DKIOCCSUNMAP, (caddr_t)&cs_unmap, 0, vfs_context_kernel()); in vnode_trim_list() 360 error = VNOP_IOCTL(devvp, DKIOCUNMAP, (caddr_t)&unmap, 0, vfs_context_kernel()); in vnode_trim_list() 376 error = VNOP_IOCTL(devvp, _DKIOCCSUNMAP, (caddr_t)&cs_unmap, 0, vfs_context_kernel()); in vnode_trim_list() 379 error = VNOP_IOCTL(devvp, DKIOCUNMAP, (caddr_t)&unmap, 0, vfs_context_kernel()); in vnode_trim_list() 400 err = VNOP_IOCTL(devvp, DKIOCGETMAXSWAPWRITE, (caddr_t)freeze_daily_budget, 0, ctx); in vm_swap_vol_get_budget() 427 if ((error = VNOP_IOCTL(devvp, DKIOCGETBLOCKSIZE, (caddr_t)&block_size, 0, ctx))) { in vm_swap_vol_get_capacity() 431 if ((error = VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT, (caddr_t)&block_count, 0, ctx))) { in vm_swap_vol_get_capacity()
|
| H A D | vnode_pager.c | 119 error = VNOP_IOCTL(devvp, DKIOCGETBLOCKSIZE, (caddr_t)&blocksize, 0, vfs_context_kernel()); in vnode_pager_issue_reprioritize_io() 134 error = VNOP_IOCTL(devvp, DKIOCSETTIER, (caddr_t)&set_tier, 0, vfs_context_kernel()); in vnode_pager_issue_reprioritize_io() 253 error = VNOP_IOCTL(devvp, DKIOCGETBLOCKSIZE, (caddr_t)&blocksize, 0, vfs_context_kernel()); in vnode_trim() 286 error = VNOP_IOCTL(devvp, DKIOCUNMAP, (caddr_t)&unmap, 0, vfs_context_kernel()); in vnode_trim()
|
| /xnu-12377.41.6/bsd/kern/ |
| H A D | kern_symfile.c | 108 return VNOP_IOCTL(p1, theIoctl, result, 0, p2); in device_ioctl() 443 error = VNOP_IOCTL(ref->vp, FSCTL_FREEZE_EXTENTS, NULL, 0, ref->ctx); in kern_open_file_for_direct_io() 643 (void) VNOP_IOCTL(ref->vp, FSCTL_THAW_EXTENTS, NULL, 0, ref->ctx); in kern_open_file_for_direct_io() 741 (void) VNOP_IOCTL(ref->vp, FSCTL_THAW_EXTENTS, NULL, 0, ref->ctx); in kern_close_file_for_direct_io()
|
| H A D | kern_descrip.c | 3385 error = VNOP_IOCTL(vp, F_PUNCHHOLE, (caddr_t)&args, 0, &context); in sys_fcntl_nocancel() 3420 error = VNOP_IOCTL(vp, F_TRIM_ACTIVE_FILE, (caddr_t)&args, 0, &context); in sys_fcntl_nocancel() 3476 error = VNOP_IOCTL(vp, F_SPECULATIVE_READ, (caddr_t)&args, 0, &context); in sys_fcntl_nocancel() 3500 error = VNOP_IOCTL(vp, F_ATTRIBUTION_TAG, (caddr_t)&args, 0, &context); in sys_fcntl_nocancel() 3694 error = VNOP_IOCTL(vp, F_RDADVISE, (caddr_t)&ra_struct, 0, &context); in sys_fcntl_nocancel() 3866 error = VNOP_IOCTL(vp, cmd, (caddr_t)NULL, 0, &context); in sys_fcntl_nocancel() 3877 error = VNOP_IOCTL(vp, F_FULLFSYNC, (caddr_t)NULL, 0, &context); in sys_fcntl_nocancel() 4458 error = VNOP_IOCTL(vp, F_TRANSCODEKEY, (caddr_t)&k, 1, &context); in sys_fcntl_nocancel() 4486 error = VNOP_IOCTL(vp, F_GETPROTECTIONLEVEL, (caddr_t)retval, 0, &context); in sys_fcntl_nocancel() 4511 error = VNOP_IOCTL(vp, F_GETDEFAULTPROTLEVEL, (caddr_t)retval, 0, &context); in sys_fcntl_nocancel() [all …]
|
| H A D | tty_tty.c | 228 error = VNOP_IOCTL(ttyvp, cmd, addr, flag, &context); in cttyioctl()
|
| H A D | kern_core.c | 817 error = VNOP_IOCTL(vp, F_FULLFSYNC, (caddr_t)NULL, 0, ctx); in coredump()
|
| H A D | bsd_init.c | 949 int autherr = VNOP_IOCTL(rootvnode, FSIOC_KERNEL_ROOTAUTH, NULL, 0, vfs_context_kernel()); in bsd_init()
|
| H A D | imageboot.c | 334 rootauth = VNOP_IOCTL(mount_vp, FSIOC_KERNEL_ROOTAUTH, (caddr_t)0x1, 0, vfs_context_kernel()); in imageboot_pivot_image()
|
| H A D | decmpfs.c | 2014 err = VNOP_IOCTL(vp, FSIOC_CAS_BSDFLAGS, (caddr_t)&cas, FWRITE, decmpfs_ctx);
|
| H A D | kdebug.c | 3497 ret = VNOP_IOCTL(vp, F_FULLFSYNC, (caddr_t)NULL, 0, ctx); in kdbg_dump_trace_to_file()
|
| /xnu-12377.41.6/bsd/miscfs/mockfs/ |
| H A D | mockfs_vfsops.c | 100 if (!VNOP_IOCTL(rvp, DKIOCGETMEMDEVINFO, (caddr_t)&memdev_info, 0, NULL)) { in mockfs_mountroot()
|
| /xnu-12377.41.6/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 312 if (VNOP_IOCTL(vp, DKIOCISSOLIDSTATE, (caddr_t)&isssd, 0, ctx)) { in spec_init_bsdunit() 315 if (VNOP_IOCTL(vp, DKIOCGETTHROTTLEMASK, (caddr_t)&throttle_mask, 0, NULL)) { in spec_init_bsdunit() 414 if (VNOP_IOCTL(vp, DKIOCGETTHROTTLEMASK, (caddr_t)&throttle_mask, 0, NULL) == 0) { in spec_open() 416 VNOP_IOCTL(vp, DKIOCISSOLIDSTATE, (caddr_t)&isssd, 0, ap->a_context) == 0) { in spec_open() 479 if (!VNOP_IOCTL(vp, DKIOCGETBLOCKSIZE, (caddr_t)&blksize, 0, ap->a_context)) { in spec_open() 482 if (!VNOP_IOCTL(vp, DKIOCSETBLOCKSIZE, (caddr_t)&size512, FWRITE, ap->a_context)) { in spec_open() 484 if (!VNOP_IOCTL(vp, DKIOCGETBLOCKCOUNT, (caddr_t)&blkcnt, 0, ap->a_context)) { in spec_open() 489 if (VNOP_IOCTL(vp, DKIOCSETBLOCKSIZE, (caddr_t)&blksize, FWRITE, ap->a_context)) { in spec_open()
|
| /xnu-12377.41.6/bsd/vfs/ |
| H A D | vfs_exclave_fs.c | 227 error = VNOP_IOCTL(vp, FSIOC_GET_GRAFT_INFO, (caddr_t)&ggi, 0, vfs_context_kernel()); in get_graft_info() 251 error = VNOP_IOCTL(vp, FSIOC_GET_GRAFT_INFO, (caddr_t)&ggi, 0, vfs_context_kernel()); in get_graft_info() 546 error = VNOP_IOCTL(vp, FSIOC_EVAL_ROOTAUTH, NULL, 0, vfs_context_kernel()); in vfs_exclave_fs_register() 1345 error = VNOP_IOCTL(vp, command, (caddr_t)NULL, 0, vfs_context_kernel()); in vfs_exclave_fs_sync()
|
| H A D | vfs_subr.c | 4491 VNOP_IOCTL(devvp, DKIOCGETTHROTTLEMASK, (caddr_t)&mp->mnt_throttle_mask, 0, NULL); in vfs_init_io_attributes() 4519 if ((error = VNOP_IOCTL(devvp, DKIOCGETBLOCKSIZE, in vfs_init_io_attributes() 4536 if (VNOP_IOCTL(devvp, DKIOCISVIRTUAL, (caddr_t)&isvirtual, 0, ctx) == 0) { in vfs_init_io_attributes() 4542 if (VNOP_IOCTL(devvp, DKIOCISSOLIDSTATE, (caddr_t)&isssd, 0, ctx) == 0) { in vfs_init_io_attributes() 4547 if ((error = VNOP_IOCTL(devvp, DKIOCGETFEATURES, in vfs_init_io_attributes() 4552 if ((error = VNOP_IOCTL(devvp, DKIOCGETMAXBLOCKCOUNTREAD, in vfs_init_io_attributes() 4557 if ((error = VNOP_IOCTL(devvp, DKIOCGETMAXBLOCKCOUNTWRITE, in vfs_init_io_attributes() 4562 if ((error = VNOP_IOCTL(devvp, DKIOCGETMAXBYTECOUNTREAD, in vfs_init_io_attributes() 4567 if ((error = VNOP_IOCTL(devvp, DKIOCGETMAXBYTECOUNTWRITE, in vfs_init_io_attributes() 4572 if ((error = VNOP_IOCTL(devvp, DKIOCGETMAXSEGMENTCOUNTREAD, in vfs_init_io_attributes() [all …]
|
| H A D | vfs_vnops.c | 692 error = VNOP_IOCTL(vp, FSIOC_AUTH_FS, (caddr_t)&afs, 0, ctx); in vn_open_auth() 1806 error = VNOP_IOCTL(vp, com, data, fp->fp_glob->fg_flag, ctx); in vn_ioctl() 2388 error = VNOP_IOCTL(vp, FSIOC_AUTH_FS, (caddr_t)&afs, 0, in vnode_isauthfs()
|
| H A D | vfs_syscalls.c | 720 error = VNOP_IOCTL(cryptex_vp, FSIOC_GRAFT_FS, (caddr_t)&gfs, 0, vctx); in graft_secureboot_cryptex() 891 error = VNOP_IOCTL(nd.ni_vp, FSIOC_UNGRAFT_FS, (caddr_t)&ugfs, 0, ctx); in ungraftdmg() 4769 error = VNOP_IOCTL(incoming_rootvp, FSIOC_KERNEL_ROOTAUTH, NULL, 0, vfs_context_kernel()); in pivot_root() 6867 error = VNOP_IOCTL(vp, FSIOC_FIOSEEKHOLE, (caddr_t)&offset, 0, ctx); in lseek() 6870 error = VNOP_IOCTL(vp, FSIOC_FIOSEEKDATA, (caddr_t)&offset, 0, ctx); in lseek() 12253 error = VNOP_IOCTL(vp, APFSIOC_GET_SYNC_ROOT, in nspace_resolver_req_completed() 13149 return VNOP_IOCTL(vp, FSIOC_CAS_BSDFLAGS, arg, FWRITE, ctx); in cas_bsdflags_setattr() 13207 error = VNOP_IOCTL(vp, F_FULLFSYNC, (caddr_t)NULL, 0, ctx); in handle_sync_volume() 13272 rootauth = VNOP_IOCTL(vp, cmd, data, (int)options, ctx); in handle_auth() 13574 error = VNOP_IOCTL(vp, cmd, data, (int)options, ctx); in fsctl_internal() [all …]
|
| H A D | vfs_attrlist.c | 1385 error = VNOP_IOCTL(vp, HFS_GET_BOOT_INFO, (caddr_t)&f, 0, ctx); in getvolattrlist() 4814 error = VNOP_IOCTL(vp, HFS_SET_BOOT_INFO, (caddr_t)fndrinfo, 0, ctx); in setattrlist_internal()
|
| H A D | vfs_fsevents.c | 1074 …iret = VNOP_IOCTL(mnt_rootvp, APFSIOC_NEXT_LINK, (char *)&next_linkid, (int)0, vfs_context_kernel(… in add_fsevent()
|
| H A D | vfs_bio.c | 4374 VNOP_IOCTL(mp->mnt_devvp, DKIOCGETERRORDESCRIPTION, (caddr_t)&desc, 0, vfs_context_kernel()); in buf_biodone()
|
| H A D | kpi_vfs.c | 4041 VNOP_IOCTL(vnode_t vp, u_long command, caddr_t data, int fflag, vfs_context_t ctx) in VNOP_IOCTL() function
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | vnode_if.h | 529 extern errno_t VNOP_IOCTL(vnode_t vp, u_long command, caddr_t data, int fflag, vfs_context_t ctx);
|
| /xnu-12377.41.6/iokit/bsddev/ |
| H A D | IOKitBSDInit.cpp | 1245 int error = VNOP_IOCTL(rootvnode, HFS_IOCTL_VOLUME_STATUS, (caddr_t)&status_flags, 0, in IOCoreFileGetSize()
|