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

123

/netbsd-6-1-5-RELEASE/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
H A Ddevopen.c136 enum fstype fs;
149 fs = fstype(partition);
/netbsd-6-1-5-RELEASE/usr.sbin/installboot/
H A Dfstypes.c70 assert(params->fstype != NULL);
71 assert(params->fstype->blocksize != 0);
82 nblk = s2sb.st_size / params->fstype->blocksize;
83 if (s2sb.st_size % params->fstype->blocksize != 0)
87 params->stage2, s2sb.st_size, params->fstype->blocksize, nblk);
98 i * (params->fstype->blocksize / params->sectorsize);
99 blocks[i].blocksize = params->fstype->blocksize;
112 assert(params->fstype != NULL);
114 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 fsbtodb(fs, ino_to_fsba(fs, ino)) + params->fstype->offset,
167 if (params->fstype->needswap)
200 if (params->fstype->needswap)
218 fsbtodb(fs, blk) + params->fstype->offset,
234 fsbtodb(fs, blk) + params->fstype->offset,
276 assert(params->fstype != NULL);
281 if (!ffs_read_disk_block(params, params->fstype
[all...]
H A Dinstallboot.c247 if (params->fstype != NULL) {
248 if (! params->fstype->match(params))
250 params->filesystem, params->fstype->name);
253 params->fstype = &fstypes[0];
254 while (params->fstype->name != NULL &&
255 !params->fstype->match(params))
256 params->fstype++;
257 if (params->fstype->name == NULL)
276 if (params->fstype)
279 params->fstype
514 getfstype(ib_params *param, const char *fstype, const char *provider) argument
[all...]
H A Dext2fs.c211 assert(params->fstype != NULL);
239 fsbtodb(fs, ino_to_fsba(fs, ino)) + params->fstype->offset,
291 fsbtodb(fs, blk) + params->fstype->offset,
307 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-6-1-5-RELEASE/etc/rc.d/
H A Drandom_seed26 fstype=$(df -G $1 | awk '$2 == "fstype" {print $1}')
27 case $fstype in
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Dsun_map.h74 char *fstype; /* filesystem type */ member in struct:sun_mountpt
83 char *fstype; /* filesystem type */ member in struct:sun_entry
H A Dsun_map.c393 /* set fstype NFS */
438 /* set fstype CDFS */
564 if (s_entry->fstype != NULL) {
565 if (NSTREQ(s_entry->fstype, SUN_NFS_TYPE, strlen(SUN_NFS_TYPE))) {
570 else if (NSTREQ(s_entry->fstype, SUN_HSFS_TYPE, strlen(SUN_HSFS_TYPE))) {
578 else if (NSTREQ(s_entry->fstype, SUN_AUTOFS_TYPE, strlen(SUN_AUTOFS_TYPE))) {
580 plog(XLOG_ERROR, "Sun fstype %s is currently not supported by Amd.",
581 s_entry->fstype);
585 else if (NSTREQ(s_entry->fstype, SUN_CACHEFS_TYPE, strlen(SUN_CACHEFS_TYPE))) {
587 plog(XLOG_ERROR, "Sun fstype
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/sys/
H A Dmount.h50 char *fstype; member in struct:zfs_args
60 zmount(const char *spec, const char *dir, int mflag, char *fstype,
H A Dvfs.h128 char *fstype; /* Unused */ member in struct:mounta
143 int domount(kthread_t *td, vnode_t *vp, const char *fstype, char *fspath,
149 int zfs_vfsinit(int fstype, char *name);
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/usr.sbin/makefs/
H A Dmakefs.c92 fstype_t *fstype; local
101 if ((fstype = get_fstype(DEFAULT_FSTYPE)) == NULL)
109 if (fstype->prepare_options)
110 fstype->prepare_options(&fsoptions);
201 if (! fstype->parse_options(p, &fsoptions))
220 if (fstype->cleanup_options)
221 fstype->cleanup_options(&fsoptions);
223 if ((fstype = get_fstype(optarg)) == NULL)
225 fstype->prepare_options(&fsoptions);
286 fstype
[all...]
/netbsd-6-1-5-RELEASE/common/lib/libutil/
H A Dgetfstypename.c57 getfstypename(int fstype) argument
63 switch ((enum fstype_enum)fstype) {
/netbsd-6-1-5-RELEASE/sys/arch/ofppc/stand/ofwboot/
H A Drdb.c63 adt.fstype = b1;
78 adt.fstype = FS_BSDFFS;
80 adt.fstype = FS_UNUSED;
96 adt.fstype = FS_EX2FS;
100 adt.fstype = FS_RAID;
104 adt.fstype = FS_MSDOS;
108 adt.fstype = FS_UNUSED;
240 /* get partition size, offset, fstype */
247 pp->p_fstype = adt.fstype;
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/sys/arch/macppc/stand/ofwboot/
H A Dofdev.c146 u_int8_t fstype; local
149 fstype = 0;
162 fstype = bzb->bzbType;
164 fstype = FS_BSDFFS;
168 fstype = FS_BSDFFS;
171 return fstype;
186 u_int8_t fstype; local
201 fstype = check_apm_root(pme, &clust);
203 if (fstype && (lastclust == -1 || clust < lastclust)) {
206 a_part->p_fstype = fstype;
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/lib/
H A Dbiosdisk.c104 int fstype; member in struct:biosdisk::__anon5985
281 d->part[j].fstype = FS_BSDFFS;
283 d->part[j].fstype = FS_BSDLFS;
285 d->part[j].fstype = FS_RAID;
287 d->part[j].fstype = FS_SWAP;
289 d->part[j].fstype = FS_OTHER;
365 d->part[part].fstype = lp->d_partitions[part].p_fstype;
638 if (d.part[part].fstype == FS_UNUSED)
645 if (d.part[part].fstype < FSMAXTYPES)
647 fstypenames[d.part[part].fstype]);
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/x68k/x68k/
H A Ddisksubr.c171 u_char fstype; local
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 */
/netbsd-6-1-5-RELEASE/distrib/cdrom/macppc_installboot/
H A Dcd9660.c68 assert(params->fstype != NULL);
97 params->fstype->blocksize = blocksize;
98 params->fstype->needswap = 0;
H A Dinstallboot.h75 struct ib_fs *fstype; /* file system details (see below) */ member in struct:__anon950
/netbsd-6-1-5-RELEASE/sys/arch/amiga/amiga/
H A Ddisksubr.c347 adt.fstype = FS_UNUSED;
433 pp->p_fstype = adt.fstype;
460 adt.fstype = FS_UNUSED;
606 adt.fstype = b1;
621 adt.fstype = FS_ADOS;
626 adt.fstype = FS_UNUSED;
628 adt.fstype = FS_ADOS;
634 adt.fstype = FS_BSDFFS;
636 adt.fstype = FS_UNUSED;
659 adt.fstype
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hp700/stand/xxboot/
H A Dreadufs.h68 } fstype; member in struct:ufs_info
115 #define ufs_get_inode(ino, di) ((ufs_info.fstype == UFSTYPE_FFS) ? \
/netbsd-6-1-5-RELEASE/sys/arch/ofppc/ofppc/
H A Ddisksubr.c426 adt.fstype = FS_UNUSED;
517 pp->p_fstype = adt.fstype;
544 adt.fstype = FS_UNUSED;
599 adt.fstype = b1;
614 adt.fstype = FS_ADOS;
619 adt.fstype = FS_UNUSED;
621 adt.fstype = FS_ADOS;
626 adt.fstype = FS_BSDFFS;
628 adt.fstype = FS_UNUSED;
650 adt.fstype
[all...]

Completed in 248 milliseconds

123