/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdsocket.c | 64 int, vnode_t , struct nfsexstuff *) = { 65 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 68 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 74 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 75 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 76 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 79 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 80 (int (*)(struct nfsrv_descript *, int, vnode_t , struct nfsexstuff *))0, 90 int, vnode_t , vnode_t *, fhandle_t *, struct nfsexstuff *) = { 91 (int (*)(struct nfsrv_descript *, int, vnode_t , vnode_t *, fhandle_t *, struct nfsexstuff *))0, [all …]
|
H A D | nfs_nfsdserv.c | 116 struct nfsvattr *nvap, fhandle_t *fhp, vnode_t *vpp, 117 vnode_t dirp, struct nfsvattr *dirforp, struct nfsvattr *diraftp, 122 struct nfsvattr *nvap, fhandle_t *fhp, vnode_t *vpp, 123 vnode_t dirp, struct nfsvattr *dirforp, struct nfsvattr *diraftp, 132 vnode_t vp, struct nfsexstuff *exp) in nfsrvd_access() 239 vnode_t vp, __unused struct nfsexstuff *exp) in nfsrvd_getattr() 366 vnode_t vp, struct nfsexstuff *exp) in nfsrvd_setattr() 589 vnode_t dp, vnode_t *vpp, fhandle_t *fhp, struct nfsexstuff *exp) in nfsrvd_lookup() 592 vnode_t vp, dirp = NULL; in nfsrvd_lookup() 694 vnode_t vp, __unused struct nfsexstuff *exp) in nfsrvd_readlink() [all …]
|
H A D | nfs_nfsdstate.c | 142 static void nfsrv_freeopen(struct nfsstate *stp, vnode_t vp, int cansleep, 144 static void nfsrv_freelockowner(struct nfsstate *stp, vnode_t vp, int cansleep, 146 static void nfsrv_freeallnfslocks(struct nfsstate *stp, vnode_t vp, 155 static int nfsrv_getlockfh(vnode_t vp, u_short flags, 182 NFSPROC_T *p, vnode_t vp); 183 static int nfsrv_cleandeleg(vnode_t vp, struct nfslockfile *lfp, 192 static int nfsrv_locallock(vnode_t vp, struct nfslockfile *lfp, int flags, 194 static void nfsrv_localunlock(vnode_t vp, struct nfslockfile *lfp, 196 static int nfsrv_dolocal(vnode_t vp, struct nfslockfile *lfp, int flags, 199 static void nfsrv_locallock_rollback(vnode_t vp, struct nfslockfile *lfp, [all …]
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_var.h | 107 void nfsrv_dumplocks(vnode_t, struct nfsd_dumplocks *, int, NFSPROC_T *); 108 int nfsrv_lockctrl(vnode_t, struct nfsstate **, 111 int nfsrv_openctrl(struct nfsrv_descript *, vnode_t, 115 vnode_t, struct nfsrv_descript *, NFSPROC_T *, int); 116 int nfsrv_openupdate(vnode_t, struct nfsstate *, nfsquad_t, 119 vnode_t, int, struct ucred *, NFSPROC_T *, int *); 129 int nfsrv_checkremove(vnode_t, int, struct nfsrv_descript *, nfsquad_t, 131 void nfsd_recalldelegation(vnode_t, NFSPROC_T *); 132 void nfsd_disabledelegation(vnode_t, NFSPROC_T *); 133 int nfsrv_checksetattr(vnode_t, struc [all...] |
H A D | nfskpiport.h | 38 typedef struct vnode * vnode_t; typedef
|
H A D | nfsrvstate.h | 348 vnode_t nfsdev_dvp; 361 vnode_t nfsdev_dsdir[0];
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | policy.h | 45 int secpolicy_basic_link(vnode_t *vp, cred_t *cr); 46 int secpolicy_vnode_owner(vnode_t *vp, cred_t *cr, uid_t owner); 47 int secpolicy_vnode_chown(vnode_t *vp, cred_t *cr, uid_t owner); 49 int secpolicy_vnode_remove(vnode_t *vp, cred_t *cr); 50 int secpolicy_vnode_access(cred_t *cr, vnode_t *vp, uid_t owner, 52 int secpolicy_vnode_access2(cred_t *cr, vnode_t *vp, uid_t owner, 54 int secpolicy_vnode_any_access(cred_t *cr, vnode_t *vp, uid_t owner); 55 int secpolicy_vnode_setdac(vnode_t *vp, cred_t *cr, uid_t owner); 56 int secpolicy_vnode_setattr(cred_t *cr, vnode_t *vp, struct vattr *vap, 60 int secpolicy_vnode_setids_setgids(vnode_t *vp, cred_t *cr, gid_t gid); [all …]
|
H A D | pathname.h | 35 int lookupname(char *, enum uio_seg, enum symfollow, vnode_t **, vnode_t **); 36 int lookupnameat(char *, enum uio_seg, enum symfollow, vnode_t **, vnode_t **, 37 vnode_t *);
|
H A D | vfs.h | 100 int mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype,
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | policy.h | 45 int secpolicy_basic_link(vnode_t *vp, cred_t *cr); 46 int secpolicy_vnode_owner(vnode_t *vp, cred_t *cr, uid_t owner); 47 int secpolicy_vnode_chown(vnode_t *vp, cred_t *cr, uid_t owner); 49 int secpolicy_vnode_remove(vnode_t *vp, cred_t *cr); 50 int secpolicy_vnode_access(cred_t *cr, vnode_t *vp, uid_t owner, 52 int secpolicy_vnode_access2(cred_t *cr, vnode_t *vp, uid_t owner, 54 int secpolicy_vnode_any_access(cred_t *cr, vnode_t *vp, uid_t owner); 55 int secpolicy_vnode_setdac(vnode_t *vp, cred_t *cr, uid_t owner); 56 int secpolicy_vnode_setattr(cred_t *cr, vnode_t *vp, struct vattr *vap, 60 int secpolicy_vnode_setids_setgids(vnode_t *vp, cred_t *cr, gid_t gid); [all …]
|
H A D | vnode.h | 37 typedef struct vnode vnode_t; typedef 81 vn_is_readonly(vnode_t *vp) in vn_is_readonly() 97 vn_flush_cached_data(vnode_t *vp, boolean_t sync) in vn_flush_cached_data()
|
H A D | vfs.h | 103 int mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype,
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_policy.c | 100 secpolicy_basic_link(vnode_t *vp, cred_t *cr) in secpolicy_basic_link() 118 secpolicy_vnode_remove(vnode_t *vp, cred_t *cr) in secpolicy_vnode_remove() 127 secpolicy_vnode_access(cred_t *cr, vnode_t *vp, uid_t owner, accmode_t accmode) in secpolicy_vnode_access() 156 secpolicy_vnode_access2(cred_t *cr, vnode_t *vp, uid_t owner, in secpolicy_vnode_access2() 170 secpolicy_vnode_any_access(cred_t *cr, vnode_t *vp, uid_t owner) in secpolicy_vnode_any_access() 208 secpolicy_vnode_setdac(vnode_t *vp, cred_t *cr, uid_t owner) in secpolicy_vnode_setdac() 219 secpolicy_vnode_setattr(cred_t *cr, vnode_t *vp, struct vattr *vap, in secpolicy_vnode_setattr() 302 secpolicy_vnode_setids_setgids(vnode_t *vp, cred_t *cr, gid_t gid) in secpolicy_vnode_setids_setgids() 323 secpolicy_setid_clear(struct vattr *vap, vnode_t *vp, cred_t *cr) in secpolicy_setid_clear() 338 secpolicy_setid_setsticky_clear(vnode_t *vp, struct vattr *vap, in secpolicy_setid_setsticky_clear() [all …]
|
H A D | spl_vfs.c | 119 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, in mount_snapshot() 124 vnode_t *vp, *mvp; in mount_snapshot() 270 vn_rele_async(vnode_t *vp, taskq_t *taskq) in vn_rele_async()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_ctldir.c | 163 typedef void sfs_vnode_setup_fn(vnode_t *vp, void *arg); 246 sfs_reclaim_vnode(vnode_t *vp) in sfs_reclaim_vnode() 333 zfsctl_is_node(vnode_t *vp) in zfsctl_is_node() 356 vnode_t *rvp; in zfsctl_create() 397 zfsctl_common_vnode_setup(vnode_t *vp, void *arg) in zfsctl_common_vnode_setup() 438 zfsctl_root(zfsvfs_t *zfsvfs, int flags, vnode_t **vpp) in zfsctl_root() 487 zfsctl_common_getattr(vnode_t *vp, vattr_t *vap) in zfsctl_common_getattr() 531 vnode_t *vp = ap->a_vp; in zfsctl_common_fid() 561 vnode_t *vp = ap->a_vp; in zfsctl_common_reclaim() 612 zfsctl_relock_dot(vnode_t *dvp, int ltype) in zfsctl_relock_dot() [all …]
|
H A D | zfs_vnops_os.c | 217 zfs_open(vnode_t **vpp, int flag, cred_t *cr) in zfs_open() 248 zfs_close(vnode_t *vp, int flag, int count, offset_t offset, cred_t *cr) in zfs_close() 267 zfs_ioctl(vnode_t *vp, ulong_t com, intptr_t data, int flag, cred_t *cred, in zfs_ioctl() 310 page_busy(vnode_t *vp, int64_t start, int64_t off, int64_t nbytes) in page_busy() 353 page_hold(vnode_t *vp, int64_t start) in page_hold() 383 vnode_t *vp = ZTOV(zp); in update_pages() 422 vnode_t *vp = ZTOV(zp); in mappedread_sf() 490 vnode_t *vp = ZTOV(zp); in mappedread() 553 vnode_t *vp = ZTOV(zp); in zfs_zrele_async() 572 zfs_lookup_lock(vnode_t *dvp, vnode_t *vp, const char *name, int lkflags) in zfs_lookup_lock() [all …]
|
H A D | zfs_znode_os.c | 388 zfs_vnode_forget(vnode_t *vp) in zfs_vnode_forget() 410 vnode_t *vp; in zfs_znode_alloc() 808 vnode_t *vp = ZTOV(*zpp); in zfs_mknode() 924 vnode_t *vp; in zfs_zget() 1037 vnode_t *vp = ZTOV(zp); in zfs_zget() 1061 vnode_t *vp; in zfs_rezget() 1504 vnode_t *vp = ZTOV(zp); in zfs_trunc()
|
H A D | zfs_vfsops.c | 125 static int zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp); 127 static int zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp); 131 static int zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp); 1313 vnode_t *mvp = vfsp->mnt_vnodecovered; in zfs_mount() 1510 zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp) in zfs_root() 1749 zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp) in zfs_vget() 1807 zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp) in zfs_fhtovp() 1812 vnode_t *dvp; in zfs_fhtovp()
|
/freebsd/sys/cddl/dev/dtrace/ |
H A D | dtrace_test.c | 50 typedef struct vnode vnode_t; typedef 51 vnode_t dummy; 52 vnode_t *rootvp = &dummy;
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
H A D | zfs_ctldir.h | 47 int zfsctl_root(zfsvfs_t *, int, vnode_t **); 50 boolean_t zfsctl_is_node(vnode_t *);
|
H A D | zfs_znode_impl.h | 56 vnode_t *z_vnode; \
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clrpcops.c | 129 static int nfsrpc_setattrrpc(vnode_t , struct vattr *, nfsv4stateid_t *, 131 static int nfsrpc_readrpc(vnode_t , struct uio *, struct ucred *, 133 static int nfsrpc_writerpc(vnode_t , struct uio *, int *, int *, 136 static int nfsrpc_deallocaterpc(vnode_t, off_t, off_t, nfsv4stateid_t *, 138 static int nfsrpc_createv23(vnode_t , char *, int, struct vattr *, 141 static int nfsrpc_createv4(vnode_t , char *, int, struct vattr *, 149 static int nfsrpc_setaclrpc(vnode_t, struct ucred *, NFSPROC_T *, 154 static int nfsrpc_getlayout(struct nfsmount *, vnode_t, struct nfsfh *, int, 161 static int nfscl_doflayoutio(vnode_t, struct uio *, int *, int *, int *, 165 static int nfscl_dofflayoutio(vnode_t, struct uio *, int *, int *, int *, [all …]
|
H A D | nfs_clstate.c | 127 static void nfscl_retoncloselayout(vnode_t, struct nfsclclient *, uint8_t *, 141 static int nfscl_moveopen(vnode_t , struct nfsclclient *, 145 static int nfscl_relock(vnode_t , struct nfsclclient *, struct nfsmount *, 147 static int nfscl_tryopen(struct nfsmount *, vnode_t , u_int8_t *, int, 150 static int nfscl_trylock(struct nfsmount *, vnode_t , u_int8_t *, 160 struct nfscldeleg *, vnode_t, struct ucred *, NFSPROC_T *, int, 161 vnode_t *); 216 nfscl_open(vnode_t vp, u_int8_t *nfhp, int fhlen, u_int32_t amode, int usedeleg, in nfscl_open() 523 nfscl_getstateid(vnode_t vp, u_int8_t *nfhp, int fhlen, u_int32_t mode, in nfscl_getstateid() 1084 nfscl_getbytelock(vnode_t vp, u_int64_t off, u_int64_t len, in nfscl_getbytelock() [all …]
|
/freebsd/cddl/lib/libdtrace/ |
H A D | nfs.d | 103 noi_curpath = (arg2 == 0 || ((vnode_t *)arg2)->v_path == NULL) ? 104 "<unknown>" : ((vnode_t *)arg2)->v_path;
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/decls/ |
H A D | tst.basics.d | 59 extern vnode_t e21;
|