version 1.233, 2018/12/10 21:19:33 |
version 1.234, 2019/01/01 10:06:54 |
|
|
int (*vfs_loadvnode) (struct mount *, struct vnode *, |
int (*vfs_loadvnode) (struct mount *, struct vnode *, |
const void *, size_t, const void **); |
const void *, size_t, const void **); |
int (*vfs_newvnode) (struct mount *, struct vnode *, struct vnode *, |
int (*vfs_newvnode) (struct mount *, struct vnode *, struct vnode *, |
struct vattr *, kauth_cred_t, |
struct vattr *, kauth_cred_t, void *, |
size_t *, const void **); |
size_t *, const void **); |
int (*vfs_fhtovp) (struct mount *, struct fid *, |
int (*vfs_fhtovp) (struct mount *, struct fid *, |
struct vnode **); |
struct vnode **); |
|
|
#define VFS_VGET(MP, INO, VPP) (*(MP)->mnt_op->vfs_vget)(MP, INO, VPP) |
#define VFS_VGET(MP, INO, VPP) (*(MP)->mnt_op->vfs_vget)(MP, INO, VPP) |
#define VFS_LOADVNODE(MP, VP, KEY, KEY_LEN, NEW_KEY) \ |
#define VFS_LOADVNODE(MP, VP, KEY, KEY_LEN, NEW_KEY) \ |
(*(MP)->mnt_op->vfs_loadvnode)(MP, VP, KEY, KEY_LEN, NEW_KEY) |
(*(MP)->mnt_op->vfs_loadvnode)(MP, VP, KEY, KEY_LEN, NEW_KEY) |
#define VFS_NEWVNODE(MP, DVP, VP, VAP, CRED, NEW_LEN, NEW_KEY) \ |
#define VFS_NEWVNODE(MP, DVP, VP, VAP, CRED, EXTRA, NEW_LEN, NEW_KEY) \ |
(*(MP)->mnt_op->vfs_newvnode)(MP, DVP, VP, VAP, CRED, NEW_LEN, NEW_KEY) |
(*(MP)->mnt_op->vfs_newvnode)(MP, DVP, VP, VAP, CRED, EXTRA, \ |
|
NEW_LEN, NEW_KEY) |
|
|
#define VFS_RENAMELOCK_ENTER(MP) (*(MP)->mnt_op->vfs_renamelock_enter)(MP) |
#define VFS_RENAMELOCK_ENTER(MP) (*(MP)->mnt_op->vfs_renamelock_enter)(MP) |
#define VFS_RENAMELOCK_EXIT(MP) (*(MP)->mnt_op->vfs_renamelock_exit)(MP) |
#define VFS_RENAMELOCK_EXIT(MP) (*(MP)->mnt_op->vfs_renamelock_exit)(MP) |
Line 253 int fsname##_vget(struct mount *, ino_t, |
|
Line 254 int fsname##_vget(struct mount *, ino_t, |
|
int fsname##_loadvnode(struct mount *, struct vnode *, \ |
int fsname##_loadvnode(struct mount *, struct vnode *, \ |
const void *, size_t, const void **); \ |
const void *, size_t, const void **); \ |
int fsname##_newvnode(struct mount *, struct vnode *, \ |
int fsname##_newvnode(struct mount *, struct vnode *, \ |
struct vnode *, struct vattr *, kauth_cred_t, \ |
struct vnode *, struct vattr *, kauth_cred_t, void *, \ |
size_t *, const void **); \ |
size_t *, const void **); \ |
int fsname##_fhtovp(struct mount *, struct fid *, struct vnode **); \ |
int fsname##_fhtovp(struct mount *, struct fid *, struct vnode **); \ |
int fsname##_vptofh(struct vnode *, struct fid *, size_t *); \ |
int fsname##_vptofh(struct vnode *, struct fid *, size_t *); \ |