/illumos-gate/usr/src/uts/common/io/ |
H A D | strplumb.c | 512 char fstype[OBP_MAXPROPNAME]; local 517 if (bop_getprop("fstype", fstype) == -1) 520 if (strncmp(fstype, "nfs", 3) == 0)
|
/illumos-gate/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 613 const char *fstype; local 645 fstype = libhal_volume_get_fstype (volume); 652 if (fstype == NULL) 664 if (label != NULL && strcmp (label, "bootstrap") == 0 && strcmp (fstype, "hfs") == 0) 733 char *fstype; /* NULL iff !is_mounted or unknown */ member in struct:LibHalVolume_s 834 libhal_free_string (vol->fstype); 1157 LIBHAL_PROP_EXTRACT_STRING ("volume.fstype", vol->fstype); 1557 return volume->fstype;
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | nfs_mntinfo.c | 288 if ((strcmp(fsmnt_list->fstype, MNTTYPE_NFS) != 0) || 417 if ((mrp->nml_fstype = strdup(fsmnt_list->fstype)) == NULL) {
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_xdr.c | 118 if (!xdr_string(xdrs, &objp->fstype, AUTOFS_MAXCOMPONENTLEN)) 212 if (!xdr_string(xdrs, &objp->fstype, AUTOFS_MAXCOMPONENTLEN))
|
H A D | Makefile | 56 include ../Makefile.fstype
|
H A D | autod_nfs.c | 671 char *fstype; local 1093 * mounts, set fstype now. 1099 fstype = MNTTYPE_NFS4; 1102 fstype = MNTTYPE_NFS3; 1109 fstype = MNTTYPE_NFS; 1808 fstype, remname); 2321 if (strcmp(fstype, MNTTYPE_NFS4) == 0) 2348 if (mount(mnttabtext, mntpnt, flags | MS_DATA, fstype, 2380 alp->action.action_list_entry_u.mounta.fstype = 2381 strdup(fstype); 3481 char fstype[] = MNTTYPE_LOFS; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/ |
H A D | mount.c | 173 static char *fstype = MNTTYPE_SMBFS; local 382 mntflags, fstype, &mdata, sizeof (mdata),
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_xdr.c | 73 if (!xdr_string(xdrs, &objp->fstype, AUTOFS_MAXCOMPONENTLEN)) 235 if (!xdr_string(xdrs, &objp->fstype, AUTOFS_MAXCOMPONENTLEN))
|
H A D | auto_vfsops.c | 247 autofs_init(int fstype, char *name) argument 258 autofs_fstype = fstype; 261 * Associate VFS ops vector with this fstype 263 error = vfs_setfsops(fstype, auto_vfsops_template, NULL); 271 (void) vfs_freevfsops_by_type(fstype);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vfs.h | 294 char *fstype; member in struct:mounta 440 vopstats_t *vi_fstypevsp; /* ptr to per-fstype vopstats */ 546 void vfs_root_redev(vfs_t *vfsp, dev_t ndev, int fstype); 562 extern char rootfstype[]; /* name of root fstype */
|
/illumos-gate/usr/src/uts/common/fs/dcfs/ |
H A D | dc_vnops.c | 883 dcinit(int fstype, char *name) argument 891 error = vfs_setfsops(fstype, dc_vfsops_template, &dc_vfsops); 898 dc_vfs.vfs_fstype = fstype; 906 (void) vfs_freevfsops_by_type(fstype);
|
/illumos-gate/usr/src/uts/common/fs/fifofs/ |
H A D | fifosubr.c | 326 fifoinit(int fstype, char *name) argument 334 fifofstype = fstype; 335 error = vfs_setfsops(fstype, fifo_vfsops_template, &fifo_vfsops); 343 (void) vfs_freevfsops_by_type(fstype);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/ |
H A D | mount.c | 177 static char *fstype = MNTTYPE_NFS; variable 751 if (strcmp(fstype, MNTTYPE_NFS4) == 0) 775 if (mount(mntp->mnt_special, mntp->mnt_mountp, mntflags, fstype, args, 1977 fstype = MNTTYPE_NFS4; 1980 fstype = MNTTYPE_NFS3; 2079 fstype = MNTTYPE_NFS4; 2297 fstype = MNTTYPE_NFS3;
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 1438 char fstype[512]; local 1467 sizeof (cdev) - 1, sizeof (mntpt) - 1, sizeof (fstype) - 1, 1487 rv = sscanf(buf, fmt, bdev, cdev, mntpt, fstype, fsckpass, 1530 if (strcmp(fstype, "swap") == 0) { 1540 mntpt, fstype, fsckpass, mntboot, mntopt);
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 523 char fstype[MAXPATHLEN]; local 549 /* LINTED - fstype is big enough to hold buf */ 550 if (sscanf(buf, "%s", fstype) == 0) { 556 types[i] = strdup(fstype); 571 is_remote_fstype(const char *fstype, char *const *remote_fstypes) argument 578 if (strcmp(remote_fstypes[i], fstype) == 0) 845 dofsck(zlog_t *zlogp, const char *fstype, const char *rawdev) argument 852 * We could alternatively have called /usr/sbin/fsck -F <fstype>, but 855 if (snprintf(cmdbuf, sizeof (cmdbuf), "/usr/lib/fs/%s/fsck", fstype) 857 zerror(zlogp, B_FALSE, "file-system type %s too long", fstype); 883 domount(zlog_t *zlogp, const char *fstype, const char *opts, const char *special, const char *directory) argument 989 valid_mount_path(zlog_t *zlogp, const char *rootpath, const char *spec, const char *dir, const char *fstype) argument 1567 plat_gmount_cb(void *data, const char *spec, const char *dir, const char *fstype, const char *opt) argument [all...] |
H A D | zoneadmd.c | 612 const char *fstype, const char *opt) 646 if ((rv = valid_mount_path(zlogp, rootpath, spec, dir, fstype)) < 0) { 667 fstype)) < 0) { 716 if (mount(spec, dir, mflag, fstype, NULL, 0, opt, optlen) != 0) 611 mount_early_fs(void *data, const char *spec, const char *dir, const char *fstype, const char *opt) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | swapgeneric.c | 126 BMDPRINTF(("rootconf: fstype %s\n", rootfs.bo_fstype)); 232 cmn_err(CE_CONT, "Cannot mount root on %s fstype %s\n", 235 cmn_err(CE_CONT, "?root on %s fstype %s\n", 266 cmn_err(CE_CONT, "Cannot remount root on %s fstype %s\n", 269 cmn_err(CE_CONT, "?root remounted on %s fstype %s\n", 348 BMDPRINTF(("loadrootmodules: fstype %s\n", rootfs.bo_fstype)); 364 * Get the root fstype and root device path from boot. 610 get_fstype_prop(char *fstype) argument 612 char *prop = (root_is_ramdisk) ? "archive-fstype" : "fstype"; [all...] |
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_vfsops.c | 250 hsfsinit(int fstype, char *name) argument 263 error = vfs_setfsops(fstype, hsfs_vfsops_template, NULL); 271 (void) vfs_freevfsops_by_type(fstype); 276 hsfsfstype = fstype;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_ctl.c | 1375 char mount[MAXPATHLEN], fstype[MAXPATHLEN], spec[MAXPATHLEN]; local 1391 (void) strcpy(fstype, S_STR(vfst.vfs_fstype)); 1396 strcmp(fstype, "swap")) {
|
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | rmm_common.c | 500 char *fstype; local 511 fstype = ""; 517 DBUS_TYPE_STRING, &fstype, 1144 "volume.fstype", NULL))) { 1145 dprintf("property %s not found %s\n", "volume.fstype", udi);
|
/illumos-gate/usr/src/uts/common/fs/specfs/ |
H A D | specsubr.c | 789 specinit(int fstype, char *name) argument 804 error = vfs_setfsops(fstype, spec_vfsops_template, &spec_vfsops); 812 (void) vfs_freevfsops_by_type(fstype);
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 233 pcfsinit(int fstype, char *name) argument 247 error = vfs_setfsops(fstype, pcfs_vfsops_template, NULL); 255 (void) vfs_freevfsops_by_type(fstype); 262 (void) vfs_freevfsops_by_type(fstype); 268 pcfstype = fstype;
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare.c | 561 char *fstype; local 583 fstype = sa_fstype(path); 584 if (fstype != NULL && strcmp(fstype, "zfs") == 0) { 588 if (fstype != NULL) 589 sa_free_fstype(fstype);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 939 bsetprops("fstype", "ufs"); 961 bsetprop("fstype", 6, "nfs", 4); 1306 * then we need to set "fstype" to "nfs" so we mount 1506 * - fstype
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vfsops.c | 2071 ufsinit(int fstype, char *name) argument 2085 ufsfstype = fstype; 2087 error = vfs_setfsops(fstype, ufs_vfsops_template, &ufs_vfsops); 2095 (void) vfs_freevfsops_by_type(fstype);
|