Searched refs:vp (Results 76 - 100 of 425) sorted by relevance

1234567891011>>

/freebsd-current/sys/fs/fifofs/
H A Dfifo_vnops.c107 fifo_cleanup(struct vnode *vp) argument
111 ASSERT_VOP_ELOCKED(vp, "fifo_cleanup");
112 fip = vp->v_fifoinfo;
114 vp->v_fifoinfo = NULL;
128 struct vnode *vp; local
136 vp = ap->a_vp;
139 ASSERT_VOP_ELOCKED(vp, "fifo_open");
142 if ((fip = vp->v_fifoinfo) == NULL) {
149 KASSERT(vp->v_fifoinfo == NULL, ("fifo_open: v_fifoinfo race"));
150 vp
263 struct vnode *vp; local
318 fifo_printinfo(struct vnode *vp) argument
[all...]
/freebsd-current/sys/fs/unionfs/
H A Dunion_subr.c142 * Attempt to lookup a cached unionfs vnode by upper/lower vp
150 struct vnode *vp; local
157 vp = UNIONFSTOV(unp);
158 VI_LOCK_FLAGS(vp, MTX_DUPOK);
159 vp->v_iflag &= ~VI_OWEINACT;
160 if (VN_IS_DOOMED(vp) ||
161 ((vp->v_iflag & VI_DOINGINACT) != 0)) {
162 VI_UNLOCK(vp);
163 vp = NULLVP;
165 vrefl(vp);
183 struct vnode *vp; local
204 struct vnode *vp; local
256 unionfs_nodeget_cleanup(struct vnode *vp, struct unionfs_node *unp) argument
304 struct vnode *vp; local
436 unionfs_noderem(struct vnode *vp) argument
713 struct vnode *vp; local
747 struct vnode *vp; local
781 struct vnode *vp; local
814 struct vnode *vp; local
1171 struct vnode *vp; local
1386 unionfs_check_rmdir(struct vnode *vp, struct ucred *cred, struct thread *td) argument
[all...]
H A Dunion.h113 unionfs_check_vnode(struct vnode *vp, const char *file __unused, argument
120 KASSERT(vp->v_op == &unionfs_vnodeops || vp->v_data == NULL,
121 ("%s:%d: non-unionfs vnode %p", file, line, vp));
122 return ((struct unionfs_node *)vp->v_data);
126 #define VTOUNIONFS(vp) unionfs_check_vnode(vp, __FILE__, __LINE__)
177 #define UNIONFSVPTOLOWERVP(vp) (VTOUNIONFS(vp)->un_lowervp)
178 #define UNIONFSVPTOUPPERVP(vp) (VTOUNIONF
[all...]
/freebsd-current/sys/fs/nfsclient/
H A Dnfs_clvnops.c250 static int nfs_removerpc(struct vnode *dvp, struct vnode *vp, char *name,
330 struct vnode *vp; local
336 vp = ap->a_vp;
339 if (error != 0 || vp->v_op != &newnfs_vnodeops)
341 np = VTONFS(vp);
354 if (onfault && vp->v_vnlock->lk_recurse == 0) {
361 VOP_UNLOCK(vp);
365 (lktype == LK_SHARED && vp->v_vnlock->lk_recurse > 0)) {
371 VOP_UNLOCK(vp);
375 if (error != 0 || vp
400 nfs34_access_otw(struct vnode *vp, int wmode, struct thread *td, struct ucred *cred, u_int32_t *retmode) argument
454 struct vnode *vp = ap->a_vp; local
618 struct vnode *vp = ap->a_vp; local
824 struct vnode *vp = ap->a_vp; local
984 struct vnode *vp = ap->a_vp; local
1047 struct vnode *vp = ap->a_vp; local
1168 nfs_setattrrpc(struct vnode *vp, struct vattr *vap, struct ucred *cred, struct thread *td) argument
1518 struct vnode *vp = ap->a_vp; local
1536 struct vnode *vp = ap->a_vp; local
1548 ncl_readlinkrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred) argument
1570 ncl_readrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred) argument
1600 ncl_writerpc(struct vnode *vp, struct uio *uiop, struct ucred *cred, int *iomode, int *must_commit, int called_from_strategy, int ioflag) argument
1861 struct vnode *vp = ap->a_vp; local
1912 ncl_removeit(struct sillyrename *sp, struct vnode *vp) argument
1928 nfs_removerpc(struct vnode *dvp, struct vnode *vp, char *name, int namelen, struct ucred *cred, struct thread *td) argument
2147 struct vnode *vp = ap->a_vp; local
2371 struct vnode *vp = ap->a_vp; local
2413 struct vnode *vp = ap->a_vp; local
2490 ncl_readdirrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred, struct thread *td) argument
2554 ncl_readdirplusrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred, struct thread *td) argument
2622 nfs_sillyrename(struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
2683 struct vnode *newvp = NULL, *vp; local
2792 ncl_commit(struct vnode *vp, u_quad_t offset, int cnt, struct ucred *cred, struct thread *td) argument
2842 struct vnode *vp; local
2899 ncl_flush(struct vnode *vp, int waitfor, struct thread *td, int commit, int called_from_renewthread) argument
3238 struct vnode *vp = ap->a_vp; local
3389 struct vnode *vp = ap->a_vp; local
3417 struct vnode *vp = ap->a_vp; local
3438 struct vnode *vp = ap->a_vp; local
3514 struct vnode *vp = ap->a_vp; local
3625 struct vnode *vp = ap->a_vp; local
3695 struct vnode *vp = ap->a_vp; local
4054 struct vnode *vp = ap->a_vp; local
4126 struct vnode *vp = ap->a_vp; local
4184 struct vnode *vp = ap->a_vp; local
4241 struct vnode *vp = ap->a_vp; local
4314 struct vnode *vp = ap->a_vp; local
4366 struct vnode *vp = ap->a_vp; local
[all...]
H A Dnfs_clbio.c70 static struct buf *nfs_getcacheblk(struct vnode *vp, daddr_t bn, int size,
72 static int nfs_directio_write(struct vnode *vp, struct uio *uiop,
85 ncl_gbp_getblkno(struct vnode *vp, vm_ooffset_t off) argument
88 return (off / vp->v_bufobj.bo_bsize);
92 ncl_gbp_getblksz(struct vnode *vp, daddr_t lbn, long *sz) argument
98 np = VTONFS(vp);
103 biosize = vp->v_bufobj.bo_bsize;
121 struct vnode *vp; local
129 vp = ap->a_vp;
130 np = VTONFS(vp);
270 struct vnode *vp; local
361 nfs_bioread_check_cons(struct vnode *vp, struct thread *td, struct ucred *cred) argument
418 ncl_bioread_dora(struct vnode *vp) argument
433 ncl_bioread(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred) argument
764 nfs_directio_write(struct vnode *vp, struct uio *uiop, struct ucred *cred, int ioflag) argument
833 struct vnode *vp = ap->a_vp; local
1290 nfs_getcacheblk(struct vnode *vp, daddr_t bn, int size, struct thread *td) argument
1324 ncl_vinvalbuf(struct vnode *vp, int flags, struct thread *td, int intrflg) argument
1550 ncl_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td, int called_from_strategy) argument
1803 ncl_meta_setsize(struct vnode *vp, struct thread *td, u_quad_t nsize) argument
[all...]
H A Dnfs_clsubs.c138 ncl_excl_start(struct vnode *vp) argument
143 ASSERT_VOP_LOCKED(vp, "ncl_excl_start");
144 vn_lk = NFSVOPISLOCKED(vp);
150 np = VTONFS(vp);
156 ncl_excl_finish(struct vnode *vp, bool old_lock) argument
162 np = VTONFS(vp);
179 ncl_getattrcache(struct vnode *vp, struct vattr *vaper) argument
188 np = VTONFS(vp);
190 nmp = VFSTONFS(vp->v_mount);
191 mustflush = nfscl_nodeleg(vp,
323 ncl_invaldir(struct vnode *vp) argument
351 struct vnode *vp, *nvp; local
[all...]
/freebsd-current/usr.bin/rpcgen/
H A Drpc_tblout.c78 version_list *vp; local
85 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) {
88 locase(def->def_name), vp->vers_num);
92 if (nullproc(vp->procs)) {
98 for (proc = vp->procs; proc != NULL; proc = proc->next) {
114 pvname_svc(proc->proc_name, vp->vers_num);
118 pvname(proc->proc_name, vp
[all...]
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_ctldir.c118 sfs_compare_ids(struct vnode *vp, void *arg) argument
120 sfs_node_t *n1 = vp->v_data;
146 sfs_vnode_insert(struct vnode *vp, int flags, uint64_t parent_id, argument
151 KASSERT(vp->v_data != NULL, ("sfs_vnode_insert with NULL v_data"));
152 err = vfs_hash_insert(vp, (uint32_t)id, flags, curthread, vpp,
153 sfs_compare_ids, vp->v_data);
158 sfs_vnode_remove(struct vnode *vp) argument
160 vfs_hash_remove(vp);
163 typedef void sfs_vnode_setup_fn(vnode_t *vp, void *arg);
171 struct vnode *vp; local
246 sfs_reclaim_vnode(vnode_t *vp) argument
333 zfsctl_is_node(vnode_t *vp) argument
397 zfsctl_common_vnode_setup(vnode_t *vp, void *arg) argument
487 zfsctl_common_getattr(vnode_t *vp, vattr_t *vap) argument
531 vnode_t *vp = ap->a_vp; local
561 vnode_t *vp = ap->a_vp; local
594 struct vnode *vp = ap->a_vp; local
670 vnode_t *vp = ap->a_vp; local
844 zfsctl_snapshot_zname(vnode_t *vp, const char *name, int len, char *zname) argument
857 zfsctl_snapshot_lookup(vnode_t *vp, const char *name, uint64_t *id) argument
900 zfsctl_snapshot_vnode_setup(vnode_t *vp, void *arg) argument
1057 vnode_t *vp = ap->a_vp; local
1118 vnode_t *vp = ap->a_vp; local
1176 vnode_t *vp = ap->a_vp; local
1185 vnode_t *vp = ap->a_vp; local
1198 vnode_t *vp; local
1288 vnode_t *vp; local
1319 vnode_t *vp; local
[all...]
/freebsd-current/sys/fs/fuse/
H A Dfuse_node.c154 fuse_vnode_init(struct vnode *vp, struct fuse_vnode_data *fvdat, argument
168 vp->v_vflag |= VV_ROOT;
170 vp->v_type = vtyp;
171 vp->v_data = fvdat;
179 fuse_vnode_destroy(struct vnode *vp) argument
181 struct fuse_vnode_data *fvdat = vp->v_data;
183 vp->v_data = NULL;
192 fuse_vnode_cmp(struct vnode *vp, void *nidp) argument
194 return (VTOI(vp) != *((uint64_t *)nidp));
354 fuse_vnode_open(struct vnode *vp, int32_ argument
361 fuse_vnode_savesize(struct vnode *vp, struct ucred *cred, pid_t pid) argument
417 fuse_vnode_setsize(struct vnode *vp, off_t newsize, bool from_server) argument
477 fuse_vnode_size(struct vnode *vp, off_t *filesize, struct ucred *cred, struct thread *td) argument
495 fuse_vnode_undirty_cached_timestamps(struct vnode *vp, bool atime) argument
506 fuse_vnode_update(struct vnode *vp, int flags) argument
[all...]
H A Dfuse_file.h198 bool fuse_filehandle_validrw(struct vnode *vp, int mode,
200 int fuse_filehandle_get(struct vnode *vp, int fflag,
203 int fuse_filehandle_get_anyflags(struct vnode *vp,
206 int fuse_filehandle_getrw(struct vnode *vp, int fflag,
210 void fuse_filehandle_init(struct vnode *vp, fufh_type_t fufh_type,
214 int fuse_filehandle_open(struct vnode *vp, int mode,
217 int fuse_filehandle_close(struct vnode *vp, struct fuse_filehandle *fufh,
H A Dfuse_file.c121 fuse_filehandle_open(struct vnode *vp, int a_mode, argument
124 struct mount *mp = vnode_mount(vp);
145 if (vnode_isdir(vp)) {
157 fdisp_make_vp(&fdi, op, vp, td, cred);
173 fuse_internal_vnode_disappear(vp);
180 fuse_filehandle_init(vp, fufh_type, fufhp, td, cred, foo);
181 fuse_vnode_open(vp, foo->open_flags, td);
190 fuse_filehandle_close(struct vnode *vp, struct fuse_filehandle *fufh, argument
193 struct mount *mp = vnode_mount(vp);
200 if (fuse_isdeadfs(vp)) {
240 fuse_filehandle_validrw(struct vnode *vp, int mode, struct ucred *cred, pid_t pid) argument
275 fuse_filehandle_get(struct vnode *vp, int fflag, struct fuse_filehandle **fufhp, struct ucred *cred, pid_t pid) argument
313 fuse_filehandle_get_anyflags(struct vnode *vp, struct fuse_filehandle **fufhp, struct ucred *cred, pid_t pid) argument
343 fuse_filehandle_getrw(struct vnode *vp, int fflag, struct fuse_filehandle **fufhp, struct ucred *cred, pid_t pid) argument
355 fuse_filehandle_init(struct vnode *vp, fufh_type_t fufh_type, struct fuse_filehandle **fufhp, struct thread *td, const struct ucred *cred, const struct fuse_open_out *foo) argument
[all...]
/freebsd-current/sys/fs/p9fs/
H A Dp9fs_vnops.c71 p9fs_itimes(struct vnode *vp) argument
77 node = P9FS_VTON(vp);
94 struct vnode *vp; local
100 vp = P9FS_NTOV(np);
105 vfs_hash_remove(vp);
118 cache_purge(vp);
121 vnode_destroy_vobject(vp);
125 vfs_hash_remove(vp);
128 cache_purge(vp);
131 vnode_destroy_vobject(vp);
148 struct vnode *vp; local
166 struct vnode *vp; local
223 struct vnode **vpp, *vp; local
647 struct vnode *vp; local
725 struct vnode *vp; local
757 p9fs_check_possible(struct vnode *vp, struct vattr *vap, mode_t mode) argument
793 struct vnode *vp; local
827 p9fs_reload_stats_dotl(struct vnode *vp, struct ucred *cred) argument
871 struct vnode *vp; local
949 p9fs_stat_vnode_dotl(struct p9_stat_dotl *stat, struct vnode *vp) argument
1014 p9fs_chown(struct vnode *vp, uid_t uid, gid_t gid, struct ucred *cred, struct thread *td) argument
1068 p9fs_chmod(struct vnode *vp, uint32_t mode, struct ucred *cred, struct thread *td) argument
1127 struct vnode *vp; local
1265 p9fs_get_open_fid(struct vnode *vp, int fflags, struct ucred *cr, struct open_fid_state *statep) argument
1295 p9fs_release_open_fid(struct vnode *vp, struct ucred *cr, struct open_fid_state *statep) argument
1311 struct vnode *vp; local
1395 struct vnode *vp; local
1503 struct vnode *vp; local
1534 struct vnode *vp; local
1563 struct vnode *vp; local
1664 struct vnode *vp; local
1705 struct vnode *vp; local
1744 struct vnode *vp; local
1853 p9fs_doio(struct vnode *vp, struct buf *bp, struct p9_fid *vofid, struct ucred *cr) argument
1997 struct vnode *vp; local
[all...]
/freebsd-current/sys/fs/fdescfs/
H A Dfdesc_vnops.c145 struct vnode *vp, *vp2; local
165 vp = fd->fd_vnode;
166 vgs = vget_prep(vp);
168 if (vget_finish(vp, LK_EXCLUSIVE, vgs) != 0)
170 *vpp = vp;
178 error = getnewvnode("fdescfs", mp, &fdesc_vnodeops, &vp);
183 vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
184 vp->v_data = fd;
185 fd->fd_vnode = vp;
191 vp
259 struct vnode *vp; local
383 struct vnode *vp = ap->a_vp; local
403 struct vnode *vp = ap->a_vp; local
432 struct vnode *vp = ap->a_vp; local
480 struct vnode *vp; local
610 struct vnode *vp; local
624 struct vnode *vp, *vn; local
[all...]
H A Dfdesc.h67 #define VTOFDESC(vp) ((struct fdescnode *)(vp)->v_data)
/freebsd-current/sys/kern/
H A Dvfs_vnops.c155 do_vn_io_fault(struct vnode *vp, struct uio *uio) argument
159 return (uio->uio_segflg == UIO_USERSPACE && vp->v_type == VREG &&
160 (mp = vp->v_mount) != NULL &&
181 struct vnode *vp; member in struct:vn_io_fault_args::__anon28::vop_args_tag
186 static int vn_io_fault1(struct vnode *vp, struct uio *uio,
232 struct vnode *vp; local
287 vp = ndp->ni_vp;
290 VI_LOCK(vp);
291 vp->v_iflag |= VI_FOPENING;
292 VI_UNLOCK(vp);
355 vn_open_vnode_advlock(struct vnode *vp, int fmode, struct file *fp) argument
392 vn_open_vnode(struct vnode *vp, int fmode, struct ucred *cred, struct thread *td, struct file *fp) argument
505 vn_writechk(struct vnode *vp) argument
524 vn_close1(struct vnode *vp, int flags, struct ucred *file_cred, struct thread *td, bool keep_ref) argument
551 vn_close(struct vnode *vp, int flags, struct ucred *file_cred, struct thread *td) argument
612 vn_rdwr(enum uio_rw rw, struct vnode *vp, void *base, int len, off_t offset, enum uio_seg segflg, int ioflg, struct ucred *active_cred, struct ucred *file_cred, ssize_t *aresid, struct thread *td) argument
716 vn_rdwr_inchunks(enum uio_rw rw, struct vnode *vp, void *base, size_t len, off_t offset, enum uio_seg segflg, int ioflg, struct ucred *active_cred, struct ucred *file_cred, size_t *aresid, struct thread *td) argument
936 struct vnode *vp; local
961 vn_read_from_obj(struct vnode *vp, struct uio *uio) argument
1074 struct vnode *vp; local
1145 struct vnode *vp; local
1342 vn_io_fault1(struct vnode *vp, struct uio *uio, struct vn_io_fault_args *args, struct thread *td) argument
1457 struct vnode *vp; local
1629 struct vnode *vp; local
1671 vn_truncate_locked(struct vnode *vp, off_t length, bool sync, struct ucred *cred) argument
1695 struct vnode *vp = fp->f_vnode; local
1712 struct vnode *vp; local
1762 struct vnode *vp; local
1785 _vn_lock_fallback(struct vnode *vp, int flags, const char *file, int line, int error) argument
1793 VNASSERT(VN_IS_DOOMED(vp), vp, ("vnode not doomed")); local
1822 _vn_lock(struct vnode *vp, int flags, const char *file, int line) argument
1841 struct vnode *vp; local
1923 vn_start_write(struct vnode *vp, struct mount **mpp, int flags) argument
1971 vn_start_secondary_write(struct vnode *vp, struct mount **mpp, int flags) argument
2230 vn_extattr_get(struct vnode *vp, int ioflg, int attrnamespace, const char *attrname, int *buflen, char *buf, struct thread *td) argument
2271 vn_extattr_set(struct vnode *vp, int ioflg, int attrnamespace, const char *attrname, int buflen, char *buf, struct thread *td) argument
2310 vn_extattr_rm(struct vnode *vp, int ioflg, int attrnamespace, const char *attrname, struct thread *td) argument
2347 vn_vget_ino(struct vnode *vp, ino_t ino, int lkflags, struct vnode **rvp) argument
2355 vn_vget_ino_gen(struct vnode *vp, vn_get_ino_t alloc, void *alloc_arg, int lkflags, struct vnode **rvp) argument
2415 vn_rlimit_fsizex1(const struct vnode *vp, struct uio *uio, off_t maxfsz, bool adj, struct thread *td) argument
2486 vn_rlimit_fsizex(const struct vnode *vp, struct uio *uio, off_t maxfsz, ssize_t *resid_adj, struct thread *td) argument
2508 vn_rlimit_fsize(const struct vnode *vp, const struct uio *uio, struct thread *td) argument
2519 struct vnode *vp; local
2534 struct vnode *vp; local
2550 vn_pages_remove(struct vnode *vp, vm_pindex_t start, vm_pindex_t end) argument
2568 vn_pages_remove_valid(struct vnode *vp, vm_pindex_t start, vm_pindex_t end) argument
2580 vn_bmap_seekhole_locked(struct vnode *vp, u_long cmd, off_t *off, struct ucred *cred) argument
2637 vn_bmap_seekhole(struct vnode *vp, u_long cmd, off_t *off, struct ucred *cred) argument
2655 struct vnode *vp; local
2731 vn_utimes_perm(struct vnode *vp, struct vattr *vap, struct ucred *cred, struct thread *td) argument
2756 struct vnode *vp; local
2791 vn_fill_kinfo_vnode(struct vnode *vp, struct kinfo_file *kif) argument
2847 struct vnode *vp; local
2953 vn_fsid(struct vnode *vp, struct vattr *va) argument
2964 vn_fsync_buf(struct vnode *vp, int waitfor) argument
3663 struct vnode *vp; local
3718 vn_deallocate_impl(struct vnode *vp, off_t *offset, off_t *length, int flags, int ioflag, struct ucred *cred, struct ucred *active_cred, struct ucred *file_cred) argument
3792 vn_deallocate(struct vnode *vp, off_t *offset, off_t *length, int flags, int ioflag, struct ucred *active_cred, struct ucred *file_cred) argument
3813 struct vnode *vp; local
3881 vn_dir_next_dirent(struct vnode *vp, struct thread *td, char *dirbuf, size_t dirbuflen, struct dirent **dpp, size_t *len, off_t *off, int *eofflag) argument
4007 vn_dir_check_empty(struct vnode *vp) argument
4256 vn_lktype_write(struct mount *mp, struct vnode *vp) argument
[all...]
/freebsd-current/sys/fs/autofs/
H A Dautofs_vnops.c52 static int autofs_trigger_vn(struct vnode *vp, const char *path,
72 struct vnode *vp, *newvp; local
78 vp = ap->a_vp;
79 anp = vp->v_data;
80 mp = vp->v_mount;
93 error = autofs_trigger_vn(vp, "", 0, &newvp);
135 autofs_trigger_vn(struct vnode *vp, const char *path, int pathlen, argument
141 anp = vp->v_data;
149 lock_flags = VOP_ISLOCKED(vp);
150 vref(vp);
298 struct vnode *vp; local
332 struct vnode *vp; local
391 struct vnode *vp, *newvp; local
514 struct vnode *vp; local
646 struct vnode *vp; local
[all...]
/freebsd-current/sys/fs/smbfs/
H A Dsmbfs_vnops.c119 struct vnode *vp = ap->a_vp; local
122 struct smbmount *smp = VTOSMBFS(vp);
125 if ((accmode & VWRITE) && (vp->v_mount->mnt_flag & MNT_RDONLY)) {
126 switch (vp->v_type) {
133 mpmode = vp->v_type == VREG ? smp->sm_file_mode : smp->sm_dir_mode;
134 return (vaccess(vp->v_type, mpmode, smp->sm_uid,
142 struct vnode *vp = ap->a_vp; local
143 struct smbnode *np = VTOSMB(vp);
150 if (vp->v_type != VREG && vp
211 struct vnode *vp = ap->a_vp; local
233 struct vnode *vp = ap->a_vp; local
266 struct vnode *vp = ap->a_vp; local
463 struct vnode *vp = ap->a_vp; local
475 struct vnode *vp = ap->a_vp; local
498 struct vnode *vp; local
535 struct vnode *vp = ap->a_vp; local
680 struct vnode *vp; local
718 struct vnode *vp = ap->a_vp; local
749 struct vnode *vp = ap->a_vp; local
776 struct vnode *vp = ap->a_vp; local
859 struct vnode *vp = ap->a_vp; local
894 struct vnode *vp = ap->a_vp; local
1047 struct vnode *vp; local
[all...]
H A Dsmbfs_io.c74 smbfs_readvdir(struct vnode *vp, struct uio *uio, struct ucred *cred) argument
81 struct smbnode *np = VTOSMB(vp);
85 np = VTOSMB(vp);
160 error = smbfs_nget(vp->v_mount, vp, ctx->f_name,
165 cache_enter(vp, newvp, &cn);
182 smbfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred) argument
184 struct smbmount *smp = VFSTOSMBFS(vp->v_mount);
185 struct smbnode *np = VTOSMB(vp);
197 if (vp
244 smbfs_writevnode(struct vnode *vp, struct uio *uiop, struct ucred *cred, int ioflag) argument
309 smbfs_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td) argument
542 struct vnode *vp = ap->a_vp; local
622 smbfs_vinvalbuf(struct vnode *vp, struct thread *td) argument
[all...]
/freebsd-current/sys/fs/devfs/
H A Ddevfs_vnops.c239 devfs_usecount_add(struct vnode *vp) argument
245 VI_LOCK(vp);
246 VNPASS(vp->v_type == VCHR || vp->v_type == VBAD, vp);
247 if (VN_IS_DOOMED(vp)) {
251 de = vp->v_data;
252 dev = vp->v_rdev;
258 VI_UNLOCK(vp);
263 devfs_usecount_subl(struct vnode *vp) argument
297 devfs_usecount_sub(struct vnode *vp) argument
308 devfs_usecountl(struct vnode *vp) argument
318 devfs_usecount(struct vnode *vp) argument
332 devfs_ctty_ref(struct vnode *vp) argument
340 devfs_ctty_unref(struct vnode *vp) argument
351 devfs_populate_vp(struct vnode *vp) argument
401 struct vnode *vp = ap->a_vp; local
533 struct vnode *vp; local
647 struct vnode *vp = ap->a_vp; local
681 struct vnode *vp = ap->a_vp, *oldvp; local
800 struct vnode *vp = ap->a_vp; local
913 struct vnode *vpold, *vp; local
1253 struct vnode *vp = ap->a_vp; local
1532 devfs_reclaiml(struct vnode *vp) argument
1548 struct vnode *vp; local
1560 struct vnode *vp; local
1585 struct vnode *vp = ap->a_vp; local
1629 struct vnode *vp = ap->a_vp, *vp2; local
1701 struct vnode *vp; local
1740 struct vnode *vp; local
1835 struct vnode *vp; local
1960 struct vnode *vp; local
[all...]
/freebsd-current/contrib/nvi/vi/
H A Dv_at.c32 v_at(SCR *sp, VICMD *vp) argument
53 name = F_ISSET(vp, VC_BUFFER) ? vp->buffer : '@';
101 if (F_ISSET(vp, VC_C1SET)) {
102 len = snprintf(nbuf, sizeof(nbuf), "%lu", vp->count);
/freebsd-current/contrib/bearssl/T0/
H A DTPointerExpr.cs39 internal override bool ToBool(TValue vp) argument
44 internal override string ToString(TValue vp) argument
46 return ToCExpr(vp.x);
/freebsd-current/lib/libprocstat/
H A Dudf.c78 #define VTON(vp) ((struct udf_node *)((vp)->v_data))
81 udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument
89 error = kvm_read_all(kd, (unsigned long)VTON(vp), &node, sizeof(node));
91 warnx("can't read udf fnode at %p", (void *)VTON(vp));
97 (void *)node.udfmp, vp);
/freebsd-current/sys/security/mac/
H A Dmac_audit.c115 mac_system_check_auditctl(struct ucred *cred, struct vnode *vp) argument
120 ASSERT_VOP_LOCKED(vp, "mac_system_check_auditctl");
122 vl = (vp != NULL) ? vp->v_label : NULL;
123 MAC_POLICY_CHECK(system_check_auditctl, cred, vp, vl);
124 MAC_CHECK_PROBE2(system_check_auditctl, error, cred, vp);
/freebsd-current/sys/vm/
H A Dvnode_pager.c87 static int vnode_pager_addr(struct vnode *vp, vm_ooffset_t address,
150 vnode_create_vobject_any(struct vnode *vp, off_t isize, struct thread *td) argument
156 object = vp->v_object;
161 if (vn_getsize_locked(vp, &size, td->td_ucred) != 0)
167 object = vnode_pager_alloc(vp, size, 0, 0, td->td_ucred);
170 * that the object is associated with the vp. We still have
178 vrele(vp);
180 VNASSERT(vp->v_object != NULL, vp, ("%s: NULL object", __func__));
186 vnode_create_vobject(struct vnode *vp, off_ argument
199 vnode_create_disk_vobject(struct vnode *vp, off_t isize, struct thread *td) argument
208 vnode_destroy_vobject(struct vnode *vp) argument
257 struct vnode *vp; local
324 struct vnode *vp; local
367 struct vnode *vp = object->handle; local
497 vnode_pager_setsize(struct vnode *vp, vm_ooffset_t nsize) argument
572 vnode_pager_purge_range(struct vnode *vp, vm_ooffset_t start, vm_ooffset_t end) argument
627 vnode_pager_addr(struct vnode *vp, vm_ooffset_t address, daddr_t *rtaddress, int *run) argument
669 struct vnode *vp; local
767 struct vnode *vp; local
836 struct vnode *vp; local
851 struct vnode *vp; local
891 vnode_pager_generic_getpages(struct vnode *vp, vm_page_t *m, int count, int *a_rbehind, int *a_rahead, vop_getpages_iodone_t iodone, void *arg) argument
1314 struct vnode *vp; local
1371 vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *ma, int bytecount, int flags, int *rtvals) argument
1630 struct vnode *vp; local
1659 struct vnode *vp; local
1712 vnode_pager_clean1(struct vnode *vp, int sync_flags) argument
1727 vnode_pager_clean_sync(struct vnode *vp) argument
1733 vnode_pager_clean_async(struct vnode *vp) argument
[all...]
/freebsd-current/bin/expr/
H A Dexpr.y120 struct val *vp;
122 vp = (struct val *)malloc(sizeof(*vp));
123 if (vp == NULL)
126 vp->type = integer;
127 vp->u.i = i;
128 return (vp);
134 struct val *vp;
136 vp = (struct val *)malloc(sizeof(*vp));
[all...]

Completed in 302 milliseconds

1234567891011>>