Searched refs:fstype (Results 1 - 25 of 75) sorted by relevance

123

/netbsd-current/sys/arch/ews4800mips/stand/common/
H A Dlocal.h45 enum fstype { enum
63 int fstype(int);
H A Ddiskutil.c87 switch (fstype(i)) {
126 fstype(int partition) function
/netbsd-current/usr.sbin/installboot/
H A Dfstypes.c92 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
H A Dffs.c139 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
[all...]
H A Dinstallboot.c288 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
582 getfstype(ib_params *param, const char *fstype, const char *provider) argument
[all...]
H A Dext2fs.c211 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;
/netbsd-current/external/bsd/am-utils/dist/amd/
H A Dsun_map.h70 char *fstype; /* filesystem type */ member in struct:sun_mountpt
79 char *fstype; /* filesystem type */ member in struct:sun_entry
H A Dsun_map.c383 /* set fstype NFS */
428 /* set fstype CDFS */
554 if (s_entry->fstype != NULL) {
555 if (NSTREQ(s_entry->fstype, SUN_NFS_TYPE, strlen(SUN_NFS_TYPE))) {
560 else if (NSTREQ(s_entry->fstype, SUN_HSFS_TYPE, strlen(SUN_HSFS_TYPE))) {
568 else if (NSTREQ(s_entry->fstype, SUN_AUTOFS_TYPE, strlen(SUN_AUTOFS_TYPE))) {
570 plog(XLOG_ERROR, "Sun fstype %s is currently not supported by Amd.",
571 s_entry->fstype);
575 else if (NSTREQ(s_entry->fstype, SUN_CACHEFS_TYPE, strlen(SUN_CACHEFS_TYPE))) {
577 plog(XLOG_ERROR, "Sun fstype
[all...]
/netbsd-current/external/cddl/osnet/sys/sys/
H A Dmount.h51 char *fstype; member in struct:zfs_args
61 zmount(const char *spec, const char *dir, int mflag, char *fstype,
H A Dvfs.h113 char *fstype; /* Unused */ member in struct:mounta
126 int mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype,
/netbsd-current/external/cddl/osnet/lib/libzfs/
H A Dzmount.c46 zmount(const char *spec, const char *dir, int mflag, char *fstype, argument
63 za.fstype = NULL;
65 return mount(fstype, dir, 0, &za, sizeof(za));
/netbsd-current/usr.sbin/makefs/
H A Dmakefs.c100 fstype_t *fstype; local
110 if ((fstype = get_fstype(DEFAULT_FSTYPE)) == NULL)
119 if (fstype->prepare_options)
120 fstype->prepare_options(&fsoptions);
152 usage(fstype, &fsoptions);
225 if (! fstype->parse_options(p, &fsoptions))
226 usage(fstype, &fsoptions);
248 if (fstype->cleanup_options)
249 fstype->cleanup_options(&fsoptions);
251 if ((fstype
504 usage(fstype_t *fstype, fsinfo_t *fsoptions) argument
[all...]
/netbsd-current/sys/arch/i386/stand/lib/
H A Dbiosdisk.h33 int fstype; member in struct:biosdisk_partition
/netbsd-current/sys/arch/i386/stand/efiboot/
H A Defidisk.c265 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...]
/netbsd-current/external/bsd/kyua-cli/etc/kyua/
H A Dkyua.conf14 --test_suites.NetBSD.fstype = 'ffs'
/netbsd-current/sys/arch/ofppc/stand/ofwboot/
H A Drdb.c64 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;
/netbsd-current/common/lib/libutil/
H A Dgetfstypename.c59 getfstypename(int fstype) argument
65 switch ((enum fstype_enum)fstype) {
/netbsd-current/sys/stand/efiboot/
H A Defiblock.c365 uint8_t fstype; member in struct:__anon1021
381 uint8_t fstype = FS_UNUSED; local
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
527 fstype
[all...]
H A Defiblock.h59 uint8_t fstype; member in struct:efi_block_part_gpt
/netbsd-current/sys/arch/macppc/macppc/
H A Ddisksubr.c167 whichType(struct part_map_entry *part, u_int8_t *fstype, int *clust) argument
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
253 setpartition(struct part_map_entry *part, struct partition *pp, int fstype) argument
[all...]
/netbsd-current/distrib/utils/embedded/files/
H A Dcreds_msdos139 while read junk1 mp fstype junk2; do
143 if [ "${fstype}" != "msdos" ]; then
/netbsd-current/sys/arch/macppc/stand/ofwboot/
H A Dofdev.c150 u_int8_t fstype; local
153 fstype = 0;
166 fstype = bzb->bzbType;
168 fstype = FS_BSDFFS;
172 fstype = FS_BSDFFS;
175 return fstype;
190 u_int8_t fstype; local
205 fstype = check_apm_root(pme, &clust);
207 if (fstype && (lastclust == -1 || clust < lastclust)) {
210 a_part->p_fstype = fstype;
[all...]
/netbsd-current/usr.sbin/autofs/
H A Dautomountd.c82 * Remove "fstype=whatever" from optionsp and return the "whatever" part.
173 char *key, *options, *fstype, *nobrowse, *retrycnt, *tmp; local
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, "nf
[all...]
/netbsd-current/sys/arch/amiga/amiga/
H A Ddisksubr.c350 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
[all...]
/netbsd-current/sys/arch/ofppc/ofppc/
H A Ddisksubr.c425 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
[all...]

Completed in 189 milliseconds

123