Searched refs:vnode_t (Results 26 - 50 of 97) sorted by relevance

1234

/xnu-2422.115.4/bsd/vfs/
H A Dvfs_lookup.c116 int lookup_traverse_mountpoints(struct nameidata *ndp, struct componentname *cnp, vnode_t dp, int vbusyflags, vfs_context_t ctx);
117 int lookup_handle_symlink(struct nameidata *ndp, vnode_t *new_dp, vfs_context_t ctx);
118 int lookup_authorize_search(vnode_t dp, struct componentname *cnp, int dp_authorized_in_cache, vfs_context_t ctx);
119 void lookup_consider_update_cache(vnode_t dvp, vnode_t vp, struct componentname *cnp, int nc_generation);
120 int lookup_handle_rsrc_fork(vnode_t dp, struct nameidata *ndp, struct componentname *cnp, int wantparent, vfs_context_t ctx);
451 namei_compound_available(vnode_t dp, struct nameidata *ndp)
460 lookup_authorize_search(vnode_t dp, struct componentname *cnp, int dp_authorized_in_cache, vfs_context_t ctx)
483 lookup_consider_update_cache(vnode_t dvp, vnode_t v
[all...]
H A Dvfs_subr.c173 extern int nfs_vinvalbuf(vnode_t, int, vfs_context_t, int);
190 static void vnode_list_add(vnode_t);
191 static void vnode_async_list_add(vnode_t);
192 static void vnode_list_remove(vnode_t);
193 static void vnode_list_remove_locked(vnode_t);
195 static void vnode_abort_advlocks(vnode_t);
196 static errno_t vnode_drain(vnode_t);
197 static void vgone(vnode_t, int flags);
198 static void vclean(vnode_t vp, int flag);
199 static void vnode_reclaim_internal(vnode_t, in
[all...]
H A Dvfs_cluster.c162 static int cluster_io(vnode_t vp, upl_t upl, vm_offset_t upl_offset, off_t f_offset, int non_rounded_size,
165 static int cluster_ioerror(upl_t upl, int upl_offset, int abort_size, int error, int io_flags, vnode_t vp);
166 static int cluster_is_throttled(vnode_t vp);
170 static void cluster_syncup(vnode_t vp, off_t newEOF, int (*)(buf_t, void *), void *callback_arg);
173 static int cluster_copy_ubc_data_internal(vnode_t vp, struct uio *uio, int *io_resid, int mark_dirty, int take_reference);
175 static int cluster_read_copy(vnode_t vp, struct uio *uio, u_int32_t io_req_size, off_t filesize, int flags,
177 static int cluster_read_direct(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
179 static int cluster_read_contig(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
182 static int cluster_write_copy(vnode_t vp, struct uio *uio, u_int32_t io_req_size, off_t oldEOF, off_t newEOF,
184 static int cluster_write_direct(vnode_t v
[all...]
H A Dvfs_syscalls.c138 vnode_t olddp;
139 vnode_t newdp;
145 static int checkdirs(vnode_t olddp, vfs_context_t ctx);
149 static int setutimes(vfs_context_t ctx, vnode_t vp, const struct timespec *ts, int nullflag);
157 static int mount_common(char *fstypename, vnode_t pvp, vnode_t vp,
161 void vfs_notify_mount(vnode_t pdvp);
163 int prepare_coveredvp(vnode_t vp, vfs_context_t ctx, struct componentname *cnp, const char *fsname, boolean_t skip_auth);
166 static int authorize_devpath_and_update_mntfromname(mount_t mp, user_addr_t devpath, vnode_t *devvpp, vfs_context_t ctx);
167 static int place_mount_and_checkdirs(mount_t mp, vnode_t v
[all...]
H A Dvfs_bio.c122 static boolean_t incore(vnode_t vp, daddr64_t blkno);
126 static void buf_reassign(buf_t bp, vnode_t newvp);
128 static int buf_iterprepare(vnode_t vp, struct buflists *, int flags);
129 static void buf_itercomplete(vnode_t vp, struct buflists *, int flags);
157 static buf_t incore_locked(vnode_t vp, daddr64_t blkno, struct bufhashhdr *dp);
644 vnode_t
651 buf_setvnode(buf_t bp, vnode_t vp) {
950 buf_setdevice(buf_t bp, vnode_t vp) {
1107 buf_strategy_fragmented(vnode_t devvp, buf_t bp, off_t f_offset, size_t contig_bytes)
1109 vnode_t v
[all...]
H A Dvfs_vnops.c118 extern void sigpup_attach_vnode(vnode_t); /* XXX */
133 static int vn_open_auth_finish(vnode_t vp, int fmode, vfs_context_t ctx);
181 vn_open_auth_finish(vnode_t vp, int fmode, vfs_context_t ctx)
215 vnode_t dvp = ndp->ni_dvp;
218 vnode_t vp;
670 vn_access(vnode_t vp, int mode, vfs_context_t context)
1448 vn_pathconf(vnode_t vp, int name, int32_t *retval, vfs_context_t ctx)
1624 vnode_readable_data_count(vnode_t vp, off_t current_offset, int ispoll)
1664 vnode_writable_space_count(vnode_t vp)
1697 vnode_t v
[all...]
/xnu-2422.115.4/bsd/miscfs/specfs/
H A Dspecdev.h136 int spec_fsync_internal (vnode_t, int, vfs_context_t);
138 int spec_kqfilter (vnode_t vp, struct knote *kn);
H A Dspec_vnops.c157 static void set_blocksize(vnode_t, dev_t);
720 spec_kqfilter(vnode_t vp, struct knote *kn)
748 spec_fsync_internal(vnode_t vp, int waitfor, __unused vfs_context_t context)
2281 vnode_t vp;
2284 vp = (vnode_t)kn->kn_fp->f_fglob->fg_data; /* Already have iocount, and vnode is alive */
2336 vnode_t vp;
2354 vp = (vnode_t)kn->kn_fp->f_fglob->fg_data;
2391 vnode_t vp;
2399 vp = (vnode_t)kn->kn_fp->f_fglob->fg_data;
/xnu-2422.115.4/bsd/sys/
H A Dmount.h385 typedef struct vnode * vnode_t; typedef in typeref:struct:vnode
541 int (*vfs_mount)(struct mount *mp, vnode_t devvp, user_addr_t data, vfs_context_t context);
713 extern int VFS_MOUNT(mount_t, vnode_t, user_addr_t, vfs_context_t);
716 extern int VFS_ROOT(mount_t, vnode_t *, vfs_context_t);
721 extern int VFS_VGET(mount_t, ino64_t, vnode_t *, vfs_context_t);
722 extern int VFS_FHTOVP(mount_t, int, unsigned char *, vnode_t *, vfs_context_t);
723 extern int VFS_VPTOFH(vnode_t, int *, unsigned char *, vfs_context_t);
767 int vfs_init_io_attributes(vnode_t, mount_t);
1181 int vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx);
1186 vnode_t vfs_vnodecovere
[all...]
H A Dbuf_internal.h115 vnode_t b_vp; /* File vnode for data, device vnode for metadata. */
291 buf_t alloc_io_buf(vnode_t, int);
315 int buf_flushdirtyblks_skipinfo (vnode_t, int, int, const char *);
316 void buf_wait_for_shadow_io (vnode_t, daddr64_t);
H A Duser.h217 vnode_t uu_vreclaims;
218 vnode_t uu_cdir; /* per thread CWD */
H A Ddisk.h208 #define _DKIOCCSSETFSVNODE _IOW('d', 203, vnode_t)
/xnu-2422.115.4/bsd/miscfs/fifofs/
H A Dfifo.h88 int fifo_close_internal (vnode_t, int, vfs_context_t, int);
/xnu-2422.115.4/bsd/nfs/
H A Dnfs.h665 vnode_t fm_vp;
1156 int nfs_buf_page_inval(vnode_t vp, off_t offset);
1157 int nfs_vinvalbuf(vnode_t, int, vfs_context_t, int);
1158 int nfs_vinvalbuf2(vnode_t, int, thread_t, kauth_cred_t, int);
1256 int nfs4_open_rpc(struct nfs_open_file *, vfs_context_t, struct componentname *, struct vnode_attr *, vnode_t, vnode_t *, int, int, int);
1257 int nfs4_open_rpc_internal(struct nfs_open_file *, vfs_context_t, thread_t, kauth_cred_t, struct componentname *, struct vnode_attr *, vnode_t, vnode_t *, int, int, int);
1259 int nfs4_open_reopen_rpc(struct nfs_open_file *, thread_t, kauth_cred_t, struct componentname *, vnode_t, vnode_t *, in
[all...]
H A Dnfs_serv.c159 int nfsrv_authorize(vnode_t,vnode_t,kauth_action_t,vfs_context_t,struct nfs_export_options*,int);
161 void nfsrv_modified(vnode_t, vfs_context_t);
281 vnode_t vp;
410 vnode_t vp;
473 vnode_t vp;
597 vnode_t vp, dirp = NULL;
694 vnode_t vp;
822 vnode_t vp;
1099 nfsrv_modified(vnode_t v
[all...]
/xnu-2422.115.4/security/
H A Dmac_posix_sem.c119 vnode_t vp, struct label *vlabel)
H A Dmac_posix_shm.c111 vnode_t vp, struct label *vlabel)
/xnu-2422.115.4/bsd/kern/
H A Dimageboot.c68 vnode_get_and_drop_always(vnode_t vp)
136 vnode_t old_rootvnode = NULL;
137 vnode_t newdp;
H A Dubc_subr.c107 static int ubc_umcallback(vnode_t, void *);
108 static int ubc_msync_internal(vnode_t, off_t, off_t, off_t *, int, int *);
794 ubc_info_init_internal(vnode_t vp, int withfsize, off_t filesize)
1105 ubc_umcallback(vnode_t vp, __unused void * args)
1374 ubc_blktooff(vnode_t vp, daddr64_t blkno)
1417 ubc_offtoblk(vnode_t vp, off_t offset)
1444 ubc_pages_resident(vnode_t vp)
1492 ubc_sync_range(vnode_t vp, off_t beg_off, off_t end_off, int flags)
1532 ubc_msync(vnode_t vp, off_t beg_off, off_t end_off, off_t *resid_off, int flags)
1610 ubc_msync_internal(vnode_t v
[all...]
H A Ddecmpfs.c260 vnpath(vnode_t vp, char *path, int len)
270 vnsize(vnode_t vp, uint64_t *size)
433 decmpfs_fetch_compressed_header(vnode_t vp, decmpfs_cnode *cp, decmpfs_header **hdrOut, int returnInvalid)
584 decmpfs_validate_compressed_file(vnode_t vp, decmpfs_cnode *cp)
623 decmpfs_file_is_compressed(vnode_t vp, decmpfs_cnode *cp)
781 decmpfs_update_attributes(vnode_t vp, struct vnode_attr *vap)
986 decmpfs_fetch_uncompressed_data(vnode_t vp, decmpfs_cnode *cp, decmpfs_header *hdr, off_t offset, user_ssize_t size, int nvec, decmpfs_vector *vec, uint64_t *bytes_read)
1189 vnode_t vp = ap->a_vp;
1419 decmpfs_free_compressed_data(vnode_t vp, decmpfs_cnode *cp)
1460 unset_compressed_flag(vnode_t v
[all...]
H A Dkern_cs.c282 vnsize(vfs_context_t vfs, vnode_t vp, uint64_t *size)
305 vnode_t vp = NULL;
465 void sigpup_attach_vnode(vnode_t); /* XXX */
468 sigpup_attach_vnode(vnode_t vp)
H A Dkern_physio.c122 bp = buf_alloc((vnode_t)0);
H A Dproc_info.c125 int pid_vnodeinfo(vnode_t vp, uint32_t vid, struct fileproc * fp, int closeonexec, user_addr_t buffer, uint32_t buffersize, int32_t * retval);
126 int pid_vnodeinfopath(vnode_t vp, uint32_t vid, struct fileproc * fp, int closeonexec, user_addr_t buffer, uint32_t buffersize, int32_t * retval);
137 int fill_vnodeinfo(vnode_t vp, struct vnode_info *vinfo);
725 vnode_t vp;
726 vnode_t *vpp = (vnode_t *)vptr;
742 vnode_t vp = NULLVP;
826 vnode_t vp;
835 vp = (vnode_t)vnodeaddr;
861 vnode_t vncdirv
[all...]
/xnu-2422.115.4/bsd/miscfs/deadfs/
H A Ddead_vnops.c73 int chkvnlock(vnode_t vp);
291 chkvnlock(__unused vnode_t vp)
/xnu-2422.115.4/bsd/miscfs/mockfs/
H A Dmockfs_fsnode.c291 int mockfs_fsnode_vnode(mockfs_fsnode_t fsnp, vnode_t * vpp)
370 vnode_t vp;

Completed in 213 milliseconds

1234