Home
last modified time | relevance | path

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

12345678910>>...14

/dflybsd-src/sys/sys/
H A Dvnode.h149 struct vnode { struct
161 TAILQ_ENTRY(vnode) v_list; /* vnode act/inact/cache/free */
162 TAILQ_ENTRY(vnode) v_nmntvnodes; /* vnodes for mount point */
163 LIST_ENTRY(vnode) v_synclist; /* vnodes with dirty buffers */
176 SLIST_ENTRY(vnode) vu_cdevnext; argument
307 TAILQ_HEAD(freelst, vnode);
311 struct vnode active_rover;
345 #define NULLVP ((struct vnode *)NULL)
362 extern struct vnode *rootvnode; /* root (i.e. "/") vnode */
424 struct vnode;
[all …]
H A Dvfsops.h77 struct vnode;
98 struct vnode *a_dvp;
99 struct vnode **a_vpp;
105 struct vnode *a_dvp;
106 struct vnode **a_vpp;
113 struct vnode *a_dvp;
120 struct vnode *a_dvp;
121 struct vnode **a_vpp;
128 struct vnode *a_vp;
136 struct vnode *a_vp;
[all …]
H A Dnamecache.h78 struct vnode;
132 struct vnode *nc_vp; /* vnode representing name or NULL */
200 void cache_setvp(struct nchandle *nch, struct vnode *vp);
213 void cache_allocroot(struct nchandle *nch, struct mount *mp, struct vnode *vp);
219 int cache_inval_vp(struct vnode *vp, int flags);
220 int cache_inval_vp_nonblock(struct vnode *vp);
221 void cache_inval_vp_quick(struct vnode *vp);
222 void cache_inval_wxok(struct vnode *vp);
223 void vfs_cache_setroot(struct vnode *vp, struct nchandle *nch);
227 struct vnode **dvpp);
[all …]
H A Dbuf.h70 struct vnode;
157 struct vnode *b_vp; /* (vp, loffset) index */
430 int breadx (struct vnode *, off_t, int, int, struct buf **);
431 int breadnx (struct vnode *, off_t, int, int, off_t *, int *, int,
433 void breadcb(struct vnode *, off_t, int, int,
454 int inmem (struct vnode *, off_t);
455 struct buf *findblk (struct vnode *, off_t, int);
456 struct buf *getblk (struct vnode *, off_t, int, int, int);
457 struct buf *getcacheblk (struct vnode *, off_t, int, int);
472 int cluster_readx (struct vnode *, off_t, off_t, int, int,
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dipa.c174 struct varpool_node *vnode, *vnext; in cgraph_remove_unreachable_nodes() local
185 for (vnode = varpool_nodes; vnode; vnode = vnode->next) in cgraph_remove_unreachable_nodes()
186 gcc_assert (!vnode->aux); in cgraph_remove_unreachable_nodes()
210 for (vnode = varpool_nodes; vnode; vnode = vnode->next) in cgraph_remove_unreachable_nodes()
212 vnode->next_needed = NULL; in cgraph_remove_unreachable_nodes()
213 vnode->prev_needed = NULL; in cgraph_remove_unreachable_nodes()
214 if ((vnode->analyzed || vnode->force_output) in cgraph_remove_unreachable_nodes()
215 && !varpool_can_remove_if_no_refs (vnode)) in cgraph_remove_unreachable_nodes()
217 vnode->needed = false; in cgraph_remove_unreachable_nodes()
218 varpool_mark_needed_node (vnode); in cgraph_remove_unreachable_nodes()
[all …]
H A Dlto-symtab.c48 struct varpool_node *vnode; local
262 lto_varpool_replace_node (struct varpool_node *vnode, in lto_varpool_replace_node() argument
266 if (vnode->needed) in lto_varpool_replace_node()
268 gcc_assert (!vnode->analyzed || prevailing_node->analyzed); in lto_varpool_replace_node()
271 gcc_assert (!vnode->finalized || prevailing_node->finalized); in lto_varpool_replace_node()
272 gcc_assert (!vnode->analyzed || prevailing_node->analyzed); in lto_varpool_replace_node()
274 ipa_clone_refering (NULL, prevailing_node, &vnode->ref_list); in lto_varpool_replace_node()
277 if (DECL_INITIAL (vnode->decl)) in lto_varpool_replace_node()
278 DECL_INITIAL (vnode->decl) = error_mark_node; in lto_varpool_replace_node()
280 varpool_remove_node (vnode); in lto_varpool_replace_node()
[all …]
/dflybsd-src/sys/vfs/ufs/
H A Dffs_extern.h63 struct vnode;
72 int ffs_blkatoff(struct vnode *, off_t, char **, struct buf **);
73 int ffs_blkatoff_ra(struct vnode *, off_t, char **, struct buf **, int);
78 int ffs_fhtovp(struct mount *, struct vnode *,
79 struct fid *, struct vnode **);
82 int ffs_freefile( struct vnode *, ino_t, int );
85 int ffs_mountfs(struct vnode *, struct mount *, struct malloc_type *);
93 int ffs_truncate(struct vnode *, off_t, int, struct ucred *);
95 int ffs_update(struct vnode *, int);
96 int ffs_valloc(struct vnode *, int, struct ucred *, struct vnode **);
[all …]
H A Dufs_extern.h47 struct vnode;
59 int ufs_bmaparray(struct vnode *, daddr_t, daddr_t *, struct indir *,
63 int ufs_fhtovp(struct mount *, struct vnode *,
64 struct ufid *, struct vnode **);
67 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_getlbns(struct vnode *, ufs_daddr_t, struct indir *, int *);
76 struct vnode *
82 struct vnode *
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dipa.c310 varpool_node *vnode, *vnext; in remove_unreachable_nodes() local
326 FOR_EACH_VARIABLE (vnode) in remove_unreachable_nodes()
327 gcc_assert (!vnode->aux); in remove_unreachable_nodes()
351 FOR_EACH_DEFINED_VARIABLE (vnode) in remove_unreachable_nodes()
352 if (!vnode->can_remove_if_no_refs_p() in remove_unreachable_nodes()
353 && !vnode->in_other_partition) in remove_unreachable_nodes()
355 reachable.add (vnode); in remove_unreachable_nodes()
356 enqueue_node (vnode, &first, &reachable); in remove_unreachable_nodes()
510 varpool_node *vnode = dyn_cast <varpool_node *> (node); in remove_unreachable_nodes() local
511 if (vnode in remove_unreachable_nodes()
[all …]
H A Dipa-visibility.c617 varpool_node *vnode; in function_and_variable_visibility() local
788 FOR_EACH_VARIABLE (vnode) in function_and_variable_visibility()
791 gcc_assert (!DECL_WEAK (vnode->decl) in function_and_variable_visibility()
792 || vnode->weakref in function_and_variable_visibility()
793 || TREE_PUBLIC (vnode->decl) in function_and_variable_visibility()
794 || DECL_EXTERNAL (vnode->decl)); in function_and_variable_visibility()
808 if (DECL_COMMON (vnode->decl) in function_and_variable_visibility()
809 && (!(TREE_PUBLIC (vnode->decl) in function_and_variable_visibility()
810 || DECL_EXTERNAL (vnode->decl)) in function_and_variable_visibility()
811 || (DECL_INITIAL (vnode->decl) in function_and_variable_visibility()
[all …]
/dflybsd-src/sys/vfs/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 **);
65 int ext2_bmaparray(struct vnode *, daddr_t, daddr_t *, int *, int *);
66 int ext4_bmapext(struct vnode *, int32_t, daddr_t/*int64_t*/ *, int *, int *);
70 int ext2_getlbns(struct vnode *, daddr_t, struct indir *, int *);
72 void ext2_itimes(struct vnode *vp);
75 int ext2_truncate(struct vnode *, off_t, int, struct ucred *);
76 int ext2_update(struct vnode *, int);
77 int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **);
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/lto/
H A Dlto.c1396 static void add_varpool_node_to_partition (ltrans_partition part, struct varpool_node *vnode);
1513 add_varpool_node_to_partition (ltrans_partition part, struct varpool_node *vnode) in add_varpool_node_to_partition() argument
1517 vnode = varpool_variable_node (vnode, NULL); in add_varpool_node_to_partition()
1520 vsi = varpool_node_set_find (part->varpool_set, vnode); in add_varpool_node_to_partition()
1524 varpool_node_set_add (part->varpool_set, vnode); in add_varpool_node_to_partition()
1526 if (vnode->aux) in add_varpool_node_to_partition()
1528 vnode->in_other_partition = 1; in add_varpool_node_to_partition()
1531 varpool_node_name (vnode)); in add_varpool_node_to_partition()
1533 vnode->aux = (void *)((size_t)vnode->aux + 1); in add_varpool_node_to_partition()
1535 add_references_to_partition (part, &vnode->ref_list); in add_varpool_node_to_partition()
[all …]
/dflybsd-src/sys/vfs/smbfs/
H A Dsmbfs_node.h53 struct vnode * n_parent;
54 struct vnode * n_vnode;
76 #define SMBTOV(np) ((struct vnode *)(np)->n_vnode)
88 int smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen,
89 struct smbfattr *fap, struct vnode **vpp);
94 int smbfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred);
95 int smbfs_writevnode(struct vnode *vp, struct uio *uiop, struct ucred *cred, int ioflag);
96 void smbfs_attr_cacheenter(struct vnode *vp, struct smbfattr *fap);
97 int smbfs_attr_cachelookup(struct vnode *vp ,struct vattr *va);
98 void smbfs_attr_cacherename(struct vnode *vp, const char *name, int nmlen);
/dflybsd-src/sys/kern/
H A Dvfs_vopops.c173 vop_old_lookup(struct vop_ops *ops, struct vnode *dvp, in vop_old_lookup()
174 struct vnode **vpp, struct componentname *cnp) in vop_old_lookup()
196 vop_old_create(struct vop_ops *ops, struct vnode *dvp, in vop_old_create()
197 struct vnode **vpp, struct componentname *cnp, struct vattr *vap) in vop_old_create()
221 vop_old_whiteout(struct vop_ops *ops, struct vnode *dvp, in vop_old_whiteout()
245 vop_old_mknod(struct vop_ops *ops, struct vnode *dvp, in vop_old_mknod()
246 struct vnode **vpp, struct componentname *cnp, struct vattr *vap) in vop_old_mknod()
270 vop_open(struct vop_ops *ops, struct vnode *vp, int mode, struct ucred *cred, in vop_open()
305 vop_close(struct vop_ops *ops, struct vnode *vp, int fflag, struct file *fp) in vop_close()
328 vop_access(struct vop_ops *ops, struct vnode *vp, int mode, int flags, in vop_access()
[all …]
H A Dkern_acl.c50 static int vacl_set_acl(struct vnode *vp, acl_type_t type, struct acl *aclp);
51 static int vacl_get_acl(struct vnode *vp, acl_type_t type, struct acl *aclp);
52 static int vacl_aclcheck(struct vnode *vp, acl_type_t type, struct acl *aclp);
67 vacl_set_acl(struct vnode *vp, acl_type_t type, struct acl *aclp) in vacl_set_acl()
89 vacl_get_acl(struct vnode *vp, acl_type_t type, struct acl *aclp) in vacl_get_acl()
107 vacl_delete(struct vnode *vp, acl_type_t type) in vacl_delete()
124 vacl_aclcheck(struct vnode *vp, acl_type_t type, struct acl *aclp) in vacl_aclcheck()
153 struct vnode *vp; in sys___acl_get_file()
178 struct vnode *vp; in sys___acl_set_file()
208 error = vacl_get_acl((struct vnode *)fp->f_data, uap->type, uap->aclp); in sys___acl_get_fd()
[all …]
H A Dvfs_lock.c73 static void vnode_terminate(struct vnode *vp);
75 static MALLOC_DEFINE_OBJ(M_VNODE, sizeof(struct vnode), "vnodes", "vnodes");
148 _vsetflags(struct vnode *vp, int flags) in _vsetflags()
155 _vclrflags(struct vnode *vp, int flags) in _vclrflags()
161 vsetflags(struct vnode *vp, int flags) in vsetflags()
167 vclrflags(struct vnode *vp, int flags) in vclrflags()
179 _vactivate(struct vnode *vp) in _vactivate()
216 _vinactive(struct vnode *vp) in _vinactive()
267 vref(struct vnode *vp) in vref()
275 vref_special(struct vnode *vp) in vref_special()
[all …]
/dflybsd-src/sys/vfs/devfs/
H A Ddevfs_vfsops.c58 int devfs_vfs_root(struct mount *mp, struct vnode **vpp);
59 static int devfs_vfs_vget(struct mount *mp, struct vnode *dvp,
60 ino_t ino, struct vnode **vpp);
61 static int devfs_vfs_fhtovp(struct mount *mp, struct vnode *rootvp,
62 struct fid *fhp, struct vnode **vpp);
63 static int devfs_vfs_vptofh(struct vnode *vp, struct fid *fhp);
166 devfs_vfs_root(struct mount *mp, struct vnode **vpp) in devfs_vfs_root()
203 devfs_vfs_fhtovp(struct mount *mp, struct vnode *rootvp, in devfs_vfs_fhtovp()
204 struct fid *fhp, struct vnode **vpp) in devfs_vfs_fhtovp()
206 struct vnode *vp; in devfs_vfs_fhtovp()
[all …]
/dflybsd-src/sys/vfs/tmpfs/
H A Dtmpfs.h217 struct vnode * tn_vnode;
407 struct tmpfs_node *, int, struct vnode **);
408 int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *,
421 int tmpfs_reg_resize(struct vnode *, off_t, int);
422 int tmpfs_chflags(struct vnode *, u_long, struct ucred *);
423 int tmpfs_chmod(struct vnode *, mode_t, struct ucred *);
424 int tmpfs_chown(struct vnode *, uid_t, gid_t, struct ucred *);
425 int tmpfs_chsize(struct vnode *, u_quad_t, struct ucred *);
426 int tmpfs_chtimes(struct vnode *, struct timespec *, struct timespec *,
428 void tmpfs_itimes(struct vnode *, const struct timespec *,
[all …]
/dflybsd-src/usr.bin/fstat/
H A Dfstat.h85 int ext2fs_filestat(struct vnode *, struct filestat *);
86 int hammer_filestat(struct vnode *, struct filestat *);
87 int hammer2_filestat(struct vnode *, struct filestat *);
88 int isofs_filestat(struct vnode *, struct filestat *);
89 int msdosfs_filestat(struct vnode *, struct filestat *);
90 int ntfs_filestat(struct vnode *, struct filestat *);
91 int tmpfs_filestat(struct vnode *, struct filestat *);
/dflybsd-src/contrib/gcc-8.0/gcc/lto/
H A Dlto-symtab.c120 lto_varpool_replace_node (varpool_node *vnode, in lto_varpool_replace_node() argument
123 gcc_assert (!vnode->definition || prevailing_node->definition); in lto_varpool_replace_node()
124 gcc_assert (!vnode->analyzed || prevailing_node->analyzed); in lto_varpool_replace_node()
126 prevailing_node->clone_referring (vnode); in lto_varpool_replace_node()
127 if (vnode->force_output) in lto_varpool_replace_node()
129 if (vnode->forced_by_abi) in lto_varpool_replace_node()
133 if (DECL_INITIAL (vnode->decl) in lto_varpool_replace_node()
134 && vnode->decl != prevailing_node->decl) in lto_varpool_replace_node()
135 DECL_INITIAL (vnode->decl) = error_mark_node; in lto_varpool_replace_node()
138 if (DECL_VIRTUAL_P (vnode->decl) || DECL_VIRTUAL_P (prevailing_node->decl)) in lto_varpool_replace_node()
[all …]
/dflybsd-src/sys/vfs/nfs/
H A Dnfs.h353 struct vnode *r_vp;
666 int nfs_vinvalbuf (struct vnode *, int, int);
667 int nfs_readrpc_uio (struct vnode *, struct uio *);
668 void nfs_readrpc_bio (struct vnode *, struct bio *);
669 int nfs_writerpc_uio (struct vnode *, struct uio *, int *, int *);
670 void nfs_writerpc_bio (struct vnode *, struct bio *);
671 int nfs_commitrpc_uio (struct vnode *vp, u_quad_t offset, int cnt,
673 void nfs_commitrpc_bio (struct vnode *vp, struct bio *);
674 int nfs_readdirrpc_uio (struct vnode *, struct uio *);
675 void nfs_startio(struct vnode *vp, struct bio *, struct thread *);
[all …]
H A Dnfsm_subs.h42 struct vnode;
75 struct vnode *vp;
135 void nfsm_reqhead(nfsm_info_t info, struct vnode *vp,
144 int nfsm_fhtom(nfsm_info_t info, struct vnode *vp);
147 int nfsm_mtofh(nfsm_info_t info, struct vnode *dvp,
148 struct vnode **vpp, int *gotvpp);
150 int nfsm_loadattr(nfsm_info_t info, struct vnode *vp, struct vattr *vap);
151 int nfsm_postop_attr(nfsm_info_t info, struct vnode *vp,
153 int nfsm_wcc_data(nfsm_info_t info, struct vnode *vp, int *attrp);
163 int nfsm_request(nfsm_info_t info, struct vnode *vp, int procnum,
[all …]
H A Dnfsnode.h53 struct vnode *s_dvp;
119 struct vnode *n_vnode; /* associated vnode */
168 #define NFSTOV(np) ((struct vnode *)(np)->n_vnode)
204 nfs_vpcred(struct vnode *vp, int ndflag) in nfs_vpcred()
221 int nfs_flush (struct vnode *, int, struct thread *, int);
226 struct nfsnode **, struct vnode *);
228 struct nfsnode **, struct vnode *);
230 void nfs_invaldir (struct vnode *);
/dflybsd-src/sys/vfs/udf/
H A Dudf.h33 struct vnode *i_vnode;
34 struct vnode *i_devvp;
46 struct vnode *im_devvp;
54 struct vnode *root_vp;
130 int udf_allocv(struct mount *, struct vnode **);
131 int udf_hashlookup(struct udf_mnt *, ino_t, struct vnode **);
135 int udf_vget(struct mount *, struct vnode *, ino_t, struct vnode **);
/dflybsd-src/sys/vfs/hpfs/
H A Dhpfs_vfsops.c68 static int hpfs_root (struct mount *, struct vnode **);
71 static int hpfs_vget (struct mount *mp, struct vnode *,
72 ino_t ino, struct vnode **vpp);
73 static int hpfs_mountfs (struct vnode *, struct mount *,
75 static int hpfs_vptofh (struct vnode *, struct fid *);
76 static int hpfs_fhtovp (struct mount *, struct vnode *,
77 struct fid *, struct vnode **);
121 struct vnode *devvp; in hpfs_mount()
219 hpfs_mountfs(struct vnode *devvp, struct mount *mp, struct hpfs_args *argsp) in hpfs_mountfs()
226 struct vnode *vp; in hpfs_mountfs()
[all …]

12345678910>>...14