Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd-13.1/sys/security/mac_bsdextended/
H A Dugidfw_internal.h45 int ugidfw_system_check_acct(struct ucred *cred, struct vnode *vp,
49 int ugidfw_system_check_swapon(struct ucred *cred, struct vnode *vp,
55 int ugidfw_vnode_check_access(struct ucred *cred, struct vnode *vp,
57 int ugidfw_vnode_check_chdir(struct ucred *cred, struct vnode *dvp,
59 int ugidfw_vnode_check_chroot(struct ucred *cred, struct vnode *dvp,
67 struct vnode *vp, struct label *vplabel, int attrnamespace,
69 int ugidfw_vnode_check_exec(struct ucred *cred, struct vnode *vp,
72 int ugidfw_vnode_check_getacl(struct ucred *cred, struct vnode *vp,
76 int ugidfw_vnode_check_link(struct ucred *cred, struct vnode *dvp,
77 struct label *dvplabel, struct vnode *vp, struct label *label,
[all …]
H A Dugidfw_vnode.c64 ugidfw_vnode_check_access(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_access()
72 ugidfw_vnode_check_chdir(struct ucred *cred, struct vnode *dvp, in ugidfw_vnode_check_chdir()
80 ugidfw_vnode_check_chroot(struct ucred *cred, struct vnode *dvp, in ugidfw_vnode_check_chroot()
88 ugidfw_check_create_vnode(struct ucred *cred, struct vnode *dvp, in ugidfw_check_create_vnode()
112 ugidfw_vnode_check_exec(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_exec()
121 ugidfw_vnode_check_getacl(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_getacl()
137 ugidfw_vnode_check_link(struct ucred *cred, struct vnode *dvp, in ugidfw_vnode_check_link()
161 ugidfw_vnode_check_lookup(struct ucred *cred, struct vnode *dvp, in ugidfw_vnode_check_lookup()
169 ugidfw_vnode_check_open(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_open()
221 ugidfw_vnode_check_revoke(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_revoke()
[all …]
/freebsd-13.1/sys/sys/
H A Dvnode.h103 struct vnode { struct
638 struct vnode;
649 void cache_enter_time_flags(struct vnode *dvp, struct vnode *vp,
654 void cache_enter_time(struct vnode *dvp, struct vnode *vp,
657 int cache_lookup(struct vnode *dvp, struct vnode **vpp,
668 void cache_vop_rename(struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp,
670 void cache_vop_rmdir(struct vnode *dvp, struct vnode *vp);
672 void cache_validate(struct vnode *dvp, struct vnode *vp,
698 int vn_fullpath_hardlink(struct vnode *vp, struct vnode *dvp,
701 struct vnode *
[all …]
H A Ddtrace_bsd.h41 struct vnode;
94 struct vnode *);
101 struct vnode *, uid_t, uint32_t);
110 struct vnode *, uid_t, uint32_t, int);
118 struct vnode *);
125 struct vnode *, struct vattr *);
132 struct vnode *);
139 struct vnode *, struct vattr *, int);
147 struct vnode *, struct mbuf *, struct ucred *, int);
154 struct vnode *, struct mbuf *, struct ucred *, int, int);
/freebsd-13.1/sys/ufs/ffs/
H A Dffs_extern.h53 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);
182 int softdep_prerename(struct vnode *, struct vnode *, struct vnode *,
183 struct vnode *);
184 int softdep_prelink(struct vnode *, struct vnode *,
204 int softdep_sync_metadata(struct vnode *);
206 int softdep_fsync(struct vnode *);
[all …]
/freebsd-13.1/sys/fs/unionfs/
H A Dunion.h57 struct vnode *um_lowervp; /* VREFed once */
58 struct vnode *um_uppervp; /* VREFed once */
59 struct vnode *um_rootvp; /* ROOT vnode */
84 struct vnode *un_lowervp; /* lower side vnode */
85 struct vnode *un_uppervp; /* upper side vnode */
86 struct vnode *un_dvp; /* parent unionfs vnode */
87 struct vnode *un_vnode; /* Back pointer */
111 …unionfs_nodeget(struct mount *mp, struct vnode *uppervp, struct vnode *lowervp, struct vnode *dvp,…
112 void unionfs_noderem(struct vnode *vp, struct thread *td);
128 struct vnode *unionfs_checklowervp(struct vnode *vp, char *fil, int lno);
[all …]
H A Dunion_subr.c110 unionfs_get_cached_vnode(struct vnode *uvp, struct vnode *lvp, in unionfs_get_cached_vnode()
115 struct vnode *vp; in unionfs_get_cached_vnode()
153 struct vnode *vp; in unionfs_ins_cached_vnode()
213 struct vnode *lowervp, struct vnode *dvp, in unionfs_nodeget()
527 unionfs_relookup(struct vnode *dvp, struct vnode **vpp, in unionfs_relookup()
581 struct vnode *vp; in unionfs_relookup_for_create()
625 struct vnode *vp; in unionfs_relookup_for_delete()
669 struct vnode *vp; in unionfs_relookup_for_rename()
988 unionfs_copyfile_core(struct vnode *lvp, struct vnode *uvp, in unionfs_copyfile_core()
1248 struct vnode *
[all …]
/freebsd-13.1/sys/fs/fuse/
H A Dfuse_internal.h88 vnode_mount(struct vnode *vp) in vnode_mount()
94 vnode_vtype(struct vnode *vp) in vnode_vtype()
100 vnode_isvroot(struct vnode *vp) in vnode_isvroot()
106 vnode_isreg(struct vnode *vp) in vnode_isreg()
112 vnode_isdir(struct vnode *vp) in vnode_isdir()
118 vnode_islnk(struct vnode *vp) in vnode_islnk()
152 fuse_iosize(struct vnode *vp) in fuse_iosize()
246 int fuse_internal_mknod(struct vnode *dvp, struct vnode **vpp,
262 int fuse_internal_remove(struct vnode *dvp, struct vnode *vp,
304 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.h68 int fuse_io_strategy(struct vnode *vp, struct buf *bp);
69 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td);
70 int fuse_io_invalbuf(struct vnode *vp, struct thread *td);
71 int fuse_read_directbackend(struct vnode *vp, struct uio *uio,
73 int fuse_read_biobackend(struct vnode *vp, struct uio *uio, int ioflag,
75 int fuse_write_directbackend(struct vnode *vp, struct uio *uio,
78 int fuse_write_biobackend(struct vnode *vp, struct uio *uio,
/freebsd-13.1/sys/kern/
H A Dvnode_if.src59 IN struct vnode *vp;
71 IN struct vnode *dvp;
130 IN struct vnode *vp;
142 IN struct vnode *vp;
154 IN struct vnode *vp;
164 IN struct vnode *vp;
172 IN struct vnode *vp;
182 IN struct vnode *vp;
192 IN struct vnode *vp;
203 IN struct vnode *vp;
[all …]
H A Dvfs_hash.c43 static LIST_HEAD(vfs_hash_head, vnode) *vfs_hash_tbl;
44 static LIST_HEAD(,vnode) vfs_hash_side;
61 vfs_hash_index(struct vnode *vp) in vfs_hash_index()
76 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_get()
78 struct vnode *vp; in vfs_hash_get()
117 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_ref()
119 struct vnode *vp; in vfs_hash_ref()
146 vfs_hash_remove(struct vnode *vp) in vfs_hash_remove()
158 struct vnode *vp2; in vfs_hash_insert()
197 vfs_hash_rehash(struct vnode *vp, u_int hash) in vfs_hash_rehash()
[all …]
/freebsd-13.1/sys/security/mac/
H A Dmac_framework.h89 struct vnode;
142 struct vnode *vp);
144 struct vnode *vp);
564 struct vnode *vp) in mac_vnode_check_poll()
619 struct vnode *vp) in mac_vnode_check_stat()
638 struct vnode *vp) in mac_vnode_check_read()
657 struct vnode *vp) in mac_vnode_check_write()
669 void mac_vnode_init(struct vnode *);
671 struct vnode *dvp, struct vnode *vp, struct componentname *cnp);
672 void mac_vnode_destroy(struct vnode *);
[all …]
H A Dmac_vfs.c86 struct vnode *vp, struct label *intlabel);
139 mac_vnode_init(struct vnode *vp) in mac_vnode_init()
193 mac_vnode_destroy(struct vnode *vp) in mac_vnode_destroy()
225 MAC_POLICY_INTERNALIZE(vnode, label, string); in mac_vnode_internalize_label()
240 struct vnode *vp) in mac_devfs_vnode_associate()
279 struct vnode *dvp, struct vnode *vp, struct componentname *cnp) in mac_vnode_create_extattr()
651 struct vnode *vp) in mac_vnode_check_poll()
670 struct vnode *vp) in mac_vnode_check_read_impl()
895 struct vnode *vp) in mac_vnode_check_stat_impl()
933 struct vnode *vp) in mac_vnode_check_write_impl()
[all …]
H A Dmac_policy.h101 struct vnode;
185 struct vnode *vp, struct label *vplabel);
188 struct label *delabel, struct vnode *vp,
547 struct label *mplabel, struct vnode *vp,
550 struct label *mplabel, struct vnode *vp,
553 struct vnode *vp, struct label *vplabel,
563 struct vnode *vp, struct label *vplabel,
566 struct vnode *vp, struct label *vplabel,
569 struct vnode *vp, struct label *vplabel,
572 struct vnode *vp, struct label *vplabel,
[all …]
/freebsd-13.1/sys/fs/ext2fs/
H A Dext2_extern.h52 struct vnode;
54 int ext2_add_entry(struct vnode *, struct ext2fs_direct_2 *);
60 int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
67 int ext2_bmap_seekdata(struct vnode *, off_t *);
71 int ext2_getlbns(struct vnode *, daddr_t, struct indir *, int *);
73 void ext2_itimes(struct vnode *vp);
77 int ext2_update(struct vnode *, int);
78 int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **);
79 int ext2_vfree(struct vnode *, ino_t, int);
87 struct vnode *, struct componentname *);
[all …]
/freebsd-13.1/sys/fs/nfsclient/
H A Dnfs.h94 int ncl_meta_setsize(struct vnode *, struct thread *, u_quad_t);
96 int ncl_bioread(struct vnode *, struct uio *, int, struct ucred *);
97 int ncl_biowrite(struct vnode *, struct uio *, int, struct ucred *);
98 int ncl_vinvalbuf(struct vnode *, int, struct thread *, int);
101 int ncl_doio(struct vnode *, struct buf *, struct ucred *, struct thread *,
107 int ncl_getattrcache(struct vnode *, struct vattr *);
108 int ncl_readrpc(struct vnode *, struct uio *, struct ucred *);
111 int ncl_readlinkrpc(struct vnode *, struct uio *, struct ucred *);
112 int ncl_readdirrpc(struct vnode *, struct uio *, struct ucred *,
114 int ncl_readdirplusrpc(struct vnode *, struct uio *, struct ucred *,
[all …]
/freebsd-13.1/sys/nfsclient/
H A Dnfs.h160 int (*nr_readrpc)(struct vnode *vp, struct uio *uiop,
162 int (*nr_writerpc)(struct vnode *vp, struct uio *uiop,
165 int (*nr_readlinkrpc)(struct vnode *vp, struct uio *uiop,
167 void (*nr_invaldir)(struct vnode *vp);
168 int (*nr_commit)(struct vnode *vp, u_quad_t offset, int cnt,
246 void nfs_purgecache(struct vnode *);
247 int nfs_vinvalbuf(struct vnode *, int, struct thread *, int);
248 int nfs_readrpc(struct vnode *, struct uio *, struct ucred *);
251 int nfs_commit(struct vnode *vp, u_quad_t offset, int cnt,
275 int nfs_getattrcache(struct vnode *, struct vattr *);
[all …]
/freebsd-13.1/sys/ufs/ufs/
H A Dufs_extern.h48 struct vnode;
59 int ufs_bmaparray(struct vnode *, ufs2_daddr_t, ufs2_daddr_t *,
61 int ufs_bmap_seekdata(struct vnode *, off_t *);
64 int ufs_dirbadentry(struct vnode *, struct direct *, int);
70 int ufs_direnter(struct vnode *, struct vnode *, struct direct *,
72 int ufs_dirremove(struct vnode *, struct inode *, int, int);
74 int ufs_lookup_ino(struct vnode *, struct vnode **, struct componentname *,
76 int ufs_getlbns(struct vnode *, ufs2_daddr_t, struct indir *, int *);
79 void ufs_itimes(struct vnode *vp);
87 int ufs_vinit(struct mount *, struct vop_vector *, struct vnode **);
[all …]
/freebsd-13.1/sys/fs/tmpfs/
H A Dtmpfs.h224 struct vnode * tn_vnode; /* (i) */
446 struct vnode **);
447 void tmpfs_free_vp(struct vnode *);
448 int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *,
450 void tmpfs_check_mtime(struct vnode *);
475 int tmpfs_truncate(struct vnode *, off_t);
481 tmpfs_update(struct vnode *vp) in tmpfs_update()
541 VP_TO_TMPFS_NODE(struct vnode *vp) in VP_TO_TMPFS_NODE()
554 VP_TO_TMPFS_DIR(struct vnode *vp) in VP_TO_TMPFS_DIR()
564 tmpfs_use_nc(struct vnode *vp) in tmpfs_use_nc()
[all …]
/freebsd-13.1/lib/libprocstat/
H A Dcommon_kvm.h42 int devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
43 int isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
44 int msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
45 int nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
46 int smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
47 int udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
48 int ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
49 int zfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
50 void *getvnodedata(struct vnode *vp);
51 struct mount *getvnodemount(struct vnode *vp);
/freebsd-13.1/sys/fs/smbfs/
H A Dsmbfs_node.h49 struct vnode * n_parent;
50 struct vnode * n_vnode;
72 struct vnode * n_parent;
78 #define SMBTOV(np) ((struct vnode *)(np)->n_vnode)
92 int smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen,
93 struct smbfattr *fap, struct vnode **vpp);
98 int smbfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred);
99 int smbfs_writevnode(struct vnode *vp, struct uio *uiop, struct ucred *cred, int ioflag);
100 void smbfs_attr_cacheenter(struct vnode *vp, struct smbfattr *fap);
101 int smbfs_attr_cachelookup(struct vnode *vp ,struct vattr *va);
/freebsd-13.1/sys/fs/nullfs/
H A Dnull.h46 struct vnode *nullm_lowerrootvp; /* Ref to lower root vnode */
56 struct vnode *null_lowervp; /* VREFed once */
57 struct vnode *null_vnode; /* Back pointer */
70 int null_nodeget(struct mount *mp, struct vnode *target, struct vnode **vpp);
71 struct vnode *null_hashget(struct mount *mp, struct vnode *lowervp);
76 struct vnode *null_checkvp(struct vnode *vp, char *fil, int lno);
H A Dnull_vnops.c228 struct vnode ***vppp; in null_bypass()
229 struct vnode *lvp; in null_bypass()
752 struct vnode *lvp; in null_lock()
824 struct vnode *lvp; in null_unlock()
847 struct vnode *lvp; in null_want_recycle()
873 struct vnode *vp; in null_inactive()
897 struct vnode *vp; in null_reclaim()
899 struct vnode *lowervp; in null_reclaim()
954 struct vnode *lowervp; in null_getwritemount()
955 struct vnode *vp; in null_getwritemount()
[all …]
/freebsd-13.1/sys/security/mac_stub/
H A Dmac_stub.c508 stub_kld_check_load(struct ucred *cred, struct vnode *vp, in stub_kld_check_load()
1327 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_extattr()
1335 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_singlelabel()
1389 stub_vnode_check_exec(struct ucred *cred, struct vnode *vp, in stub_vnode_check_exec()
1439 stub_vnode_check_mmap(struct ucred *cred, struct vnode *vp, in stub_vnode_check_mmap()
1462 stub_vnode_check_open(struct ucred *cred, struct vnode *vp, in stub_vnode_check_open()
1471 struct vnode *vp, struct label *vplabel) in stub_vnode_check_poll()
1479 struct vnode *vp, struct label *vplabel) in stub_vnode_check_read()
1585 struct vnode *vp, struct label *vplabel) in stub_vnode_check_stat()
1602 struct vnode *vp, struct label *vplabel) in stub_vnode_check_write()
[all …]

12345678910>>...13