HomeSort by: relevance | last modified time | path
    Searched refs:sectorsize (Results 1 - 25 of 189) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/sbin/newfs_ext2fs/
extern.h 40 extern uint sectorsize; /* sector size */
extern.h 40 extern uint sectorsize; /* sector size */
extern.h 40 extern uint sectorsize; /* sector size */
newfs_ext2fs.c 82 #define SMALL_FSSIZE ((4 * 1024 * 1024) / sectorsize) /* 4MB */
84 #define MEDIUM_FSSIZE ((512 * 1024 * 1024) / sectorsize) /* 512MB */
107 uint sectorsize; /* bytes/sector */ variable
167 sectorsize = strsuftoi64("sector size",
169 if (!powerof2(sectorsize))
231 * no label, use fixed default for sectorsize.
233 if (sectorsize == 0)
234 sectorsize = DFL_SECSIZE;
293 if (sectorsize == 0) {
294 sectorsize = geo.dg_secsize
    [all...]
newfs_ext2fs.c 82 #define SMALL_FSSIZE ((4 * 1024 * 1024) / sectorsize) /* 4MB */
84 #define MEDIUM_FSSIZE ((512 * 1024 * 1024) / sectorsize) /* 512MB */
107 uint sectorsize; /* bytes/sector */ variable
167 sectorsize = strsuftoi64("sector size",
169 if (!powerof2(sectorsize))
231 * no label, use fixed default for sectorsize.
233 if (sectorsize == 0)
234 sectorsize = DFL_SECSIZE;
293 if (sectorsize == 0) {
294 sectorsize = geo.dg_secsize
    [all...]
newfs_ext2fs.c 82 #define SMALL_FSSIZE ((4 * 1024 * 1024) / sectorsize) /* 4MB */
84 #define MEDIUM_FSSIZE ((512 * 1024 * 1024) / sectorsize) /* 512MB */
107 uint sectorsize; /* bytes/sector */ variable
167 sectorsize = strsuftoi64("sector size",
169 if (!powerof2(sectorsize))
231 * no label, use fixed default for sectorsize.
233 if (sectorsize == 0)
234 sectorsize = DFL_SECSIZE;
293 if (sectorsize == 0) {
294 sectorsize = geo.dg_secsize
    [all...]
  /src/usr.sbin/makefs/
msdos.c 161 if (fsopts->sectorsize == -1)
162 fsopts->sectorsize = 512;
163 msdos_opt->options.bytes_per_sector = fsopts->sectorsize;
164 } else if (fsopts->sectorsize == -1) {
165 fsopts->sectorsize = msdos_opt->options.bytes_per_sector;
166 } else if (fsopts->sectorsize != msdos_opt->options.bytes_per_sector) {
167 err(EXIT_FAILURE, "inconsistent sectorsize -S %u"
169 fsopts->sectorsize, msdos_opt->options.bytes_per_sector);
msdos.c 161 if (fsopts->sectorsize == -1)
162 fsopts->sectorsize = 512;
163 msdos_opt->options.bytes_per_sector = fsopts->sectorsize;
164 } else if (fsopts->sectorsize == -1) {
165 fsopts->sectorsize = msdos_opt->options.bytes_per_sector;
166 } else if (fsopts->sectorsize != msdos_opt->options.bytes_per_sector) {
167 err(EXIT_FAILURE, "inconsistent sectorsize -S %u"
169 fsopts->sectorsize, msdos_opt->options.bytes_per_sector);
msdos.c 161 if (fsopts->sectorsize == -1)
162 fsopts->sectorsize = 512;
163 msdos_opt->options.bytes_per_sector = fsopts->sectorsize;
164 } else if (fsopts->sectorsize == -1) {
165 fsopts->sectorsize = msdos_opt->options.bytes_per_sector;
166 } else if (fsopts->sectorsize != msdos_opt->options.bytes_per_sector) {
167 err(EXIT_FAILURE, "inconsistent sectorsize -S %u"
169 fsopts->sectorsize, msdos_opt->options.bytes_per_sector);
  /src/usr.sbin/sysinst/arch/hppa/
md.c 96 pm->sectorsize = disklabel.d_secsize;
112 root_limit = HP700_PDC_LIMIT / (unsigned)pm->sectorsize;
133 daddr_t limit = HP700_PDC_LIMIT / (unsigned)pm->sectorsize;
md.c 96 pm->sectorsize = disklabel.d_secsize;
112 root_limit = HP700_PDC_LIMIT / (unsigned)pm->sectorsize;
133 daddr_t limit = HP700_PDC_LIMIT / (unsigned)pm->sectorsize;
md.c 96 pm->sectorsize = disklabel.d_secsize;
112 root_limit = HP700_PDC_LIMIT / (unsigned)pm->sectorsize;
133 daddr_t limit = HP700_PDC_LIMIT / (unsigned)pm->sectorsize;
  /src/sbin/newfs/
newfs.c 155 * sectorsize <= DESFRAGSIZE <= DESBLKSIZE
214 int sectorsize; /* bytes/sector */ variable
325 sectorsize = strsuftoi64("sector size",
327 if (sectorsize & (sectorsize - 1))
474 * no label, use fixed default for sectorsize.
476 if (sectorsize == 0)
477 sectorsize = DFL_SECSIZE;
486 fssize = DFL_FSSIZE / sectorsize;
554 if (sectorsize == 0)
    [all...]
newfs.c 155 * sectorsize <= DESFRAGSIZE <= DESBLKSIZE
214 int sectorsize; /* bytes/sector */ variable
325 sectorsize = strsuftoi64("sector size",
327 if (sectorsize & (sectorsize - 1))
474 * no label, use fixed default for sectorsize.
476 if (sectorsize == 0)
477 sectorsize = DFL_SECSIZE;
486 fssize = DFL_FSSIZE / sectorsize;
554 if (sectorsize == 0)
    [all...]
newfs.c 155 * sectorsize <= DESFRAGSIZE <= DESBLKSIZE
214 int sectorsize; /* bytes/sector */ variable
325 sectorsize = strsuftoi64("sector size",
327 if (sectorsize & (sectorsize - 1))
474 * no label, use fixed default for sectorsize.
476 if (sectorsize == 0)
477 sectorsize = DFL_SECSIZE;
486 fssize = DFL_FSSIZE / sectorsize;
554 if (sectorsize == 0)
    [all...]
extern.h 37 extern int sectorsize; /* bytes/sector */
extern.h 37 extern int sectorsize; /* bytes/sector */
extern.h 37 extern int sectorsize; /* bytes/sector */
  /src/usr.sbin/sysinst/arch/dummy/
md.c 55 set_default_sizemult(pm->diskdev, MEG, pm->sectorsize);
md.c 55 set_default_sizemult(pm->diskdev, MEG, pm->sectorsize);
md.c 55 set_default_sizemult(pm->diskdev, MEG, pm->sectorsize);
  /src/usr.sbin/installboot/arch/
next68k.c 111 NEXT68K_LABEL_SECTOR * params->sectorsize + NEXT68K_LABEL_OFFSET);
133 sec_netonb_mult = (cd_secsize / params->sectorsize);
183 params->sectorsize))
226 NEXT68K_LABEL_SECTOR * params->sectorsize +
248 b0 * params->sectorsize);
next68k.c 111 NEXT68K_LABEL_SECTOR * params->sectorsize + NEXT68K_LABEL_OFFSET);
133 sec_netonb_mult = (cd_secsize / params->sectorsize);
183 params->sectorsize))
226 NEXT68K_LABEL_SECTOR * params->sectorsize +
248 b0 * params->sectorsize);
next68k.c 111 NEXT68K_LABEL_SECTOR * params->sectorsize + NEXT68K_LABEL_OFFSET);
133 sec_netonb_mult = (cd_secsize / params->sectorsize);
183 params->sectorsize))
226 NEXT68K_LABEL_SECTOR * params->sectorsize +
248 b0 * params->sectorsize);
hp300.c 112 label = malloc(params->sectorsize);
189 if (pread(params->fsfd, label, params->sectorsize,
190 LABELSECTOR * params->sectorsize)
191 != (ssize_t)params->sectorsize) {

Completed in 156 milliseconds

1 2 3 4 5 6 7 8