Lines Matching refs:vnode_t
165 …vnode_t v_defer_reclaimlist; /* in case we have to defer the reclaim to avoid recursion…
205 …vnode_t XNU_PTRAUTH_SIGNED_PTR("vnode.v_parent") v_parent; /* pointer to par…
217 vnode_t v_fmlink; /* firmlink if set (VDIR only), Points to source
469 int vn_open_auth(struct nameidata *ndp, int *fmode, struct vnode_attr *, vnode_t authvp);
470 int vn_close(vnode_t, int flags, vfs_context_t ctx);
471 errno_t vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_att…
476 void lock_vnode_and_post(vnode_t, int);
486 int vn_authorize_open_existing(vnode_t vp, struct componentname *cnp, int fmode, vfs_context_t …
487 int vn_authorize_create(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, vo…
488 int vn_attribute_prepare(vnode_t dvp, struct vnode_attr *vap, uint32_t *defaulted_fieldsp, vfs_…
500 typedef int (*vn_create_authorizer_t)(vnode_t, struct componentname *, struct vnode_attr *, vfs_con…
501 int vn_authorize_mkdir(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, void*);
502 int vn_authorize_null(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, void*);
504 struct vnode_attr *dvap, vnode_t sdvp, mount_t mp, dir_clone_authorizer_op_t vattr_op,
515 errno_t vn_create(vnode_t, vnode_t *, struct nameidata *, struct vnode_attr *, uint32_t, int, uint3…
516 int vn_mkdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_cont…
517 int vn_rmdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_cont…
519 int vn_getxattr(vnode_t, const char *, uio_t, size_t *, int, vfs_context_t);
520 int vn_setxattr(vnode_t, const char *, uio_t, int, vfs_context_t);
521 int vn_removexattr(vnode_t, const char *, int, vfs_context_t);
522 int vn_listxattr(vnode_t, uio_t, size_t *, int, vfs_context_t);
525 errno_t vnode_getnamedstream(vnode_t, vnode_t *, const char *, enum nsoperation, int, vfs_context_…
526 errno_t vnode_makenamedstream(vnode_t, vnode_t *, const char *, int, vfs_context_t);
527 errno_t vnode_removenamedstream(vnode_t, vnode_t, const char *, int, vfs_context_t);
528 errno_t vnode_flushnamedstream(vnode_t vp, vnode_t svp, vfs_context_t context);
529 errno_t vnode_relenamedstream(vnode_t vp, vnode_t svp);
530 errno_t vnode_verifynamedstream(vnode_t vp);
540 void cache_enter_with_gen(vnode_t dvp, vnode_t vp, struct componentname *cnp, int gen);
541 const char *cache_enter_create(vnode_t dvp, vnode_t vp, struct componentname *cnp);
547 void vnode_lock_spin(vnode_t);
554 int vnode_ref_ext(vnode_t, int, int);
556 void vnode_rele_internal(vnode_t, int, int, int);
558 int vnode_getalways(vnode_t);
559 int vnode_getalways_from_pager(vnode_t);
560 int vget_internal(vnode_t, int, int);
561 errno_t vnode_getiocount(vnode_t, unsigned int, int);
562 vnode_t vnode_getparent_if_different(vnode_t, vnode_t);
563 void vnode_link_lock(vnode_t);
564 void vnode_link_unlock(vnode_t);
566 int vnode_get_locked(vnode_t);
567 int vnode_put_locked(vnode_t);
569 int vnode_put_from_pager(vnode_t);
570 vnode_t vnode_drop_and_unlock(vnode_t);
573 int vnode_issock(vnode_t);
574 int vnode_isaliased(vnode_t);
576 void unlock_fsnode(vnode_t, int *);
577 int lock_fsnode(vnode_t, int *);
579 errno_t vnode_resume(vnode_t);
580 errno_t vnode_suspend(vnode_t);
583 errno_t vnode_mtime(vnode_t, struct timespec *, vfs_context_t);
584 errno_t vnode_flags(vnode_t, uint32_t *, vfs_context_t);
586 errno_t vnode_size(vnode_t, off_t *, vfs_context_t);
587 errno_t vnode_setsize(vnode_t, off_t, int ioflag, vfs_context_t);
588 int vnode_setattr_fallback(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx);
589 int vnode_isspec(vnode_t vp);
601 int vnode_compound_rename_available(vnode_t vp);
602 int vnode_compound_rmdir_available(vnode_t vp);
603 int vnode_compound_mkdir_available(vnode_t vp);
604 int vnode_compound_remove_available(vnode_t vp);
605 int vnode_compound_open_available(vnode_t vp);
606 int vnode_compound_op_available(vnode_t, compound_vnop_id_t);
609 void vn_setunionwait(vnode_t);
610 void vn_checkunionwait(vnode_t);
611 void vn_clearunionwait(vnode_t, int);
620 void vnode_lock(vnode_t);
621 void vnode_unlock(vnode_t);
623 void vn_print_state(vnode_t /* vp */, const char * /* fmt */, ...)
647 void vnode_setneedinactive(vnode_t);
648 int vnode_hasnamedstreams(vnode_t); /* Does this vnode have associated named streams? */
654 void vnode_setswapmount(vnode_t);
655 int64_t vnode_getswappin_avail(vnode_t);
657 int vnode_get_snapdir(vnode_t, vnode_t *, vfs_context_t);
661 int vnode_trigger_resolve(vnode_t, struct nameidata *, vfs_context_t);
662 void vnode_trigger_rearm(vnode_t, vfs_context_t);
666 int build_path_with_parent(vnode_t, vnode_t /* parent */, char *, int, int *, size_t *, int, vf…
671 int vnode_isinuse_locked(vnode_t, int, int );
673 kauth_cred_t vnode_cred(vnode_t);
683 int vnode_updateiocompressionblockstats(vnode_t vp, uint32_t size_bucket);
688 int vnode_updateiocompressionbufferstats(vnode_t vp, uint64_t uncompressed_size, uint64_t compresse…
695 int vnode_setlease(vnode_t vp, struct fileglob *fg, int fl_type, int expcounts,
697 int vnode_getlease(vnode_t vp);
698 int vnode_breaklease(vnode_t vp, uint32_t oflags, vfs_context_t ctx);
699 void vnode_breakdirlease(vnode_t vp, bool need_parent, uint32_t oflags);
700 void vnode_revokelease(vnode_t vp, bool locked);
713 bool vnode_hold_smr(vnode_t);