/illumos-gate/usr/src/cmd/fs.d/ |
H A D | df.c | 441 * Returns TRUE if fstype is a remote file system type; 445 is_remote_fs(char *fstype) argument 456 if (EQ(fstype, *p)) 868 char *fstype; local 873 fstype = request_list[0].dfr_fstype; 875 if (F_option && ! EQ(FSType, fstype)) 878 (void) sprintf(cmd_path, "%s%s/df", FS_LIBPATH, fstype); 935 fstype); 1343 DEFINE_STR_LEN(fstype); 1360 SET_STR_LEN("fstype", fstyp 2017 char *fstype = requests[i].dfr_fstype; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_root.c | 189 ctfs_init(int fstype, char *name) argument 194 ctfs_fstype = fstype; 195 if (error = vfs_setfsops(fstype, ctfs_vfstops, &vfsops)) {
|
/illumos-gate/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_vfsops.c | 234 bootfs_init(int fstype, char *name) argument 238 bootfs_fstype = fstype; 241 ret = vfs_setfsops(fstype, bootfs_vfsops_tmpl, NULL);
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vfsops.c | 145 devinit(int fstype, char *name) argument 158 devtype = fstype; 160 error = vfs_setfsops(fstype, dev_vfsops_tbl, NULL); 168 (void) vfs_freevfsops_by_type(fstype);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | smfcfg.c | 107 fs_smf_set_prop(smf_fstype_t fstype, char *prop_name, char *valbuf, argument 162 if (fstype == AUTOFS_SMF) 240 fs_smf_get_prop(smf_fstype_t fstype, char *prop_name, char *cbuf, argument 291 if (fstype == AUTOFS_SMF)
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modconf.c | 943 int fstype; /* index into vfssw[] and vsanchor_fstype[] */ local 991 fstype = vswp - vfssw; /* Pointer arithmetic to get the fstype */ 1011 * If stats are enabled system wide and for this fstype, then 1021 err = (*(modl->fs_vfsdef->init))(fstype, fsname); 1038 /* If everything is on, set up the per-fstype vopstats */ 1040 vopstats_fstype && vopstats_fstype[fstype] == NULL) { 1042 (void) strlcat(ksname, vfssw[fstype].vsw_name, sizeof (ksname)); 1043 vopstats_fstype[fstype] = 1045 initialize_vopstats(vopstats_fstype[fstype]); [all...] |
/illumos-gate/usr/src/uts/common/rpcsvc/ |
H A D | autofs_prot.x | 205 * given fstype on the given mntpnt. 212 string fstype<AUTOFS_MAXCOMPONENTLEN>; /* filesystem type to umount */
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | homedir.c | 310 get_mnt_special(char *mountp, char *fstype) argument 318 search.mnt_fstype = fstype;
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_mount_defaults.c | 79 free(headp->fstype); 536 newp->fstype = strdup(vfstab_entry.vfs_fstype); 537 if (newp->fstype == NULL) { 642 if (filter->fstype != NULL) { 643 search_entry->vfs_fstype = strdup(filter->fstype);
|
/illumos-gate/usr/src/uts/common/fs/namefs/ |
H A D | namevfs.c | 666 nameinit(int fstype, char *name) argument 685 error = vfs_setfsops(fstype, nm_vfsops_template, &namefs_vfsops); 693 (void) vfs_freevfsops_by_type(fstype); 700 (void) vfs_freevfsops_by_type(fstype); 706 namefstype = fstype;
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 302 fsop_sync_by_kind(int fstype, short flag, cred_t *cr) argument 304 ASSERT((fstype >= 0) && (fstype < nfstype)); 306 if (ALLOCATED_VFSSW(&vfssw[fstype]) && VFS_INSTALLED(&vfssw[fstype])) 307 return (*vfssw[fstype].vsw_vfsops.vfs_sync) (NULL, flag, cr); 366 vfs_setfsops(int fstype, const fs_operation_def_t *template, vfsops_t **actual) argument 372 * Verify that fstype refers to a valid fs. Note that 375 if ((fstype < 0) || (fstype > 440 vfs_freevfsops_by_type(int fstype) argument 1176 uint_t fstype; local 4520 vfs_root_redev(vfs_t *vfsp, dev_t ndev, int fstype) argument [all...] |
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-mount.c | 425 map_fstype (const char *fstype) argument 428 if (! strcmp (fstype, "iso9660")) 430 else if (! strcmp (fstype, "ext2")) 432 else if (! strcmp (fstype, "vfat")) 435 if (! strcmp (fstype, "iso9660")) 437 else if (! strcmp (fstype, "vfat")) 441 return fstype; 915 * <device_file>\t<uid>\t<session-id>\t<fstype>\t<options_sep_by_comma>\t<mount point>\n
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_subr.c | 811 AUTOFS_DPRINT((4, "\tauto_send_unmount_request: fstype=%s " 812 " mntpnt=%s\n", ul->fstype, ul->mntpnt)); 879 char *fstype; local 883 fstype = alp->action.action_list_entry_u.mounta.fstype; 886 if (strcmp(fstype, "autofs") == 0) { 894 if (m->fstype) 895 kmem_free(m->fstype, strlen(m->fstype) + 1); 927 m->fstype [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | mount_nfs.c | 123 char *fstype; local 279 fstype = MNTTYPE_NFS; 327 fstype = MNTTYPE_NFS3; 369 if (mount(fsname, dir, flags, fstype, &args, sizeof (args)) < 0) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/ |
H A D | Makefile | 30 # we must define this before including Makefile.fstype 35 include ../../Makefile.fstype
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | Makefile | 29 include ../../Makefile.fstype
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/ |
H A D | mount.c | 89 #define NAME_MAX 64 /* sizeof "fstype myname" */ 103 static char fstype[] = MNTTYPE_UFS; variable 182 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); 231 mnt.mnt_fstype = fstype; 552 again: if (mount(mnt->mnt_special, mnt->mnt_mountp, flags, fstype, 858 (void) fprintf(stderr, gettext("%s: %s is not this fstype\n"),
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | dryrun.c | 408 if (!write_string(fd_drb, fs_entry->fstype)) 560 char fstype[200]; local 570 if (read_string(fd_cnb, &fstype[0]) == NULL) 576 if (load_fsentry(&fs_entry, name, fstype, remote_name)) {
|
/illumos-gate/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 479 fdinit(int fstype, char *name) argument 490 fdfstype = fstype; 494 * Associate VFS ops vector with this fstype. 496 error = vfs_setfsops(fstype, fd_vfsops_template, NULL); 504 (void) vfs_freevfsops_by_type(fstype);
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | vfs.h | 116 char *fstype; member in struct:mounta 204 extern vfssw_t *vfs_getvfssw(); /* find vfssw ptr given fstype name */ 221 extern char rootfstype[]; /* name of root fstype */
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vfsops.c | 172 tmpfsinit(int fstype, char *name) argument 186 tmpfsfstype = fstype; 189 error = vfs_setfsops(fstype, tmp_vfsops_template, NULL); 197 (void) vfs_freevfsops_by_type(fstype);
|
/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharetab.c | 99 SHARETAB_DELETE_FIELD(fstype); 129 * There does not exist a fstype in memory which 207 * We need to find the hash buckets for the fstype. 390 SHARETAB_COPYIN(fstype);
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 1230 char *fstype; local 1233 fstype = sa_fstype(path); 1234 if (fstype != NULL && strcmp(fstype, "zfs") == 0) 1236 if (fstype != NULL) 1237 sa_free_fstype(fstype);
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_main.c | 384 trace_prt(1, " resource=%s fstype=%s mntpnt=%s" 387 ul->fstype, 575 if (mp->fstype) { 576 if (strcmp(mp->fstype, "autofs") == 0) { 579 } else if (strncmp(mp->fstype, "nfs", 3) == 0) { 624 if (args->fstype) 625 free(args->fstype);
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | filesys_rcm.c | 75 char *fstype; member in struct:hashentry 301 if (strcmp(entry->fstype, "zfs") == 0) { 826 if ((*entryp)->fstype) 827 free((*entryp)->fstype); 990 ((entry->fstype = strdup(mt->mnt_fstype)) == NULL)) {
|