/xnu-2422.115.4/bsd/sys/ |
H A D | ubc.h | 61 int ubc_sync_range(vnode_t, off_t, off_t, int); 62 errno_t ubc_msync(vnode_t, off_t, off_t, off_t *, int); 63 int ubc_pages_resident(vnode_t); 64 int ubc_page_op(vnode_t, off_t, int, ppnum_t *, int *); 65 int ubc_range_op(vnode_t, off_t, off_t, int, int *); 72 struct cs_blob *ubc_cs_blob_get(vnode_t, cpu_type_t, off_t); 79 int advisory_read(vnode_t, off_t, off_t, int); 80 int advisory_read_ext(vnode_t, off_t, off_t, int, int (*)(buf_t, void *), void *, int); 82 int cluster_read(vnode_t, struct uio *, off_t, int); 83 int cluster_read_ext(vnode_t, struc [all...] |
H A D | vnode.h | 216 struct mount * vnfs_mp; /* mount point to which this vnode_t is part of */ 350 vnode_t vp, 369 vnode_t vp, 386 vnode_t vp, 400 vnode_t vp, 411 extern int vnode_trigger_update(vnode_t vp, resolver_result_t result); 758 errno_t vnode_create(uint32_t, uint32_t, void *, vnode_t *); 769 int vnode_addfsref(vnode_t); 778 int vnode_removefsref(vnode_t); 787 int vnode_hasdirtyblks(vnode_t); [all...] |
H A D | vnode_internal.h | 133 vnode_t v_defer_reclaimlist; /* in case we have to defer the reclaim to avoid recursion */ 171 vnode_t v_parent; /* pointer to parent vnode */ 367 int build_path(vnode_t first_vp, char *buff, int buflen, int *outlen, int flags, vfs_context_t ctx); 388 int vn_close(vnode_t, int flags, vfs_context_t ctx); 389 errno_t vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx); 394 void lock_vnode_and_post(vnode_t, int); 404 int vn_authorize_open_existing(vnode_t vp, struct componentname *cnp, int fmode, vfs_context_t ctx, void *reserved); 405 int vn_authorize_create(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, void*); 406 int vn_attribute_prepare(vnode_t dv [all...] |
H A D | vnode_if.h | 159 vnode_t a_dvp; 160 vnode_t *a_vpp; 178 extern errno_t VNOP_LOOKUP(vnode_t, vnode_t *, struct componentname *, vfs_context_t); 183 vnode_t a_dvp; 184 vnode_t *a_vpp; 204 extern errno_t VNOP_CREATE(vnode_t, vnode_t *, struct componentname *, struct vnode_attr *, vfs_context_t); 209 vnode_t a_dvp; 231 extern errno_t VNOP_WHITEOUT(vnode_t, struc [all...] |
H A D | ubc_internal.h | 123 vnode_t ui_vnode; /* vnode for this ubc_info */ 161 __private_extern__ memory_object_t ubc_getpager(vnode_t); 162 __private_extern__ void ubc_destroy_named(vnode_t); 167 __private_extern__ uint32_t cluster_throttle_io_limit(vnode_t, uint32_t *); 175 memory_object_control_t ubc_getobject(vnode_t, int); 176 boolean_t ubc_strict_uncached_IO(vnode_t); 178 int ubc_info_init(vnode_t); 179 int ubc_info_init_withsize(vnode_t, off_t); 182 int ubc_isinuse(vnode_t, int); 183 int ubc_isinuse_locked(vnode_t, in [all...] |
H A D | decmpfs.h | 118 int decmpfs_file_is_compressed(vnode_t vp, decmpfs_cnode *cp); 119 errno_t decmpfs_validate_compressed_file(vnode_t vp, decmpfs_cnode *cp); 120 int decmpfs_decompress_file(vnode_t vp, decmpfs_cnode *cp, off_t toSize, int truncate_okay, int skiplock); /* if toSize == -1, decompress the entire file */ 121 int decmpfs_free_compressed_data(vnode_t vp, decmpfs_cnode *cp); 122 int decmpfs_update_attributes(vnode_t vp, struct vnode_attr *vap); 130 typedef int (*decmpfs_validate_compressed_file_func)(vnode_t vp, vfs_context_t ctx, decmpfs_header *hdr); 131 typedef void (*decmpfs_adjust_fetch_region_func)(vnode_t vp, vfs_context_t ctx, decmpfs_header *hdr, off_t *offset, user_ssize_t *size); 132 typedef int (*decmpfs_fetch_uncompressed_data_func)(vnode_t vp, vfs_context_t ctx, decmpfs_header *hdr, off_t offset, user_ssize_t size, int nvec, decmpfs_vector *vec, uint64_t *bytes_read); 133 typedef int (*decmpfs_free_compressed_data_func)(vnode_t vp, vfs_context_t ctx, decmpfs_header *hdr); 134 typedef uint64_t (*decmpfs_get_decompression_flags_func)(vnode_t v [all...] |
H A D | buf.h | 510 vnode_t buf_vnode(buf_t); 520 void buf_setvnode(buf_t, vnode_t); 542 errno_t buf_setdevice(buf_t, vnode_t); 557 errno_t buf_strategy(vnode_t, void *); 583 errno_t buf_invalblkno(vnode_t, daddr64_t, int); 677 buf_t buf_alloc(vnode_t); 710 int buf_invalidateblks(vnode_t, int, int, int); 737 void buf_flushdirtyblks(vnode_t, int, int, const char *); 757 void buf_iterate(vnode_t, int (*)(buf_t, void *), int, void *); 868 errno_t buf_bread(vnode_t, daddr64_ [all...] |
H A D | namei.h | 245 vnode_t nc_dvp; /* vnode of parent of name */ 246 vnode_t nc_vp; /* vnode the name refers to */ 260 int lookup_traverse_union(vnode_t dvp, vnode_t *new_dvp, vfs_context_t ctx); 261 void lookup_compound_vnop_post_hook(int error, vnode_t dvp, vnode_t vp, struct nameidata *ndp, int did_create); 267 int cache_lookup_path(struct nameidata *ndp, struct componentname *cnp, vnode_t dp, 268 vfs_context_t context, int *dp_authorized, vnode_t last_dp); 270 void vnode_cache_authorized_action(vnode_t vp, vfs_context_t context, kauth_action_t action); 271 void vnode_uncache_authorized_action(vnode_t v [all...] |
H A D | file.h | 91 int file_vnode(int, vnode_t *); 92 int file_vnode_withvid(int, vnode_t *, uint32_t *);
|
H A D | cprotect.h | 233 int cp_vnode_getclass(vnode_t, int *); 234 int cp_vnode_setclass(vnode_t, uint32_t); 235 int cp_vnode_transcode(vnode_t); 245 cnode_ptr_t cp_get_protected_cnode(vnode_t); 246 int cp_handle_vnop(vnode_t, int, int);
|
H A D | fsevents.h | 149 int need_fsevent(int type, vnode_t vp); 153 void create_fsevent_from_kevent(vnode_t vp, uint32_t kevents, struct vnode_attr *vap); 166 int vnode_get_fse_info_from_vap(vnode_t vp, fse_info *fse, struct vnode_attr *vap);
|
H A D | lockf.h | 119 void lf_abort_advlocks(vnode_t);
|
H A D | kernel_types.h | 62 typedef struct vnode * vnode_t; typedef in typeref:struct:vnode 108 typedef struct vnode * vnode_t; typedef in typeref:struct:vnode
|
H A D | mount_internal.h | 142 vnode_t mnt_devvp; /* the device mounted on for local file systems */ 174 vnode_t mnt_realrootvp; 298 int (*vfc_mountroot)(mount_t, vnode_t, vfs_context_t); /* if != NULL, routine to mount root */ 431 void mount_dropcrossref(mount_t, vnode_t, int); 455 int kernel_mount(char *, vnode_t, vnode_t, const char *, void *, size_t, int, uint32_t, vfs_context_t);
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | kpi_vfs.c | 127 #undef vnode_t macro 135 static void xattrfile_remove(vnode_t dvp, const char *basename, 137 static void xattrfile_setattr(vnode_t dvp, const char * basename, 148 * Parameters: vnode_t vnode to mark 157 vnode_setneedinactive(vnode_t vp) 175 VFS_MOUNT(mount_t mp, vnode_t devvp, user_addr_t data, vfs_context_t ctx) 339 VFS_FHTOVP(mount_t mp, int fhlen, unsigned char * fhp, vnode_t * vpp, vfs_context_t ctx) 701 vnode_t 704 vnode_t vp = mp->mnt_vnodecovered; 721 vnode_t [all...] |
H A D | vfs_xattr.c | 91 static int default_getnamedstream(vnode_t vp, vnode_t *svpp, const char *name, enum nsoperation op, vfs_context_t context); 93 static int default_makenamedstream(vnode_t vp, vnode_t *svpp, const char *name, vfs_context_t context); 95 static int default_removenamedstream(vnode_t vp, const char *name, vfs_context_t context); 97 static int getshadowfile(vnode_t vp, vnode_t *svpp, int makestream, size_t *rsrcsize, int *creator, vfs_context_t context); 99 static int get_shadow_dir(vnode_t *sdvpp); 107 static int default_getxattr(vnode_t vp, const char *name, uio_t uio, size_t *size, int options, 109 static int default_setxattr(vnode_t v [all...] |
H A D | vfs_cache.c | 161 static vnode_t cache_lookup_locked(vnode_t dvp, struct componentname *cnp); 165 static void cache_enter_locked(vnode_t dvp, vnode_t vp, struct componentname *cnp, const char *strname); 208 build_path(vnode_t first_vp, char *buff, int buflen, int *outlen, int flags, vfs_context_t ctx) 210 vnode_t vp, tvp; 211 vnode_t vp_with_iocount; 212 vnode_t proc_root_dir_vp; 363 vnode_t dvp; 540 vnode_t [all...] |
H A D | vfs_conf.c | 91 extern int mfs_mountroot(mount_t, vnode_t, vfs_context_t); /* dead */ 93 extern int hfs_mountroot(mount_t, vnode_t, vfs_context_t); 102 extern int mockfs_mountroot(mount_t, vnode_t, vfs_context_t); 109 typedef int (*mountroot_t)(mount_t, vnode_t, vfs_context_t);
|
/xnu-2422.115.4/bsd/vm/ |
H A D | vm_compressor_backing_file.c | 43 void vm_swapfile_open(const char *path, vnode_t *vp); 44 void vm_swapfile_close(uint64_t path, vnode_t vp); 45 int vm_swapfile_preallocate(vnode_t vp, uint64_t *size); 46 uint64_t vm_swapfile_get_blksize(vnode_t vp); 47 uint64_t vm_swapfile_get_transfer_size(vnode_t vp); 48 int vm_swapfile_io(vnode_t vp, uint64_t offset, uint64_t start, int npages, int flags); 51 vm_swapfile_open(const char *path, vnode_t *vp) 66 vm_swapfile_get_blksize(vnode_t vp) 72 vm_swapfile_get_transfer_size(vnode_t vp) 80 vm_swapfile_close(uint64_t path_addr, vnode_t v [all...] |
/xnu-2422.115.4/bsd/miscfs/mockfs/ |
H A D | mockfs_fsnode.h | 64 vnode_t vp; /* vnode for this node (if one exists) */ 81 int mockfs_fsnode_vnode(mockfs_fsnode_t fsnp, vnode_t * vpp);
|
H A D | mockfs_vnops.c | 59 * vnode_t a_dvp; // vnode for the directory we are performing the lookup in 60 * vnode_t *a_vpp; // Return parameter: the vnode we matched the lookup to 91 vnode_t dvp; 92 vnode_t * vpp; 147 * vnode_t a_vp; // Pointer to the vnode we are interested in 166 vnode_t vp; 188 * vnode_t a_vp; // Pointer to the vnode we are interested in 207 vnode_t vp; 233 * vnode_t a_vp; // Pointer to the vnode we are reclaiming 245 vnode_t v [all...] |
H A D | mockfs_vfsops.c | 46 int mockfs_mountroot(mount_t mp, vnode_t rvp, __unused vfs_context_t ctx); 52 int mockfs_root(mount_t mp, vnode_t * vpp, __unused vfs_context_t ctx); 66 int mockfs_mountroot(mount_t mp, vnode_t rvp, __unused vfs_context_t ctx) 200 int mockfs_root(mount_t mp, vnode_t * vpp, __unused vfs_context_t ctx)
|
/xnu-2422.115.4/bsd/hfs/ |
H A D | hfs_endian.h | 96 int hfs_swap_BTNode (BlockDescriptor *src, vnode_t vp, enum HFSBTSwapDirection direction,
|
/xnu-2422.115.4/bsd/kern/ |
H A D | tty_tty.c | 83 static vnode_t cttyvp(proc_t p); 88 vnode_t ttyvp = cttyvp(p); 164 vnode_t ttyvp = cttyvp(current_proc()); 183 vnode_t ttyvp = cttyvp(current_proc()); 202 vnode_t ttyvp = cttyvp(current_proc()); 240 vnode_t ttyvp = cttyvp(current_proc()); 255 static vnode_t 258 vnode_t vp;
|
/xnu-2422.115.4/bsd/miscfs/devfs/ |
H A D | devfs_proto.h | 49 int devfs_mount(struct mount *mp, vnode_t devvp, user_addr_t data,
|