| /onnv/onnv-gate/usr/src/cmd/backup/dump/ |
| dumpfstab.c | 99 struct vfstab vfs; local 117 while ((status = getvfsent(tp, &vfs)) == 0) { 118 if (vfs.vfs_fstype == (char *)0 || 119 strcmp(vfs.vfs_fstype, MNTTYPE_42) != 0) 123 mnt->mnt_fsname = mntstrdup(vfs.vfs_special); 124 mnt->mnt_dir = mntstrdup(vfs.vfs_mountp); 125 mnt->mnt_type = mntstrdup(vfs.vfs_fstype); 126 mnt->mnt_opts = mntstrdup(vfs.vfs_mntopts);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/ |
| netstrategy.c | 109 static struct statvfs vfs; local 112 if (statvfs("/", &vfs) < 0) { 115 if (strncmp(vfs.f_basetype, "nfs", sizeof ("nfs") - 1) == 0) 116 vfs.f_basetype[sizeof ("nfs") - 1] = '\0'; 117 return (vfs.f_basetype);
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/lofs/ |
| lofs.c | 30 #include <sys/vfs.h> 49 struct vfs vfs; local 73 (void) mdb_vread(&vfs, sizeof (vfs), vfsp); 74 if (lofsfstype != vfs.vfs_fstype) { 75 vfsp = (uintptr_t)vfs.vfs_next; 79 (uintptr_t)vfs.vfs_data); 81 vfsp = (uintptr_t)vfs.vfs_next; 97 (void) mdb_vread(&vfs, sizeof (vfs), vfsp) 234 vfs_t vfs; local [all...] |
| /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/ |
| statfs.c | 224 struct statvfs vfs; local 228 if (statvfs(path, &vfs) != 0) 231 if ((err = stol_statfs(path, &lxfs, &vfs)) != 0) 244 struct statvfs vfs; local 250 if (fstatvfs(fd, &vfs) != 0) 255 if ((err = stol_statfs(path, &lxfs, &vfs)) != 0) 270 struct statvfs64 vfs; local 274 if (statvfs64(path, &vfs) != 0) 277 if ((err = stol_statfs64(path, &lxfs, &vfs)) != 0) 291 struct statvfs64 vfs; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/path/ |
| pathprobe.c | 62 struct statvfs vfs; local 65 if (!statvfs(path, &vfs)) 68 if (vfs.f_flag & ST_RDONLY) 72 if ((vfs.f_flag & ST_NOSUID) && (stat(path, &st) || st.st_uid != getuid() && st.st_uid != geteuid()))
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/smbfs/ |
| smbfs.c | 34 #include <sys/vfs.h> 73 * all "smbfs" entries in the VFS list. 79 uintptr_t vfsops; /* filter by vfs ops pointer */ 86 const vfs_t *vfs = data; local 91 if (cbd->vfsops && cbd->vfsops != (uintptr_t)vfs->vfs_op) { 101 mdb_printf(" %-p", (uintptr_t)vfs->vfs_data); 106 ta = (uintptr_t)vfs->vfs_mntpt; 115 (uintptr_t)vfs->vfs_data) == -1) { 117 (uintptr_t)vfs->vfs_data); 133 vfs_t *vfs; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/inc/include/sys/ |
| vfs.h | 59 struct vfs { struct 60 struct vfs *vfs_next; /* next vfs in vfs list */ 61 struct vfsops *vfs_op; /* operations on vfs */ 71 * vfs flags. 72 * VFS_MLOCK lock the vfs so that name lookup cannot proceed past the vfs. 75 #define VFS_RDONLY 0x01 /* read only vfs */ 76 #define VFS_MLOCK 0x02 /* lock vfs so that subtree is stable * [all...] |
| /onnv/onnv-gate/usr/src/lib/libwanboot/common/ |
| bootinfo_aux.c | 348 static struct statvfs vfs; local 350 if (statvfs("/", &vfs) >= 0) { 351 if (strncmp(vfs.f_basetype, "nfs", sizeof ("nfs") - 1) == 0) { 352 vfs.f_basetype[sizeof ("nfs") - 1] = '\0'; 354 rootfs_type = vfs.f_basetype;
|
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| fem.h | 37 #include <sys/vfs.h> 47 struct fs_operation_def; /* from vfs.h */ 55 * vnode or vfs by intercepting the vnode/vfs operations. The framework enables 115 vfsops_t *vfs; member in union:fem_node::__anon6909 425 extern int fsem_is_installed(struct vfs *v, fsem_t *mon, void *arg); 426 extern int fsem_install(struct vfs *v, fsem_t *mon, void *arg, femhow_t how, 428 extern int fsem_uninstall(struct vfs *v, fsem_t *mon, void *arg); 429 extern vfsops_t *fsem_getvfsops(struct vfs *v); 430 extern void fsem_setvfsops(struct vfs *v, struct vfsops *nops) [all...] |
| vfs.h | 161 * use a unique fsid_t for each vfs (e.g., namefs). In order to do 177 * Private vfs data, NOT to be used by a file system implementation. 183 /* Counted array - Bitmap of vfs features */ 203 * it's intended for use only in the kernel's vfs layer. 212 * It is safe to read these fields if you can prevent a remount on the vfs, 215 * functions, as it is protected by the vfs list lock. Modifying a mount 216 * option requires grabbing the vfs list write lock, which can be a very 222 typedef struct vfs { struct 223 struct vfs *vfs_next; /* next VFS in VFS list * [all...] |
| /onnv/onnv-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
| fssnap.c | 394 struct statvfs vfs; local 404 if (fstatvfs(mountfd, &vfs) == -1) 407 fssize = vfs.f_blocks * vfs.f_frsize;
|
| /onnv/onnv-gate/usr/src/ucbhead/sys/ |
| vfs.h | 85 typedef struct vfs { struct 86 struct vfs *vfs_next; /* next VFS in VFS list */ 87 struct vfsops *vfs_op; /* operations on VFS */ 94 l_dev_t vfs_dev; /* device of mounted VFS */ 100 * VFS flags. 102 #define VFS_RDONLY 0x01 /* read-only vfs */ 103 #define VFS_MLOCK 0x02 /* lock vfs so that subtree is stable */ 133 int (*vfs_mount)(struct vfs *, struct vnode *, struct mounta * [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
| smbfs_vnops.c | 43 #include <sys/vfs.h> 1382 vfs_t *vfs; local 2974 vfs_t *vfs; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/svr4pkg/libinst/ |
| mntinfo.c | 275 already_mounted(struct vfstab *vfs, int is_local_host, char *client_path, 307 if (strcmp(fs_tab[i]->remote_name, vfs->vfs_special) == 0) { 898 struct vfstab *vfs = &vfsbuf; local 925 * Open the vfs table for the target host. 928 progerr(ERR_NOTABLE, "vfs", VFS_TABLE, 934 while (!getvfsent(pp, vfs)) { 945 is_remote_src(vfs->vfs_special)) && 946 strcmp(vfs->vfs_fstype, MNTTYPE_LOFS) != 954 if (strcmp(vfs->vfs_mountp, "/") == 0) { 960 install_root, vfs->vfs_mountp) [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| vfs.c | 38 #include <sys/vfs.h> 70 vfs_t vfs; local 73 if (mdb_vread(&vfs, sizeof (vfs), wsp->walk_addr) == -1) { 78 status = wsp->walk_callback(wsp->walk_addr, &vfs, wsp->walk_cbdata); 80 if (vfs.vfs_next == wsp->walk_data) 83 wsp->walk_addr = (uintptr_t)vfs.vfs_next; 89 * Utility routine to read in a filesystem name given a vfs pointer. If 90 * no vfssw entry for the vfs is available (as is the case with some pseudo- 98 vfs_t vfs; local 183 vfs_t vfs; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/ufs/ |
| ufs_dir.c | 55 #include <sys/vfs.h> 3018 struct vfs *vfs; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/tmpfs/ |
| tmp_vnops.c | 34 #include <sys/vfs.h> 230 vfs_t *vfs = tm->tm_vfsp; local 235 vfs->vfs_vnodecovered->v_path); [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
| mdb_ks.c | 407 vfs_t vfs; local 427 if (mdb_vread(&vfs, sizeof (vfs), (uintptr_t)vn.v_vfsp) == -1 || 428 mdb_vread(&fni, sizeof (fni), (uintptr_t)vfs.vfs_data) == -1 || [all...] |
| /onnv/onnv-gate/usr/src/cmd/svc/startd/ |
| graph.c | 3495 struct statvfs vfs; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/boot/bootadm/ |
| bootadm.c | 3473 struct statvfs vfs; local 3496 struct statvfs vfs; local 3519 struct statvfs vfs; local [all...] |