Home
last modified time | relevance | path

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

12345678910>>...14

/trueos/usr.sbin/notifyd/
HDpathwatch.c115 vnode_t **vnode; member
121 static void _path_node_update(path_node_t *pnode, uint32_t flags, vnode_t *vnode);
282 _vnode_add_pnode(vnode_t *vnode, path_node_t *pnode) in _vnode_add_pnode() argument
286 for (i = 0; i < vnode->path_node_count; i++) in _vnode_add_pnode()
288 if (vnode->path_node[i] == pnode) return; in _vnode_add_pnode()
291 for (i = 0; i < vnode->path_node_count; i++) in _vnode_add_pnode()
293 if (vnode->path_node[i] == NULL) in _vnode_add_pnode()
295 vnode->path_node[i] = pnode; in _vnode_add_pnode()
300 if (vnode->path_node_count == 0) in _vnode_add_pnode()
302 vnode->path_node = (path_node_t **)calloc(1, sizeof(path_node_t *)); in _vnode_add_pnode()
[all …]
/trueos/sys/security/mac_bsdextended/
HDugidfw_internal.h38 int ugidfw_check(struct ucred *cred, struct vnode *vp, struct vattr *vap,
40 int ugidfw_check_vp(struct ucred *cred, struct vnode *vp, int acc_mode);
45 int ugidfw_system_check_acct(struct ucred *cred, struct vnode *vp,
47 int ugidfw_system_check_auditctl(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,
61 int ugidfw_check_create_vnode(struct ucred *cred, struct vnode *dvp,
64 int ugidfw_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp,
[all …]
HDugidfw_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()
96 ugidfw_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_deleteacl()
104 ugidfw_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_deleteextattr()
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()
129 ugidfw_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_getextattr()
137 ugidfw_vnode_check_link(struct ucred *cred, struct vnode *dvp, in ugidfw_vnode_check_link()
[all …]
/trueos/sys/sys/
HDvnode.h97 struct vnode { struct
110 TAILQ_ENTRY(vnode) v_nmntvnodes; /* m vnodes for mount point */ argument
127 LIST_ENTRY(vnode) v_hashlist;
146 TAILQ_ENTRY(vnode) v_actfreelist; /* f vnode active/free lists */
414 #define NULLVP ((struct vnode *)NULL)
419 extern struct vnode *rootvnode; /* root (i.e. "/") vnode */
510 void assert_vi_locked(struct vnode *vp, const char *str);
511 void assert_vi_unlocked(struct vnode *vp, const char *str);
512 void assert_vop_elocked(struct vnode *vp, const char *str);
514 void assert_vop_elocked_other(struct vnode *vp, const char *str);
[all …]
HDdtrace_bsd.h39 struct vnode;
98 struct vnode *);
105 struct vnode *, uid_t, uint32_t);
114 struct vnode *, uid_t, uint32_t, int);
122 struct vnode *);
129 struct vnode *, struct vattr *);
136 struct vnode *);
143 struct vnode *, struct vattr *, int);
151 struct vnode *, struct mbuf *, struct ucred *, int);
158 struct vnode *, struct mbuf *, struct ucred *, int, int);
/trueos/sys/fs/unionfs/
HDunion.h55 struct vnode *um_lowervp; /* VREFed once */
56 struct vnode *um_uppervp; /* VREFed once */
57 struct vnode *um_rootvp; /* ROOT vnode */
82 struct vnode *un_lowervp; /* lower side vnode */
83 struct vnode *un_uppervp; /* upper side vnode */
84 struct vnode *un_dvp; /* parent unionfs vnode */
85 struct vnode *un_vnode; /* Back pointer */
109 …unionfs_nodeget(struct mount *mp, struct vnode *uppervp, struct vnode *lowervp, struct vnode *dvp,…
110 void unionfs_noderem(struct vnode *vp, struct thread *td);
114 int unionfs_check_rmdir(struct vnode *vp, struct ucred *cred, struct thread *td);
[all …]
HDunion_subr.c87 unionfs_get_hashhead(struct vnode *dvp, char *path) in unionfs_get_hashhead()
106 static struct vnode *
107 unionfs_get_cached_vnode(struct vnode *uvp, struct vnode *lvp, in unionfs_get_cached_vnode()
108 struct vnode *dvp, char *path) in unionfs_get_cached_vnode()
112 struct vnode *vp; in unionfs_get_cached_vnode()
143 static struct vnode *
145 struct vnode *dvp, char *path) in unionfs_ins_cached_vnode()
149 struct vnode *vp; in unionfs_ins_cached_vnode()
184 unionfs_rem_cached_vnode(struct unionfs_node *unp, struct vnode *dvp) in unionfs_rem_cached_vnode()
207 unionfs_nodeget(struct mount *mp, struct vnode *uppervp, in unionfs_nodeget()
[all …]
/trueos/sys/ufs/ffs/
HDffs_extern.h51 struct vnode;
58 int ffs_balloc_ufs1(struct vnode *a_vp, off_t a_startoffset, int a_size,
60 int ffs_balloc_ufs2(struct vnode *a_vp, off_t a_startoffset, int a_size,
62 int ffs_blkatoff(struct vnode *, off_t, char **, struct buf **);
63 void ffs_blkfree(struct ufsmount *, struct fs *, struct vnode *,
67 int ffs_checkfreefile(struct fs *, struct vnode *, ino_t);
71 int ffs_copyonwrite(struct vnode *, struct buf *);
74 int ffs_freefile(struct ufsmount *, struct fs *, struct vnode *, ino_t,
89 int ffs_snapblkfree(struct fs *, struct vnode *, ufs2_daddr_t, long, ino_t,
91 void ffs_snapremove(struct vnode *vp);
[all …]
/trueos/sys/kern/
HDvnode_if.src48 # -: not applicable. vnode does not yet (or no longer) exists.
63 IN struct vnode *vp;
74 IN struct vnode *dvp;
75 INOUT struct vnode **vpp;
85 IN struct vnode *dvp;
86 INOUT struct vnode **vpp;
95 IN struct vnode *dvp;
96 OUT struct vnode **vpp;
105 IN struct vnode *dvp;
116 IN struct vnode *dvp;
[all …]
/trueos/sys/security/mac/
HDmac_framework.h89 struct vnode;
142 struct vnode *vp);
144 struct vnode *vp);
183 int mac_kld_check_load(struct ucred *cred, struct vnode *vp);
276 void mac_execve_interpreter_enter(struct vnode *interpvp,
315 int mac_system_check_acct(struct ucred *cred, struct vnode *vp);
317 int mac_system_check_auditctl(struct ucred *cred, struct vnode *vp);
320 int mac_system_check_swapon(struct ucred *cred, struct vnode *vp);
321 int mac_system_check_swapoff(struct ucred *cred, struct vnode *vp);
376 int mac_vnode_associate_extattr(struct mount *mp, struct vnode *vp);
[all …]
HDmac_vfs.c87 struct vnode *vp, struct label *intlabel);
140 mac_vnode_init(struct vnode *vp) in mac_vnode_init()
194 mac_vnode_destroy(struct vnode *vp) in mac_vnode_destroy()
216 MAC_POLICY_EXTERNALIZE(vnode, label, elements, outbuf, outbuflen); in mac_vnode_externalize_label()
226 MAC_POLICY_INTERNALIZE(vnode, label, string); in mac_vnode_internalize_label()
232 mac_devfs_update(struct mount *mp, struct devfs_dirent *de, struct vnode *vp) in mac_devfs_update()
241 struct vnode *vp) in mac_devfs_vnode_associate()
249 mac_vnode_associate_extattr(struct mount *mp, struct vnode *vp) in mac_vnode_associate_extattr()
262 mac_vnode_associate_singlelabel(struct mount *mp, struct vnode *vp) in mac_vnode_associate_singlelabel()
280 struct vnode *dvp, struct vnode *vp, struct componentname *cnp) in mac_vnode_create_extattr()
[all …]
HDmac_policy.h101 struct vnode;
185 struct vnode *vp, struct label *vplabel);
188 struct label *delabel, struct vnode *vp,
258 typedef int (*mpo_kld_check_load_t)(struct ucred *cred, struct vnode *vp,
472 struct vnode *vp, struct label *vplabel);
476 struct vnode *vp, struct label *vplabel);
480 struct vnode *vp, struct label *vplabel);
482 struct vnode *vp, struct label *vplabel);
551 struct label *mplabel, struct vnode *vp,
554 struct label *mplabel, struct vnode *vp,
[all …]
/trueos/sys/fs/nfsclient/
HDnfs.h74 int ncl_meta_setsize(struct vnode *, struct ucred *, struct thread *,
77 int ncl_bioread(struct vnode *, struct uio *, int, struct ucred *);
78 int ncl_biowrite(struct vnode *, struct uio *, int, struct ucred *);
79 int ncl_vinvalbuf(struct vnode *, int, struct thread *, int);
82 int ncl_doio(struct vnode *, struct buf *, struct ucred *, struct thread *,
88 int ncl_getattrcache(struct vnode *, struct vattr *);
89 int ncl_readrpc(struct vnode *, struct uio *, struct ucred *);
90 int ncl_writerpc(struct vnode *, struct uio *, struct ucred *, int *, int *,
92 int ncl_readlinkrpc(struct vnode *, struct uio *, struct ucred *);
93 int ncl_readdirrpc(struct vnode *, struct uio *, struct ucred *,
[all …]
/trueos/sys/fs/ext2fs/
HDext2_extern.h47 struct vnode;
53 int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
58 int ext2_bmaparray(struct vnode *, daddr_t, daddr_t *, int *, int *);
62 int ext2_getlbns(struct vnode *, daddr_t, struct indir *, int *);
64 void ext2_itimes(struct vnode *vp);
67 int ext2_truncate(struct vnode *, off_t, int, struct ucred *, struct thread *);
68 int ext2_update(struct vnode *, int);
69 int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **);
70 int ext2_vfree(struct vnode *, ino_t, int);
71 int ext2_vinit(struct mount *, struct vop_vector *, struct vnode **vpp);
[all …]
/trueos/sys/nfsclient/
HDnfs.h162 int (*nr_readrpc)(struct vnode *vp, struct uio *uiop,
164 int (*nr_writerpc)(struct vnode *vp, struct uio *uiop,
167 int (*nr_readlinkrpc)(struct vnode *vp, struct uio *uiop,
169 void (*nr_invaldir)(struct vnode *vp);
170 int (*nr_commit)(struct vnode *vp, u_quad_t offset, int cnt,
248 void nfs_purgecache(struct vnode *);
249 int nfs_vinvalbuf(struct vnode *, int, struct thread *, int);
250 int nfs_readrpc(struct vnode *, struct uio *, struct ucred *);
251 int nfs_writerpc(struct vnode *, struct uio *, struct ucred *, int *,
253 int nfs_commit(struct vnode *vp, u_quad_t offset, int cnt,
[all …]
/trueos/sys/ufs/ufs/
HDufs_extern.h46 struct vnode;
57 int ufs_bmaparray(struct vnode *, ufs2_daddr_t, ufs2_daddr_t *,
59 int ufs_fhtovp(struct mount *, struct ufid *, int, struct vnode **);
62 int ufs_dirbadentry(struct vnode *, struct direct *, int);
68 int ufs_direnter(struct vnode *, struct vnode *, struct direct *,
70 int ufs_dirremove(struct vnode *, struct inode *, int, int);
72 int ufs_lookup_ino(struct vnode *, struct vnode **, struct componentname *,
74 int ufs_getlbns(struct vnode *, ufs2_daddr_t, struct indir *, int *);
77 void ufs_itimes(struct vnode *vp);
79 void ufs_prepare_reclaim(struct vnode *vp);
[all …]
/trueos/sys/fs/fuse/
HDfuse_internal.h76 vnode_mount(struct vnode *vp) in vnode_mount()
82 vnode_mountedhere(struct vnode *vp) in vnode_mountedhere()
88 vnode_vtype(struct vnode *vp) in vnode_vtype()
94 vnode_isvroot(struct vnode *vp) in vnode_isvroot()
100 vnode_isreg(struct vnode *vp) in vnode_isreg()
106 vnode_isdir(struct vnode *vp) in vnode_isdir()
112 vnode_islnk(struct vnode *vp) in vnode_islnk()
145 fuse_isdeadfs(struct vnode *vp) in fuse_isdeadfs()
154 fuse_iosize(struct vnode *vp) in fuse_iosize()
193 fuse_internal_access(struct vnode *vp,
[all …]
HDfuse_node.h104 fuse_vnode_setparent(struct vnode *vp, struct vnode *dvp) in fuse_vnode_setparent()
112 void fuse_vnode_destroy(struct vnode *vp);
116 struct vnode *dvp,
117 struct vnode **vpp,
121 void fuse_vnode_open(struct vnode *vp,
125 void fuse_vnode_refreshsize(struct vnode *vp, struct ucred *cred);
127 int fuse_vnode_savesize(struct vnode *vp, struct ucred *cred);
129 int fuse_vnode_setsize(struct vnode *vp, struct ucred *cred, off_t newsize);
/trueos/sys/fs/tmpfs/
HDtmpfs.h200 struct vnode * tn_vnode;
395 void tmpfs_destroy_vobject(struct vnode *vp, vm_object_t obj);
397 struct vnode **);
398 void tmpfs_free_vp(struct vnode *);
399 int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *,
401 void tmpfs_check_mtime(struct vnode *);
402 void tmpfs_dir_attach(struct vnode *, struct tmpfs_dirent *);
403 void tmpfs_dir_detach(struct vnode *, struct tmpfs_dirent *);
410 int tmpfs_dir_whiteout_add(struct vnode *, struct componentname *);
411 void tmpfs_dir_whiteout_remove(struct vnode *, struct componentname *);
[all …]
/trueos/lib/libprocstat/
HDcommon_kvm.h40 int devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
41 int isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
42 int msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
43 int nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
44 int smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
45 int udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
46 int ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
47 int zfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
48 void *getvnodedata(struct vnode *vp);
49 struct mount *getvnodemount(struct vnode *vp);
/trueos/sys/fs/smbfs/
HDsmbfs_node.h47 struct vnode * n_parent;
48 struct vnode * n_vnode;
70 struct vnode * n_parent;
76 #define SMBTOV(np) ((struct vnode *)(np)->n_vnode)
90 int smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen,
91 struct smbfattr *fap, struct vnode **vpp);
96 int smbfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred);
97 int smbfs_writevnode(struct vnode *vp, struct uio *uiop, struct ucred *cred, int ioflag);
98 void smbfs_attr_cacheenter(struct vnode *vp, struct smbfattr *fap);
99 int smbfs_attr_cachelookup(struct vnode *vp ,struct vattr *va);
/trueos/sys/fs/nullfs/
HDnull.h44 struct vnode *nullm_rootvp; /* Reference to root null_node */
54 struct vnode *null_lowervp; /* VREFed once */
55 struct vnode *null_vnode; /* Back pointer */
68 int null_nodeget(struct mount *mp, struct vnode *target, struct vnode **vpp);
69 struct vnode *null_hashget(struct mount *mp, struct vnode *lowervp);
74 struct vnode *null_checkvp(struct vnode *vp, char *fil, int lno);
HDnull_vnops.c222 struct vnode **this_vp_p; in null_bypass()
224 struct vnode *old_vps[VDESC_MAX_VPS]; in null_bypass()
225 struct vnode **vps_p[VDESC_MAX_VPS]; in null_bypass()
226 struct vnode ***vppp; in null_bypass()
252 VOPARG_OFFSETTO(struct vnode**,descp->vdesc_vp_offsets[i],ap); in null_bypass()
322 vppp = VOPARG_OFFSETTO(struct vnode***, in null_bypass()
335 struct vnode *lvp, *vp; in null_add_writecount()
361 struct vnode *dvp = ap->a_dvp; in null_lookup()
363 struct vnode *vp, *ldvp, *lvp; in null_lookup()
439 struct vnode *vp, *ldvp; in null_open()
[all …]
HDnull_subr.c66 static struct vnode * null_hashins(struct mount *, struct null_node *);
96 struct vnode *
99 struct vnode *lowervp;
103 struct vnode *vp;
137 static struct vnode *
144 struct vnode *ovp;
167 null_destroy_proto(struct vnode *vp, void *xp) in null_destroy_proto()
182 null_insmntque_dtr(struct vnode *vp, void *xp) in null_insmntque_dtr()
200 struct vnode *lowervp;
201 struct vnode **vpp;
[all …]
/trueos/sys/security/mac_stub/
HDmac_stub.c340 struct label *delabel, struct vnode *vp, struct label *vplabel) in stub_devfs_update()
347 struct devfs_dirent *de, struct label *delabel, struct vnode *vp, in stub_devfs_vnode_associate()
507 stub_kld_check_load(struct ucred *cred, struct vnode *vp, in stub_kld_check_load()
1100 stub_system_check_acct(struct ucred *cred, struct vnode *vp, in stub_system_check_acct()
1115 stub_system_check_auditctl(struct ucred *cred, struct vnode *vp, in stub_system_check_auditctl()
1137 stub_system_check_swapoff(struct ucred *cred, struct vnode *vp, in stub_system_check_swapoff()
1145 stub_system_check_swapon(struct ucred *cred, struct vnode *vp, in stub_system_check_swapon()
1340 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_extattr()
1348 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_singlelabel()
1354 stub_vnode_check_access(struct ucred *cred, struct vnode *vp, in stub_vnode_check_access()
[all …]

12345678910>>...14