Searched defs:secsize (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dmenu_partition.c489 uint64_t secsize; local
519 secsize = map->efi_parts[partnum].p_size;
520 if (secsize == 0) {
526 scaled = bn2mb(secsize);
537 if ((map->efi_parts[partnum].p_start+secsize - 1) ==
542 map->efi_parts[partnum].p_start+secsize - 1);
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dpass1.c248 nb = roundup(len, secsize);
327 block = baseblock + (newoff / secsize);
371 nb = roundup(len, secsize);
420 nb = roundup(len, secsize);
599 part_bmp_sectors * secsize); local
H A Dfsck.h167 long secsize; /* actual disk sector size */ variable
168 long fsbsize; /* file system block size (same as secsize) */
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c355 int secsize; local
361 if ((secsize = h->bps) > sizeof (buf)) {
366 offset = h->offset + FirstRootDirSecNum * secsize;
371 if (read(h->fd, buf, secsize) != secsize) {
375 nent = secsize / sizeof (struct pcdir);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c430 build_offset_tbl(void *seghdr, int segcnt, int secsize, argument
458 offset_tbl[cnt+1].offset = secsize;
505 find_offset(char *seghdr, int segcnt, int secsize, int *sectionoffset, argument
515 *sectionoffset = secsize - segsize;
534 ret = build_offset_tbl(seghdr, segcnt, secsize, offset_tbl);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c426 build_offset_tbl(void *seghdr, int segcnt, int secsize, argument
454 offset_tbl[cnt+1].offset = secsize;
500 find_offset(char *seghdr, int segcnt, int secsize, int *sectionoffset, argument
510 *sectionoffset = secsize - segsize;
529 ret = build_offset_tbl(seghdr, segcnt, secsize, offset_tbl);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c1079 build_offset_tbl(void *seghdr, int segcnt, int secsize, argument
1107 offset_tbl[cnt+1].offset = secsize;
1154 find_offset(char *seghdr, int segcnt, int secsize, int *sectionoffset, argument
1164 *sectionoffset = secsize - segsize;
1183 ret = build_offset_tbl(seghdr, segcnt, secsize, offset_tbl);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h317 int secsize; /* actual disk sector size */ variable
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c819 uint_t secsize; local
844 secsize = fsp->hsfs_vol.lbn_size; /* bytes per logical block */
907 bufcnt = (len + secsize - 1) / secsize;
1112 uint_t secsize; local
1143 secsize = fsp->hsfs_vol.lbn_size; /* bytes per logical block */
1271 bufcnt = (len + secsize - 1) / secsize;
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c540 * For "timezone" and "secsize", we need to parse the number
542 * Note: "secsize" is deliberately undocumented at this time,
588 * The "secsize=..." mount option is a workaround for the lack of
603 "'secsize' mount option - %ld is "
609 "'secsize' mount option - argument %s "
1825 secondaryBPBChecks(struct pcfs *fsp, uchar_t *bpb, size_t secsize) argument
1833 if (bpb_get_FatSz16(bpb) * secsize < ncl * 2 &&
1834 bpb_get_FatSz16(bpb) * secsize >= (3 * ncl / 2))
1870 if (bpb_get_FatSz16(bpb) * secsize < ncl * 4)
1930 size_t secsize; local
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdf.c1768 uint_t secsize = 0; local
1798 XBP_SECTOR_SIZE, "%u", &secsize,
1814 if (secsize == 0 || !(ISP2(secsize / DEV_BSIZE)))
1815 secsize = DEV_BSIZE;
1817 vdp->xdf_xdev_secsize = secsize;
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c1175 int secsize = 0; local
1198 secsize = un->un_secsize;
1203 for (secdiv = 0; secsize = secsize >> 1; secdiv++)
1231 secsize = un->un_lbasize;
1232 for (secdiv = 0; secsize = secsize >> 1; secdiv++)
1240 secsize = un->un_lbasize >> DEV_BSHIFT;
1241 for (secdiv = 0; secsize = secsize >>
[all...]

Completed in 955 milliseconds