Home
last modified time | relevance | path

Searched refs:vnode (Results 26 – 50 of 425) sorted by relevance

12345678910>>...17

/freebsd/sys/ufs/ufs/
H A Dufsmount.h59 struct vnode;
88 struct vnode *um_odevvp; /* (r) devfs dev vnode */
89 struct vnode *um_devvp; /* (r) mntfs private vnode */
103 struct vnode *um_quotas[MAXQUOTAS]; /* (q) pointer to quota files */
122 int (*um_balloc)(struct vnode *, off_t, int, struct ucred *,
124 int (*um_blkatoff)(struct vnode *, off_t, char **, struct buf **);
125 int (*um_truncate)(struct vnode *, off_t, int, struct ucred *);
126 int (*um_update)(struct vnode *, int);
127 int (*um_valloc)(struct vnode *, int, struct ucred *,
128 struct vnode **);
[all …]
/freebsd/sys/fs/nullfs/
H A Dnull_subr.c92 static struct vnode *
93 null_hashget_locked(struct mount *mp, struct vnode *lowervp) in null_hashget_locked()
97 struct vnode *vp; in null_hashget_locked()
125 struct vnode *
126 null_hashget(struct mount *mp, struct vnode *lowervp) in null_hashget()
129 struct vnode *vp; in null_hashget()
166 null_destroy_proto(struct vnode *vp, void *xp) in null_destroy_proto()
189 null_nodeget(struct mount *mp, struct vnode *lowervp, struct vnode **vpp) in null_nodeget()
192 struct vnode *vp; in null_nodeget()
282 struct vnode *
[all …]
H A Dnull_vfsops.c80 struct vnode *lowerrootvp; in nullfs_mount()
81 struct vnode *nullm_rootvp; in nullfs_mount()
299 nullfs_root(struct mount *mp, int flags, struct vnode **vpp) in nullfs_root()
301 struct vnode *vp; in nullfs_root()
396 nullfs_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in nullfs_vget()
410 nullfs_fhtovp(struct mount *mp, struct fid *fidp, int flags, struct vnode **vpp) in nullfs_fhtovp()
422 nullfs_extattrctl(struct mount *mp, int cmd, struct vnode *filename_vp, in nullfs_extattrctl()
431 nullfs_reclaim_lowervp(struct mount *mp, struct vnode *lowervp) in nullfs_reclaim_lowervp()
433 struct vnode *vp; in nullfs_reclaim_lowervp()
444 nullfs_unlink_lowervp(struct mount *mp, struct vnode *lowervp) in nullfs_unlink_lowervp()
[all …]
/freebsd/sys/security/mac/
H A Dmac_policy.h103 struct vnode;
196 struct vnode *vp, struct label *vplabel);
199 struct label *delabel, struct vnode *vp,
566 struct label *mplabel, struct vnode *vp,
569 struct label *mplabel, struct vnode *vp,
572 struct vnode *vp, struct label *vplabel,
582 struct vnode *vp, struct label *vplabel,
585 struct vnode *vp, struct label *vplabel,
588 struct vnode *vp, struct label *vplabel,
591 struct vnode *vp, struct label *vplabel,
[all …]
/freebsd/sys/fs/fuse/
H A Dfuse_file.h198 bool fuse_filehandle_validrw(struct vnode *vp, int mode,
200 int fuse_filehandle_get(struct vnode *vp, int fflag,
203 int fuse_filehandle_get_anyflags(struct vnode *vp,
206 int fuse_filehandle_getrw(struct vnode *vp, int fflag,
210 void fuse_filehandle_init(struct vnode *vp, fufh_type_t fufh_type,
214 int fuse_filehandle_open(struct vnode *vp, int mode,
217 int fuse_filehandle_close(struct vnode *vp, struct fuse_filehandle *fufh,
H A Dfuse_node.c154 fuse_vnode_init(struct vnode *vp, struct fuse_vnode_data *fvdat, in fuse_vnode_init()
179 fuse_vnode_destroy(struct vnode *vp) in fuse_vnode_destroy()
192 fuse_vnode_cmp(struct vnode *vp, void *nidp) in fuse_vnode_cmp()
204 struct vnode **vpp) in fuse_vnode_alloc()
208 struct vnode *vp2; in fuse_vnode_alloc()
294 struct vnode *dvp, in fuse_vnode_get()
295 struct vnode **vpp, in fuse_vnode_get()
361 fuse_vnode_savesize(struct vnode *vp, struct ucred *cred, pid_t pid) in fuse_vnode_savesize()
417 fuse_vnode_setsize(struct vnode *vp, off_t newsize, bool from_server) in fuse_vnode_setsize()
495 fuse_vnode_undirty_cached_timestamps(struct vnode *vp, bool atime) in fuse_vnode_undirty_cached_timestamps()
[all …]
H A Dfuse_vnops.c423 struct vnode *vp = ap->a_vp; in fuse_vnop_access()
467 struct vnode *vp = ap->a_vp; in fuse_vnop_advlock()
584 struct vnode *vp = ap->a_vp; in fuse_vnop_allocate()
680 struct vnode *vp = ap->a_vp; in fuse_vnop_bmap()
780 struct vnode *vp = ap->a_vp; in fuse_vnop_close()
962 struct vnode *dvp, in fdisp_make_mknod_for_fallback()
1148 struct vnode *vp = ap->a_vp; in fuse_vnop_fdatasync()
1174 struct vnode *vp = ap->a_vp; in fuse_vnop_fsync()
1199 struct vnode *vp = ap->a_vp; in fuse_vnop_getattr()
1440 struct vnode *vp = NULL; in fuse_vnop_lookup()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_missing_005_pos.ksh98 log_must $MDCONFIG -t vnode -a -f $REGULAR -u $REGULAR_U
99 log_must $MDCONFIG -t vnode -a -f $LOG -u $LOG_U
100 log_must $MDCONFIG -t vnode -a -f $CACHE -u $CACHE_U
101 log_must $MDCONFIG -t vnode -a -f $SPARE -u $SPARE_U
110 log_must $MDCONFIG -t vnode -a -f $REGULAR -u $REGULAR_ALTU
111 log_must $MDCONFIG -t vnode -a -f $LOG -u $LOG_ALTU
112 log_must $MDCONFIG -t vnode -a -f $CACHE -u $CACHE_ALTU
113 log_must $MDCONFIG -t vnode -a -f $SPARE -u $SPARE_ALTU
/freebsd/sys/fs/nfsclient/
H A Dnfsnode.h47 struct vnode *s_dvp;
105 struct vnode *n_vnode; /* associated vnode */
106 struct vnode *n_dvp; /* parent vnode */
170 #define NFSTOV(np) ((struct vnode *)(np)->n_vnode)
186 int ncl_removeit(struct sillyrename *, struct vnode *);
189 void ncl_invaldir(struct vnode *);
190 bool ncl_excl_start(struct vnode *);
191 void ncl_excl_finish(struct vnode *, bool old_lock);
/freebsd/sys/fs/unionfs/
H A Dunion_vnops.c348 struct vnode *vp; in unionfs_create()
429 struct vnode *vp; in unionfs_mknod()
500 struct vnode *vp; in unionfs_open()
501 struct vnode *uvp; in unionfs_open()
502 struct vnode *lvp; in unionfs_open()
601 struct vnode *vp; in unionfs_close()
985 struct vnode *ovp; in unionfs_poll()
1007 struct vnode *ovp; in unionfs_fsync()
2507 struct vnode *vp; in unionfs_listextattr()
2789 struct vnode *tvp; in unionfs_set_text()
[all …]
/freebsd/sys/vm/
H A Dvnode_pager.h42 struct vnode;
43 void vnode_pager_clean_sync(struct vnode *vp);
44 void vnode_pager_clean_async(struct vnode *vp);
45 int vnode_pager_generic_getpages(struct vnode *vp, vm_page_t *m,
48 int vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *m,
/freebsd/sys/fs/mntfs/
H A Dmntfs_vnops.c47 struct vnode *vp = ap->a_vp; in mntfs_reclaim()
68 struct vnode *
69 mntfs_allocvp(struct mount *mp, struct vnode *ovp) in mntfs_allocvp()
71 struct vnode *vp; in mntfs_allocvp()
91 mntfs_freevp(struct vnode *vp) in mntfs_freevp()
/freebsd/sys/sys/
H A Dmount.h174 TAILQ_HEAD(vnodelst, vnode);
231 struct vnode *mnt_rootvnode;
239 struct vnode *mnt_syncer; /* syncer vnode */
278 struct vnode *__mnt_vnode_next_all(struct vnode **mvp, struct mount *mp);
279 struct vnode *__mnt_vnode_first_all(struct vnode **mvp, struct mount *mp);
298 struct vnode *__mnt_vnode_next_lazy(struct vnode **mvp, struct mount *mp,
300 struct vnode *__mnt_vnode_first_lazy(struct vnode **mvp, struct mount *mp,
799 struct vnode **vpp);
801 int flags, struct vnode **vpp);
1070 struct vnode *mntfs_allocvp(struct mount *, struct vnode *);
[all …]
H A Dbuf.h50 struct vnode;
126 struct vnode *b_vp; /* Device vnode. */
566 bool inmem(struct vnode *, daddr_t);
569 struct buf *getblk(struct vnode *, daddr_t, int, int, int, int);
570 int getblkx(struct vnode *vp, daddr_t blkno, daddr_t dblkno, int size,
584 int cluster_read(struct vnode *, u_quad_t, daddr_t, long,
586 int cluster_wbuild(struct vnode *, long, daddr_t, int, int);
599 void bgetvp(struct vnode *, struct buf *);
601 void pbgetvp(struct vnode *, struct buf *);
609 typedef daddr_t (vbg_get_lblkno_t)(struct vnode *, vm_ooffset_t);
[all …]
H A Dlockf.h76 struct vnode *lf_vnode; /* (c) File being locked (only valid for active lock) */
121 typedef int lf_iterator(struct vnode *, struct flock *, void *);
125 void lf_purgelocks(struct vnode *vp, struct lockf **statep);
127 int lf_iteratelocks_vnode(struct vnode *vp, lf_iterator *, void *);
/freebsd/sys/nfsclient/
H A Dnfsnode.h50 struct vnode *s_dvp;
107 struct vnode *n_vnode; /* associated vnode */
108 struct vnode *n_dvp; /* parent vnode */
162 #define NFSTOV(np) ((struct vnode *)(np)->n_vnode)
202 void nfs_invaldir(struct vnode *);
203 int nfs_upgrade_vnlock(struct vnode *vp);
204 void nfs_downgrade_vnlock(struct vnode *vp, int old_lock);
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec.c199 struct vnode *fsrootvp, struct thread *td) in mac_veriexec_vfs_mounted()
630 struct label *dvplabel __unused, struct vnode *vp, in mac_veriexec_vnode_check_unlink()
671 struct vnode *vp, struct label *label __unused, in mac_veriexec_vnode_check_rename_from()
856 struct vnode *textvp; in mac_veriexec_syscall()
1046 static struct vnode *
1047 mac_veriexec_bottom_vnode(struct vnode *vp) in mac_veriexec_bottom_vnode()
1049 struct vnode *ldvp = NULL; in mac_veriexec_bottom_vnode()
1070 mac_veriexec_get_fingerprint_status(struct vnode *vp) in mac_veriexec_get_fingerprint_status()
1073 struct vnode *ldvp; in mac_veriexec_get_fingerprint_status()
1128 mac_veriexec_set_fingerprint_status(struct vnode *vp, in mac_veriexec_set_fingerprint_status()
[all …]
H A Dmac_veriexec_internal.h73 struct vnode;
75 int mac_veriexec_metadata_fetch_fingerprint_status(struct vnode *vp,
92 int mac_veriexec_fingerprint_check_vnode(struct vnode *vp,
100 mac_veriexec_get_fingerprint_status(struct vnode *vp);
103 void mac_veriexec_set_fingerprint_status(struct vnode *vp,
/freebsd/tests/sys/cddl/zfs/tests/zfsd/
H A Dzfsd_replace_003_pos.ksh74 typeset MD0=`$MDCONFIG -a -t vnode -f ${FILE0}`
76 typeset MD1=`$MDCONFIG -a -t vnode -f ${FILE1}`
78 typeset MD2=`$MDCONFIG -a -t vnode -f ${FILE2}`
80 typeset MD3=`$MDCONFIG -a -t vnode -f ${FILE3}`
112 typeset MD0=`$MDCONFIG -a -t vnode -f ${FILE1}`
114 typeset MD1=`$MDCONFIG -a -t vnode -f ${FILE0}`
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_vnops.c295 struct vnode *vp; in tmpfs_open()
364 struct vnode *vp; in tmpfs_fplookup_vexec()
601 struct vnode *vp; in tmpfs_read()
619 struct vnode *vp; in tmpfs_read_pgcache()
662 struct vnode *vp; in tmpfs_write()
843 tmpfs_rename_relock(struct vnode *fdvp, struct vnode **fvpp, in tmpfs_rename_relock()
844 struct vnode *tdvp, struct vnode **tvpp, in tmpfs_rename_relock()
1416 struct vnode *vp; in tmpfs_readdir()
1503 struct vnode *vp; in tmpfs_fplookup_symlink()
1523 struct vnode *vp; in tmpfs_inactive()
[all …]
/freebsd/sys/kern/
H A Dvfs_cache.c1516 struct vnode *dvp; in cache_neg_evict()
1776 struct vnode *dvp; in cache_zap_locked_bucket()
2436 cache_enter_dotdot_prep(struct vnode *dvp, struct vnode *vp, in cache_enter_dotdot_prep()
3028 cache_vop_rename(struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp, in cache_vop_rename()
3062 cache_vop_rmdir(struct vnode *dvp, struct vnode *vp) in cache_vop_rmdir()
3737 vn_fullpath_hardlink(struct vnode *vp, struct vnode *dvp, in vn_fullpath_hardlink()
3810 struct vnode *
4024 struct vnode *vp; in DB_SHOW_COMMAND()
5591 struct vnode *vp; in cache_fplookup_climb_mount()
5648 struct vnode *vp; in cache_fplookup_cross_mount()
[all …]
H A Dvfs_default.c360 struct vnode *vp; in vop_stdadvlock()
401 struct vnode *vp; in vop_stdadvlockasync()
422 struct vnode *vp; in vop_stdadvlockpurge()
574 struct vnode *vp; in vop_stdgetwritemount()
819 struct vnode *vp; in vop_stdallocate()
996 struct vnode *vp; in vop_stddeallocate()
1064 struct vnode *vp; in vop_stdadvise()
1167 struct vnode *vp; in vop_stdset_text()
1211 struct vnode *vp; in vop_stdunset_text()
1246 struct vnode *vp; in vop_stdadd_writecount_impl()
[all …]
/freebsd/sys/dev/beri/virtio/
H A Dvirtio_block.c94 struct vnode *vnode; member
111 struct vnode *vp; in vtblk_rdwr()
118 vp = sc->vnode; in vtblk_rdwr()
215 if (sc->vnode != NULL) { in close_file()
217 sc->vnode->v_vflag &= ~VV_MD; in close_file()
218 VOP_UNLOCK(sc->vnode); in close_file()
219 error = vn_close(sc->vnode, (FREAD|FWRITE), in close_file()
223 sc->vnode = NULL; in close_file()
264 sc->vnode = nd.ni_vp; in open_file()
441 if (sc->vnode != NULL) { in beri_ioctl()
[all …]
/freebsd/sys/ufs/ffs/
H A Dffs_snapshot.c86 struct vnode *devvp, in ffs_snapblkfree()
138 static int indiracct_ufs1(struct vnode *, struct vnode *, int,
151 static int indiracct_ufs2(struct vnode *, struct vnode *, int,
163 static void revert_snaplock(struct vnode *, struct vnode *, struct snapdata *);
909 struct vnode *vp, in cgaccount()
1641 struct vnode *devvp; in ffs_snapremove()
1768 struct vnode *devvp, in ffs_snapblkfree()
1992 struct vnode *vp; in ffs_snapshot_mount()
2129 struct vnode *vp; in ffs_snapshot_unmount()
2488 struct vnode *devvp; in ffs_sync_snap()
[all …]
/freebsd/sys/fs/smbfs/
H A Dsmbfs_node.c87 smbfs_vnode_cmp(struct vnode *vp, void *_sc) in smbfs_vnode_cmp()
101 smbfs_node_alloc(struct mount *mp, struct vnode *dvp, const char *dirnm, in smbfs_node_alloc()
103 struct smbfattr *fap, struct vnode **vpp) in smbfs_node_alloc()
109 struct vnode *vp, *vp2; in smbfs_node_alloc()
230 struct smbfattr *fap, struct vnode **vpp) in smbfs_nget()
233 struct vnode *vp; in smbfs_nget()
260 struct vnode *vp = ap->a_vp; in smbfs_reclaim()
261 struct vnode *dvp; in smbfs_reclaim()
298 struct vnode *vp = ap->a_vp; in smbfs_inactive()
331 smbfs_attr_cacheenter(struct vnode *vp, struct smbfattr *fap) in smbfs_attr_cacheenter()
[all …]

12345678910>>...17