HomeSort by relevance Sort by last modified time
    Searched refs:vfsp (Results 1 - 25 of 128) sorted by null

1 2 3 4 5 6

  /onnv/onnv-gate/usr/src/ucbhead/sys/
vfs.h 156 #define VFS_MOUNT(vfsp, mvp, uap, cr) \
157 (*(vfsp)->vfs_op->vfs_mount)(vfsp, mvp, uap, cr)
158 #define VFS_UNMOUNT(vfsp, cr) (*(vfsp)->vfs_op->vfs_unmount)(vfsp, cr)
159 #define VFS_ROOT(vfsp, vpp) (*(vfsp)->vfs_op->vfs_root)(vfsp, vpp)
160 #define VFS_STATVFS(vfsp, sp) (*(vfsp)->vfs_op->vfs_statvfs)(vfsp, sp
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/syscall/
umount.c 65 umount2_engine(vfs_t *vfsp, int flag, cred_t *cr, int is_syscall)
86 vfs_lock_wait(vfsp);
91 * Note that vfsp->vfs_vnodecovered can be NULL here, either because
99 if (vn_vfswlock(vfsp->vfs_vnodecovered)) {
100 vfs_unlock(vfsp);
101 VFS_RELE(vfsp);
109 vfs_unlock(vfsp);
110 VFS_RELE(vfsp);
115 if ((error = dounmount(vfsp, flag, cr)) != 0)
127 struct vfs *vfsp; local
    [all...]
mount.c 71 struct vfs *vfsp; /* dummy argument */ local
125 error = domount("pxfs", uap, vp, CRED(), &vfsp);
127 VFS_RELE(vfsp);
130 error = domount(NULL, uap, vp, CRED(), &vfsp);
132 VFS_RELE(vfsp);
  /onnv/onnv-gate/usr/src/uts/common/fs/lofs/
lofs_vfsops.c 156 lo_mount(struct vfs *vfsp,
167 nodev = vfs_optionisset(vfsp, MNTOPT_NODEVICES, NULL);
169 if ((error = secpolicy_fs_mount(cr, vp, vfsp)) != 0)
178 if (!nodev && vfs_optionisset(vfsp, MNTOPT_NODEVICES, NULL))
179 vfs_setmntopt(vfsp, MNTOPT_DEVICES, NULL, VFS_NODISPLAY);
227 to_zptr = zone_find_by_path(refstr_value(vfsp->vfs_mntpt));
264 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0);
274 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0);
314 li->li_mountvfs = vfsp;
319 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL))
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/objfs/
objfs_vfs.c 161 objfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr)
166 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0)
181 vfsp->vfs_bsize = DEV_BSIZE;
182 vfsp->vfs_fstype = objfs_fstype;
187 vfs_make_fsid(&vfsp->vfs_fsid, dev, objfs_fstype);
188 vfsp->vfs_data = data;
189 vfsp->vfs_dev = dev;
194 data->objfs_vfs_root = objfs_create_root(vfsp);
200 objfs_unmount(vfs_t *vfsp, int flag, struct cred *cr)
204 if (secpolicy_fs_unmount(cr, vfsp) != 0
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/sharefs/
sharefs_vfsops.c 186 sharefs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr)
191 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0)
203 vfsp->vfs_bsize = DEV_BSIZE;
204 vfsp->vfs_fstype = sharefs_fstype;
209 vfs_make_fsid(&vfsp->vfs_fsid, dev, sharefs_fstype);
210 vfsp->vfs_data = data;
211 vfsp->vfs_dev = dev;
216 data->sharefs_vfs_root = sharefs_create_root_file(vfsp);
222 sharefs_unmount(vfs_t *vfsp, int flag, struct cred *cr)
226 if (secpolicy_fs_unmount(cr, vfsp) != 0
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/
vfs.c 218 fsop_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr)
220 return (*(vfsp)->vfs_op->vfs_mount)(vfsp, mvp, uap, cr);
224 fsop_unmount(vfs_t *vfsp, int flag, cred_t *cr)
226 return (*(vfsp)->vfs_op->vfs_unmount)(vfsp, flag, cr);
230 fsop_root(vfs_t *vfsp, vnode_t **vpp)
233 int ret = (*(vfsp)->vfs_op->vfs_root)(vfsp, vpp);
238 if (ret == 0 && vfsp->vfs_mntpt != NULL && (*vpp)->v_path == NULL)
788 vfs_t *vfsp; local
1155 struct vfs *vfsp; local
2464 vfs_t *vfsp; local
2528 vfs_t *vfsp; local
3101 struct vfs *vfsp; local
3683 struct vfs *vfsp; local
3737 struct vfs *vfsp; local
3763 struct vfs *vfsp; local
3804 struct vfs *vfsp; local
3849 struct vfs *vfsp; local
4313 vfs_t *vfsp; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/proc/
prvfsops.c 126 prinitrootnode(prnode_t *pnp, vfs_t *vfsp)
135 VN_SET_VFS_TYPE_DEV(vp, vfsp, VDIR, 0);
194 prmount(struct vfs *vfsp, struct vnode *mvp,
200 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0)
209 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt));
217 vfs_setresource(vfsp, "proc");
232 prinitrootnode(pnp, vfsp);
233 vfsp->vfs_fstype = procfstype;
234 vfsp->vfs_data = (caddr_t)pnp;
235 vfsp->vfs_bsize = DEV_BSIZE
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/sys/fs/
cachefs_log.h 160 uint64_t vfsp; /* vfs pointer -- unique while mounted */ member in struct:cachefs_log_mount_record
173 uint64_t vfsp; /* vfs pointer we're unmounting */ member in struct:cachefs_log_umount_record
180 uint64_t vfsp; /* which filesystem */ member in struct:cachefs_log_getpage_record
192 uint64_t vfsp; /* which filesystem */ member in struct:cachefs_log_readdir_record
204 uint64_t vfsp; /* which filesystem */ member in struct:cachefs_log_readlink_record
215 uint64_t vfsp; /* which filesystem */ member in struct:cachefs_log_remove_record
226 uint64_t vfsp; /* which filesystem */ member in struct:cachefs_log_rmdir_record
236 uint64_t vfsp; /* which filesystem */ member in struct:cachefs_log_truncate_record
247 uint64_t vfsp; /* which filesystem */ member in struct:cachefs_log_putpage_record
259 uint64_t vfsp; /* which filesystem * member in struct:cachefs_log_create_record
269 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_mkdir_record
279 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_rename_record
290 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_symlink_record
301 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_populate_record
312 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_csymlink_record
322 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_filldir_record
332 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_mdcreate_record
342 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_gpfront_record
354 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_rfdir_record
364 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_ualloc_record
375 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_calloc_record
386 uint64_t vfsp; \/* which filesystem *\/ member in struct:cachefs_log_nocache_record
    [all...]
hsfs_impl.h 48 uint_t lbn, uint_t off, struct vfs *vfsp);
50 extern int hs_remakenode(uint_t lbn, uint_t off, struct vfs *vfsp,
57 struct vfs *vfsp);
73 extern int hs_synchash(struct vfs *vfsp);
  /onnv/onnv-gate/usr/src/uts/common/sys/
vfs.h 376 #define VFS_MOUNT(vfsp, mvp, uap, cr) fsop_mount(vfsp, mvp, uap, cr)
377 #define VFS_UNMOUNT(vfsp, flag, cr) fsop_unmount(vfsp, flag, cr)
378 #define VFS_ROOT(vfsp, vpp) fsop_root(vfsp, vpp)
379 #define VFS_STATVFS(vfsp, sp) fsop_statfs(vfsp, sp)
380 #define VFS_SYNC(vfsp, flag, cr) fsop_sync(vfsp, flag, cr
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/mntfs/
mntvfsops.c 181 mntmount(struct vfs *vfsp, struct vnode *mvp,
188 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0)
197 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt));
207 vfs_setresource(vfsp, "mnttab");
224 vfsp->vfs_fstype = mntfstype;
225 vfsp->vfs_data = (caddr_t)mnt;
232 vfsp->vfs_dev = makedevice(mnt_major, mnt_minor);
233 } while (vfs_devismounted(vfsp->vfs_dev));
235 vfs_make_fsid(&vfsp->vfs_fsid, vfsp->vfs_dev, mntfstype)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/brand/lx/procfs/
lx_prvfsops.c 195 lxpr_mount(vfs_t *vfsp, vnode_t *mvp, mounta_t *uap, cred_t *cr)
205 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0)
217 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt));
226 vfs_setresource(vfsp, "lxproc");
261 lxpr_mnt->lxprm_node->lxpr_vnode->v_vfsp = vfsp;
263 vfs_make_fsid(&vfsp->vfs_fsid, lxprocdev, lxprocfstype);
264 vfsp->vfs_bsize = DEV_BSIZE;
265 vfsp->vfs_fstype = lxprocfstype;
266 vfsp->vfs_data = (caddr_t)lxpr_mnt;
267 vfsp->vfs_dev = lxprocdev
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/smbsrv/
smb_vfs.c 42 smb_vfs_hold(smb_server_t *sv, vfs_t *vfsp)
47 if ((vfsp == NULL) || VFS_ROOT(vfsp, &rootvp))
64 smb_vfs->sv_vfsp = vfsp;
83 smb_vfs_rele(smb_server_t *sv, vfs_t *vfsp)
88 ASSERT(vfsp);
90 if (VFS_ROOT(vfsp, &rootvp))
197 smb_vfs_is_readonly(vfs_t *vfsp)
201 if (getvfs(&vfsp->vfs_fsid) == NULL)
204 result = (vfsp->vfs_flag & VFS_RDONLY)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/ufs/
ufs_vfsops.c 258 ufs_mount(struct vfs *vfsp, struct vnode *mvp, struct mounta *uap,
275 if ((error = secpolicy_fs_mount(cr, mvp, vfsp)) != 0)
310 if ((vfsp->vfs_flag & VFS_RDONLY) != 0 ||
334 error = vfs_get_lofi(vfsp, &lvp);
398 vfs_devmounting(dev, vfsp)) {
414 vfsp->vfs_flag |= VFS_RDONLY;
415 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0);
418 vfsp->vfs_flag |= VFS_RDONLY;
423 error = mountfs(vfsp, why, lvp != NULL ? lvp : svp,
427 vfs_set_feature(vfsp, VFSFT_SYSATTR_VIEWS)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/cachefs/
cachefs_log.c 388 struct vfs *vfsp; local
395 vfsp = (struct vfs *)(uintptr_t)k->ks_vfsp;
396 fscp = VFS_TO_FSCACHE(vfsp);
397 cachefs_log_mount(cachep, 0, vfsp, fscp,
708 cachefs_log_mount(cachefscache_t *cachep, int Errno, struct vfs *vfsp,
748 record->vfsp = (uint64_t)(uintptr_t)vfsp;
782 (! xdr_opaque(xdrs, (caddr_t)&rec->vfsp, sizeof (rec->vfsp))) ||
796 cachefs_log_umount(cachefscache_t *cachep, int Errno, struct vfs *vfsp)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/devfs/
devfs_vfsops.c 177 devfs_mount(struct vfs *vfsp, struct vnode *mvp, struct mounta *uap,
187 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0)
211 dv = dv_mkroot(vfsp, devfsdev);
217 devfs_data->devfs_vfsp = vfsp;
220 vfsp->vfs_data = (caddr_t)devfs_data;
221 vfsp->vfs_fstype = devfstype;
222 vfsp->vfs_dev = devfsdev;
223 vfsp->vfs_bsize = DEV_BSIZE;
224 vfsp->vfs_mtime = ddi_get_time();
225 vfs_make_fsid(&vfsp->vfs_fsid, vfsp->vfs_dev, devfstype)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/hsfs/
hsfs_vfsops.c 225 static int hsfs_mount(struct vfs *vfsp, struct vnode *mvp,
227 static int hsfs_unmount(struct vfs *vfsp, int, struct cred *cr);
228 static int hsfs_root(struct vfs *vfsp, struct vnode **vpp);
229 static int hsfs_statvfs(struct vfs *vfsp, struct statvfs64 *sbp);
230 static int hsfs_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp);
233 static int hs_mountfs(struct vfs *vfsp, dev_t dev, char *path,
235 static int hs_getrootvp(struct vfs *vfsp, struct hsfs *fsp, size_t pathsize);
288 hsfs_mount(struct vfs *vfsp, struct vnode *mvp,
298 if ((error = secpolicy_fs_mount(cr, mvp, vfsp)) != 0)
326 if (vfs_optionisset(vfsp, HOPT_NOMAPLCASE, NULL)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/smbclnt/smbfs/
smbfs_vfsops.c 312 smbfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr)
328 if ((error = secpolicy_fs_mount(cr, mvp, vfsp)) != 0)
402 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt));
429 error = smbfs_mount_label_policy(vfsp, addr, ipvers, cr);
436 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0);
459 if (vfs_optionisset(vfsp, MNTOPT_INTR, NULL))
486 vfs_setmntopt(vfsp, MNTOPT_NOXATTR, NULL, 0);
498 vfsp->vfs_dev = smbfs_dev;
499 vfs_make_fsid(&vfsp->vfs_fsid, smbfs_dev, smbfsfstyp);
500 vfsp->vfs_data = (caddr_t)smi
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/ctfs/
ctfs_root.c 220 ctfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr)
227 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0)
242 vfsp->vfs_bsize = DEV_BSIZE;
243 vfsp->vfs_fstype = ctfs_fstype;
248 vfs_make_fsid(&vfsp->vfs_fsid, dev, ctfs_fstype);
249 vfsp->vfs_data = data;
250 vfsp->vfs_dev = dev;
270 vfsp, ctfs_ops_root, CTFS_INO_ROOT, dirent, ctfs_root_do_inode,
282 ctfs_unmount(vfs_t *vfsp, int flag, struct cred *cr)
286 if (secpolicy_fs_unmount(cr, vfsp) != 0
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/dev/
sdev_vfsops.c 186 sdev_mount(struct vfs *vfsp, struct vnode *mvp, struct mounta *uap,
199 if ((secpolicy_fs_mount(cr, mvp, vfsp) != 0) ||
260 sdev_data = (struct sdev_data *)vfsp->vfs_data;
281 vfsp->vfs_mtime = ddi_get_time();
307 dv = sdev_mkroot(vfsp, devdev, mvp, avp, cr);
309 vfsp->vfs_dev = devdev;
310 vfsp->vfs_data = (caddr_t)sdev_data;
311 vfsp->vfs_fstype = devtype;
312 vfsp->vfs_bsize = DEV_BSIZE;
313 vfsp->vfs_mtime = ddi_get_time()
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/os/
tlabel.c 168 getflabel_cipso(vfs_t *vfsp)
176 if (vfsp->vfs_resource == NULL)
178 resource_ref = vfs_getresource(vfsp);
224 getflabel_nfs(vfs_t *vfsp)
236 mi = VFTOMI(vfsp);
259 return (getflabel_cipso(vfsp));
286 vfs_t *vfsp, *rvfsp; local
294 vfsp = vp->v_vfsp;
295 if (vfsp == NULL)
346 if (vfsp->vfs_mntpt != NULL)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/
zfs_vfsops.c 72 static int zfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr);
73 static int zfs_umount(vfs_t *vfsp, int fflag, cred_t *cr);
74 static int zfs_mountroot(vfs_t *vfsp, enum whymountroot);
75 static int zfs_root(vfs_t *vfsp, vnode_t **vpp);
76 static int zfs_statvfs(vfs_t *vfsp, struct statvfs64 *statp);
77 static int zfs_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp);
78 static void zfs_freevfs(vfs_t *vfsp);
127 zfs_sync(vfs_t *vfsp, short flag, cred_t *cr)
145 if (vfsp != NULL) {
149 zfsvfs_t *zfsvfs = vfsp->vfs_data
    [all...]
  /onnv/onnv-gate/usr/src/lib/libdiskmgt/common/
inuse_fs.c 309 struct vfstab_list *vfsp; local
311 vfsp = (struct vfstab_list *)malloc(sizeof (struct vfstab_list));
312 if (vfsp == NULL) {
316 vfsp->special = strdup(vp->vfs_special);
317 if (vfsp->special == NULL) {
318 free(vfsp);
323 vfsp->mountp = strdup(vp->vfs_mountp);
324 if (vfsp->mountp == NULL) {
325 free(vfsp);
329 vfsp->mountp = NULL
    [all...]
  /onnv/onnv-gate/usr/src/cmd/fs.d/cachefs/common/
stats_log.c 357 (! xdr_opaque(xdrs, (caddr_t)&mount.vfsp,
358 sizeof (mount.vfsp))) ||
388 (! xdr_opaque(xdrs, (caddr_t)&umount.vfsp,
389 sizeof (umount.vfsp)))) {
407 (! xdr_opaque(xdrs, (caddr_t)&getpage.vfsp,
408 sizeof (getpage.vfsp))) ||
434 (! xdr_opaque(xdrs, (caddr_t)&readdir.vfsp,
435 sizeof (readdir.vfsp))) ||
461 (! xdr_opaque(xdrs, (caddr_t)&readlink.vfsp,
462 sizeof (readlink.vfsp))) ||
1655 caddr_t vfsp; local
    [all...]

Completed in 600 milliseconds

1 2 3 4 5 6