Searched refs:vp (Results 1 - 25 of 133) sorted by relevance

123456

/xnu-2422.115.4/security/
H A Dmac_vfs_subr.c45 vnode_label(struct mount *mp, struct vnode *dvp, struct vnode *vp, argument
57 mp, dvp, vp, cnp);
62 if (vp->v_lflag & VL_LABELED)
65 vnode_lock_spin(vp);
72 if (vp->v_lflag & VL_LABELED) {
73 vnode_unlock(vp);
77 if ((vp->v_lflag & VL_LABEL) == 0) {
78 vp->v_lflag |= VL_LABEL;
81 vnode_unlock(vp);
83 if (vp
137 vnode_relabel(struct vnode *vp) argument
157 mac_vnop_setxattr(struct vnode *vp, const char *name, char *buf, size_t len) argument
186 mac_vnop_getxattr(struct vnode *vp, const char *name, char *buf, size_t len, size_t *attrlen) argument
206 mac_vnop_removexattr(struct vnode *vp, const char *name) argument
[all...]
H A Dmac_vfs.c140 mac_vnode_label_init(vnode_t vp) argument
142 vp->v_label = mac_vnode_label_alloc();
146 mac_vnode_label_init_needed(vnode_t vp) argument
148 return (mac_label_vnodes != 0 && vp->v_label == NULL);
157 mac_vnode_label_recycle(vnode_t vp) argument
160 MAC_PERFORM(vnode_label_recycle, vp->v_label);
205 mac_vnode_label_destroy(struct vnode *vp) argument
207 if (vp->v_label != NULL) {
208 mac_vnode_label_free(vp->v_label);
209 vp
225 mac_vnode_label_externalize_audit(struct vnode *vp, struct mac *mac) argument
288 mac_devfs_label_update(struct mount *mp, struct devnode *de, struct vnode *vp) argument
300 mac_vnode_label_associate(struct mount *mp, struct vnode *vp, vfs_context_t ctx) argument
328 mac_vnode_label_associate_devfs(struct mount *mp, struct devnode *de, struct vnode *vp) argument
341 mac_vnode_label_associate_extattr(struct mount *mp, struct vnode *vp) argument
352 mac_vnode_label_associate_singlelabel(struct mount *mp, struct vnode *vp) argument
363 mac_vnode_notify_create(vfs_context_t ctx, struct mount *mp, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
381 mac_vnode_notify_rename(vfs_context_t ctx, struct vnode *vp, struct vnode *dvp, struct componentname *cnp) argument
396 mac_vnode_notify_open(vfs_context_t ctx, struct vnode *vp, int acc_flags) argument
409 mac_vnode_notify_link(vfs_context_t ctx, struct vnode *vp, struct vnode *dvp, struct componentname *cnp) argument
428 mac_vnode_label_update_extattr(struct mount *mp, struct vnode *vp, const char *name) argument
448 mac_vnode_label_store(vfs_context_t ctx, struct vnode *vp, struct label *intlabel) argument
465 mac_cred_label_update_execve(vfs_context_t ctx, kauth_cred_t new, struct vnode *vp, struct vnode *scriptvp, struct label *scriptvnodelabel, struct label *execl, void *macextensions) argument
529 mac_cred_check_label_update_execve(vfs_context_t ctx, struct vnode *vp, struct vnode *scriptvp, struct label *scriptvnodelabel, struct label *execlabel, struct proc *p, void *macextensions) argument
587 mac_vnode_check_access(vfs_context_t ctx, struct vnode *vp, int acc_mode) argument
653 mac_vnode_check_unlink(vfs_context_t ctx, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
687 mac_vnode_check_deleteextattr(vfs_context_t ctx, struct vnode *vp, const char *name) argument
737 mac_vnode_check_getattrlist(vfs_context_t ctx, struct vnode *vp, struct attrlist *alist) argument
755 mac_vnode_check_exec(vfs_context_t ctx, struct vnode *vp, struct image_params *imgp) argument
822 mac_vnode_check_fsgetpath(vfs_context_t ctx, struct vnode *vp) argument
837 mac_vnode_check_signature(struct vnode *vp, off_t macho_offset, unsigned char *sha1, void * signature, size_t size) argument
868 mac_vnode_check_getextattr(vfs_context_t ctx, struct vnode *vp, const char *name, struct uio *uio) argument
885 mac_vnode_check_ioctl(vfs_context_t ctx, struct vnode *vp, u_int cmd) argument
900 mac_vnode_check_kqfilter(vfs_context_t ctx, kauth_cred_t file_cred, struct knote *kn, struct vnode *vp) argument
918 mac_vnode_check_link(vfs_context_t ctx, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
935 mac_vnode_check_listextattr(vfs_context_t ctx, struct vnode *vp) argument
966 mac_vnode_check_open(vfs_context_t ctx, struct vnode *vp, int acc_mode) argument
981 mac_vnode_check_read(vfs_context_t ctx, struct ucred *file_cred, struct vnode *vp) argument
1014 mac_vnode_check_readlink(vfs_context_t ctx, struct vnode *vp) argument
1029 mac_vnode_check_label_update(vfs_context_t ctx, struct vnode *vp, struct label *newlabel) argument
1046 mac_vnode_check_rename_from(vfs_context_t ctx, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
1063 mac_vnode_check_rename_to(vfs_context_t ctx, struct vnode *dvp, struct vnode *vp, int samedir, struct componentname *cnp) argument
1080 mac_vnode_check_revoke(vfs_context_t ctx, struct vnode *vp) argument
1095 mac_vnode_check_searchfs(vfs_context_t ctx, struct vnode *vp, struct attrlist *alist) argument
1110 mac_vnode_check_select(vfs_context_t ctx, struct vnode *vp, int which) argument
1143 mac_vnode_check_setattrlist(vfs_context_t ctx, struct vnode *vp, struct attrlist *alist) argument
1159 mac_vnode_check_setextattr(vfs_context_t ctx, struct vnode *vp, const char *name, struct uio *uio) argument
1176 mac_vnode_check_setflags(vfs_context_t ctx, struct vnode *vp, u_long flags) argument
1191 mac_vnode_check_setmode(vfs_context_t ctx, struct vnode *vp, mode_t mode) argument
1206 mac_vnode_check_setowner(vfs_context_t ctx, struct vnode *vp, uid_t uid, gid_t gid) argument
1222 mac_vnode_check_setutimes(vfs_context_t ctx, struct vnode *vp, struct timespec atime, struct timespec mtime) argument
1239 mac_vnode_check_stat(vfs_context_t ctx, struct ucred *file_cred, struct vnode *vp) argument
1256 mac_vnode_check_truncate(vfs_context_t ctx, struct ucred *file_cred, struct vnode *vp) argument
1274 mac_vnode_check_write(vfs_context_t ctx, struct ucred *file_cred, struct vnode *vp) argument
1307 mac_vnode_check_uipc_connect(vfs_context_t ctx, struct vnode *vp) argument
1322 mac_vnode_label_update(vfs_context_t ctx, struct vnode *vp, struct label *newlabel) argument
1346 mac_vnode_find_sigs(struct proc *p, struct vnode *vp, off_t offset) argument
1408 mac_mount_check_mount(vfs_context_t ctx, struct vnode *vp, struct componentname *cnp, const char *vfc_name) argument
1559 vn_setlabel(struct vnode *vp, struct label *intlabel, vfs_context_t context) argument
1606 mac_vnode_label_associate_fdesc(struct mount *mp, struct fdescnode *fnp, struct vnode *vp, vfs_context_t ctx) argument
[all...]
H A Dmac_system.c73 mac_system_check_acct(kauth_cred_t cred, struct vnode *vp) argument
80 MAC_CHECK(system_check_acct, cred, vp,
81 vp != NULL ? vp->v_label : NULL);
165 mac_system_check_swapon(kauth_cred_t cred, struct vnode *vp) argument
172 MAC_CHECK(system_check_swapon, cred, vp, vp->v_label);
177 mac_system_check_swapoff(kauth_cred_t cred, struct vnode *vp) argument
186 MAC_CHECK(system_check_swapoff, cred, vp, vp
[all...]
H A Dmac_framework.h164 struct vnode *vp, struct vnode *scriptvp, struct label *scriptvnodelabel,
180 struct vnode *vp, struct vnode *scriptvp, struct label *scriptvnodelabel,
190 struct vnode *vp);
269 int mac_mount_check_mount(vfs_context_t ctx, struct vnode *vp,
312 vnode_t vp, struct label *vlabel);
329 vnode_t vp, struct label *vlabel);
401 int mac_system_check_acct(kauth_cred_t cred, struct vnode *vp);
403 int mac_system_check_auditctl(kauth_cred_t cred, struct vnode *vp);
411 int mac_system_check_swapoff(kauth_cred_t cred, struct vnode *vp);
412 int mac_system_check_swapon(kauth_cred_t cred, struct vnode *vp);
[all...]
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_cache.c96 * obtained from (vp, name) where vp refers to the directory
165 static void cache_enter_locked(vnode_t dvp, vnode_t vp, struct componentname *cnp, const char *strname);
205 * passed in vp must have a valid io_count reference
210 vnode_t vp, tvp; local
232 vp = first_vp;
239 * sufficient to stabilize both the vp->v_parent chain
240 * and the 'vp->v_mount->mnt_vnodecovered' chain
244 * vnode doesn't already have an io_count reference (the vp
257 while (vp
541 vnode_getparent(vnode_t vp) argument
567 vnode_getname(vnode_t vp) argument
589 vnode_getname_printable(vnode_t vp) argument
646 vnode_update_identity(vnode_t vp, vnode_t dvp, const char *name, int name_len, uint32_t name_hashval, int flags) argument
842 vnode_setmultipath(vnode_t vp) argument
867 vnode_uncache_credentials(vnode_t vp) argument
884 vnode_uncache_authorized_action(vnode_t vp, kauth_action_t action) argument
910 vnode_cache_is_authorized(vnode_t vp, vfs_context_t ctx, kauth_action_t action) argument
955 vnode_cache_authorized_action(vnode_t vp, vfs_context_t ctx, kauth_action_t action) argument
1019 vnode_cache_is_stale(vnode_t vp) argument
1048 vnode_t vp = NULLVP; local
1486 vnode_t vp; local
1574 cache_enter_create(vnode_t dvp, vnode_t vp, struct componentname *cnp) argument
1607 cache_enter_with_gen(struct vnode *dvp, struct vnode *vp, struct componentname *cnp, int gen) argument
1626 cache_enter(struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
1648 cache_enter_locked(struct vnode *dvp, struct vnode *vp, struct componentname *cnp, const char *strname) argument
1965 cache_purge(vnode_t vp) argument
2008 cache_purge_negatives(vnode_t vp) argument
[all...]
H A Dvfs_subr.c198 static void vclean(vnode_t vp, int flag);
203 static vnode_t checkalias(vnode_t vp, dev_t nvp_rdev);
207 static void insmntque(vnode_t vp, mount_t mp);
223 static void record_vp(vnode_t vp, int count);
248 #define VLISTCHECK(fun, vp, list) \
249 if ((vp)->v_freelist.tqe_prev == (struct vnode **)0xdeadb) \
252 #define VLISTCHECK(fun, vp, list)
255 #define VLISTNONE(vp) \
257 (vp)->v_freelist.tqe_next = (struct vnode *)0; \
258 (vp)
387 vnode_waitforwrites(vnode_t vp, int output_target, int slpflag, int slptimeout, const char *msg) argument
420 vnode_startwrite(vnode_t vp) argument
427 vnode_writedone(vnode_t vp) argument
457 vnode_hasdirtyblks(vnode_t vp) argument
483 vnode_hascleanblks(vnode_t vp) argument
512 vnode_t vp; local
546 vnode_t vp; local
623 struct vnode *vp; local
1018 struct vnode *vp; local
1247 insmntque(vnode_t vp, mount_t mp) argument
1383 struct vnode *vp; local
1490 vget_internal(vnode_t vp, int vid, int vflags) argument
1514 vnode_ref(vnode_t vp) argument
1525 vnode_ref_ext(vnode_t vp, int fmode, int flags) argument
1595 vnode_on_reliable_media(vnode_t vp) argument
1603 vnode_async_list_add(vnode_t vp) argument
1627 vnode_list_add(vnode_t vp) argument
1700 vnode_list_remove_locked(vnode_t vp) argument
1724 vnode_list_remove(vnode_t vp) argument
1764 vnode_rele(vnode_t vp) argument
1771 vnode_rele_ext(vnode_t vp, int fmode, int dont_reenter) argument
1778 vnode_rele_internal(vnode_t vp, int fmode, int dont_reenter, int locked) argument
1910 struct vnode *vp; local
2085 vclean(vnode_t vp, int flags) argument
2238 vn_revoke(vnode_t vp, int flags, __unused vfs_context_t a_context) argument
2293 vnode_recycle(struct vnode *vp) argument
2311 vnode_reload(vnode_t vp) argument
2331 vgone(vnode_t vp, int flags) argument
2392 vnode_t vp; local
2423 vcount(vnode_t vp) argument
2494 vprint(const char *label, struct vnode *vp) argument
2521 vn_getpath(struct vnode *vp, char *pathbuf, int *len) argument
2527 vn_getpath_fsenter(struct vnode *vp, char *pathbuf, int *len) argument
2533 vn_getcdhash(struct vnode *vp, off_t offset, unsigned char *cdhash) argument
2653 vn_path_package_check(__unused vnode_t vp, char *path, int pathlen, int *component) argument
2853 vfs_mountedon(struct vnode *vp) argument
2920 vnode_pager_vrele(vnode_t vp) argument
3588 process_vp(vnode_t vp, int want_vp, int *deferred) argument
3686 vnode_t vp; local
3718 vnode_t vp; local
4003 vnode_lock(vnode_t vp) argument
4009 vnode_lock_spin(vnode_t vp) argument
4015 vnode_unlock(vnode_t vp) argument
4023 vnode_get(struct vnode *vp) argument
4035 vnode_get_locked(struct vnode *vp) argument
4057 vnode_getwithvid(vnode_t vp, uint32_t vid) argument
4068 vnode_getwithvid_drainok(vnode_t vp, uint32_t vid) argument
4074 vnode_getwithref(vnode_t vp) argument
4081 vnode_getalways(vnode_t vp) argument
4087 vnode_put(vnode_t vp) argument
4099 vnode_put_locked(vnode_t vp) argument
4147 vnode_isinuse(vnode_t vp, int refcnt) argument
4154 vnode_isinuse_locked(vnode_t vp, int refcnt, int locked) argument
4177 vnode_resume(vnode_t vp) argument
4198 vnode_suspend(vnode_t vp) argument
4227 vnode_abort_advlocks(vnode_t vp) argument
4235 vnode_drain(vnode_t vp) argument
4266 vnode_getiocount(vnode_t vp, unsigned int vid, int vflags) argument
4356 vnode_dropiocount(vnode_t vp) argument
4371 vnode_reclaim(struct vnode * vp) argument
4378 vnode_reclaim_internal(struct vnode * vp, int locked, int reuse, int flags) argument
4477 vnode_t vp; local
4693 vnode_addfsref(vnode_t vp) argument
4706 vnode_removefsref(vnode_t vp) argument
5041 vnode_close(vnode_t vp, int flags, vfs_context_t ctx) argument
5055 vnode_mtime(vnode_t vp, struct timespec *mtime, vfs_context_t ctx) argument
5073 vnode_size(vnode_t vp, off_t *sizep, vfs_context_t ctx) argument
5087 vnode_setsize(vnode_t vp, off_t size, int ioflag, vfs_context_t ctx) argument
5154 vnode_t vp = (vnode_t)0; local
5257 vnode_t vp; member in struct:_vnode_authorize_context
5365 vn_authorize_unlink(vnode_t dvp, vnode_t vp, struct componentname *cnp, vfs_context_t ctx, __unused void *reserved) argument
5393 vn_authorize_open_existing(vnode_t vp, struct componentname *cnp, int fmode, vfs_context_t ctx, void *reserved) argument
5694 vn_authorize_rmdir(vnode_t dvp, vnode_t vp, struct componentname *cnp, vfs_context_t ctx, void *reserved) argument
5748 vnode_authorize(vnode_t vp, vnode_t dvp, kauth_action_t action, vfs_context_t ctx) argument
6520 vnode_authorize_checkimmutable(vnode_t vp, struct vnode_attr *vap, int rights, int ignore) argument
6599 vnode_authorize_opaque(vnode_t vp, int *resultp, kauth_action_t action, vfs_context_t ctx) argument
6683 vnode_t vp, dvp; local
6778 vnode_t vp, dvp; local
7283 vnode_authattr(vnode_t vp, struct vnode_attr *vap, kauth_action_t *actionp, vfs_context_t ctx) argument
7803 setlocklocal_callback(struct vnode *vp, __unused void *cargs) argument
7843 vn_setunionwait(vnode_t vp) argument
7852 vn_checkunionwait(vnode_t vp) argument
7861 vn_clearunionwait(vnode_t vp, int locked) argument
8099 lock_vnode_and_post(vnode_t vp, int kevent_num) argument
8110 record_vp(vnode_t vp, int count) argument
8187 vnode_trigger_update(vnode_t vp, resolver_result_t result) argument
8222 vnode_resolver_attach(vnode_t vp, vnode_resolve_t rp, boolean_t ref) argument
8252 vnode_resolver_create(mount_t mp, vnode_t vp, struct vnode_trigger_param *tinfo, boolean_t external) argument
8313 vnode_resolver_detach(vnode_t vp) argument
8357 vnode_trigger_rearm(vnode_t vp, vfs_context_t ctx) argument
8404 vnode_trigger_resolve(vnode_t vp, struct nameidata *ndp, vfs_context_t ctx) argument
8460 vnode_trigger_unresolve(vnode_t vp, int flags, vfs_context_t ctx) argument
8521 vnode_t vp; local
8587 vnode_t vp = infop->trigger_vp; local
8680 vnode_t vp = info.trigger_vp; local
8694 vnode_t rvp, vp; local
[all...]
H A Dvfs_vnops.c133 static int vn_open_auth_finish(vnode_t vp, int fmode, vfs_context_t ctx);
135 static int vn_kqfilt_remove(struct vnode *vp, uintptr_t ident,
181 vn_open_auth_finish(vnode_t vp, int fmode, vfs_context_t ctx) argument
185 if ((error = vnode_ref_ext(vp, fmode, 0)) != 0) {
193 mac_vnode_notify_open(ctx, vp, fmode);
196 (uintptr_t)vp, 0);
198 sigpup_attach_vnode(vp);
218 vnode_t vp; local
277 vp = ndp->ni_vp;
283 if (vp
359 struct vnode *vp; local
670 vn_access(vnode_t vp, int mode, vfs_context_t context) argument
690 vn_close(struct vnode *vp, int flags, vfs_context_t ctx) argument
732 vn_read_swapfile( struct vnode *vp, uio_t uio) argument
793 vn_rdwr( enum uio_rw rw, struct vnode *vp, caddr_t base, int len, off_t offset, enum uio_seg segflg, int ioflg, kauth_cred_t cred, int *aresid, proc_t p) argument
829 vn_rdwr_64( enum uio_rw rw, struct vnode *vp, uint64_t base, int64_t len, off_t offset, enum uio_seg segflg, int ioflg, kauth_cred_t cred, int64_t *aresid, proc_t p) argument
900 struct vnode *vp; local
955 struct vnode *vp; local
1099 vn_stat_noauth(struct vnode *vp, void *sbptr, kauth_filesec_t *xsec, int isstat64, vfs_context_t ctx) argument
1266 vn_stat(struct vnode *vp, void *sb, kauth_filesec_t *xsec, int isstat64, vfs_context_t ctx) argument
1291 struct vnode *vp = ((struct vnode *)fp->f_fglob->fg_data); local
1391 struct vnode * vp = (struct vnode *)fp->f_fglob->fg_data; local
1421 struct vnode *vp = (struct vnode *)fg->fg_data; local
1448 vn_pathconf(vnode_t vp, int name, int32_t *retval, vfs_context_t ctx) argument
1529 struct vnode *vp; local
1597 struct vnode *vp; local
1624 vnode_readable_data_count(vnode_t vp, off_t current_offset, int ispoll) argument
1664 vnode_writable_space_count(vnode_t vp) argument
1697 vnode_t vp = (struct vnode *)kn->kn_hook; local
[all...]
H A Dkpi_vfs.c157 vnode_setneedinactive(vnode_t vp) argument
159 cache_purge(vp);
161 vnode_lock_spin(vp);
162 vp->v_lflag |= VL_NEEDINACTIVE;
163 vnode_unlock(vp);
356 VFS_VPTOFH(struct vnode * vp, int *fhlenp, unsigned char * fhp, vfs_context_t ctx) argument
360 if ((vp->v_mount == dead_mountp) || (vp->v_mount->mnt_op->vfs_vptofh == 0))
367 error = (*vp->v_mount->mnt_op->vfs_vptofh)(vp, fhlen
704 vnode_t vp = mp->mnt_vnodecovered; local
724 vnode_t vp = mp->mnt_devvp; local
1363 vnode_vid(vnode_t vp) argument
1369 vnode_mount(vnode_t vp) argument
1375 vnode_mountedhere(vnode_t vp) argument
1388 vnode_vtype(vnode_t vp) argument
1395 vnode_fsnode(vnode_t vp) argument
1401 vnode_clearfsnode(vnode_t vp) argument
1407 vnode_specrdev(vnode_t vp) argument
1416 vnode_isvroot(vnode_t vp) argument
1423 vnode_issystem(vnode_t vp) argument
1430 vnode_isswap(vnode_t vp) argument
1437 vnode_istty(vnode_t vp) argument
1444 vnode_ismount(vnode_t vp) argument
1451 vnode_isrecycled(vnode_t vp) argument
1464 vnode_israge(vnode_t vp) argument
1470 vnode_needssnapshots(vnode_t vp) argument
1505 vnode_isnocache(vnode_t vp) argument
1514 vnode_isnoreadahead(vnode_t vp) argument
1520 vnode_is_openevt(vnode_t vp) argument
1527 vnode_isstandard(vnode_t vp) argument
1534 vnode_isnoflush(vnode_t vp) argument
1541 vnode_isreg(vnode_t vp) argument
1548 vnode_isdir(vnode_t vp) argument
1555 vnode_islnk(vnode_t vp) argument
1561 vnode_lookup_continue_needed(vnode_t vp, struct componentname *cnp) argument
1602 vnode_isfifo(vnode_t vp) argument
1609 vnode_isblk(vnode_t vp) argument
1615 vnode_isspec(vnode_t vp) argument
1622 vnode_ischr(vnode_t vp) argument
1629 vnode_issock(vnode_t vp) argument
1636 vnode_isaliased(vnode_t vp) argument
1697 vnode_setnocache(vnode_t vp) argument
1705 vnode_clearnocache(vnode_t vp) argument
1713 vnode_set_openevt(vnode_t vp) argument
1721 vnode_clear_openevt(vnode_t vp) argument
1730 vnode_setnoreadahead(vnode_t vp) argument
1738 vnode_clearnoreadahead(vnode_t vp) argument
1748 vnode_setnoflush(vnode_t vp) argument
1756 vnode_clearnoflush(vnode_t vp) argument
1766 vnode_ismountedon(vnode_t vp) argument
1772 vnode_setmountedon(vnode_t vp) argument
1780 vnode_clearmountedon(vnode_t vp) argument
1789 vnode_settag(vnode_t vp, int tag) argument
1796 vnode_tag(vnode_t vp) argument
1802 vnode_parent(vnode_t vp) argument
1809 vnode_setparent(vnode_t vp, vnode_t dvp) argument
1815 vnode_setname(vnode_t vp, char * name) argument
1822 vnode_vfsname(vnode_t vp, char * buf) argument
1829 vnode_vfstypenum(vnode_t vp) argument
1835 vnode_vfs64bitready(vnode_t vp) argument
1851 vnode_vfsvisflags(vnode_t vp) argument
1858 vnode_vfscmdflags(vnode_t vp) argument
1865 vnode_vfsmaxsymlen(vnode_t vp) argument
1872 vnode_vfsstatfs(vnode_t vp) argument
1879 vnode_vfsfsprivate(vnode_t vp) argument
1886 vnode_vfsisrdonly(vnode_t vp) argument
1892 vnode_compound_rename_available(vnode_t vp) argument
1897 vnode_compound_rmdir_available(vnode_t vp) argument
1902 vnode_compound_mkdir_available(vnode_t vp) argument
1907 vnode_compound_remove_available(vnode_t vp) argument
1912 vnode_compound_open_available(vnode_t vp) argument
1918 vnode_compound_op_available(vnode_t vp, compound_vnop_id_t opid) argument
1940 struct vnode * vp ; local
1983 vnode_get_filesec(vnode_t vp, kauth_filesec_t *fsecp, vfs_context_t ctx) argument
2124 vnode_set_filesec(vnode_t vp, kauth_filesec_t fsec, kauth_acl_t acl, vfs_context_t ctx) argument
2173 vnode_getattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx) argument
2405 vnode_setattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx) argument
2498 vnode_setattr_fallback(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx) argument
2617 vnode_notify(vnode_t vp, uint32_t events, struct vnode_attr *vap) argument
2653 vnode_isdyldsharedcache(vnode_t vp) argument
2664 vnode_ismonitored(vnode_t vp) argument
3002 VNOP_OPEN(vnode_t vp, int mode, vfs_context_t ctx) argument
3035 VNOP_CLOSE(vnode_t vp, int fflag, vfs_context_t ctx) argument
3068 VNOP_ACCESS(vnode_t vp, int action, vfs_context_t ctx) argument
3101 VNOP_GETATTR(vnode_t vp, struct vnode_attr * vap, vfs_context_t ctx) argument
3131 VNOP_SETATTR(vnode_t vp, struct vnode_attr * vap, vfs_context_t ctx) argument
3229 VNOP_READ(vnode_t vp, struct uio * uio, int ioflag, vfs_context_t ctx) argument
3270 VNOP_WRITE(vnode_t vp, struct uio * uio, int ioflag, vfs_context_t ctx) argument
3314 VNOP_IOCTL(vnode_t vp, u_long command, caddr_t data, int fflag, vfs_context_t ctx) argument
3373 VNOP_SELECT(vnode_t vp, int which , int fflags, void * wql, vfs_context_t ctx) argument
3447 VNOP_REVOKE(vnode_t vp, int flags, vfs_context_t ctx) argument
3478 VNOP_MMAP(vnode_t vp, int fflags, vfs_context_t ctx) argument
3508 VNOP_MNOMAP(vnode_t vp, vfs_context_t ctx) argument
3538 VNOP_FSYNC(vnode_t vp, int waitfor, vfs_context_t ctx) argument
3572 VNOP_REMOVE(vnode_t dvp, vnode_t vp, struct componentname * cnp, int flags, vfs_context_t ctx) argument
3671 VNOP_LINK(vnode_t vp, vnode_t tdvp, struct componentname * cnp, vfs_context_t ctx) argument
4256 VNOP_RMDIR(struct vnode *dvp, struct vnode *vp, struct componentname *cnp, vfs_context_t ctx) argument
4541 VNOP_READDIR(struct vnode *vp, struct uio *uio, int flags, int *eofflag, int *numdirent, vfs_context_t ctx) argument
4586 VNOP_READDIRATTR(struct vnode *vp, struct attrlist *alist, struct uio *uio, uint32_t maxcount, uint32_t options, uint32_t *newstate, int *eofflag, uint32_t *actualcount, vfs_context_t ctx) argument
4647 VNOP_READLINK(struct vnode *vp, struct uio *uio, vfs_context_t ctx) argument
4679 VNOP_INACTIVE(struct vnode *vp, vfs_context_t ctx) argument
4722 VNOP_RECLAIM(struct vnode *vp, vfs_context_t ctx) argument
4760 VNOP_PATHCONF(struct vnode *vp, int name, int32_t *retval, vfs_context_t ctx) argument
4805 VNOP_ADVLOCK(struct vnode *vp, caddr_t id, int op, struct flock *fl, int flags, vfs_context_t ctx, struct timespec *timeout) argument
4856 VNOP_ALLOCATE(struct vnode *vp, off_t length, u_int32_t flags, off_t *bytesallocated, off_t offset, vfs_context_t ctx) argument
4898 VNOP_PAGEIN(struct vnode *vp, upl_t pl, upl_offset_t pl_offset, off_t f_offset, size_t size, int flags, vfs_context_t ctx) argument
4937 VNOP_PAGEOUT(struct vnode *vp, upl_t pl, upl_offset_t pl_offset, off_t f_offset, size_t size, int flags, vfs_context_t ctx) argument
4996 VNOP_SEARCHFS(struct vnode *vp, void *searchparams1, void *searchparams2, struct attrlist *searchattrs, uint32_t maxmatches, struct timeval *timelimit, struct attrlist *returnattrs, uint32_t *nummatches, uint32_t scriptcode, uint32_t options, struct uio *uio, struct searchstate *searchstate, vfs_context_t ctx) argument
5062 VNOP_GETXATTR(vnode_t vp, const char *name, uio_t uio, size_t *size, int options, vfs_context_t ctx) argument
5082 VNOP_SETXATTR(vnode_t vp, const char *name, uio_t uio, int options, vfs_context_t ctx) argument
5106 VNOP_REMOVEXATTR(vnode_t vp, const char *name, int options, vfs_context_t ctx) argument
5126 VNOP_LISTXATTR(vnode_t vp, uio_t uio, size_t *size, int options, vfs_context_t ctx) argument
5159 VNOP_BLKTOOFF(struct vnode *vp, daddr64_t lblkno, off_t *offset) argument
5189 VNOP_OFFTOBLK(struct vnode *vp, off_t offset, daddr64_t *lblkno) argument
5224 VNOP_BLOCKMAP(struct vnode *vp, off_t foffset, size_t size, daddr64_t *bpn, size_t *run, void *poff, int flags, vfs_context_t ctx) argument
5277 vnode_t vp = buf_vnode(bp); local
5296 vnode_t vp = buf_vnode(bp); local
5313 VNOP_KQFILT_ADD(struct vnode *vp, struct knote *kn, vfs_context_t ctx) argument
5338 VNOP_KQFILT_REMOVE(struct vnode *vp, uintptr_t ident, vfs_context_t ctx) argument
5355 VNOP_MONITOR(vnode_t vp, uint32_t events, uint32_t flags, void *handle, vfs_context_t ctx) argument
5382 VNOP_SETLABEL(struct vnode *vp, struct label *label, vfs_context_t ctx) argument
5404 VNOP_GETNAMEDSTREAM(vnode_t vp, vnode_t *svpp, const char *name, enum nsoperation operation, int flags, vfs_context_t ctx) argument
5426 VNOP_MAKENAMEDSTREAM(vnode_t vp, vnode_t *svpp, const char *name, int flags, vfs_context_t ctx) argument
5448 VNOP_REMOVENAMEDSTREAM(vnode_t vp, vnode_t svp, const char *name, int flags, vfs_context_t ctx) argument
[all...]
/xnu-2422.115.4/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) argument
56 if ((error = vnode_open(path, (O_CREAT | FREAD | FWRITE), S_IRUSR | S_IWUSR, 0, vp, ctx))) {
58 *vp = NULL;
62 vnode_put(*vp);
66 vm_swapfile_get_blksize(vnode_t vp) argument
72 vm_swapfile_get_transfer_size(vnode_t vp) argument
80 vm_swapfile_close(uint64_t path_addr, vnode_t vp) argument
96 vm_swapfile_preallocate(vnode_t vp, uint64_t *size) argument
164 vm_swapfile_io(vnode_t vp, uint64_t offset, uint64_t start, int npages, int flags) argument
246 vnode_trim_list(vnode_t vp, struct trim_list *tl) argument
[all...]
H A Ddp_backing_file.c261 vnode_t vp = (vnode_t)NULL; local
307 vp = ndp->ni_vp;
309 if (vp->v_type != VREG) {
315 if ((error = vnode_size(vp, &file_size, ctx)) != 0)
318 vnode_lock(vp);
319 error = mac_system_check_swapon(vfs_context_ucred(ctx), vp);
320 vnode_unlock(vp);
326 if ((file_size < (off_t)size) && ((error = vnode_setsize(vp, (off_t)size, 0, ctx)) != 0))
332 if ((error = cp_handle_vnop(vp, CP_WRITE_ACCESS, 0)) != 0) {
346 while(bs_port_table[i].vp !
464 struct vnode *vp = 0; local
[all...]
H A Dvnode_pager.c98 vnode_pager_isSSD(vnode_t vp) argument
100 if (vp->v_mount->mnt_kern_flag & MNTK_SSD)
107 vnode_pager_isinuse(struct vnode *vp) argument
109 if (vp->v_usecount > vp->v_kusecount)
115 vnode_pager_return_throttle_io_limit(struct vnode *vp, uint32_t *limit) argument
117 return(cluster_throttle_io_limit(vp, limit));
121 vnode_pager_get_filesize(struct vnode *vp) argument
123 return (vm_object_offset_t) ubc_getsize(vp);
130 struct vnode *vp,
129 vnode_pager_get_name( struct vnode *vp, char *pathname, vm_size_t pathname_len, char *filename, vm_size_t filename_len, boolean_t *truncated_path_p) argument
157 vnode_pager_get_mtime( struct vnode *vp, struct timespec *current_mtime, struct timespec *cs_mtime) argument
170 vnode_pager_get_cs_blobs( struct vnode *vp, void **blobs) argument
188 vnode_trim( struct vnode *vp, off_t offset, size_t length) argument
258 vnode_pageout(struct vnode *vp, upl_t upl, upl_offset_t upl_offset, vm_object_offset_t f_offset, upl_size_t size, int flags, int *errorp) argument
512 vnode_pagein( struct vnode *vp, upl_t upl, upl_offset_t upl_offset, vm_object_offset_t f_offset, upl_size_t size, int flags, int *errorp) argument
725 vnode_t vp; local
[all...]
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_btreeio.h40 extern OSStatus SetBTreeBlockSize(FileReference vp, ByteCount blockSize,
43 extern OSStatus GetBTreeBlock(FileReference vp, u_int32_t blockNum,
46 extern OSStatus ReleaseBTreeBlock(FileReference vp, BlockDescPtr blockPtr,
49 extern OSStatus ExtendBTreeFile(FileReference vp, FSSize minEOF, FSSize maxEOF);
51 extern void ModifyBlockStart(FileReference vp, BlockDescPtr blockPtr);
55 u_int16_t get_btree_nodesize(struct vnode *vp);
H A Dhfs_btreeio.c53 static int ClearBTNodes(struct vnode *vp, int blksize, off_t offset, off_t amount);
65 u_int16_t get_btree_nodesize(struct vnode *vp) argument
70 if (vnode_issystem(vp)) {
71 btree = (BTreeControlBlockPtr) VTOF(vp)->fcbBTCBPtr;
80 OSStatus SetBTreeBlockSize(FileReference vp, ByteCount blockSize, __unused ItemCount minBlockCount) argument
84 DBG_ASSERT(vp != NULL);
89 bTreePtr = (BTreeControlBlockPtr)VTOF(vp)->fcbBTCBPtr;
96 OSStatus GetBTreeBlock(FileReference vp, u_int32_t blockNum, GetBlockOptions options, BlockDescriptor *block) argument
116 bp = buf_getblk(vp, (daddr64_t)blockNum, block->blockSize, 0, 0, BLK_META);
118 VNOP_BLOCKMAP(vp, offse
214 ModifyBlockStart(FileReference vp, BlockDescPtr blockPtr) argument
238 struct vnode *vp = buf_vnode(bp); local
266 ReleaseBTreeBlock(FileReference vp, BlockDescPtr blockPtr, ReleaseBlockOptions options) argument
378 ExtendBTreeFile(FileReference vp, FSSize minEOF, FSSize maxEOF) argument
577 ClearBTNodes(struct vnode *vp, int blksize, off_t offset, off_t amount) argument
639 struct vnode* vp = NULLVP; local
[all...]
H A Dhfs_readwrite.c90 static int hfs_minorupdate(struct vnode *vp);
91 static int do_hfs_truncate(struct vnode *vp, off_t length, int flags, int skip, vfs_context_t context);
118 struct vnode *vp = ap->a_vp; local
131 if (!vnode_isreg(vp)) {
133 if (vnode_isdir(vp))
146 if (VNODE_IS_RSRC(vp)) {
147 if (hfs_hides_rsrc(ap->a_context, VTOC(vp), 1)) { /* 1 == don't take the cnode lock */
152 int compressed = hfs_file_is_compressed(VTOC(vp), 1); /* 1 == don't take the cnode lock */
154 retval = decmpfs_read_compressed(ap, &compressed, VTOCMP(vp));
158 VTOC(vp)
276 struct vnode *vp = ap->a_vp; local
1181 struct vnode *vp; local
1252 do_bulk_access_check(struct hfsmount *hfsmp, struct vnode *vp, struct vnop_ioctl_args *ap, int arg_size, vfs_context_t context) argument
1555 hfs_freezewrite_callback(struct vnode *vp, __unused void *cargs) argument
1574 struct vnode * vp = ap->a_vp; local
2819 hfs_bmap(struct vnode *vp, daddr_t bn, struct vnode **vpp, daddr64_t *bnp, unsigned int *runp) argument
2941 struct vnode *vp = ap->a_vp; local
3206 vnode_t vp = buf_vnode(bp); local
3266 hfs_minorupdate(struct vnode *vp) argument
3277 do_hfs_truncate(struct vnode *vp, off_t length, int flags, int truncateflags, vfs_context_t context) argument
3611 hfs_prepare_release_storage(struct hfsmount *hfsmp, struct vnode *vp) argument
3801 hfs_truncate(struct vnode *vp, off_t length, int flags, int skipsetsize, int truncateflags, vfs_context_t context) argument
3897 struct vnode *vp = ap->a_vp; local
4142 vnode_t vp; local
4477 vnode_t vp = ap->a_vp; local
4774 register struct vnode *vp = buf_vnode(bp); local
4854 hfs_relocate(struct vnode *vp, u_int32_t blockHint, kauth_cred_t cred, struct proc *p) argument
5125 hfs_clonefile(struct vnode *vp, int blkstart, int blkcnt, int blksize) argument
5223 hfs_clonesysfile(struct vnode *vp, int blkstart, int blkcnt, int blksize, kauth_cred_t cred, struct proc *p) argument
[all...]
/xnu-2422.115.4/bsd/kern/
H A Dmach_fat.h37 load_return_t fatfile_getarch_affinity(struct vnode *vp, vm_offset_t data_ptr,
39 load_return_t fatfile_getarch_with_bits(struct vnode *vp, integer_t archbits,
H A Dubc_subr.c106 static int ubc_info_init_internal(struct vnode *vp, int withfsize, off_t filesize);
732 * Parameters: vp Pointer to the vnode
740 ubc_info_init(struct vnode *vp) argument
742 return(ubc_info_init_internal(vp, 0, 0));
751 * Parameters: vp Pointer to the vnode
759 ubc_info_init_withsize(struct vnode *vp, off_t filesize) argument
761 return(ubc_info_init_internal(vp, 1, filesize));
770 * Parameters: vp Pointer to the vnode
794 ubc_info_init_internal(vnode_t vp, int withfsize, off_t filesize) argument
802 uip = vp
952 ubc_setsize(struct vnode *vp, off_t nsize) argument
1056 ubc_getsize(struct vnode *vp) argument
1105 ubc_umcallback(vnode_t vp, __unused void * args) argument
1132 ubc_getcred(struct vnode *vp) argument
1199 ubc_setthreadcred(struct vnode *vp, proc_t p, thread_t thread) argument
1256 ubc_setcred(struct vnode *vp, proc_t p) argument
1296 ubc_getpager(struct vnode *vp) argument
1329 ubc_getobject(struct vnode *vp, __unused int flags) argument
1338 ubc_strict_uncached_IO(struct vnode *vp) argument
1374 ubc_blktooff(vnode_t vp, daddr64_t blkno) argument
1417 ubc_offtoblk(vnode_t vp, off_t offset) argument
1444 ubc_pages_resident(vnode_t vp) argument
1492 ubc_sync_range(vnode_t vp, off_t beg_off, off_t end_off, int flags) argument
1532 ubc_msync(vnode_t vp, off_t beg_off, off_t end_off, off_t *resid_off, int flags) argument
1610 ubc_msync_internal(vnode_t vp, off_t beg_off, off_t end_off, off_t *resid_off, int flags, int *io_errno) argument
1716 ubc_map(vnode_t vp, int flags) argument
1794 ubc_destroy_named(vnode_t vp) argument
1839 ubc_isinuse(struct vnode *vp, int busycount) argument
1876 ubc_isinuse_locked(struct vnode *vp, int busycount, int locked) argument
1913 ubc_unmap(struct vnode *vp) argument
2040 ubc_page_op( struct vnode *vp, off_t f_offset, int ops, ppnum_t *phys_entryp, int *flagsp) argument
2120 ubc_range_op( struct vnode *vp, off_t f_offset_beg, off_t f_offset_end, int ops, int *range) argument
2180 ubc_create_upl( struct vnode *vp, off_t f_offset, int bufsize, upl_t *uplp, upl_page_info_t **plp, int uplflags) argument
2583 UBCINFOEXISTS(struct vnode * vp) argument
2655 ubc_cs_sigpup_add( struct vnode *vp, vm_address_t address, vm_size_t size) argument
2767 ubc_cs_blob_add( struct vnode *vp, cpu_type_t cputype, off_t base_offset, vm_address_t addr, off_t blob_offset, vm_size_t size) argument
3072 ubc_cs_blob_get( struct vnode *vp, cpu_type_t cputype, off_t offset) argument
3143 ubc_get_cs_blobs( struct vnode *vp) argument
3177 ubc_get_cs_mtime( struct vnode *vp, struct timespec *cs_mtime) argument
3383 ubc_cs_getcdhash( vnode_t vp, off_t offset, unsigned char *cdhash) argument
3434 ubc_cs_validation_bitmap_allocate( vnode_t vp) argument
3466 ubc_cs_check_validation_bitmap( vnode_t vp, memory_object_offset_t offset, int optype) argument
3510 ubc_cs_validation_bitmap_deallocate( vnode_t vp) argument
3528 ubc_cs_validation_bitmap_allocate(__unused vnode_t vp) argument
3532 ubc_cs_check_validation_bitmap( __unused struct vnode *vp, __unused memory_object_offset_t offset, __unused int optype) argument
3540 ubc_cs_validation_bitmap_deallocate(__unused vnode_t vp) argument
[all...]
H A Dkern_symfile.c78 struct vnode * vp; member in struct:kern_direct_file_io_ref_t
115 if (ref->vp->v_type == VREG)
124 p1 = ref->vp;
130 if (ref->vp->v_type == VREG)
136 error = VNOP_BLOCKMAP(ref->vp, offset, filechunk, &blkno, &filechunk, NULL, 0, NULL);
140 else if ((ref->vp->v_type == VBLK) || (ref->vp->v_type == VCHR))
226 if ((error = vnode_open(name, (O_CREAT | FWRITE), (0), 0, &ref->vp, ref->ctx)))
229 if (ref->vp->v_type == VREG)
231 vnode_lock_spin(ref->vp);
[all...]
H A Dmach_fat.c48 * Args: vp: The vnode for the fat file.
62 struct vnode *vp,
64 __unused struct vnode *vp,
103 filesize = ubc_getsize(vp);
183 struct vnode *vp,
192 return fatfile_getarch(vp, data_ptr, cpu_type(), CPU_ARCH_MASK, archret);
201 * Args: vp: The vnode for the fat file.
212 struct vnode *vp,
217 return fatfile_getarch(vp, data_ptr, archbits | (cpu_type() & ~CPU_ARCH_MASK), 0, archret);
60 fatfile_getarch( __unused struct vnode *vp, vm_offset_t data_ptr, cpu_type_t req_cpu_type, cpu_type_t mask_bits, struct fat_arch *archret) argument
182 fatfile_getarch_affinity( struct vnode *vp, vm_offset_t data_ptr, struct fat_arch *archret, int affinity __unused) argument
211 fatfile_getarch_with_bits( struct vnode *vp, integer_t archbits, vm_offset_t data_ptr, struct fat_arch *archret) argument
/xnu-2422.115.4/osfmk/vm/
H A Dvm_compressor_backing_store.h100 extern void vm_swapfile_open(const char *path, struct vnode **vp);
101 extern void vm_swapfile_close(uint64_t path, struct vnode *vp);
102 extern int vm_swapfile_preallocate(struct vnode *vp, uint64_t *size);
103 extern uint64_t vm_swapfile_get_blksize(struct vnode *vp);
104 extern uint64_t vm_swapfile_get_transfer_size(struct vnode *vp);
105 extern int vm_swapfile_io(struct vnode *vp, uint64_t offset, uint64_t start, int npages, int flags);
/xnu-2422.115.4/bsd/sys/
H A Dxattr.h61 #define XATTR_VNODE_SUPPORTED(vp) \
62 ((vp)->v_type == VREG || (vp)->v_type == VDIR || (vp)->v_type == VLNK || (vp)->v_type == VSOCK || (vp)->v_type == VFIFO)
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 vp, vfs_context_
[all...]
/xnu-2422.115.4/bsd/miscfs/mockfs/
H A Dmockfs_vnops.c166 vnode_t vp; local
170 vp = ap->a_vp;
171 fsnode = (mockfs_fsnode_t)vp->v_data;
207 vnode_t vp; local
210 vp = ap->a_vp;
211 fsnode = (mockfs_fsnode_t) vp->v_data;
217 if (vp->v_type == VREG) {
218 rvalue = cluster_read(vp, ap->a_uio, fsnode->size, ap->a_ioflag);
245 vnode_t vp; local
248 vp
363 vnode_t vp; local
[all...]
H A Dmockfs_fsnode.c128 if (fsnp->vp)
231 if (fsnp->vp)
306 if (fsnp->vp) {
310 rvalue = vnode_get(fsnp->vp);
312 *vpp = fsnp->vp;
322 vnfs_param.vnfs_dvp = (fsnp->type == MOCKFS_ROOT) ? NULL : fsnp->parent->vp;
331 rvalue = vnode_create(VNCREATE_FLAVOR, VCREATESIZE, &vnfs_param, &fsnp->vp);
337 ubc_mem_object = ubc_getobject(fsnp->vp, 0);
349 *vpp = fsnp->vp;
370 vnode_t vp; local
[all...]
/xnu-2422.115.4/bsd/miscfs/specfs/
H A Dspec_vnops.c244 set_blocksize(struct vnode *vp, dev_t dev) argument
252 vp->v_specsize = DEV_BSIZE;
254 vp->v_specsize = rsize;
257 vp->v_specsize = DEV_BSIZE;
261 set_fsblocksize(struct vnode *vp) argument
264 if (vp->v_type == VBLK) {
265 dev_t dev = (dev_t)vp->v_rdev;
271 vnode_lock(vp);
272 set_blocksize(vp, dev);
273 vnode_unlock(vp);
287 struct vnode *vp = ap->a_vp; local
441 struct vnode *vp = ap->a_vp; local
535 struct vnode *vp = ap->a_vp; local
720 spec_kqfilter(vnode_t vp, struct knote *kn) argument
748 spec_fsync_internal(vnode_t vp, int waitfor, __unused vfs_context_t context) argument
2057 struct vnode *vp = ap->a_vp; local
2207 struct vnode *vp = ap->a_vp; local
2231 struct vnode *vp = ap->a_vp; local
2281 vnode_t vp; local
2336 vnode_t vp; local
2391 vnode_t vp; local
[all...]
/xnu-2422.115.4/bsd/miscfs/fifofs/
H A Dfifo_vnops.c145 struct vnode *vp = ap->a_vp; local
150 vnode_lock(vp);
154 fip = vp->v_fifoinfo;
162 error = msleep(&fip->fi_flags, &vp->v_lock, PRIBIO | PCATCH, "fifocreatewait", NULL);
164 vnode_unlock(vp);
170 vnode_unlock(vp);
199 vnode_lock(vp);
240 error = msleep((caddr_t)&fip->fi_readers, &vp->v_lock,
258 error = msleep((caddr_t)&fip->fi_writers,&vp->v_lock,
270 vnode_unlock(vp);
435 fifo_close_internal(vnode_t vp, int fflag, __unused vfs_context_t context, int locked) argument
502 fifo_printinfo(struct vnode *vp) argument
555 fifo_freespace(struct vnode *vp, long *count) argument
566 fifo_charcount(struct vnode *vp, int *count) argument
[all...]

Completed in 213 milliseconds

123456