Home
last modified time | relevance | path

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

12345

/f-stack/freebsd/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 …]
H A Dugidfw_system.c64 ugidfw_system_check_acct(struct ucred *cred, struct vnode *vp, in ugidfw_system_check_acct()
75 ugidfw_system_check_auditctl(struct ucred *cred, struct vnode *vp, in ugidfw_system_check_auditctl()
86 ugidfw_system_check_swapon(struct ucred *cred, struct vnode *vp, in ugidfw_system_check_swapon()
/f-stack/freebsd/sys/
H A Dvnode.h103 struct vnode { struct
631 struct vnode;
641 void cache_enter_time(struct vnode *dvp, struct vnode *vp,
644 int cache_lookup(struct vnode *dvp, struct vnode **vpp,
655 void cache_vop_rename(struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp,
657 void cache_vop_rmdir(struct vnode *dvp, struct vnode *vp);
659 void cache_validate(struct vnode *dvp, struct vnode *vp,
663 cache_validate(struct vnode *dvp, struct vnode *vp, struct componentname *cnp) in cache_validate()
673 struct vnode **vpp);
685 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);
H A Dmount.h167 TAILQ_HEAD(vnodelst, vnode);
209 struct vnode *mnt_rootvnode;
250 struct vnode *__mnt_vnode_next_all(struct vnode **mvp, struct mount *mp);
251 struct vnode *__mnt_vnode_first_all(struct vnode **mvp, struct mount *mp);
270 struct vnode *__mnt_vnode_next_lazy(struct vnode **mvp, struct mount *mp,
272 struct vnode *__mnt_vnode_first_lazy(struct vnode **mvp, struct mount *mp,
762 struct vnode **vpp);
764 int flags, struct vnode **vpp);
999 void vfs_notify_upper(struct vnode *, int);
1015 struct vnode *mntfs_allocvp(struct mount *, struct vnode *);
[all …]
H A Dbuf.h53 struct vnode;
129 struct vnode *b_vp; /* Device vnode. */
558 bool inmem(struct vnode *, daddr_t);
561 struct buf *getblk(struct vnode *, daddr_t, int, int, int, int);
573 int cluster_read(struct vnode *, u_quad_t, daddr_t, long,
575 int cluster_wbuild(struct vnode *, long, daddr_t, int, int);
576 void cluster_write(struct vnode *, struct buf *, u_quad_t, int, int);
587 void bgetvp(struct vnode *, struct buf *);
589 void pbgetvp(struct vnode *, struct buf *);
597 typedef daddr_t (vbg_get_lblkno_t)(struct vnode *, vm_ooffset_t);
[all …]
H A Dlockf.h79 struct vnode *lf_vnode; /* (c) File being locked (only valid for active lock) */
125 typedef int lf_iterator(struct vnode *, struct flock *, void *);
129 void lf_purgelocks(struct vnode *vp, struct lockf **statep);
131 int lf_iteratelocks_vnode(struct vnode *vp, lf_iterator *, void *);
H A Dnamei.h79 struct vnode *ni_startdir; /* starting directory */
80 struct vnode *ni_rootdir; /* logical root directory */
81 struct vnode *ni_topdir; /* logical top directory */
91 struct vnode *ni_vp; /* vnode of result */
92 struct vnode *ni_dvp; /* vnode of intermediate directory */
297 int relookup(struct vnode *dvp, struct vnode **vpp,
H A Dfiledesc.h90 struct vnode *pwd_cdir; /* current directory */
91 struct vnode *pwd_rdir; /* root directory */
92 struct vnode *pwd_jdir; /* jail root directory */
268 void mountcheckdirs(struct vnode *olddp, struct vnode *newdp);
334 void pwd_chdir(struct thread *td, struct vnode *vp);
335 int pwd_chroot(struct thread *td, struct vnode *vp);
336 int pwd_chroot_chdir(struct thread *td, struct vnode *vp);
/f-stack/freebsd/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()
111 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_ref()
113 struct vnode *vp; in vfs_hash_ref()
140 vfs_hash_remove(struct vnode *vp) in vfs_hash_remove()
152 struct vnode *vp2; in vfs_hash_insert()
191 vfs_hash_rehash(struct vnode *vp, u_int hash) in vfs_hash_rehash()
[all …]
H A Dvfs_subr.c393 struct vnode *vp; in sysctl_try_reclaim_vnode()
1317 struct vnode *
6212 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfsdetach()
6223 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfsread()
6252 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfswrite()
6271 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfsvnode()
6523 struct vnode *
6555 struct vnode *
6588 struct vnode *
6771 struct vnode *
[all …]
H A Dvfs_cache.c1346 struct vnode *dvp; in cache_neg_evict()
1595 struct vnode *dvp; in cache_zap_locked_bucket()
2250 cache_enter_dotdot_prep(struct vnode *dvp, struct vnode *vp, in cache_enter_dotdot_prep()
2741 cache_vop_rename(struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp, in cache_vop_rename()
2777 cache_vop_rmdir(struct vnode *dvp, struct vnode *vp) in cache_vop_rmdir()
3413 struct vnode *vp; in vn_fullpath_hardlink()
3489 struct vnode *
3638 struct vnode *vp; in DB_SHOW_COMMAND()
5070 struct vnode *vp; in cache_fplookup_climb_mount()
5127 struct vnode *vp; in cache_fplookup_cross_mount()
[all …]
H A Dvfs_default.c425 struct vnode *vp; in vop_stdadvlock()
451 struct vnode *vp; in vop_stdadvlockasync()
472 struct vnode *vp; in vop_stdadvlockpurge()
669 struct vnode *vp;
960 struct vnode *vp; in vop_stdallocate()
1083 struct vnode *vp; in vop_stdadvise()
1186 struct vnode *vp; in vop_stdset_text()
1217 struct vnode *vp; in vop_stdunset_text()
1244 struct vnode *vp; in vop_stdadd_writecount()
1277 struct vnode *vp; in vop_stdioctl()
[all …]
H A Dvfs_vnops.c180 struct vnode *vp;
223 struct vnode *vp; in vn_open_cred()
980 struct vnode *vp; in vn_read()
1051 struct vnode *vp; in vn_write()
1373 struct vnode *vp; in vn_io_fault()
1539 struct vnode *vp; in vn_truncate()
1624 struct vnode *vp; in vn_ioctl()
1675 struct vnode *vp; in vn_poll()
1754 struct vnode *vp; in vn_closefile()
2310 struct vnode *vp; in vn_chmod()
[all …]
/f-stack/freebsd/security/mac/
H A Dmac_framework.h89 struct vnode;
142 struct vnode *vp);
144 struct vnode *vp);
534 struct vnode *vp) in mac_vnode_check_poll()
589 struct vnode *vp) in mac_vnode_check_stat()
608 struct vnode *vp) in mac_vnode_check_read()
627 struct vnode *vp) in mac_vnode_check_write()
639 void mac_vnode_init(struct vnode *);
641 struct vnode *dvp, struct vnode *vp, struct componentname *cnp);
642 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 …]
/f-stack/lib/include/sys/
H A Dvnode.h45 struct vnode { struct
55 vn_lock(struct vnode *vp, int flags) in vn_lock() argument
61 vrefcnt(struct vnode *vp) in vrefcnt()
68 vref(struct vnode *vp) in vref()
74 vrele(struct vnode *vp) in vrele()
79 extern struct vnode *rootvnode;
84 vn_fullpath(struct thread *td, struct vnode *vp, in vn_fullpath()
124 VOP_PATHCONF(struct vnode *vp, int name, register_t *retval) in VOP_PATHCONF()
137 int vn_close(struct vnode *vp, int flags, struct ucred *file_cred,
140 int vn_rdwr(enum uio_rw rw, struct vnode *vp, void *base,
[all …]
/f-stack/freebsd/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 …]
/f-stack/freebsd/security/mac_veriexec/
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,
H A Dmac_veriexec.c187 struct vnode *fsrootvp, struct thread *td) in mac_veriexec_vfs_mounted()
342 mac_veriexec_kld_check_load(struct ucred *cred, struct vnode *vp, in mac_veriexec_kld_check_load()
461 struct vnode *vp __unused, struct label *label __unused, in mac_veriexec_vnode_check_exec()
558 mac_veriexec_vnode_check_open(struct ucred *cred, struct vnode *vp, in mac_veriexec_vnode_check_open()
742 static struct vnode *
743 mac_veriexec_bottom_vnode(struct vnode *vp) in mac_veriexec_bottom_vnode()
745 struct vnode *ldvp = NULL; in mac_veriexec_bottom_vnode()
766 mac_veriexec_get_fingerprint_status(struct vnode *vp) in mac_veriexec_get_fingerprint_status()
769 struct vnode *ldvp; in mac_veriexec_get_fingerprint_status()
824 mac_veriexec_set_fingerprint_status(struct vnode *vp, in mac_veriexec_set_fingerprint_status()
[all …]
/f-stack/lib/
H A Dff_vfs_ops.c65 vn_close(struct vnode *vp, in vn_close()
75 vn_rdwr(enum uio_rw rw, struct vnode *vp, void *base, in vn_rdwr()
86 vn_fill_kinfo_vnode(struct vnode *vp, struct kinfo_file *kif) in vn_fill_kinfo_vnode()
96 const char *namep, int dirfd, struct vnode *startdir, cap_rights_t *rightsp,
/f-stack/freebsd/security/mac_test/
H A Dmac_test.c917 test_kld_check_load(struct ucred *cred, struct vnode *vp, in test_kld_check_load()
2426 struct vnode *vp, struct label *vplabel) in test_vnode_associate_extattr()
2439 struct vnode *vp, struct label *vplabel) in test_vnode_associate_singlelabel()
2527 test_vnode_check_exec(struct ucred *cred, struct vnode *vp, in test_vnode_check_exec()
2609 test_vnode_check_mmap(struct ucred *cred, struct vnode *vp, in test_vnode_check_mmap()
2622 test_vnode_check_open(struct ucred *cred, struct vnode *vp, in test_vnode_check_open()
2636 struct vnode *vp, struct label *vplabel) in test_vnode_check_poll()
2651 struct vnode *vp, struct label *vplabel) in test_vnode_check_read()
2827 struct vnode *vp, struct label *vplabel) in test_vnode_check_stat()
2906 struct vnode *vp, struct label *filelabel, in test_vnode_execve_transition()
[all …]

12345