Symbol: fstype
common/lib/libutil/getfstypename.c
59
getfstypename(int fstype)
common/lib/libutil/getfstypename.c
65
switch ((enum fstype_enum)fstype) {
distrib/utils/edlabel/edlabel.c
245
get_fstype(char *buf, u_int8_t *fstype)
distrib/utils/edlabel/edlabel.c
254
*fstype = i;
lib/libperfuse/perfuse.c
443
char *fstype;
lib/libperfuse/perfuse.c
472
if ((fstype = malloc(len)) == NULL)
lib/libperfuse/perfuse.c
475
(void)sprintf(fstype, "perfuse|%s", ps->ps_filesystemtype);
lib/libperfuse/perfuse.c
477
if ((fstype = strdup("perfuse")) == NULL)
lib/libperfuse/perfuse.c
586
if ((pu = puffs_init(pops, source, fstype, ps, puffs_flags)) == NULL)
sbin/gpt/migrate.c
125
freebsd_fstype_to_gpt_type(gpt_t gpt, u_int i __unused, u_int fstype)
sbin/gpt/migrate.c
127
switch (fstype) {
sbin/gpt/migrate.c
139
gpt_warnx(gpt, "Unknown FreeBSD partition (%d)", fstype);
sbin/gpt/migrate.c
145
netbsd_fstype_to_gpt_type(gpt_t gpt, u_int i, u_int fstype)
sbin/gpt/migrate.c
147
switch (fstype) {
sbin/gpt/migrate.c
168
"using \"Microsoft Basic Data\"", i, fstypename(fstype));
sbin/mount/mount.c
732
u_char fstype;
sbin/mount/mount.c
779
if ((fstype = dl.d_partitions[part].p_fstype) >= FSMAXMOUNTNAMES)
sbin/mount/mount.c
782
vfstype = mountnames[fstype];
sys/arch/amiga/amiga/disksubr.c
350
adt.fstype = FS_UNUSED;
sys/arch/amiga/amiga/disksubr.c
438
pp->p_fstype = adt.fstype;
sys/arch/amiga/amiga/disksubr.c
465
adt.fstype = FS_UNUSED;
sys/arch/amiga/amiga/disksubr.c
471
} else if (adt.fstype == FS_ISO9660) {
sys/arch/amiga/amiga/disksubr.c
565
adt.fstype = b1;
sys/arch/amiga/amiga/disksubr.c
580
adt.fstype = FS_ADOS;
sys/arch/amiga/amiga/disksubr.c
585
adt.fstype = FS_UNUSED;
sys/arch/amiga/amiga/disksubr.c
587
adt.fstype = FS_ADOS;
sys/arch/amiga/amiga/disksubr.c
593
adt.fstype = FS_BSDFFS;
sys/arch/amiga/amiga/disksubr.c
595
adt.fstype = FS_UNUSED;
sys/arch/amiga/amiga/disksubr.c
618
adt.fstype = FS_EX2FS;
sys/arch/amiga/amiga/disksubr.c
623
adt.fstype = FS_RAID;
sys/arch/amiga/amiga/disksubr.c
632
adt.fstype = FS_UNUSED;
sys/arch/ews4800mips/stand/common/devopen.c
136
enum fstype fs;
sys/arch/ews4800mips/stand/common/devopen.c
149
fs = fstype(partition);
sys/arch/ews4800mips/stand/common/diskutil.c
87
switch (fstype(i)) {
sys/arch/ews4800mips/stand/common/local.h
63
int fstype(int);
sys/arch/hppa/stand/xxboot/main.c
285
str_filesystem[12] = (ufs_info.fstype == UFSTYPE_FFS) ? 'F' : 'L';
sys/arch/hppa/stand/xxboot/readufs.h
119
#define ufs_get_inode(ino, di) ((ufs_info.fstype == UFSTYPE_FFS) ? \
sys/arch/hppa/stand/xxboot/readufs.h
72
} fstype;
sys/arch/hppa/stand/xxboot/readufs_ffs.c
89
fsi.fstype = UFSTYPE_FFS;
sys/arch/hppa/stand/xxboot/readufs_lfs.c
145
fsi.fstype = UFSTYPE_LFS;
sys/arch/i386/stand/efiboot/efidisk.c
265
if (part[i].fstype == FS_UNUSED)
sys/arch/i386/stand/efiboot/efidisk.c
267
if (part[i].fstype == FS_RAID) {
sys/arch/i386/stand/efiboot/efidisk.c
281
else if (part[i].fstype < FSMAXTYPES)
sys/arch/i386/stand/efiboot/efidisk.c
282
printf("%s", fstypenames[part[i].fstype]);
sys/arch/i386/stand/efiboot/efidisk.c
284
printf("%d", part[i].fstype);
sys/arch/i386/stand/efiboot/efidisk.c
322
if (part[j].fstype == FS_UNUSED)
sys/arch/i386/stand/efiboot/efidisk.c
324
if (part[j].fstype == FS_RAID) /* raid in raid? */
sys/arch/i386/stand/efiboot/efidisk.c
337
else if (part[j].fstype < FSMAXTYPES)
sys/arch/i386/stand/efiboot/efidisk.c
339
fstypenames[part[j].fstype]);
sys/arch/i386/stand/efiboot/efidisk.c
341
printf("%d", part[j].fstype);
sys/arch/i386/stand/efiboot/efidisk.c
394
if (part[i].fstype == FS_UNUSED)
sys/arch/i386/stand/lib/biosdisk.c
1003
if (d->part[part].fstype < FSMAXTYPES)
sys/arch/i386/stand/lib/biosdisk.c
1005
fstypenames[d->part[part].fstype]);
sys/arch/i386/stand/lib/biosdisk.c
1007
printf("%d", d->part[part].fstype);
sys/arch/i386/stand/lib/biosdisk.c
1060
if (d->part[i].fstype == FS_UNUSED)
sys/arch/i386/stand/lib/biosdisk.c
1072
switch (d->part[i].fstype) {
sys/arch/i386/stand/lib/biosdisk.c
1235
if (raidframe.part[i].fstype == FS_UNUSED)
sys/arch/i386/stand/lib/biosdisk.c
1243
if (raidframe.part[i].fstype == FS_BSDFFS ||
sys/arch/i386/stand/lib/biosdisk.c
1244
raidframe.part[i].fstype == FS_BSDLFS) {
sys/arch/i386/stand/lib/biosdisk.c
1291
d->part[partition].fstype == FS_UNUSED) {
sys/arch/i386/stand/lib/biosdisk.c
1302
if (d->part[partition].fstype == FS_RAID)
sys/arch/i386/stand/lib/biosdisk.c
1375
if (d->part[part].fstype == FS_UNUSED)
sys/arch/i386/stand/lib/biosdisk.c
1378
if (d->part[part].fstype == FS_RAID) {
sys/arch/i386/stand/lib/biosdisk.c
1422
if (d->part[part].fstype == FS_UNUSED)
sys/arch/i386/stand/lib/biosdisk.c
1430
(d->part[part].fstype == FS_BSDFFS ||
sys/arch/i386/stand/lib/biosdisk.c
1431
d->part[part].fstype == FS_BSDLFS))
sys/arch/i386/stand/lib/biosdisk.c
1530
if (d->part[part].fstype != FS_RAID)
sys/arch/i386/stand/lib/biosdisk.c
1562
if (d->part[part].fstype == FS_UNUSED)
sys/arch/i386/stand/lib/biosdisk.c
1572
(d->part[part].fstype == FS_BSDFFS ||
sys/arch/i386/stand/lib/biosdisk.c
1573
d->part[part].fstype == FS_BSDLFS))
sys/arch/i386/stand/lib/biosdisk.c
423
d->part[j].fstype = FS_BSDFFS;
sys/arch/i386/stand/lib/biosdisk.c
425
d->part[j].fstype = FS_BSDLFS;
sys/arch/i386/stand/lib/biosdisk.c
427
d->part[j].fstype = FS_RAID;
sys/arch/i386/stand/lib/biosdisk.c
429
d->part[j].fstype = FS_SWAP;
sys/arch/i386/stand/lib/biosdisk.c
431
d->part[j].fstype = FS_CCD;
sys/arch/i386/stand/lib/biosdisk.c
433
d->part[j].fstype = FS_CGD;
sys/arch/i386/stand/lib/biosdisk.c
435
d->part[j].fstype = FS_OTHER;
sys/arch/i386/stand/lib/biosdisk.c
541
d->part[part].fstype = lp->d_partitions[part].p_fstype;
sys/arch/i386/stand/lib/biosdisk.c
642
d->part[0].fstype = FS_ISO9660;
sys/arch/i386/stand/lib/biosdisk.c
899
if (d->part[part].fstype == FS_UNUSED)
sys/arch/i386/stand/lib/biosdisk.c
902
if (d->part[part].fstype == FS_RAID)
sys/arch/i386/stand/lib/biosdisk.c
924
if (d->part[part].fstype < FSMAXTYPES)
sys/arch/i386/stand/lib/biosdisk.c
926
fstypenames[d->part[part].fstype]);
sys/arch/i386/stand/lib/biosdisk.c
928
printf("%d", d->part[part].fstype);
sys/arch/i386/stand/lib/biosdisk.c
982
if (d->part[part].fstype == FS_UNUSED)
sys/arch/i386/stand/lib/biosdisk.c
984
if (d->part[part].fstype == FS_RAID)
sys/arch/i386/stand/lib/biosdisk.h
33
int fstype;
sys/arch/mac68k/mac68k/disksubr.c
169
setpartition(struct part_map_entry *part, struct partition *pp, int fstype)
sys/arch/mac68k/mac68k/disksubr.c
173
pp->p_fstype = fstype;
sys/arch/macppc/macppc/disksubr.c
167
whichType(struct part_map_entry *part, u_int8_t *fstype, int *clust)
sys/arch/macppc/macppc/disksubr.c
175
*fstype = FS_OTHER;
sys/arch/macppc/macppc/disksubr.c
201
*fstype = bzb->bzbType;
sys/arch/macppc/macppc/disksubr.c
203
*fstype = FS_BSDFFS;
sys/arch/macppc/macppc/disksubr.c
210
*fstype = bzb->bzbType;
sys/arch/macppc/macppc/disksubr.c
212
*fstype = FS_BSDFFS;
sys/arch/macppc/macppc/disksubr.c
221
*fstype = FS_BSDFFS;
sys/arch/macppc/macppc/disksubr.c
224
*fstype = FS_BSDFFS;
sys/arch/macppc/macppc/disksubr.c
227
*fstype = FS_SWAP;
sys/arch/macppc/macppc/disksubr.c
230
*fstype = FS_OTHER;
sys/arch/macppc/macppc/disksubr.c
234
*fstype = FS_HFS;
sys/arch/macppc/macppc/disksubr.c
237
*fstype = FS_APPLEUFS;
sys/arch/macppc/macppc/disksubr.c
240
*fstype = FS_OTHER;
sys/arch/macppc/macppc/disksubr.c
243
*fstype = FS_OTHER;
sys/arch/macppc/macppc/disksubr.c
246
*fstype = FS_OTHER;
sys/arch/macppc/macppc/disksubr.c
253
setpartition(struct part_map_entry *part, struct partition *pp, int fstype)
sys/arch/macppc/macppc/disksubr.c
257
pp->p_fstype = fstype;
sys/arch/macppc/stand/installboot/installboot.c
182
if (!params->fstype->findstage2(params, &nblk, blocks)) {
sys/arch/macppc/stand/installboot/installboot.c
190
block = blocks[blk_i].block * (params->fstype->blocksize / 512);
sys/arch/macppc/stand/installboot/installboot.c
80
params->fstype = &cd9660_fstype;
sys/arch/macppc/stand/installboot/installboot.c
86
if (!params->fstype->match(params))
sys/arch/macppc/stand/installboot/installboot.c
88
params->filesystem, params->fstype->name);
sys/arch/macppc/stand/installboot/installboot.h
71
struct ib_fs *fstype; /* file system details (see below) */
sys/arch/macppc/stand/ofwboot/ofdev.c
150
u_int8_t fstype;
sys/arch/macppc/stand/ofwboot/ofdev.c
153
fstype = 0;
sys/arch/macppc/stand/ofwboot/ofdev.c
166
fstype = bzb->bzbType;
sys/arch/macppc/stand/ofwboot/ofdev.c
168
fstype = FS_BSDFFS;
sys/arch/macppc/stand/ofwboot/ofdev.c
172
fstype = FS_BSDFFS;
sys/arch/macppc/stand/ofwboot/ofdev.c
175
return fstype;
sys/arch/macppc/stand/ofwboot/ofdev.c
190
u_int8_t fstype;
sys/arch/macppc/stand/ofwboot/ofdev.c
205
fstype = check_apm_root(pme, &clust);
sys/arch/macppc/stand/ofwboot/ofdev.c
207
if (fstype && (lastclust == -1 || clust < lastclust)) {
sys/arch/macppc/stand/ofwboot/ofdev.c
210
a_part->p_fstype = fstype;
sys/arch/ofppc/ofppc/disksubr.c
425
adt.fstype = FS_UNUSED;
sys/arch/ofppc/ofppc/disksubr.c
516
pp->p_fstype = adt.fstype;
sys/arch/ofppc/ofppc/disksubr.c
543
adt.fstype = FS_UNUSED;
sys/arch/ofppc/ofppc/disksubr.c
598
adt.fstype = b1;
sys/arch/ofppc/ofppc/disksubr.c
613
adt.fstype = FS_ADOS;
sys/arch/ofppc/ofppc/disksubr.c
618
adt.fstype = FS_UNUSED;
sys/arch/ofppc/ofppc/disksubr.c
620
adt.fstype = FS_ADOS;
sys/arch/ofppc/ofppc/disksubr.c
625
adt.fstype = FS_BSDFFS;
sys/arch/ofppc/ofppc/disksubr.c
627
adt.fstype = FS_UNUSED;
sys/arch/ofppc/ofppc/disksubr.c
649
adt.fstype = FS_EX2FS;
sys/arch/ofppc/ofppc/disksubr.c
653
adt.fstype = FS_RAID;
sys/arch/ofppc/ofppc/disksubr.c
657
adt.fstype = FS_MSDOS;
sys/arch/ofppc/ofppc/disksubr.c
665
adt.fstype = FS_UNUSED;
sys/arch/ofppc/stand/ofwboot/rdb.c
101
adt.fstype = FS_RAID;
sys/arch/ofppc/stand/ofwboot/rdb.c
105
adt.fstype = FS_MSDOS;
sys/arch/ofppc/stand/ofwboot/rdb.c
109
adt.fstype = FS_UNUSED;
sys/arch/ofppc/stand/ofwboot/rdb.c
248
pp->p_fstype = adt.fstype;
sys/arch/ofppc/stand/ofwboot/rdb.c
64
adt.fstype = b1;
sys/arch/ofppc/stand/ofwboot/rdb.c
79
adt.fstype = FS_BSDFFS;
sys/arch/ofppc/stand/ofwboot/rdb.c
81
adt.fstype = FS_UNUSED;
sys/arch/ofppc/stand/ofwboot/rdb.c
97
adt.fstype = FS_EX2FS;
sys/arch/sh3/sh3/disksubr.c
226
uint16_t *start, *end, *fstype;
sys/arch/sh3/sh3/disksubr.c
232
fstype = (uint16_t *)&tdl.d_partitions[i].p_fstype;
sys/arch/sh3/sh3/disksubr.c
233
*fstype = bswap16(*fstype);
sys/arch/x68k/stand/boot_ufs/bootmain.c
323
B_PUTC(ufs_info.fstype == UFSTYPE_FFS ?
sys/arch/x68k/stand/boot_ufs/readufs.h
75
} fstype;
sys/arch/x68k/stand/boot_ufs/readufs_ffs.c
92
fsi.fstype = UFSTYPE_FFS;
sys/arch/x68k/stand/boot_ufs/readufs_lfs.c
148
fsi.fstype = UFSTYPE_LFS;
sys/arch/x68k/x68k/disksubr.c
171
u_char fstype;
sys/arch/x68k/x68k/disksubr.c
182
fstype = FS_UNUSED;
sys/arch/x68k/x68k/disksubr.c
186
fstype = FS_MSDOS;
sys/arch/x68k/x68k/disksubr.c
189
fstype = FS_BSDFFS;
sys/arch/x68k/x68k/disksubr.c
192
fstype = FS_BSDLFS;
sys/arch/x68k/x68k/disksubr.c
195
fstype = FS_SWAP;
sys/arch/x68k/x68k/disksubr.c
198
fstype = FS_SWAP;
sys/arch/x68k/x68k/disksubr.c
201
fstype = FS_BSDFFS; /* XXX */
sys/arch/x68k/x68k/disksubr.c
202
lp->d_partitions[part].p_fstype = fstype; /* XXX */
sys/dev/dkwedge/dkwedge_bsdlabel.c
145
bsdlabel_fstype_to_str(uint8_t fstype)
sys/dev/dkwedge/dkwedge_bsdlabel.c
153
switch (fstype) {
sys/fs/puffs/puffs_vfsops.c
196
(void)strlcpy(fstype, PUFFS_TYPEPREFIX, sizeof(fstype));
sys/fs/puffs/puffs_vfsops.c
197
(void)strlcat(fstype, args->pa_typename, sizeof(fstype));
sys/fs/puffs/puffs_vfsops.c
205
(void)strlcpy(args->pa_typename, fstype, sizeof(args->pa_typename));
sys/fs/puffs/puffs_vfsops.c
208
UIO_SYSSPACE, fstype, mp, curlwp);
sys/fs/puffs/puffs_vfsops.c
98
char fstype[_VFS_NAMELEN];
sys/kern/vfs_init.c
484
long fstype;
sys/kern/vfs_init.c
491
fstype = makefstype(vfs->vfs_name);
sys/kern/vfs_init.c
492
if (fstype == makefstype(v->vfs_name)) {
sys/kern/vfs_init.c
496
vfs->vfs_name, fstype, v->vfs_name);
sys/kern/vfs_syscalls.c
464
mount_get_vfsops(const char *fstype, enum uio_seg type_seg,
sys/kern/vfs_syscalls.c
472
error = copyinstr(fstype, fstypename, sizeof(fstypename),
sys/kern/vfs_syscalls.c
475
error = copystr(fstype, fstypename, sizeof(fstypename), NULL);
sys/kern/vfs_syscalls.c
486
u_long fsindex = (u_long)fstype;
sys/stand/efiboot/boot.c
492
set_default_fstype(int fstype)
sys/stand/efiboot/boot.c
494
default_fstype = fstype;
sys/stand/efiboot/efiblock.c
365
uint8_t fstype;
sys/stand/efiboot/efiblock.c
381
uint8_t fstype = FS_UNUSED;
sys/stand/efiboot/efiblock.c
389
fstype = gpt_guid_to_str[n].fstype;
sys/stand/efiboot/efiblock.c
392
if (fstype == FS_UNUSED)
sys/stand/efiboot/efiblock.c
399
bpart->gpt.fstype = fstype;
sys/stand/efiboot/efiblock.c
401
if (fstype == FS_RAID) {
sys/stand/efiboot/efiblock.c
524
uint8_t fstype = FS_UNUSED;
sys/stand/efiboot/efiblock.c
527
fstype = bpart->disklabel.part.p_fstype;
sys/stand/efiboot/efiblock.c
530
fstype = bpart->gpt.fstype;
sys/stand/efiboot/efiblock.c
533
fstype = FS_ISO9660;
sys/stand/efiboot/efiblock.c
536
if (fstype == FS_BSDFFS || fstype == FS_ISO9660 || fstype == FS_RAID) {
sys/stand/efiboot/efiblock.c
540
set_default_fstype(fstype);
sys/stand/efiboot/efiblock.c
620
printf("%s\n", fstypenames[bpart->gpt.fstype]);
sys/stand/efiboot/efiblock.h
59
uint8_t fstype;
sys/sys/disklabel_rdb.h
216
uint8_t fstype; /* byte 3 from amiga dostype */
sys/ufs/ffs/ffs_vfsops.c
1176
int blks, fstype = 0;
sys/ufs/ffs/ffs_vfsops.c
1255
fstype = UFS1;
sys/ufs/ffs/ffs_vfsops.c
1260
fstype = UFS1;
sys/ufs/ffs/ffs_vfsops.c
1265
fstype = UFS2;
sys/ufs/ffs/ffs_vfsops.c
1270
fstype = UFS2;
sys/ufs/ffs/ffs_vfsops.c
1277
if (fstype == UFS1 && !(fs->fs_old_flags & FS_FLAGS_UPDATED)) {
sys/ufs/ffs/ffs_vfsops.c
1391
ump->um_fstype = fstype;
tests/fs/common/h_fsmacros.h
246
const char *fstype;
tests/fs/common/h_fsmacros.h
259
fstype = atf_tc_get_config_var(tc, "fstype");
tests/fs/common/h_fsmacros.h
260
if (strcmp(fstype, fs) == 0)
tests/fs/vfs/t_vfsops.c
54
const char *fstype = atf_tc_get_md_var(tc, "X-fs.mntname");
tests/fs/vfs/t_vfsops.c
62
ATF_REQUIRE_STREQ(svb.f_fstypename, fstype);
usr.bin/find/function.c
1060
static char fstype[sizeof(sb.f_fstypename)];
usr.bin/find/function.c
1102
strlcpy(fstype, sb.f_fstypename, sizeof(fstype));
usr.bin/find/function.c
1108
return (strncmp(fstype, plan->c_data, sizeof(fstype)) == 0);
usr.sbin/autofs/automountd.c
173
char *key, *options, *fstype, *nobrowse, *retrycnt, *tmp;
usr.sbin/autofs/automountd.c
318
fstype = pick_option("fstype=", &options);
usr.sbin/autofs/automountd.c
319
if (fstype == NULL) {
usr.sbin/autofs/automountd.c
322
fstype = checked_strdup("nfs");
usr.sbin/autofs/automountd.c
326
if (strcmp(fstype, "nfs") == 0) {
usr.sbin/autofs/automountd.c
347
assert(!strcmp(fstype, "nfs"));
usr.sbin/autofs/automountd.c
351
f = auto_popen("mount", "-t", fstype, "-o", options,
usr.sbin/fstyp/hammer.c
51
static hammer_uuid_t fsid, fstype;
usr.sbin/fstyp/hammer.c
69
memcpy(&fstype, &ondisk->vol_fstype, sizeof(fstype));
usr.sbin/fstyp/hammer.c
76
if (!uuid_equal(&ondisk->vol_fstype, &fstype, NULL))
usr.sbin/fstyp/hammer2.c
117
memcpy(&fstype, &voldata->fstype, sizeof(fstype));
usr.sbin/fstyp/hammer2.c
127
if (!uuid_equal(&fstype, &voldata->fstype, NULL)) {
usr.sbin/fstyp/hammer2.c
90
static uuid_t fsid, fstype;
usr.sbin/fstyp/hammer2_disk.h
1188
uuid_t fstype; /* 0050 */
usr.sbin/installboot/arch/hp300.c
125
if (strcmp(params->fstype->name, "cd9660") != 0) {
usr.sbin/installboot/arch/hp300.c
127
params->fstype->name);
usr.sbin/installboot/arch/hp300.c
151
if (!params->fstype->findstage2(params, &nblk, blocks))
usr.sbin/installboot/arch/hp300.c
164
boot_offset = blocks[0].block * params->fstype->blocksize;
usr.sbin/installboot/bbinfo.c
157
assert(params->fstype != NULL);
usr.sbin/installboot/bbinfo.c
248
if (! params->fstype->findstage2(params, &nblk, blocks))
usr.sbin/installboot/cd9660.c
101
params->fstype->blocksize = blocksize;
usr.sbin/installboot/cd9660.c
102
params->fstype->needswap = 0;
usr.sbin/installboot/cd9660.c
72
assert(params->fstype != NULL);
usr.sbin/installboot/ext2fs.c
211
assert(params->fstype != NULL);
usr.sbin/installboot/ext2fs.c
239
EXT2_FSBTODB(fs, ino_to_fsba(fs, ino)) + params->fstype->offset,
usr.sbin/installboot/ext2fs.c
291
EXT2_FSBTODB(fs, blk) + params->fstype->offset,
usr.sbin/installboot/ext2fs.c
307
EXT2_FSBTODB(fs, blk) + params->fstype->offset, fs->e2fs_bsize);
usr.sbin/installboot/ext2fs.c
337
assert(params->fstype != NULL);
usr.sbin/installboot/ext2fs.c
406
assert(params->fstype != NULL);
usr.sbin/installboot/ext2fs.c
413
params->fstype->needswap = 0;
usr.sbin/installboot/ext2fs.c
414
params->fstype->blocksize = fs->e2fs_bsize;
usr.sbin/installboot/ext2fs.c
415
params->fstype->offset = 0;
usr.sbin/installboot/ffs.c
139
assert(params->fstype != NULL);
usr.sbin/installboot/ffs.c
144
if (!ffs_read_disk_block(params, params->fstype->sblockloc, SBLOCKSIZE,
usr.sbin/installboot/ffs.c
149
if (params->fstype->needswap)
usr.sbin/installboot/ffs.c
161
FFS_FSBTODB(fs, ino_to_fsba(fs, ino)) + params->fstype->offset,
usr.sbin/installboot/ffs.c
167
if (params->fstype->needswap)
usr.sbin/installboot/ffs.c
200
if (params->fstype->needswap)
usr.sbin/installboot/ffs.c
218
FFS_FSBTODB(fs, blk) + params->fstype->offset,
usr.sbin/installboot/ffs.c
234
FFS_FSBTODB(fs, blk) + params->fstype->offset,
usr.sbin/installboot/ffs.c
276
assert(params->fstype != NULL);
usr.sbin/installboot/ffs.c
281
if (!ffs_read_disk_block(params, params->fstype->sblockloc, SBLOCKSIZE,
usr.sbin/installboot/ffs.c
286
if (params->fstype->needswap)
usr.sbin/installboot/ffs.c
298
FFS_FSBTODB(fs, ino_to_fsba(fs, ino)) + params->fstype->offset,
usr.sbin/installboot/ffs.c
304
if (params->fstype->needswap)
usr.sbin/installboot/ffs.c
337
if (params->fstype->needswap)
usr.sbin/installboot/ffs.c
355
FFS_FSBTODB(fs, blk) + params->fstype->offset,
usr.sbin/installboot/ffs.c
370
FFS_FSBTODB(fs, blk) + params->fstype->offset,
usr.sbin/installboot/ffs.c
401
assert(params->fstype != NULL);
usr.sbin/installboot/ffs.c
418
if (params->fstype->needswap) {
usr.sbin/installboot/ffs.c
496
assert(params->fstype != NULL);
usr.sbin/installboot/ffs.c
509
params->fstype->needswap = 0;
usr.sbin/installboot/ffs.c
510
params->fstype->blocksize = fs->fs_bsize;
usr.sbin/installboot/ffs.c
511
params->fstype->sblockloc = loc;
usr.sbin/installboot/ffs.c
512
params->fstype->offset = offset;
usr.sbin/installboot/ffs.c
520
params->fstype->needswap = 1;
usr.sbin/installboot/ffs.c
521
params->fstype->blocksize = bswap32(fs->fs_bsize);
usr.sbin/installboot/ffs.c
522
params->fstype->sblockloc = loc;
usr.sbin/installboot/ffs.c
523
params->fstype->offset = offset;
usr.sbin/installboot/fstypes.c
104
nblk = s2sb.st_size / params->fstype->blocksize;
usr.sbin/installboot/fstypes.c
105
if (s2sb.st_size % params->fstype->blocksize != 0)
usr.sbin/installboot/fstypes.c
109
params->stage2, s2sb.st_size, params->fstype->blocksize, nblk);
usr.sbin/installboot/fstypes.c
120
i * (params->fstype->blocksize / params->sectorsize);
usr.sbin/installboot/fstypes.c
121
blocks[i].blocksize = params->fstype->blocksize;
usr.sbin/installboot/fstypes.c
134
assert(params->fstype != NULL);
usr.sbin/installboot/fstypes.c
136
params->fstype->blocksize = 8192; // XXX: hardcode
usr.sbin/installboot/fstypes.c
92
assert(params->fstype != NULL);
usr.sbin/installboot/fstypes.c
93
assert(params->fstype->blocksize != 0);
usr.sbin/installboot/installboot.c
288
if (params->fstype != NULL) {
usr.sbin/installboot/installboot.c
289
if (! params->fstype->match(params))
usr.sbin/installboot/installboot.c
291
params->filesystem, params->fstype->name);
usr.sbin/installboot/installboot.c
294
params->fstype = &fstypes[0];
usr.sbin/installboot/installboot.c
295
while (params->fstype->name != NULL &&
usr.sbin/installboot/installboot.c
296
!params->fstype->match(params))
usr.sbin/installboot/installboot.c
297
params->fstype++;
usr.sbin/installboot/installboot.c
298
if (params->fstype->name == NULL)
usr.sbin/installboot/installboot.c
333
if (params->fstype)
usr.sbin/installboot/installboot.c
336
params->fstype->name, params->fstype->blocksize,
usr.sbin/installboot/installboot.c
337
params->fstype->needswap);
usr.sbin/installboot/installboot.c
582
getfstype(ib_params *param, const char *fstype, const char *provider)
usr.sbin/installboot/installboot.c
587
assert(fstype != NULL);
usr.sbin/installboot/installboot.c
591
if (strcmp(fstypes[i].name, fstype) == 0) {
usr.sbin/installboot/installboot.c
592
param->fstype = &fstypes[i];
usr.sbin/installboot/installboot.c
596
warnx("Invalid file system type `%s' from %s", fstype, provider);
usr.sbin/installboot/installboot.h
86
struct ib_fs *fstype; /* file system details (see below) */
usr.sbin/makefs/makefs.c
101
fstype_t *fstype;
usr.sbin/makefs/makefs.c
111
if ((fstype = get_fstype(DEFAULT_FSTYPE)) == NULL)
usr.sbin/makefs/makefs.c
120
if (fstype->prepare_options)
usr.sbin/makefs/makefs.c
121
fstype->prepare_options(&fsoptions);
usr.sbin/makefs/makefs.c
153
usage(fstype, &fsoptions);
usr.sbin/makefs/makefs.c
226
if (! fstype->parse_options(p, &fsoptions))
usr.sbin/makefs/makefs.c
227
usage(fstype, &fsoptions);
usr.sbin/makefs/makefs.c
249
if (fstype->cleanup_options)
usr.sbin/makefs/makefs.c
250
fstype->cleanup_options(&fsoptions);
usr.sbin/makefs/makefs.c
252
if ((fstype = get_fstype(optarg)) == NULL)
usr.sbin/makefs/makefs.c
255
fstype->prepare_options(&fsoptions);
usr.sbin/makefs/makefs.c
274
usage(fstype, &fsoptions);
usr.sbin/makefs/makefs.c
289
usage(fstype, &fsoptions);
usr.sbin/makefs/makefs.c
328
fstype->make_fs(argv[0], argv[1], root, &fsoptions);
usr.sbin/makefs/makefs.c
512
usage(fstype_t *fstype, fsinfo_t *fsoptions)
usr.sbin/makefs/makefs.c
529
if (fstype) {
usr.sbin/makefs/makefs.c
533
fprintf(stderr, "\n%s specific options:\n", fstype->type);
usr.sbin/sysinst/disklabel.c
700
unsigned long fstype;
usr.sbin/sysinst/disklabel.c
702
fstype = strtoul(custom, &endp, 10);
usr.sbin/sysinst/disklabel.c
709
return disklabel_find_type(fstype, true);
usr.sbin/sysinst/disklabel.c
713
disklabel_get_fs_part_type(enum part_type pt, unsigned fstype, unsigned subtype)
usr.sbin/sysinst/disklabel.c
715
return disklabel_find_type(fstype, false);
usr.sbin/sysinst/disklabel.c
749
unsigned *fstype, unsigned *fs_sub_type)
usr.sbin/sysinst/disklabel.c
752
*fstype = dl_part_type_from_generic(nat_type);
usr.sbin/sysinst/disklabel.c
754
if (*fstype == FS_BSDFFS)
usr.sbin/sysinst/disks.c
1528
const char *fstype = "ffs";
usr.sbin/sysinst/disks.c
1554
fstype = "lfs";
usr.sbin/sysinst/disks.c
1561
fstype = "msdos";
usr.sbin/sysinst/disks.c
1597
fstype = "sysvbfs";
usr.sbin/sysinst/disks.c
1601
fstype = "???";
usr.sbin/sysinst/disks.c
1612
s, dev, mp, fstype,
usr.sbin/sysinst/disks.c
2226
int fstype = -1;
usr.sbin/sysinst/disks.c
2234
fstype = install->infos[i].fs_type;
usr.sbin/sysinst/disks.c
2238
if (fstype < 0) {
usr.sbin/sysinst/disks.c
2242
fstype = install->infos[i].fs_type;
usr.sbin/sysinst/disks.c
2249
switch (fstype) {
usr.sbin/sysinst/gpt.c
100
{ .name = "windows", .fstype = FS_MSDOS, .ptype = PT_FAT,
usr.sbin/sysinst/gpt.c
102
{ .name = "windows", .fstype = FS_NTFS, .ptype = PT_FAT,
usr.sbin/sysinst/gpt.c
104
{ .name = "efi", .fstype = FS_MSDOS, .ptype = PT_EFI_SYSTEM,
usr.sbin/sysinst/gpt.c
106
{ .name = "efi", .fstype = FS_EFI_SP, .ptype = PT_EFI_SYSTEM,
usr.sbin/sysinst/gpt.c
108
{ .name = "bios", .fstype = FS_MSDOS, .ptype = PT_FAT,
usr.sbin/sysinst/gpt.c
110
{ .name = "lfs", .fstype = FS_BSDLFS, .ptype = PT_root },
usr.sbin/sysinst/gpt.c
111
{ .name = "linux-data", .fstype = FS_EX2FS, .ptype = PT_root },
usr.sbin/sysinst/gpt.c
112
{ .name = "apple", .fstype = FS_HFS, .ptype = PT_unknown },
usr.sbin/sysinst/gpt.c
113
{ .name = "ccd", .fstype = FS_CCD, .ptype = PT_root },
usr.sbin/sysinst/gpt.c
114
{ .name = "cgd", .fstype = FS_CGD, .ptype = PT_root },
usr.sbin/sysinst/gpt.c
115
{ .name = "raid", .fstype = FS_RAID, .ptype = PT_root },
usr.sbin/sysinst/gpt.c
116
{ .name = "vmcore", .fstype = FS_VMKCORE, .ptype = PT_unknown },
usr.sbin/sysinst/gpt.c
117
{ .name = "vmfs", .fstype = FS_VMFS, .ptype = PT_unknown },
usr.sbin/sysinst/gpt.c
118
{ .name = "vmresered", .fstype = FS_VMWRESV, .ptype = PT_unknown },
usr.sbin/sysinst/gpt.c
119
{ .name = "zfs", .fstype = FS_ZFS, .ptype = PT_root },
usr.sbin/sysinst/gpt.c
1351
bsdlabel_fstype_to_str(uint8_t fstype)
usr.sbin/sysinst/gpt.c
1359
switch (fstype) {
usr.sbin/sysinst/gpt.c
799
t->default_fs_type = gpt_fs_types[i].fstype;
usr.sbin/sysinst/gpt.c
93
uint fstype;
usr.sbin/sysinst/gpt.c
949
gpt_get_fs_part_type(enum part_type pt, unsigned fstype, unsigned fs_sub_type)
usr.sbin/sysinst/gpt.c
955
if (fstype == gpt_fs_types[i].fstype &&
usr.sbin/sysinst/gpt.c
961
if (fstype == gpt_fs_types[i].fstype)
usr.sbin/sysinst/gpt.c
969
unsigned *fstype, unsigned *fs_sub_type)
usr.sbin/sysinst/gpt.c
97
{ .name = "ffs", .fstype = FS_BSDFFS, .ptype = PT_root,
usr.sbin/sysinst/gpt.c
977
*fstype = gtype->default_fs_type;
usr.sbin/sysinst/gpt.c
99
{ .name = "swap", .fstype = FS_SWAP, .ptype = PT_swap },
usr.sbin/sysinst/label.c
1355
const char *fstype, *flags;
usr.sbin/sysinst/label.c
1392
fstype = msg_string(MSG_ptnheaders_fstype);
usr.sbin/sysinst/label.c
1394
fstype_width = max(strlen(fstype), 8);
usr.sbin/sysinst/label.c
1408
" %s", scol, ecol, szcol, fstype_width, fstype,
usr.sbin/sysinst/partitions.h
270
unsigned *fstype, unsigned *fs_sub_type);
usr.sbin/sysinst/partman.c
2373
pm_setfstype(struct pm_devs *pm_cur, part_id id, int fstype, int fs_subtype)
usr.sbin/sysinst/partman.c
2381
fstype, fs_subtype);
usr.sbin/sysinst/partman.c
2384
info.fs_type = fstype;
usr.sbin/sysinst/partman.c
2850
const char *mount_point, *fstype;
usr.sbin/sysinst/partman.c
2880
fstype = getfslabelname(info.fs_type,
usr.sbin/sysinst/partman.c
2884
info.last_mounted, fstype,
usr.sbin/sysinst/partman.c
2889
if (fstype != NULL) {
usr.sbin/sysinst/partman.c
2891
strlcat(dev, fstype, sizeof(dev));