| /freebsd-12.1/sys/security/mac_bsdextended/ |
| H A D | ugidfw_internal.h | 45 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 D | ugidfw_vnode.c | 64 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-12.1/sys/sys/ |
| H A D | vnode.h | 100 struct vnode { struct 129 LIST_ENTRY(vnode) v_hashlist; 562 vn_canvmio(struct vnode *vp) in vn_canvmio() 597 struct vnode; 607 void cache_enter_time(struct vnode *dvp, struct vnode *vp, 610 int cache_lookup(struct vnode *dvp, struct vnode **vpp, 620 struct vnode **vpp); 634 struct vnode * 664 void vunref(struct vnode *); 708 struct vnode **rvp); [all …]
|
| H A D | dtrace_bsd.h | 41 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-12.1/sys/fs/unionfs/ |
| H A D | union.h | 57 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 D | union_subr.c | 109 unionfs_get_cached_vnode(struct vnode *uvp, struct vnode *lvp, in unionfs_get_cached_vnode() 114 struct vnode *vp; in unionfs_get_cached_vnode() 151 struct vnode *vp; in unionfs_ins_cached_vnode() 210 struct vnode *lowervp, struct vnode *dvp, in unionfs_nodeget() 524 unionfs_relookup(struct vnode *dvp, struct vnode **vpp, in unionfs_relookup() 578 struct vnode *vp; in unionfs_relookup_for_create() 622 struct vnode *vp; in unionfs_relookup_for_delete() 666 struct vnode *vp; in unionfs_relookup_for_rename() 979 unionfs_copyfile_core(struct vnode *lvp, struct vnode *uvp, in unionfs_copyfile_core() 1239 struct vnode * [all …]
|
| /freebsd-12.1/sys/ufs/ffs/ |
| H A D | ffs_extern.h | 53 struct vnode; 76 int ffs_copyonwrite(struct vnode *, struct buf *); 101 void ffs_snapremove(struct vnode *vp); 110 int ffs_update(struct vnode *, int); 111 int ffs_valloc(struct vnode *, int, struct ucred *, struct vnode **); 112 int ffs_vfree(struct vnode *, ino_t, int); 160 void softdep_freefile(struct vnode *, ino_t, int); 180 void softdep_fsync_mountdev(struct vnode *); 181 int softdep_sync_metadata(struct vnode *); 183 int softdep_fsync(struct vnode *); [all …]
|
| /freebsd-12.1/sys/fs/fuse/ |
| H A D | fuse_internal.h | 88 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, 300 int fuse_internal_newentry(struct vnode *dvp, struct vnode **vpp, [all …]
|
| H A D | fuse_node.h | 138 VTOVA(struct vnode *vp) in VTOVA() 150 fuse_vnode_clear_attr_cache(struct vnode *vp) in fuse_vnode_clear_attr_cache() 168 int fuse_vnode_cmp(struct vnode *vp, void *nidp); 171 fuse_vnode_setparent(struct vnode *vp, struct vnode *dvp) in fuse_vnode_setparent() 183 void fuse_vnode_destroy(struct vnode *vp); 186 uint64_t nodeid, struct vnode *dvp, struct vnode **vpp, 189 void fuse_vnode_open(struct vnode *vp, int32_t fuse_open_flags, 192 int fuse_vnode_savesize(struct vnode *vp, struct ucred *cred, pid_t pid); 194 int fuse_vnode_setsize(struct vnode *vp, off_t newsize); 196 void fuse_vnode_undirty_cached_timestamps(struct vnode *vp); [all …]
|
| /freebsd-12.1/sys/kern/ |
| H A D | vnode_if.src | 59 IN struct vnode *vp; 126 IN struct vnode *vp; 138 IN struct vnode *vp; 148 IN struct vnode *vp; 158 IN struct vnode *vp; 168 IN struct vnode *vp; 178 IN struct vnode *vp; 187 IN struct vnode *vp; 195 IN struct vnode *vp; 207 IN struct vnode *vp; [all …]
|
| H A D | vfs_hash.c | 43 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() 110 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_ref() 112 struct vnode *vp; in vfs_hash_ref() 139 vfs_hash_remove(struct vnode *vp) in vfs_hash_remove() 151 struct vnode *vp2; in vfs_hash_insert() 189 vfs_hash_rehash(struct vnode *vp, u_int hash) in vfs_hash_rehash() [all …]
|
| /freebsd-12.1/sys/security/mac/ |
| H A D | mac_framework.h | 89 struct vnode; 142 struct vnode *vp); 144 struct vnode *vp); 405 struct ucred *file_cred, struct vnode *vp); 407 struct ucred *file_cred, struct vnode *vp); 428 struct ucred *file_cred, struct vnode *vp); 432 struct ucred *file_cred, struct vnode *vp); 434 void mac_vnode_init(struct vnode *); 436 struct vnode *dvp, struct vnode *vp, struct componentname *cnp); 437 void mac_vnode_destroy(struct vnode *); [all …]
|
| H A D | mac_vfs.c | 86 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() 649 struct vnode *vp) in mac_vnode_check_poll() 668 struct vnode *vp) in mac_vnode_check_read() 893 struct vnode *vp) in mac_vnode_check_stat() 931 struct vnode *vp) in mac_vnode_check_write() [all …]
|
| H A D | mac_policy.h | 101 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-12.1/sys/ufs/ufs/ |
| H A D | ufs_extern.h | 48 struct vnode; 59 int ufs_bmaparray(struct vnode *, ufs2_daddr_t, ufs2_daddr_t *, 61 int ufs_bmap_seekdata(struct vnode *, off_t *); 62 int ufs_fhtovp(struct mount *, struct ufid *, int, struct vnode **); 65 int ufs_dirbadentry(struct vnode *, struct direct *, int); 71 int ufs_direnter(struct vnode *, struct vnode *, struct direct *, 73 int ufs_dirremove(struct vnode *, struct inode *, int, int); 75 int ufs_lookup_ino(struct vnode *, struct vnode **, struct componentname *, 80 void ufs_itimes(struct vnode *vp); 82 void ufs_prepare_reclaim(struct vnode *vp); [all …]
|
| /freebsd-12.1/sys/fs/ext2fs/ |
| H A D | ext2_extern.h | 52 struct vnode; 54 int ext2_add_entry(struct vnode *, struct ext2fs_direct_2 *); 60 int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **); 66 int ext4_bmapext(struct vnode *, int32_t, int64_t *, int *, int *); 70 int ext2_getlbns(struct vnode *, daddr_t, struct indir *, int *); 72 void ext2_itimes(struct vnode *vp); 76 int ext2_update(struct vnode *, int); 77 int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **); 78 int ext2_vfree(struct vnode *, ino_t, int); 86 struct vnode *, struct componentname *); [all …]
|
| /freebsd-12.1/sys/nfsclient/ |
| H A D | nfs.h | 161 int (*nr_readrpc)(struct vnode *vp, struct uio *uiop, 163 int (*nr_writerpc)(struct vnode *vp, struct uio *uiop, 166 int (*nr_readlinkrpc)(struct vnode *vp, struct uio *uiop, 168 void (*nr_invaldir)(struct vnode *vp); 169 int (*nr_commit)(struct vnode *vp, u_quad_t offset, int cnt, 247 void nfs_purgecache(struct vnode *); 248 int nfs_vinvalbuf(struct vnode *, int, struct thread *, int); 249 int nfs_readrpc(struct vnode *, struct uio *, struct ucred *); 252 int nfs_commit(struct vnode *vp, u_quad_t offset, int cnt, 276 int nfs_getattrcache(struct vnode *, struct vattr *); [all …]
|
| /freebsd-12.1/sys/fs/nfsclient/ |
| H A D | nfs.h | 94 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-12.1/sys/fs/tmpfs/ |
| H A D | tmpfs.h | 215 struct vnode * tn_vnode; /* (i) */ 429 struct vnode **); 430 void tmpfs_free_vp(struct vnode *); 431 int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *, 433 void tmpfs_check_mtime(struct vnode *); 444 int tmpfs_reg_resize(struct vnode *, off_t, boolean_t); 457 void tmpfs_update(struct vnode *); 458 int tmpfs_truncate(struct vnode *, off_t); 515 VP_TO_TMPFS_NODE(struct vnode *vp) in VP_TO_TMPFS_NODE() 525 VP_TO_TMPFS_DIR(struct vnode *vp) in VP_TO_TMPFS_DIR() [all …]
|
| /freebsd-12.1/lib/libprocstat/ |
| H A D | common_kvm.h | 42 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-12.1/sys/fs/nullfs/ |
| H A D | null_vnops.c | 228 struct vnode ***vppp; in null_bypass() 337 struct vnode *lvp, *vp; in null_add_writecount() 573 struct vnode *lvp, *vp; in null_remove() 643 struct vnode *lvp; in null_lock() 716 struct vnode *lvp; in null_unlock() 752 struct vnode *vp, *lvp; in null_inactive() 784 struct vnode *vp; in null_reclaim() 786 struct vnode *lowervp; in null_reclaim() 841 struct vnode *lowervp; in null_getwritemount() 842 struct vnode *vp; in null_getwritemount() [all …]
|
| H A D | null.h | 46 struct vnode *nullm_rootvp; /* Reference to root null_node */ 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 D | null_subr.c | 98 struct vnode * 101 struct vnode *lowervp; 105 struct vnode *vp; 139 static struct vnode * 146 struct vnode *ovp; 169 null_destroy_proto(struct vnode *vp, void *xp) in null_destroy_proto() 202 struct vnode *lowervp; 203 struct vnode **vpp; 206 struct vnode *vp; 289 struct vnode * [all …]
|
| /freebsd-12.1/sys/fs/smbfs/ |
| H A D | smbfs_node.h | 49 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-12.1/sys/security/mac_stub/ |
| H A D | mac_stub.c | 507 stub_kld_check_load(struct ucred *cred, struct vnode *vp, in stub_kld_check_load() 1333 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_extattr() 1341 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_singlelabel() 1395 stub_vnode_check_exec(struct ucred *cred, struct vnode *vp, in stub_vnode_check_exec() 1445 stub_vnode_check_mmap(struct ucred *cred, struct vnode *vp, in stub_vnode_check_mmap() 1468 stub_vnode_check_open(struct ucred *cred, struct vnode *vp, in stub_vnode_check_open() 1477 struct vnode *vp, struct label *vplabel) in stub_vnode_check_poll() 1485 struct vnode *vp, struct label *vplabel) in stub_vnode_check_read() 1591 struct vnode *vp, struct label *vplabel) in stub_vnode_check_stat() 1608 struct vnode *vp, struct label *vplabel) in stub_vnode_check_write() [all …]
|