Home
last modified time | relevance | path

Searched refs:VNOP_IOCTL (Results 1 – 22 of 22) sorted by relevance

/xnu-12377.41.6/bsd/vm/
H A Dvm_compressor_backing_file.c135 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 Dvnode_pager.c119 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 Dkern_symfile.c108 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 Dkern_descrip.c3385 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 Dtty_tty.c228 error = VNOP_IOCTL(ttyvp, cmd, addr, flag, &context); in cttyioctl()
H A Dkern_core.c817 error = VNOP_IOCTL(vp, F_FULLFSYNC, (caddr_t)NULL, 0, ctx); in coredump()
H A Dbsd_init.c949 int autherr = VNOP_IOCTL(rootvnode, FSIOC_KERNEL_ROOTAUTH, NULL, 0, vfs_context_kernel()); in bsd_init()
H A Dimageboot.c334 rootauth = VNOP_IOCTL(mount_vp, FSIOC_KERNEL_ROOTAUTH, (caddr_t)0x1, 0, vfs_context_kernel()); in imageboot_pivot_image()
H A Ddecmpfs.c2014 err = VNOP_IOCTL(vp, FSIOC_CAS_BSDFLAGS, (caddr_t)&cas, FWRITE, decmpfs_ctx);
H A Dkdebug.c3497 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 Dmockfs_vfsops.c100 if (!VNOP_IOCTL(rvp, DKIOCGETMEMDEVINFO, (caddr_t)&memdev_info, 0, NULL)) { in mockfs_mountroot()
/xnu-12377.41.6/bsd/miscfs/specfs/
H A Dspec_vnops.c312 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 Dvfs_exclave_fs.c227 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 Dvfs_subr.c4491 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 Dvfs_vnops.c692 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 Dvfs_syscalls.c720 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 Dvfs_attrlist.c1385 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 Dvfs_fsevents.c1074 …iret = VNOP_IOCTL(mnt_rootvp, APFSIOC_NEXT_LINK, (char *)&next_linkid, (int)0, vfs_context_kernel(… in add_fsevent()
H A Dvfs_bio.c4374 VNOP_IOCTL(mp->mnt_devvp, DKIOCGETERRORDESCRIPTION, (caddr_t)&desc, 0, vfs_context_kernel()); in buf_biodone()
H A Dkpi_vfs.c4041 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 Dvnode_if.h529 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 DIOKitBSDInit.cpp1245 int error = VNOP_IOCTL(rootvnode, HFS_IOCTL_VOLUME_STATUS, (caddr_t)&status_flags, 0, in IOCoreFileGetSize()