Searched refs:vnode_t (Results 1 - 25 of 149) sorted by relevance

123456

/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dubc.h64 errno_t ubc_setsize_ex(vnode_t vp, off_t nsize, ubc_setsize_opts_t opts);
72 errno_t ubc_msync(vnode_t, off_t, off_t, off_t *, int);
73 int ubc_pages_resident(vnode_t);
74 int ubc_page_op(vnode_t, off_t, int, ppnum_t *, int *);
75 int ubc_range_op(vnode_t, off_t, off_t, int, int *);
82 struct cs_blob *ubc_cs_blob_get(vnode_t, cpu_type_t, off_t);
86 int ubc_cs_blob_revalidate(vnode_t, struct cs_blob *);
87 int ubc_cs_generation_check(vnode_t);
95 int advisory_read(vnode_t, off_t, off_t, int);
96 int advisory_read_ext(vnode_t, off_
[all...]
H A Dvnode_internal.h133 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 */
408 int build_path(vnode_t first_vp, char *buff, int buflen, int *outlen, int flags, vfs_context_t ctx);
429 int vn_close(vnode_t, int flags, vfs_context_t ctx);
430 errno_t vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx);
435 void lock_vnode_and_post(vnode_t, int);
445 int vn_authorize_open_existing(vnode_t vp, struct componentname *cnp, int fmode, vfs_context_t ctx, void *reserved);
446 int vn_authorize_create(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, void*);
447 int vn_attribute_prepare(vnode_t dv
[all...]
H A Dvnode_if.h160 vnode_t a_dvp;
161 vnode_t *a_vpp;
179 extern errno_t VNOP_LOOKUP(vnode_t, vnode_t *, struct componentname *, vfs_context_t);
184 vnode_t a_dvp;
185 vnode_t *a_vpp;
205 extern errno_t VNOP_CREATE(vnode_t, vnode_t *, struct componentname *, struct vnode_attr *, vfs_context_t);
210 vnode_t a_dvp;
232 extern errno_t VNOP_WHITEOUT(vnode_t, struc
[all...]
H A Dvnode.h230 struct mount * vnfs_mp; /* mount point to which this vnode_t is part of */
358 vnode_t vp,
377 vnode_t vp,
394 vnode_t vp,
408 vnode_t vp,
419 extern int vnode_trigger_update(vnode_t vp, resolver_result_t result);
801 errno_t vnode_create(uint32_t, uint32_t, void *, vnode_t *);
812 int vnode_addfsref(vnode_t);
821 int vnode_removefsref(vnode_t);
830 int vnode_hasdirtyblks(vnode_t);
[all...]
H A Dubc_internal.h123 vnode_t ui_vnode; /* vnode for this ubc_info */
163 __private_extern__ memory_object_t ubc_getpager(vnode_t);
164 __private_extern__ void ubc_destroy_named(vnode_t);
169 __private_extern__ uint32_t cluster_throttle_io_limit(vnode_t, uint32_t *);
177 memory_object_control_t ubc_getobject(vnode_t, int);
178 boolean_t ubc_strict_uncached_IO(vnode_t);
180 int ubc_info_init(vnode_t);
181 int ubc_info_init_withsize(vnode_t, off_t);
184 int ubc_isinuse(vnode_t, int);
185 int ubc_isinuse_locked(vnode_t, in
[all...]
H A Ddecmpfs.h118 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 Dbuf.h510 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 Dnamei.h245 vnode_t nc_dvp; /* vnode of parent of name */
246 vnode_t nc_vp; /* vnode the name refers to */
259 int lookup_traverse_union(vnode_t dvp, vnode_t *new_dvp, vfs_context_t ctx);
260 void lookup_compound_vnop_post_hook(int error, vnode_t dvp, vnode_t vp, struct nameidata *ndp, int did_create);
266 int cache_lookup_path(struct nameidata *ndp, struct componentname *cnp, vnode_t dp,
267 vfs_context_t context, int *dp_authorized, vnode_t last_dp);
269 void vnode_cache_authorized_action(vnode_t vp, vfs_context_t context, kauth_action_t action);
270 void vnode_uncache_authorized_action(vnode_t v
[all...]
H A Dfile.h91 int file_vnode(int, vnode_t *);
92 int file_vnode_withvid(int, vnode_t *, uint32_t *);
/macosx-10.10.1/autofs-246/headers/
H A Dtriggers_priv.h50 int (*ti_check_homedirmounter_process)(vnode_t, int);
52 int (*ti_check_homedirmount)(vnode_t);
54 void *(*ti_get_mount_args)(vnode_t, vfs_context_t, int *);
60 void (*ti_rearm)(vnode_t, int);
83 int (*check_homedirmounter_process)(vnode_t, int),
84 int (*check_homedirmount)(vnode_t),
85 void *(*get_mount_args)(vnode_t, vfs_context_t, int *),
88 void (*rearm)(vnode_t, int),
H A Dtriggers.h37 void *(*get_mount_args)(vnode_t, vfs_context_t, int *),
47 vnode_t tc_vp; /* trigger vnode */
/macosx-10.10.1/cddafs-253/
H A DAppleCDDAFileSystemUtils.h46 vnode_t parentVNodePtr,
51 vnode_t parentVNodePtr,
53 vnode_t * vNodeHandle );
54 int DisposeCDDANode ( vnode_t vNodePtr );
58 vnode_t parentVNodePtr,
60 vnode_t * vNodeHandle );
64 vnode_t parentVNodePtr,
66 vnode_t * vNodeHandle );
69 vnode_t * vNodeHandle );
81 vnode_t vNodePt
[all...]
H A DAppleCDDAFileSystemVFSOps.h68 vnode_t blockDeviceVNodePtr,
75 vnode_t * vnodeHandle,
82 vnode_t * vNodeHandle,
90 vnode_t parentVNodePtr,
92 vnode_t * vNodeHandle );
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/
H A Dkpi_vfs.c127 #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 Dvfs_conf.c91 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);
H A Dvfs_xattr.c88 static int default_getnamedstream(vnode_t vp, vnode_t *svpp, const char *name, enum nsoperation op, vfs_context_t context);
90 static int default_makenamedstream(vnode_t vp, vnode_t *svpp, const char *name, vfs_context_t context);
92 static int default_removenamedstream(vnode_t vp, const char *name, vfs_context_t context);
94 static int getshadowfile(vnode_t vp, vnode_t *svpp, int makestream, size_t *rsrcsize, int *creator, vfs_context_t context);
96 static int get_shadow_dir(vnode_t *sdvpp);
104 static int default_getxattr(vnode_t vp, const char *name, uio_t uio, size_t *size, int options,
106 static int default_setxattr(vnode_t v
[all...]
/macosx-10.10.1/smb-759.0/kernel/smbfs/
H A Dsmbfs_security.h28 int smbfs_setsecurity(struct smb_share *share, vnode_t vp, struct vnode_attr *vap,
32 uint32_t smbfs_get_maximum_access(struct smb_share *share, vnode_t vp, vfs_context_t context);
H A Dsmbfs_node.h162 vnode_t n_vnode;
271 #define SMBTOV(np) ((vnode_t )(np)->n_vnode)
303 vnode_t dvp, const char *name, size_t nmlen,
304 struct smbfattr *fap, vnode_t *vpp,
307 vnode_t smbfs_find_vgetstrm(struct smbmount *smp, struct smbnode *np, const char *sname,
309 int smbfs_vgetstrm(struct smb_share *share, struct smbmount *smp, vnode_t vp,
310 vnode_t *svpp, struct smbfattr *fap, const char *sname);
311 int smb_get_rsrcfrk_size(struct smb_share *share, vnode_t vp, vfs_context_t context);
312 vnode_t smb_update_rsrc_and_getparent(vnode_t v
[all...]
/macosx-10.10.1/autofs-246/autofs_kext/
H A Dautofs_kern.h75 vnode_t fi_rootvp; /* root vnode */
179 vnode_t fn_vnode;
181 vnode_t fn_parentvp;
221 extern int auto_root(mount_t, vnode_t *, vfs_context_t);
230 struct componentname *, const char *, vnode_t, int,
245 extern int auto_is_homedirmounter_process(vnode_t, int);
246 extern int auto_mark_vnode_homedirmount(vnode_t, int, int);
248 extern int auto_nobrowse(vnode_t);
249 extern void auto_get_attributes(vnode_t, struct vnode_attr *);
/macosx-10.10.1/xnu-2782.1.97/bsd/vm/
H A Dvm_compressor_backing_file.c43 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...]
/macosx-10.10.1/dtrace-147/test/tst/common/decls/
H A Dtst.basics.d59 extern vnode_t e21;
/macosx-10.10.1/xnu-2782.1.97/bsd/miscfs/mockfs/
H A Dmockfs_fsnode.h64 vnode_t vp; /* vnode for this node (if one exists) */
81 int mockfs_fsnode_vnode(mockfs_fsnode_t fsnp, vnode_t * vpp);
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A Dhfs_endian.h96 int hfs_swap_BTNode (BlockDescriptor *src, vnode_t vp, enum HFSBTSwapDirection direction,
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dtty_tty.c83 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;
/macosx-10.10.1/Libnotify-133.1.1/notifyd/
H A Dpathwatch.c37 * Internally, the work of monitoring a path is done by a set of helper vnode_t
38 * objects. A vnode_t contains a dispatch_source_t (of type DISPATCH_SOURCE_TYPE_VNODE)
40 * vnode_t objects for each component of the desired path. For example, a path_node_t
43 * notified of a change, the vnode_t will trigger an update for all path_node_t
46 * When a path_node_t update is triggered by a vnode_t component, the node re-evaluates
56 * path_node_releases() releases a path_node_t object and all of the vnode_t objects
92 * vnode_t represents a vnode.
108 } vnode_t; typedef in typeref:struct:__anon2900
115 vnode_t **vnode;
121 static void _path_node_update(path_node_t *pnode, uint32_t flags, vnode_t *vnod
[all...]

Completed in 235 milliseconds

123456