Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd/sys/sys/
H A Dvnode.h124 struct vnode { struct
637 struct vnode;
648 void cache_enter_time_flags(struct vnode *dvp, struct vnode *vp,
653 void cache_enter_time(struct vnode *dvp, struct vnode *vp,
656 int cache_lookup(struct vnode *dvp, struct vnode **vpp,
667 void cache_vop_rename(struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp,
669 void cache_vop_rmdir(struct vnode *dvp, struct vnode *vp);
672 void cache_validate(struct vnode *dvp, struct vnode *vp,
678 cache_validate(struct vnode *dvp, struct vnode *vp, struct componentname *cnp) in cache_validate()
709 int vn_fullpath_hardlink(struct vnode *vp, struct vnode *dvp,
[all …]
H A Ddtrace_bsd.h39 struct vnode;
92 struct vnode *);
99 struct vnode *, uid_t, uint32_t);
108 struct vnode *, uid_t, uint32_t, int);
116 struct vnode *);
123 struct vnode *, struct vattr *);
130 struct vnode *);
137 struct vnode *, struct vattr *, int);
145 struct vnode *, struct mbuf *, struct ucred *, int);
152 struct vnode *, struct mbuf *, struct ucred *, int, int);
/freebsd/sys/fs/unionfs/
H A Dunion.h56 struct vnode *um_lowervp; /* VREFed once */
58 struct vnode *um_rootvp; /* ROOT vnode */
131 int unionfs_nodeget(struct mount *, struct vnode *, struct vnode *,
132 struct vnode *, struct vnode **, struct componentname *);
133 void unionfs_noderem(struct vnode *);
147 int unionfs_mkwhiteout(struct vnode *, struct vnode *,
149 int unionfs_relookup(struct vnode *, struct vnode **,
159 struct vnode *, int *);
160 bool unionfs_forward_vop_finish_pair(struct vnode *, struct vnode *, int,
161 struct vnode *, struct vnode *, int);
[all …]
H A Dunion_subr.c132 unionfs_get_hashhead(struct vnode *dvp, struct vnode *lookup) in unionfs_get_hashhead()
150 struct vnode *vp; in unionfs_get_cached_vnode_locked()
180 unionfs_get_cached_vnode(struct vnode *uvp, struct vnode *lvp, in unionfs_get_cached_vnode()
183 struct vnode *vp; in unionfs_get_cached_vnode()
204 struct vnode *vp; in unionfs_ins_cached_vnode()
298 struct vnode *lowervp, struct vnode *dvp, struct vnode **vpp, in unionfs_nodeget()
662 unionfs_relookup(struct vnode *dvp, struct vnode **vpp, in unionfs_relookup()
1059 struct vnode *unionvp1, struct vnode *basevp1, int lkflags1, in unionfs_forward_vop_finish_pair()
1060 struct vnode *unionvp2, struct vnode *basevp2, int lkflags2) in unionfs_forward_vop_finish_pair()
1122 unionfs_mkwhiteout(struct vnode *dvp, struct vnode *udvp, in unionfs_mkwhiteout()
[all …]
/freebsd/sys/security/mac_bsdextended/
H A Dugidfw_internal.h43 int ugidfw_system_check_acct(struct ucred *cred, struct vnode *vp,
47 int ugidfw_system_check_swapon(struct ucred *cred, struct vnode *vp,
53 int ugidfw_vnode_check_access(struct ucred *cred, struct vnode *vp,
55 int ugidfw_vnode_check_chdir(struct ucred *cred, struct vnode *dvp,
57 int ugidfw_vnode_check_chroot(struct ucred *cred, struct vnode *dvp,
65 struct vnode *vp, struct label *vplabel, int attrnamespace,
67 int ugidfw_vnode_check_exec(struct ucred *cred, struct vnode *vp,
70 int ugidfw_vnode_check_getacl(struct ucred *cred, struct vnode *vp,
74 int ugidfw_vnode_check_link(struct ucred *cred, struct vnode *dvp,
75 struct label *dvplabel, struct vnode *vp, struct label *label,
[all …]
H A Dugidfw_vnode.c62 ugidfw_vnode_check_access(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_access()
70 ugidfw_vnode_check_chdir(struct ucred *cred, struct vnode *dvp, in ugidfw_vnode_check_chdir()
78 ugidfw_vnode_check_chroot(struct ucred *cred, struct vnode *dvp, in ugidfw_vnode_check_chroot()
86 ugidfw_check_create_vnode(struct ucred *cred, struct vnode *dvp, in ugidfw_check_create_vnode()
110 ugidfw_vnode_check_exec(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_exec()
119 ugidfw_vnode_check_getacl(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_getacl()
135 ugidfw_vnode_check_link(struct ucred *cred, struct vnode *dvp, in ugidfw_vnode_check_link()
159 ugidfw_vnode_check_lookup(struct ucred *cred, struct vnode *dvp, in ugidfw_vnode_check_lookup()
167 ugidfw_vnode_check_open(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_open()
219 ugidfw_vnode_check_revoke(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_revoke()
[all …]
/freebsd/sys/ufs/ffs/
H A Dffs_extern.h50 struct vnode;
101 void ffs_snapremove(struct vnode *vp);
110 int ffs_update(struct vnode *, int);
113 int ffs_valloc(struct vnode *, int, struct ucred *, struct vnode **);
114 int ffs_vfree(struct vnode *, ino_t, int);
177 int softdep_prerename(struct vnode *, struct vnode *, struct vnode *,
178 struct vnode *);
179 int softdep_prelink(struct vnode *, struct vnode *,
199 int softdep_sync_metadata(struct vnode *);
201 int softdep_fsync(struct vnode *);
[all …]
/freebsd/sys/fs/fuse/
H A Dfuse_internal.h86 vnode_mount(struct vnode *vp) in vnode_mount()
92 vnode_vtype(struct vnode *vp) in vnode_vtype()
98 vnode_isvroot(struct vnode *vp) in vnode_isvroot()
104 vnode_isreg(struct vnode *vp) in vnode_isreg()
110 vnode_isdir(struct vnode *vp) in vnode_isdir()
116 vnode_islnk(struct vnode *vp) in vnode_islnk()
150 fuse_iosize(struct vnode *vp) in fuse_iosize()
244 int fuse_internal_mknod(struct vnode *dvp, struct vnode **vpp,
260 int fuse_internal_remove(struct vnode *dvp, struct vnode *vp,
302 int fuse_internal_newentry(struct vnode *dvp, struct vnode **vpp,
[all …]
H A Dfuse_node.h145 fuse_vnode_attr_cache_valid(struct vnode *vp) in fuse_vnode_attr_cache_valid()
154 VTOVA(struct vnode *vp) in VTOVA()
163 fuse_vnode_clear_attr_cache(struct vnode *vp) in fuse_vnode_clear_attr_cache()
181 int fuse_vnode_cmp(struct vnode *vp, void *nidp);
184 fuse_vnode_setparent(struct vnode *vp, struct vnode *dvp) in fuse_vnode_setparent()
198 void fuse_vnode_destroy(struct vnode *vp);
201 uint64_t nodeid, struct vnode *dvp, struct vnode **vpp,
204 void fuse_vnode_open(struct vnode *vp, int32_t fuse_open_flags,
207 int fuse_vnode_savesize(struct vnode *vp, struct ucred *cred, pid_t pid);
211 void fuse_vnode_undirty_cached_timestamps(struct vnode *vp, bool atime);
[all …]
H A Dfuse_io.h66 int fuse_io_strategy(struct vnode *vp, struct buf *bp);
67 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td);
68 int fuse_io_invalbuf(struct vnode *vp, struct thread *td);
69 int fuse_read_directbackend(struct vnode *vp, struct uio *uio,
71 int fuse_read_biobackend(struct vnode *vp, struct uio *uio, int ioflag,
73 int fuse_write_directbackend(struct vnode *vp, struct uio *uio,
76 int fuse_write_biobackend(struct vnode *vp, struct uio *uio,
/freebsd/sys/kern/
H A Dvnode_if.src55 IN struct vnode *vp;
67 IN struct vnode *dvp;
126 IN struct vnode *vp;
138 IN struct vnode *vp;
150 IN struct vnode *vp;
160 IN struct vnode *vp;
168 IN struct vnode *vp;
178 IN struct vnode *vp;
188 IN struct vnode *vp;
198 IN struct vnode *vp;
[all …]
H A Dvfs_hash.c40 static LIST_HEAD(vfs_hash_head, vnode) *vfs_hash_tbl;
41 static LIST_HEAD(,vnode) vfs_hash_side;
58 vfs_hash_index(struct vnode *vp) in vfs_hash_index()
73 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_get()
75 struct vnode *vp; in vfs_hash_get()
114 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_ref()
116 struct vnode *vp; in vfs_hash_ref()
143 vfs_hash_remove(struct vnode *vp) in vfs_hash_remove()
155 struct vnode *vp2; in vfs_hash_insert()
194 vfs_hash_rehash(struct vnode *vp, u_int hash) in vfs_hash_rehash()
[all …]
H A Dvfs_subr.c428 struct vnode *vp; in sysctl_try_reclaim_vnode()
1467 struct vnode *
6564 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfsdetach()
6575 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfsread()
6604 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfswrite()
6623 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfsvnode()
6805 struct vnode *
6837 struct vnode *
6869 struct vnode *
7052 struct vnode *
[all …]
/freebsd/sys/security/mac/
H A Dmac_framework.h88 struct vnode;
151 struct vnode *vp);
153 struct vnode *vp);
597 struct vnode *vp) in mac_vnode_check_poll()
652 struct vnode *vp) in mac_vnode_check_stat()
671 struct vnode *vp) in mac_vnode_check_read()
690 struct vnode *vp) in mac_vnode_check_write()
702 void mac_vnode_init(struct vnode *);
704 struct vnode *dvp, struct vnode *vp, struct componentname *cnp);
705 void mac_vnode_destroy(struct vnode *);
[all …]
H A Dmac_vfs.c84 struct vnode *vp, struct label *intlabel);
137 mac_vnode_init(struct vnode *vp) in mac_vnode_init()
191 mac_vnode_destroy(struct vnode *vp) in mac_vnode_destroy()
223 MAC_POLICY_INTERNALIZE(vnode, label, string); in mac_vnode_internalize_label()
238 struct vnode *vp) in mac_devfs_vnode_associate()
277 struct vnode *dvp, struct vnode *vp, struct componentname *cnp) in mac_vnode_create_extattr()
649 struct vnode *vp) in mac_vnode_check_poll()
668 struct vnode *vp) in mac_vnode_check_read_impl()
893 struct vnode *vp) in mac_vnode_check_stat_impl()
931 struct vnode *vp) in mac_vnode_check_write_impl()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_extern.h49 struct vnode;
51 int ext2_add_entry(struct vnode *, struct ext2fs_direct_2 *);
57 int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
64 int ext2_bmap_seekdata(struct vnode *, off_t *);
68 int ext2_getlbns(struct vnode *, daddr_t, struct indir *, int *);
70 void ext2_itimes(struct vnode *vp);
74 int ext2_update(struct vnode *, int);
75 int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **);
76 int ext2_vfree(struct vnode *, ino_t, int);
84 struct vnode *, struct componentname *);
[all …]
/freebsd/sys/fs/nfsclient/
H A Dnfs.h92 int ncl_meta_setsize(struct vnode *, struct thread *, u_quad_t);
93 int ncl_bioread(struct vnode *, struct uio *, int, struct ucred *);
94 int ncl_biowrite(struct vnode *, struct uio *, int, struct ucred *);
95 int ncl_vinvalbuf(struct vnode *, int, struct thread *, int);
98 int ncl_doio(struct vnode *, struct buf *, struct ucred *, struct thread *,
104 int ncl_getattrcache(struct vnode *, struct vattr *);
105 int ncl_readrpc(struct vnode *, struct uio *, struct ucred *);
108 int ncl_readlinkrpc(struct vnode *, struct uio *, struct ucred *);
109 int ncl_readdirrpc(struct vnode *, struct uio *, struct ucred *,
111 int ncl_readdirplusrpc(struct vnode *, struct uio *, struct ucred *,
[all …]
/freebsd/sys/nfsclient/
H A Dnfs.h157 int (*nr_readrpc)(struct vnode *vp, struct uio *uiop,
159 int (*nr_writerpc)(struct vnode *vp, struct uio *uiop,
162 int (*nr_readlinkrpc)(struct vnode *vp, struct uio *uiop,
164 void (*nr_invaldir)(struct vnode *vp);
165 int (*nr_commit)(struct vnode *vp, u_quad_t offset, int cnt,
243 void nfs_purgecache(struct vnode *);
244 int nfs_vinvalbuf(struct vnode *, int, struct thread *, int);
245 int nfs_readrpc(struct vnode *, struct uio *, struct ucred *);
248 int nfs_commit(struct vnode *vp, u_quad_t offset, int cnt,
272 int nfs_getattrcache(struct vnode *, struct vattr *);
[all …]
/freebsd/sys/fs/tmpfs/
H A Dtmpfs.h237 struct vnode * tn_vnode; /* (i) */
472 struct vnode **);
473 void tmpfs_free_vp(struct vnode *);
474 int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *,
476 void tmpfs_check_mtime(struct vnode *);
510 tmpfs_update(struct vnode *vp) in tmpfs_update()
573 static inline struct vnode *
615 VP_TO_TMPFS_NODE(struct vnode *vp) in VP_TO_TMPFS_NODE()
628 VP_TO_TMPFS_DIR(struct vnode *vp) in VP_TO_TMPFS_DIR()
638 tmpfs_use_nc(struct vnode *vp) in tmpfs_use_nc()
[all …]
/freebsd/sys/ufs/ufs/
H A Dufs_extern.h45 struct vnode;
56 int ufs_bmaparray(struct vnode *, ufs2_daddr_t, ufs2_daddr_t *,
58 int ufs_bmap_seekdata(struct vnode *, off_t *);
61 int ufs_dirbadentry(struct vnode *, struct direct *, int);
67 int ufs_direnter(struct vnode *, struct vnode *, struct direct *,
69 int ufs_dirremove(struct vnode *, struct inode *, int, int);
71 int ufs_lookup_ino(struct vnode *, struct vnode **, struct componentname *,
73 int ufs_getlbns(struct vnode *, ufs2_daddr_t, struct indir *, int *);
76 void ufs_itimes(struct vnode *vp);
84 int ufs_vinit(struct mount *, struct vop_vector *, struct vnode **);
[all …]
/freebsd/lib/libprocstat/
H A Dcommon_kvm.h40 int devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
41 int isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
42 int msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
43 int nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
44 int smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
45 int udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
46 int ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
47 int zfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
48 void *getvnodedata(struct vnode *vp);
49 struct mount *getvnodemount(struct vnode *vp);
/freebsd/sys/fs/smbfs/
H A Dsmbfs_node.h47 struct vnode * n_parent;
48 struct vnode * n_vnode;
70 struct vnode * n_parent;
76 #define SMBTOV(np) ((struct vnode *)(np)->n_vnode)
90 int smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen,
91 struct smbfattr *fap, struct vnode **vpp);
96 int smbfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred);
97 int smbfs_writevnode(struct vnode *vp, struct uio *uiop, struct ucred *cred, int ioflag);
98 void smbfs_attr_cacheenter(struct vnode *vp, struct smbfattr *fap);
99 int smbfs_attr_cachelookup(struct vnode *vp ,struct vattr *va);
/freebsd/sys/fs/nullfs/
H A Dnull.h42 struct vnode *nullm_lowerrootvp; /* Ref to lower root vnode */
54 struct vnode *null_lowervp; /* VREFed once */
55 struct vnode *null_vnode; /* Back pointer */
68 int null_nodeget(struct mount *mp, struct vnode *target, struct vnode **vpp);
69 struct vnode *null_hashget(struct mount *mp, struct vnode *lowervp);
74 struct vnode *null_checkvp(struct vnode *vp, char *fil, int lno);
H A Dnull_vnops.c222 struct vnode ***vppp; in null_bypass()
223 struct vnode *lvp; in null_bypass()
746 struct vnode *lvp; in null_lock()
818 struct vnode *lvp; in null_unlock()
841 struct vnode *lvp; in null_want_recycle()
867 struct vnode *vp; in null_inactive()
891 struct vnode *vp; in null_reclaim()
893 struct vnode *lowervp; in null_reclaim()
948 struct vnode *lowervp; in null_getwritemount()
949 struct vnode *vp; in null_getwritemount()
[all …]
/freebsd/sys/security/mac_stub/
H A Dmac_stub.c532 stub_kld_check_load(struct ucred *cred, struct vnode *vp, in stub_kld_check_load()
1351 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_extattr()
1359 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_singlelabel()
1413 stub_vnode_check_exec(struct ucred *cred, struct vnode *vp, in stub_vnode_check_exec()
1463 stub_vnode_check_mmap(struct ucred *cred, struct vnode *vp, in stub_vnode_check_mmap()
1486 stub_vnode_check_open(struct ucred *cred, struct vnode *vp, in stub_vnode_check_open()
1495 struct vnode *vp, struct label *vplabel) in stub_vnode_check_poll()
1503 struct vnode *vp, struct label *vplabel) in stub_vnode_check_read()
1609 struct vnode *vp, struct label *vplabel) in stub_vnode_check_stat()
1626 struct vnode *vp, struct label *vplabel) in stub_vnode_check_write()
[all …]

12345678910>>...17