Home
last modified time | relevance | path

Searched refs:vnode (Results 1 – 25 of 577) sorted by relevance

12345678910>>...24

/netbsd-src/sys/rump/include/rump/
H A Drumpvnode_if.h57 int RUMP_VOP_BWRITE(struct vnode *, struct buf *);
58 int RUMP_VOP_PARSEPATH(struct vnode *, const char *, size_t *);
59 int RUMP_VOP_LOOKUP(struct vnode *, struct vnode **, struct componentname *);
60 int RUMP_VOP_CREATE(struct vnode *, struct vnode **, struct componentname *,
62 int RUMP_VOP_MKNOD(struct vnode *, struct vnode **, struct componentname *,
64 int RUMP_VOP_OPEN(struct vnode *, int, struct kauth_cred *);
65 int RUMP_VOP_CLOSE(struct vnode *, int, struct kauth_cred *);
66 int RUMP_VOP_ACCESS(struct vnode *, accmode_t, struct kauth_cred *);
67 int RUMP_VOP_ACCESSX(struct vnode *, accmode_t, struct kauth_cred *);
68 int RUMP_VOP_GETATTR(struct vnode *, struct vattr *, struct kauth_cred *);
[all …]
H A Drumpvfs_if_pub.h9 void rump_pub_getvninfo(struct vnode *, enum rump_vtype *, off_t *, dev_t *);
17 void rump_pub_vp_incref(struct vnode *);
18 int rump_pub_vp_getref(struct vnode *);
19 void rump_pub_vp_rele(struct vnode *);
20 void rump_pub_vp_interlock(struct vnode *);
21 void rump_pub_vp_vmobjlock(struct vnode *, int);
23 int rump_pub_namei(uint32_t, uint32_t, const char *, struct vnode **, struct vnode **, struct compo…
26 int rump_pub_vfs_root(struct mount *, struct vnode **, int);
29 int rump_pub_vfs_fhtovp(struct mount *, struct fid *, struct vnode **);
30 int rump_pub_vfs_vptofh(struct vnode *, struct fid *, size_t *);
[all …]
/netbsd-src/sys/sys/
H A Dvnode_if.h56 struct vnode *a_vp;
60 int VOP_BWRITE(struct vnode *, struct buf *);
65 struct vnode *a_dvp;
70 int VOP_PARSEPATH(struct vnode *, const char *, size_t *);
75 struct vnode *a_dvp;
76 struct vnode **a_vpp;
80 int VOP_LOOKUP(struct vnode *, struct vnode **, struct componentname *);
85 struct vnode *a_dvp;
86 struct vnode **a_vpp;
91 int VOP_CREATE(struct vnode *, struct vnode **, struct componentname *,
[all …]
H A Dvnode.h118 struct vnode;
141 struct vnode { struct
192 typedef struct vnode vnode_t; argument
419 void holdrelel(struct vnode *);
420 void holdrele(struct vnode *);
421 void vholdl(struct vnode *);
422 void vhold(struct vnode *);
423 void vref(struct vnode *);
425 #define NULLVP ((struct vnode *)NULL)
434 VN_KEVENT_INTEREST(struct vnode *vp, long hint) in VN_KEVENT_INTEREST()
[all …]
H A Dnamei.h114 struct vnode *ni_atdir; /* startup dir, cwd if null */
120 struct vnode *ni_rootdir; /* logical root directory */
121 struct vnode *ni_erootdir; /* emulation root directory */
125 struct vnode *ni_vp; /* vnode of result */
126 struct vnode *ni_dvp; /* vnode of intermediate directory */
242 struct vnode *nc_dvp; /* - vnode of parent of name */
243 struct vnode *nc_vp; /* - vnode the name refers to */
292 int namei_simple_kernel(const char *, namei_simple_flags_t, struct vnode **);
293 int namei_simple_user(const char *, namei_simple_flags_t, struct vnode **);
294 int nameiat_simple(struct vnode *, struct pathbuf *, namei_simple_flags_t,
[all …]
H A Dmount.h128 struct vnode;
142 struct vnode *mnt_vnodecovered; /* vnode we mounted on */
193 int (*vfs_root) (struct mount *, int, struct vnode **);
197 int (*vfs_vget) (struct mount *, ino_t, int, struct vnode **);
198 int (*vfs_loadvnode) (struct mount *, struct vnode *,
200 int (*vfs_newvnode) (struct mount *, struct vnode *, struct vnode *,
204 struct vnode **);
205 int (*vfs_vptofh) (struct vnode *, struct fid *, size_t *);
210 int (*vfs_snapshot) (struct mount *, struct vnode *,
213 struct vnode *, int, const char *);
[all …]
/netbsd-src/sys/miscfs/genfs/
H A Dgenfs.h49 int genfs_do_putpages(struct vnode *, off_t, off_t, int, struct vm_page **);
58 int genfs_can_access(struct vnode *, kauth_cred_t, uid_t, gid_t, mode_t,
60 int genfs_can_access_acl_posix1e(struct vnode *, kauth_cred_t, uid_t,
62 int genfs_can_access_acl_nfs4(struct vnode *, kauth_cred_t, uid_t, gid_t,
64 int genfs_can_chmod(struct vnode *, kauth_cred_t, uid_t, gid_t, mode_t);
65 int genfs_can_chown(struct vnode *, kauth_cred_t, uid_t, gid_t, uid_t,
67 int genfs_can_chtimes(struct vnode *, kauth_cred_t, uid_t, u_int);
68 int genfs_can_chflags(struct vnode *, kauth_cred_t, uid_t, bool);
69 int genfs_can_sticky(struct vnode *, kauth_cred_t, uid_t, uid_t);
70 int genfs_can_extattr(struct vnode *, kauth_cred_t, accmode_t, int);
[all …]
H A Dgenfs_node.h41 struct vnode;
44 void (*gop_size)(struct vnode *, off_t, off_t *, int);
45 int (*gop_alloc)(struct vnode *, off_t, off_t, int,
47 int (*gop_write)(struct vnode *, struct vm_page **, int, int);
48 void (*gop_markupdate)(struct vnode *, int);
49 void (*gop_putrange)(struct vnode *, off_t, off_t *, off_t *);
87 void genfs_size(struct vnode *, off_t, off_t *, int);
88 void genfs_node_init(struct vnode *, const struct genfs_ops *);
89 void genfs_node_destroy(struct vnode *);
90 void genfs_gop_putrange(struct vnode *, off_t, off_t *, off_t *);
[all …]
H A Dgenfs_rename.c82 struct vnode *fdvp, struct componentname *fcnp,
83 struct vnode *tdvp, struct componentname *tcnp,
113 struct vnode *, struct componentname *, void *, struct vnode **,
114 struct vnode *, struct componentname *, void *, struct vnode **);
116 struct mount *, kauth_cred_t, struct vnode *,
117 struct componentname *, void *, struct vnode **,
118 struct componentname *, void *, struct vnode **);
121 struct vnode *, struct componentname *, void *, struct vnode **,
122 struct vnode *, struct componentname *, void *, struct vnode **);
125 struct vnode *, struct componentname *, bool, void *, struct vnode **,
[all …]
/netbsd-src/sys/ufs/ufs/
H A Dufs_extern.h58 struct vnode;
98 int ufs_bmaparray(struct vnode *, daddr_t, daddr_t *, struct indir *,
100 int ufs_getlbns(struct vnode *, daddr_t, struct indir *, int *);
103 int ufs_reclaim(struct vnode *);
104 int ufs_balloc_range(struct vnode *, off_t, off_t, kauth_cred_t, int);
105 int ufs_truncate_all(struct vnode *);
106 int ufs_truncate_retry(struct vnode *, int, uint64_t, kauth_cred_t);
110 const char *ufs_dirbadentry(const struct vnode *, const struct direct *, int);
113 int ufs_direnter(struct vnode *, const struct ufs_lookup_results *,
114 struct vnode *, struct direct *,
[all …]
/netbsd-src/sys/rump/librump/rumpvfs/
H A Drumpvnode_if.c55 RUMP_VOP_BWRITE(struct vnode *vp, in RUMP_VOP_BWRITE()
68 RUMP_VOP_PARSEPATH(struct vnode *dvp, in RUMP_VOP_PARSEPATH()
82 RUMP_VOP_LOOKUP(struct vnode *dvp, in RUMP_VOP_LOOKUP()
83 struct vnode **vpp, in RUMP_VOP_LOOKUP()
96 RUMP_VOP_CREATE(struct vnode *dvp, in RUMP_VOP_CREATE()
97 struct vnode **vpp, in RUMP_VOP_CREATE()
111 RUMP_VOP_MKNOD(struct vnode *dvp, in RUMP_VOP_MKNOD()
112 struct vnode **vpp, in RUMP_VOP_MKNOD()
126 RUMP_VOP_OPEN(struct vnode *vp, in RUMP_VOP_OPEN()
140 RUMP_VOP_CLOSE(struct vnode *vp, in RUMP_VOP_CLOSE()
[all …]
/netbsd-src/sys/fs/union/
H A Dunion.h94 struct vnode *um_uppervp;
95 struct vnode *um_lowervp;
125 struct vnode *un_vnode; /* :: Back pointer */
126 struct vnode *un_uppervp; /* m: overlaying object */
127 struct vnode *un_lowervp; /* v: underlying object */
128 struct vnode *un_dirvp; /* v: Parent dir of uppervp */
129 struct vnode *un_pvp; /* v: Parent vnode */
134 struct vnode **un_dircache; /* v: cached union stack */
141 extern int union_allocvp(struct vnode **, struct mount *,
142 struct vnode *, struct vnode *,
[all …]
/netbsd-src/sys/rump/include/rump-sys/
H A Dvfs_if.h12 void rump_getvninfo(struct vnode *, enum rump_vtype *, off_t *, dev_t *);
13 typedef void (*rump_getvninfo_fn)(struct vnode *, enum rump_vtype *, off_t *, dev_t *);
28 void rump_vp_incref(struct vnode *);
29 typedef void (*rump_vp_incref_fn)(struct vnode *);
30 int rump_vp_getref(struct vnode *);
31 typedef int (*rump_vp_getref_fn)(struct vnode *);
32 void rump_vp_rele(struct vnode *);
33 typedef void (*rump_vp_rele_fn)(struct vnode *);
34 void rump_vp_interlock(struct vnode *);
35 typedef void (*rump_vp_interlock_fn)(struct vnode *);
[all …]
/netbsd-src/sys/nfs/
H A Dnfs_var.h43 struct vnode;
50 struct vnode;
70 int nfs_bioread(struct vnode *, struct uio *, int, kauth_cred_t, int);
71 struct buf *nfs_getcacheblk(struct vnode *, daddr_t, int, struct lwp *);
72 int nfs_vinvalbuf(struct vnode *, int, kauth_cred_t, struct lwp *, int);
73 int nfs_flushstalebuf(struct vnode *, kauth_cred_t, struct lwp *, int);
94 int nfs_null(struct vnode *, kauth_cred_t, struct lwp *);
95 int nfs_setattrrpc(struct vnode *, struct vattr *, kauth_cred_t, struct lwp *);
96 int nfs_readlinkrpc(struct vnode *, struct uio *, kauth_cred_t);
97 int nfs_readrpc(struct vnode *, struc
[all...]
/netbsd-src/sys/fs/unionfs/
H A Dunionfs.h74 struct vnode *um_lowervp; /* VREFed once */
75 struct vnode *um_uppervp; /* VREFed once */
76 struct vnode *um_rootvp; /* ROOT vnode */
104 struct vnode *un_lowervp; /* lower side vnode */
105 struct vnode *un_uppervp; /* upper side vnode */
106 struct vnode *un_dvp; /* parent unionfs vnode */
107 struct vnode *un_vnode; /* Back pointer */
124 …unionfs_nodeget(struct mount *mp, struct vnode *uppervp, struct vnode *lowervp, struct vnode *dvp,…
125 void unionfs_noderem(struct vnode *vp);
129 int unionfs_check_rmdir(struct vnode *vp, kauth_cred_t cred);
[all …]
/netbsd-src/sys/ufs/ffs/
H A Dffs_extern.h61 struct vnode;
94 int ffs_valloc(struct vnode *, int, kauth_cred_t, ino_t *);
99 void ffs_blkfree(struct fs *, struct vnode *, daddr_t, long, ino_t);
100 void *ffs_discard_init(struct vnode *, struct fs *);
102 void ffs_blkfree_snap(struct fs *, struct vnode *, daddr_t, long, ino_t);
103 int ffs_vfree(struct vnode *, ino_t, int);
104 int ffs_checkfreefile(struct fs *, struct vnode *, ino_t);
106 int ffs_freefile_snap(struct fs *, struct vnode *, ino_t, int);
109 int ffs_balloc(struct vnode *, off_t, int, kauth_cred_t, int,
113 int ffs_update(struct vnode *, const struct timespec *,
[all …]
/netbsd-src/sys/ufs/lfs/
H A Dlfs_extern.h97 struct vnode;
127 int lfs_valloc(struct vnode *, int, kauth_cred_t, ino_t *, int *);
129 int lfs_vfree(struct vnode *, ino_t, int);
136 int lfs_balloc(struct vnode *, off_t, int, kauth_cred_t, int, struct buf **);
137 void lfs_register_block(struct vnode *, daddr_t);
138 void lfs_deregister_block(struct vnode *, daddr_t);
139 void lfs_deregister_all(struct vnode *);
147 int lfs_check(struct vnode *, daddr_t, int);
149 struct buf *lfs_newbuf(struct lfs *, struct vnode *, daddr_t, size_t, int);
151 int lfs_reserve(struct lfs *, struct vnode *, struct vnode *, int);
[all …]
H A Dulfs_extern.h59 struct vnode;
92 int ulfs_bmaparray(struct vnode *, daddr_t, daddr_t *, struct indir *,
94 int ulfs_getlbns(struct vnode *, daddr_t, struct indir *, int *);
97 int ulfs_reclaim(struct vnode *);
98 int ulfs_balloc_range(struct vnode *, off_t, off_t, kauth_cred_t, int);
102 int ulfs_dirbadentry(struct vnode *, LFS_DIRHEADER *, int);
103 int ulfs_direnter(struct vnode *, const struct ulfs_lookup_results *,
104 struct vnode *,
107 int ulfs_dirremove(struct vnode *, const struct ulfs_lookup_results *,
112 int ulfs_blkatoff(struct vnode *, off_t, char **, struct buf **, bool);
[all …]
/netbsd-src/sys/kern/
H A Dvnode_if.src45 # -: not applicable. vnode does not yet (or no longer) exists.
58 IN struct vnode *vp;
67 IN struct vnode *dvp;
79 # All lookups find the named node (creating the vnode if needed) and
85 IN LOCKED=YES struct vnode *dvp;
86 OUT WILLMAKE struct vnode **vpp;
99 IN LOCKED=EXCL struct vnode *dvp;
100 OUT WILLMAKE struct vnode **vpp;
114 IN LOCKED=EXCL struct vnode *dvp;
115 OUT WILLMAKE struct vnode **vpp;
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dipa.cc313 varpool_node *vnode, *vnext; in remove_unreachable_nodes() local
327 FOR_EACH_VARIABLE (vnode) in remove_unreachable_nodes()
328 gcc_assert (!vnode->aux); in remove_unreachable_nodes()
352 FOR_EACH_DEFINED_VARIABLE (vnode) in remove_unreachable_nodes()
353 if (!vnode->can_remove_if_no_refs_p() in remove_unreachable_nodes()
354 && !vnode->in_other_partition) in remove_unreachable_nodes()
356 reachable.add (vnode); in remove_unreachable_nodes()
357 enqueue_node (vnode, &first, &reachable); in remove_unreachable_nodes()
497 varpool_node *vnode = dyn_cast <varpool_node *> (node); in remove_unreachable_nodes() local
498 if (vnode in remove_unreachable_nodes()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dipa.c313 varpool_node *vnode, *vnext; in remove_unreachable_nodes() local
327 FOR_EACH_VARIABLE (vnode) in remove_unreachable_nodes()
328 gcc_assert (!vnode->aux); in remove_unreachable_nodes()
352 FOR_EACH_DEFINED_VARIABLE (vnode) in remove_unreachable_nodes()
353 if (!vnode->can_remove_if_no_refs_p() in remove_unreachable_nodes()
354 && !vnode->in_other_partition) in remove_unreachable_nodes()
356 reachable.add (vnode); in remove_unreachable_nodes()
357 enqueue_node (vnode, &first, &reachable); in remove_unreachable_nodes()
494 varpool_node *vnode = dyn_cast <varpool_node *> (node); in remove_unreachable_nodes() local
495 if (vnode in remove_unreachable_nodes()
[all …]
H A Dipa-visibility.c620 varpool_node *vnode; in function_and_variable_visibility() local
792 FOR_EACH_VARIABLE (vnode) in function_and_variable_visibility()
795 gcc_assert (!DECL_WEAK (vnode->decl) in function_and_variable_visibility()
796 || vnode->weakref in function_and_variable_visibility()
797 || TREE_PUBLIC (vnode->decl) in function_and_variable_visibility()
798 || DECL_EXTERNAL (vnode->decl)); in function_and_variable_visibility()
812 if (DECL_COMMON (vnode->decl) in function_and_variable_visibility()
813 && (!(TREE_PUBLIC (vnode->decl) in function_and_variable_visibility()
814 || DECL_EXTERNAL (vnode->decl)) in function_and_variable_visibility()
815 || (DECL_INITIAL (vnode->decl) in function_and_variable_visibility()
[all …]
/netbsd-src/sys/ufs/ext2fs/
H A Dext2fs_extern.h77 struct vnode;
98 int ext2fs_valloc(struct vnode *, int, kauth_cred_t, ino_t *);
102 int ext2fs_vfree(struct vnode *, ino_t, int);
103 int ext2fs_cg_verify_and_initialize(struct vnode *, struct m_ext2fs *, int);
108 int ext2fs_gop_alloc(struct vnode *, off_t, off_t, int, kauth_cred_t);
118 int ext2fs_update(struct vnode *, const struct timespec *,
120 int ext2fs_truncate(struct vnode *, off_t, int, kauth_cred_t);
129 int ext2fs_direnter(struct inode *, struct vnode *,
132 int ext2fs_dirremove(struct vnode *, const struct ufs_lookup_results *,
137 int ext2fs_add_entry(struct vnode *, struct ext2fs_direct *,
[all …]
/netbsd-src/sys/fs/msdosfs/
H A Dmsdosfs_rename.c59 static int msdosfs_sane_rename(struct vnode *, struct componentname *,
60 struct vnode *, struct componentname *,
62 static bool msdosfs_rmdired_p(struct vnode *);
63 static int msdosfs_read_dotdot(struct vnode *, kauth_cred_t, unsigned long *);
64 static int msdosfs_rename_replace_dotdot(struct vnode *,
65 struct vnode *, struct vnode *, kauth_cred_t);
66 static int msdosfs_gro_lock_directory(struct mount *, struct vnode *);
106 struct vnode *fdvp = ap->a_fdvp; in msdosfs_rename()
107 struct vnode *fvp = ap->a_fvp; in msdosfs_rename()
109 struct vnode *tdvp = ap->a_tdvp; in msdosfs_rename()
[all …]
/netbsd-src/sys/fs/nfs/client/
H A Dnfs.h94 int ncl_meta_setsize(struct vnode *, struct kauth_cred *, struct lwp *,
97 int ncl_bioread(struct vnode *, struct uio *, int, struct kauth_cred *);
98 int ncl_biowrite(struct vnode *, struct uio *, int, struct kauth_cred *);
99 int ncl_vinvalbuf(struct vnode *, int, struct kauth_cred *, int);
102 int ncl_doio(struct vnode *, struct buf *, struct kauth_cred *, struct lwp *,
108 int ncl_getattrcache(struct vnode *, struct vattr *);
109 int ncl_readrpc(struct vnode *, struct uio *, struct kauth_cred *);
110 int ncl_writerpc(struct vnode *, struct uio *, struct kauth_cred *, int *,
112 int ncl_readlinkrpc(struct vnode *, struct uio *, struct kauth_cred *);
113 int ncl_readdirrpc(struct vnode *, struct uio *, struct kauth_cred *,
[all …]

12345678910>>...24