Home
last modified time | relevance | path

Searched defs:vp (Results 1 – 25 of 106) sorted by relevance

12345

/f-stack/freebsd/security/mac/
H A Dmac_vfs.c139 mac_vnode_init(struct vnode *vp) in mac_vnode_init()
193 mac_vnode_destroy(struct vnode *vp) in mac_vnode_destroy()
240 struct vnode *vp) in mac_devfs_vnode_associate()
531 struct vnode *vp, struct componentname *cnp) in mac_vnode_check_link()
651 struct vnode *vp) in mac_vnode_check_poll()
670 struct vnode *vp) in mac_vnode_check_read_impl()
738 struct vnode *vp, struct componentname *cnp) in mac_vnode_check_rename_from()
895 struct vnode *vp) in mac_vnode_check_stat_impl()
914 struct vnode *vp, struct componentname *cnp) in mac_vnode_check_unlink()
933 struct vnode *vp) in mac_vnode_check_write_impl()
[all …]
H A Dmac_framework.h427 #define mac_vnode_assert_locked(vp, func) do { } while (0) argument
493 mac_vnode_check_mmap(struct ucred *cred, struct vnode *vp, int prot, in mac_vnode_check_mmap()
512 mac_vnode_check_open(struct ucred *cred, struct vnode *vp, in mac_vnode_check_open()
534 struct vnode *vp) in mac_vnode_check_poll()
549 mac_vnode_check_readlink(struct ucred *cred, struct vnode *vp) in mac_vnode_check_readlink()
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()
H A Dmac_system.c129 mac_kld_check_load(struct ucred *cred, struct vnode *vp) in mac_kld_check_load()
158 mac_system_check_acct(struct ucred *cred, struct vnode *vp) in mac_system_check_acct()
190 mac_system_check_swapon(struct ucred *cred, struct vnode *vp) in mac_system_check_swapon()
206 mac_system_check_swapoff(struct ucred *cred, struct vnode *vp) in mac_system_check_swapoff()
/f-stack/freebsd/kern/
H A Dvfs_subr.c393 struct vnode *vp; in sysctl_try_reclaim_vnode() local
441 struct vnode *vp; in sysctl_ftry_reclaim_vnode() local
513 struct vnode *vp; in vn_alloc_marker() local
536 struct vnode *vp; in vnode_init() local
582 struct vnode *vp; in vnode_fini() local
1221 struct vnode *vp; in vnlru_free_impl() local
1727 struct vnode *vp; in getnewvnode() local
2480 struct vnode *vp; in brelvp() local
2559 struct vnode *vp; in sync_vnode() local
2808 struct vnode *vp; in reassignbuf() local
[all …]
H A Dvfs_hash.c61 vfs_hash_index(struct vnode *vp) in vfs_hash_index()
78 struct vnode *vp; in vfs_hash_get() local
113 struct vnode *vp; in vfs_hash_ref() local
140 vfs_hash_remove(struct vnode *vp) in vfs_hash_remove()
149 vfs_hash_insert(struct vnode *vp, u_int hash, int flags, struct thread *td, in vfs_hash_insert()
191 vfs_hash_rehash(struct vnode *vp, u_int hash) in vfs_hash_rehash()
206 struct vnode *vp; in vfs_hash_changesize() local
H A Dvfs_vnops.c180 struct vnode *vp; member
223 struct vnode *vp; in vn_open_cred() local
980 struct vnode *vp; in vn_read() local
1051 struct vnode *vp; in vn_write() local
1373 struct vnode *vp; in vn_io_fault() local
1539 struct vnode *vp; in vn_truncate() local
1624 struct vnode *vp; in vn_ioctl() local
1675 struct vnode *vp; in vn_poll() local
1754 struct vnode *vp; in vn_closefile() local
2310 struct vnode *vp; in vn_chmod() local
[all …]
H A Dvfs_default.c425 struct vnode *vp; in vop_stdadvlock() local
451 struct vnode *vp; in vop_stdadvlockasync() local
472 struct vnode *vp; in vop_stdadvlockpurge() local
669 struct vnode *vp; local
960 struct vnode *vp; in vop_stdallocate() local
1083 struct vnode *vp; in vop_stdadvise() local
1186 struct vnode *vp; in vop_stdset_text() local
1217 struct vnode *vp; in vop_stdunset_text() local
1244 struct vnode *vp; in vop_stdadd_writecount() local
1277 struct vnode *vp; in vop_stdioctl() local
[all …]
H A Dvfs_cluster.c102 cluster_read(struct vnode *vp, u_quad_t filesize, daddr_t lblkno, long size, in cluster_read()
351 cluster_rbuild(struct vnode *vp, u_quad_t filesize, daddr_t lbn, in cluster_rbuild()
622 cluster_wbuild_wb(struct vnode *vp, long size, daddr_t start_lbn, int len, in cluster_wbuild_wb()
654 cluster_write(struct vnode *vp, struct buf *bp, u_quad_t filesize, int seqcount, in cluster_write()
813 cluster_wbuild(struct vnode *vp, long size, daddr_t start_lbn, int len, in cluster_wbuild()
1050 cluster_collectbufs(struct vnode *vp, struct buf *last_bp, int gbflags) in cluster_collectbufs()
H A Dvfs_cache.c415 VP2VNODELOCK(struct vnode *vp) in VP2VNODELOCK()
712 cache_prehash(struct vnode *vp) in cache_prehash()
1446 struct vnode *dvp, *vp; in cache_zap_locked() local
2676 cache_purge(struct vnode *vp) in cache_purge()
2820 struct vnode *vp, *mvp; in cache_purgevfs() local
3413 struct vnode *vp; in vn_fullpath_hardlink() local
3490 vn_dir_dd_ino(struct vnode *vp) in vn_dir_dd_ino()
3638 struct vnode *vp; in DB_SHOW_COMMAND() local
5070 struct vnode *vp; in cache_fplookup_climb_mount() local
5127 struct vnode *vp; in cache_fplookup_cross_mount() local
[all …]
/f-stack/freebsd/security/mac_bsdextended/
H A Dugidfw_vnode.c64 ugidfw_vnode_check_access(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_access()
96 ugidfw_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_deleteacl()
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()
138 struct label *dvplabel, struct vnode *vp, struct label *label, in ugidfw_vnode_check_link()
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()
229 ugidfw_check_setacl_vnode(struct ucred *cred, struct vnode *vp, in ugidfw_check_setacl_vnode()
245 ugidfw_vnode_check_setflags(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_setflags()
253 ugidfw_vnode_check_setmode(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_setmode()
[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/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvnode.h78 vn_is_readonly(vnode_t *vp) in vn_is_readonly()
83 #define vn_vfswlock(vp) (0) argument
84 #define vn_vfsunlock(vp) do { } while (0) argument
85 #define vn_ismntpt(vp) \ argument
87 #define vn_mountedvfs(vp) ((vp)->v_mountedhere) argument
88 #define vn_has_cached_data(vp) \ argument
91 #define vn_exists(vp) do { } while (0) argument
92 #define vn_invalid(vp) do { } while (0) argument
94 #define vn_free(vp) do { } while (0) argument
102 #define vnevent_link(vp, ct) do { } while (0) argument
[all …]
/f-stack/freebsd/sys/
H A Dvnode.h227 #define VN_KNOTE(vp, b, a) \ argument
436 #define VREF(vp) vref(vp) argument
461 #define VI_MTX(vp) (&(vp)->v_interlock) argument
584 #define DOINGASYNC(vp) \ argument
595 vn_canvmio(struct vnode *vp) in vn_canvmio()
639 #define cache_enter(dvp, vp, cnp) \ argument
985 #define VOP_SET_TEXT_CHECKED(vp) \ argument
1015 vrefcnt(struct vnode *vp) in vrefcnt()
1021 #define vholdl(vp) do { \ argument
1026 #define vrefl(vp) do { \ argument
[all …]
/f-stack/freebsd/ddb/
H A Ddb_variables.c63 struct db_variable *vp; in db_find_variable() local
88 struct db_variable *vp; in db_get_variable() local
99 struct db_variable *vp; in db_set_variable() local
108 db_read_variable(struct db_variable *vp, db_expr_t *valuep) in db_read_variable()
120 db_write_variable(struct db_variable *vp, db_expr_t value) in db_write_variable()
134 struct db_variable *vp; in db_set_cmd() local
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_policy.c103 secpolicy_basic_link(vnode_t *vp, cred_t *cr) in secpolicy_basic_link()
121 secpolicy_vnode_remove(vnode_t *vp, cred_t *cr) in secpolicy_vnode_remove()
159 secpolicy_vnode_access2(cred_t *cr, vnode_t *vp, uid_t owner, in secpolicy_vnode_access2()
173 secpolicy_vnode_any_access(cred_t *cr, vnode_t *vp, uid_t owner) in secpolicy_vnode_any_access()
211 secpolicy_vnode_setdac(vnode_t *vp, cred_t *cr, uid_t owner) in secpolicy_vnode_setdac()
222 secpolicy_vnode_setattr(cred_t *cr, vnode_t *vp, struct vattr *vap, in secpolicy_vnode_setattr()
305 secpolicy_vnode_setids_setgids(vnode_t *vp, cred_t *cr, gid_t gid) in secpolicy_vnode_setids_setgids()
326 secpolicy_setid_clear(struct vattr *vap, vnode_t *vp, cred_t *cr) in secpolicy_setid_clear()
341 secpolicy_setid_setsticky_clear(vnode_t *vp, struct vattr *vap, in secpolicy_setid_setsticky_clear()
386 secpolicy_vnode_owner(vnode_t *vp, cred_t *cr, uid_t owner) in secpolicy_vnode_owner()
[all …]
/f-stack/lib/include/sys/
H A Dvnode.h55 vn_lock(struct vnode *vp, int flags) in vn_lock()
61 vrefcnt(struct vnode *vp) in vrefcnt()
66 #define VREF(vp) vref(vp) argument
68 vref(struct vnode *vp) in vref()
74 vrele(struct vnode *vp) in vrele()
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()
130 VOP_GETATTR(struct vnode *vp, struct vattr *vap, struct ucred *cred) in VOP_GETATTR()
155 vrefact(struct vnode *vp) in vrefact()
/f-stack/freebsd/vm/
H A Dvnode_pager.c191 vnode_destroy_vobject(struct vnode *vp) in vnode_destroy_vobject()
240 struct vnode *vp; in vnode_pager_alloc() local
307 struct vnode *vp; in vnode_pager_dealloc() local
350 struct vnode *vp = object->handle; in vnode_pager_haspage() local
571 struct vnode *vp; in vnode_pager_input_smlfs() local
669 struct vnode *vp; in vnode_pager_input_old() local
738 struct vnode *vp; in vnode_pager_getpages() local
753 struct vnode *vp; in vnode_pager_getpages_async() local
1214 struct vnode *vp; in vnode_pager_putpages() local
1531 struct vnode *vp; in vnode_pager_update_writecount() local
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_ctldir.c171 struct vnode *vp; in sfs_vgetx() local
527 vnode_t *vp = ap->a_vp; in zfsctl_common_fid() local
557 vnode_t *vp = ap->a_vp; in zfsctl_common_reclaim() local
666 vnode_t *vp = ap->a_vp; in zfsctl_root_readdir() local
1031 vnode_t *vp = ap->a_vp; in zfsctl_snapdir_readdir() local
1089 vnode_t *vp = ap->a_vp; in zfsctl_snapdir_getattr() local
1140 vnode_t *vp = ap->a_vp; in zfsctl_snapshot_inactive() local
1149 vnode_t *vp = ap->a_vp; in zfsctl_snapshot_reclaim() local
1162 vnode_t *vp; in zfsctl_snapshot_vptocnp() local
1243 vnode_t *vp; in zfsctl_lookup_objset() local
[all …]
H A Dzfs_vnops_os.c113 #define VNCHECKREF(vp) argument
472 vnode_t *vp = ZTOV(zp); in update_pages() local
523 vnode_t *vp = ZTOV(zp); in mappedread_sf() local
608 vnode_t *vp = ZTOV(zp); in mappedread() local
1341 vnode_t *vp; in zfs_remove() local
1614 vnode_t *vp; in zfs_rmdir() local
4447 vnode_t *vp; in zfs_freebsd_fplookup_vexec() local
4469 vnode_t *vp; in zfs_freebsd_fplookup_symlink() local
5617 struct vnode *vp; member
5649 struct vnode *vp; member
[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/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()
/f-stack/freebsd/arm/arm/
H A Ddb_interface.c105 db_access_und_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_und_sp()
116 db_access_abt_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_abt_sp()
127 db_access_irq_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_irq_sp()
137 int db_frame(struct db_variable *vp, db_expr_t *valp, int rw) in db_frame()
/f-stack/freebsd/security/mac_veriexec/
H A Dmac_veriexec.c342 mac_veriexec_kld_check_load(struct ucred *cred, struct vnode *vp, in mac_veriexec_kld_check_load()
482 mac_veriexec_check_vp(struct ucred *cred, struct vnode *vp, accmode_t accmode) in mac_veriexec_check_vp()
558 mac_veriexec_vnode_check_open(struct ucred *cred, struct vnode *vp, in mac_veriexec_vnode_check_open()
587 mac_veriexec_vnode_check_setmode(struct ucred *cred, struct vnode *vp, in mac_veriexec_vnode_check_setmode()
743 mac_veriexec_bottom_vnode(struct vnode *vp) in mac_veriexec_bottom_vnode()
766 mac_veriexec_get_fingerprint_status(struct vnode *vp) in mac_veriexec_get_fingerprint_status()
824 mac_veriexec_set_fingerprint_status(struct vnode *vp, in mac_veriexec_set_fingerprint_status()
/f-stack/freebsd/security/mac_lomac/
H A Dmac_lomac.c1415 lomac_kld_check_load(struct ucred *cred, struct vnode *vp, in lomac_kld_check_load()
2120 lomac_system_check_acct(struct ucred *cred, struct vnode *vp, in lomac_system_check_acct()
2179 lomac_system_check_swapon(struct ucred *cred, struct vnode *vp, in lomac_system_check_swapon()
2275 struct vnode *vp, struct label *vplabel) in lomac_vnode_associate_extattr()
2323 struct vnode *vp, struct label *vplabel) in lomac_vnode_associate_singlelabel()
2397 lomac_vnode_check_mmap(struct ucred *cred, struct vnode *vp, in lomac_vnode_check_mmap()
2445 lomac_vnode_check_open(struct ucred *cred, struct vnode *vp, in lomac_vnode_check_open()
2467 struct vnode *vp, struct label *vplabel) in lomac_vnode_check_read()
2610 lomac_vnode_check_revoke(struct ucred *cred, struct vnode *vp, in lomac_vnode_check_revoke()
2628 lomac_vnode_check_setacl(struct ucred *cred, struct vnode *vp, in lomac_vnode_check_setacl()
[all …]
/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