Lines Matching full:vnode
46 #define OBJ_TMPFS OBJ_PAGERPRIV1 /* has tmpfs vnode allocated */
47 #define OBJ_TMPFS_VREF OBJ_PAGERPRIV2 /* vnode is referenced */
157 * (v) vnode lock in exclusive mode
158 * (vi) vnode lock in exclusive mode, or vnode lock in shared vnode and
180 * 'VLNK', 'VREG' and 'VSOCK' is allowed. The usage of vnode
222 * As there is a single vnode for each active file within the
224 * vnode per file. In order to do this, a bidirectional association
227 * Whenever a vnode is allocated, its v_data field is updated to
229 * tn_vnode field is modified to point to the new vnode representing
230 * it. Further attempts to allocate a vnode for this same node will
234 * May be NULL when the node is unused (that is, no vnode has been
237 struct vnode * tn_vnode; /* (i) */
241 * vnode lock.
246 * Identify if current node has vnode assiocate with
247 * or allocating vnode.
478 void tmpfs_destroy_vobject(struct vnode *vp, vm_object_t obj);
480 struct vnode **);
481 void tmpfs_free_vp(struct vnode *);
482 int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *,
484 void tmpfs_check_mtime(struct vnode *);
485 void tmpfs_dir_attach(struct vnode *, struct tmpfs_dirent *);
486 void tmpfs_dir_detach(struct vnode *, struct tmpfs_dirent *);
493 int tmpfs_dir_whiteout_add(struct vnode *, struct componentname *);
494 void tmpfs_dir_whiteout_remove(struct vnode *, struct componentname *);
495 void tmpfs_dir_clear_whiteouts(struct vnode *);
496 int tmpfs_reg_resize(struct vnode *, off_t, boolean_t);
497 int tmpfs_reg_punch_hole(struct vnode *vp, off_t *, off_t *);
498 int tmpfs_chflags(struct vnode *, u_long, struct ucred *, struct thread *);
499 int tmpfs_chmod(struct vnode *, mode_t, struct ucred *, struct thread *);
500 int tmpfs_chown(struct vnode *, uid_t, gid_t, struct ucred *,
502 int tmpfs_chsize(struct vnode *, u_quad_t, struct ucred *, struct thread *);
503 int tmpfs_chtimes(struct vnode *, struct vattr *, struct ucred *cred,
505 void tmpfs_itimes(struct vnode *, const struct timespec *,
511 int tmpfs_truncate(struct vnode *, off_t);
519 tmpfs_update(struct vnode *vp) in tmpfs_update()
584 static inline struct vnode *
626 VP_TO_TMPFS_NODE(struct vnode *vp) in VP_TO_TMPFS_NODE()
639 VP_TO_TMPFS_DIR(struct vnode *vp) in VP_TO_TMPFS_DIR()
649 tmpfs_use_nc(struct vnode *vp) in tmpfs_use_nc()
656 tmpfs_update_getattr(struct vnode *vp) in tmpfs_update_getattr()