/src/sys/arch/ews4800mips/stand/common/ |
local.h | 45 enum fstype { enum 63 int fstype(int);
|
diskutil.c | 87 switch (fstype(i)) { 126 fstype(int partition) function in typeref:typename:int
|
devopen.c | 136 enum fstype fs; 149 fs = fstype(partition);
|
/src/usr.sbin/installboot/ |
fstypes.c | 92 assert(params->fstype != NULL); 93 assert(params->fstype->blocksize != 0); 104 nblk = s2sb.st_size / params->fstype->blocksize; 105 if (s2sb.st_size % params->fstype->blocksize != 0) 109 params->stage2, s2sb.st_size, params->fstype->blocksize, nblk); 120 i * (params->fstype->blocksize / params->sectorsize); 121 blocks[i].blocksize = params->fstype->blocksize; 134 assert(params->fstype != NULL); 136 params->fstype->blocksize = 8192; // XXX: hardcode
|
ffs.c | 139 assert(params->fstype != NULL); 144 if (!ffs_read_disk_block(params, params->fstype->sblockloc, SBLOCKSIZE, 149 if (params->fstype->needswap) 161 FFS_FSBTODB(fs, ino_to_fsba(fs, ino)) + params->fstype->offset, 167 if (params->fstype->needswap) 200 if (params->fstype->needswap) 218 FFS_FSBTODB(fs, blk) + params->fstype->offset, 234 FFS_FSBTODB(fs, blk) + params->fstype->offset, 276 assert(params->fstype != NULL); 281 if (!ffs_read_disk_block(params, params->fstype->sblockloc, SBLOCKSIZE [all...] |
installboot.c | 288 if (params->fstype != NULL) { 289 if (! params->fstype->match(params)) 291 params->filesystem, params->fstype->name); 294 params->fstype = &fstypes[0]; 295 while (params->fstype->name != NULL && 296 !params->fstype->match(params)) 297 params->fstype++; 298 if (params->fstype->name == NULL) 333 if (params->fstype) 336 params->fstype->name, params->fstype->blocksize [all...] |
ext2fs.c | 211 assert(params->fstype != NULL); 239 EXT2_FSBTODB(fs, ino_to_fsba(fs, ino)) + params->fstype->offset, 291 EXT2_FSBTODB(fs, blk) + params->fstype->offset, 307 EXT2_FSBTODB(fs, blk) + params->fstype->offset, fs->e2fs_bsize); 337 assert(params->fstype != NULL); 406 assert(params->fstype != NULL); 413 params->fstype->needswap = 0; 414 params->fstype->blocksize = fs->e2fs_bsize; 415 params->fstype->offset = 0;
|
cd9660.c | 72 assert(params->fstype != NULL); 101 params->fstype->blocksize = blocksize; 102 params->fstype->needswap = 0;
|
/src/usr.sbin/makefs/ |
makefs.c | 101 fstype_t *fstype; local in function:main 111 if ((fstype = get_fstype(DEFAULT_FSTYPE)) == NULL) 120 if (fstype->prepare_options) 121 fstype->prepare_options(&fsoptions); 153 usage(fstype, &fsoptions); 226 if (! fstype->parse_options(p, &fsoptions)) 227 usage(fstype, &fsoptions); 249 if (fstype->cleanup_options) 250 fstype->cleanup_options(&fsoptions); 252 if ((fstype = get_fstype(optarg)) == NULL [all...] |
/src/sys/arch/i386/stand/lib/ |
biosdisk.h | 33 int fstype; member in struct:biosdisk_partition
|
biosdisk.c | 423 d->part[j].fstype = FS_BSDFFS; 425 d->part[j].fstype = FS_BSDLFS; 427 d->part[j].fstype = FS_RAID; 429 d->part[j].fstype = FS_SWAP; 431 d->part[j].fstype = FS_CCD; 433 d->part[j].fstype = FS_CGD; 435 d->part[j].fstype = FS_OTHER; 541 d->part[part].fstype = lp->d_partitions[part].p_fstype; 642 d->part[0].fstype = FS_ISO9660; 899 if (d->part[part].fstype == FS_UNUSED [all...] |
/src/sys/arch/i386/stand/efiboot/ |
efidisk.c | 265 if (part[i].fstype == FS_UNUSED) 267 if (part[i].fstype == FS_RAID) { 281 else if (part[i].fstype < FSMAXTYPES) 282 printf("%s", fstypenames[part[i].fstype]); 284 printf("%d", part[i].fstype); 322 if (part[j].fstype == FS_UNUSED) 324 if (part[j].fstype == FS_RAID) /* raid in raid? */ 337 else if (part[j].fstype < FSMAXTYPES) 339 fstypenames[part[j].fstype]); 341 printf("%d", part[j].fstype); [all...] |
/src/common/lib/libutil/ |
getfstypename.c | 59 getfstypename(int fstype) 65 switch ((enum fstype_enum)fstype) {
|
/src/sys/arch/ofppc/stand/ofwboot/ |
rdb.c | 64 adt.fstype = b1; 79 adt.fstype = FS_BSDFFS; 81 adt.fstype = FS_UNUSED; 97 adt.fstype = FS_EX2FS; 101 adt.fstype = FS_RAID; 105 adt.fstype = FS_MSDOS; 109 adt.fstype = FS_UNUSED; 241 /* get partition size, offset, fstype */ 248 pp->p_fstype = adt.fstype;
|
/src/sys/stand/efiboot/ |
efiblock.c | 365 uint8_t fstype; member in struct:__anon8dda5ceb0108 381 uint8_t fstype = FS_UNUSED; local in function:efi_block_find_partitions_gpt_entry 389 fstype = gpt_guid_to_str[n].fstype; 392 if (fstype == FS_UNUSED) 399 bpart->gpt.fstype = fstype; 401 if (fstype == FS_RAID) { 524 uint8_t fstype = FS_UNUSED; local in function:efi_block_probe 527 fstype = bpart->disklabel.part.p_fstype [all...] |
efiblock.h | 59 uint8_t fstype; member in struct:efi_block_part_gpt
|
/src/sys/arch/macppc/macppc/ |
disksubr.c | 167 whichType(struct part_map_entry *part, u_int8_t *fstype, int *clust) 175 *fstype = FS_OTHER; 201 *fstype = bzb->bzbType; 203 *fstype = FS_BSDFFS; 210 *fstype = bzb->bzbType; 212 *fstype = FS_BSDFFS; 221 *fstype = FS_BSDFFS; 224 *fstype = FS_BSDFFS; 227 *fstype = FS_SWAP; 230 *fstype = FS_OTHER [all...] |
/src/distrib/utils/embedded/files/ |
creds_msdos | 139 while read junk1 mp fstype junk2; do 143 if [ "${fstype}" != "msdos" ]; then
|
/src/sys/arch/macppc/stand/ofwboot/ |
ofdev.c | 150 u_int8_t fstype; local in function:check_apm_root 153 fstype = 0; 166 fstype = bzb->bzbType; 168 fstype = FS_BSDFFS; 172 fstype = FS_BSDFFS; 175 return fstype; 190 u_int8_t fstype; local in function:search_mac_label 205 fstype = check_apm_root(pme, &clust); 207 if (fstype && (lastclust == -1 || clust < lastclust)) { 210 a_part->p_fstype = fstype; [all...] |
/src/usr.sbin/autofs/ |
automountd.c | 82 * Remove "fstype=whatever" from optionsp and return the "whatever" part. 173 char *key, *options, *fstype, *nobrowse, *retrycnt, *tmp; local in function:handle_request 316 * Figure out fstype. 318 fstype = pick_option("fstype=", &options); 319 if (fstype == NULL) { 320 log_debugx("fstype not specified in options; " 322 fstype = checked_strdup("nfs"); 326 if (strcmp(fstype, "nfs") == 0) { 347 assert(!strcmp(fstype, "nfs")) [all...] |
/src/sys/arch/amiga/amiga/ |
disksubr.c | 350 adt.fstype = FS_UNUSED; 438 pp->p_fstype = adt.fstype; 465 adt.fstype = FS_UNUSED; 471 } else if (adt.fstype == FS_ISO9660) { 565 adt.fstype = b1; 580 adt.fstype = FS_ADOS; 585 adt.fstype = FS_UNUSED; 587 adt.fstype = FS_ADOS; 593 adt.fstype = FS_BSDFFS; 595 adt.fstype = FS_UNUSED [all...] |
/src/sys/arch/ofppc/ofppc/ |
disksubr.c | 425 adt.fstype = FS_UNUSED; 516 pp->p_fstype = adt.fstype; 543 adt.fstype = FS_UNUSED; 598 adt.fstype = b1; 613 adt.fstype = FS_ADOS; 618 adt.fstype = FS_UNUSED; 620 adt.fstype = FS_ADOS; 625 adt.fstype = FS_BSDFFS; 627 adt.fstype = FS_UNUSED; 649 adt.fstype = FS_EX2FS [all...] |
/src/sys/arch/x68k/x68k/ |
disksubr.c | 171 u_char fstype; local in function:readdisklabel 182 fstype = FS_UNUSED; 186 fstype = FS_MSDOS; 189 fstype = FS_BSDFFS; 192 fstype = FS_BSDLFS; 195 fstype = FS_SWAP; 198 fstype = FS_SWAP; 201 fstype = FS_BSDFFS; /* XXX */ 202 lp->d_partitions[part].p_fstype = fstype; /* XXX */
|
/src/sys/arch/macppc/stand/installboot/ |
installboot.c | 80 params->fstype = &cd9660_fstype; 86 if (!params->fstype->match(params)) 88 params->filesystem, params->fstype->name); 182 if (!params->fstype->findstage2(params, &nblk, blocks)) { 190 block = blocks[blk_i].block * (params->fstype->blocksize / 512);
|
/src/sbin/gpt/ |
migrate.c | 122 freebsd_fstype_to_gpt_type(gpt_t gpt, u_int i __unused, u_int fstype) 124 switch (fstype) { 136 gpt_warnx(gpt, "Unknown FreeBSD partition (%d)", fstype); 142 netbsd_fstype_to_gpt_type(gpt_t gpt, u_int i, u_int fstype) 144 switch (fstype) { 165 "using \"Microsoft Basic Data\"", i, fstypename(fstype));
|