Home
last modified time | relevance | path

Searched refs:secsize (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1825 secondaryBPBChecks(struct pcfs *fsp, uchar_t *bpb, size_t secsize) in secondaryBPBChecks() argument
1833 if (bpb_get_FatSz16(bpb) * secsize < ncl * 2 && in secondaryBPBChecks()
1834 bpb_get_FatSz16(bpb) * secsize >= (3 * ncl / 2)) in secondaryBPBChecks()
1870 if (bpb_get_FatSz16(bpb) * secsize < ncl * 4) in secondaryBPBChecks()
1930 size_t secsize; in parseBPB() local
1949 secsize = bpb_get_BytesPerSec(bpb); in parseBPB()
1950 if (!VALID_SECSIZE(secsize)) in parseBPB()
1951 secsize = fsp->pcfs_secsize; in parseBPB()
1952 if (secsize != fsp->pcfs_secsize) { in parseBPB()
1958 (int)secsize, (int)fsp->pcfs_secsize); in parseBPB()
[all …]
/titanic_50/usr/src/cmd/format/
H A Dmenu_partition.c489 uint64_t secsize; in print_efi_partition() local
519 secsize = map->efi_parts[partnum].p_size; in print_efi_partition()
520 if (secsize == 0) { in print_efi_partition()
526 scaled = bn2mb(secsize); in print_efi_partition()
537 if ((map->efi_parts[partnum].p_start+secsize - 1) == in print_efi_partition()
542 map->efi_parts[partnum].p_start+secsize - 1); in print_efi_partition()
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/
H A Dsetup.c380 secsize = fsbsize; in readvolseq()
515 (part_bmp_bytes + SPACEMAP_OFF + secsize - 1) / in readvolseq()
516 secsize; in readvolseq()
521 part_bmp_sectors * secsize); in readvolseq()
524 malloc(secsize*part_bmp_sectors); in readvolseq()
531 part_bmp_sectors * secsize) != 0) in readvolseq()
H A Dpass1.c248 nb = roundup(len, secsize); in getallocext()
327 block = baseblock + (newoff / secsize); in getdir()
371 nb = roundup(len, secsize); in getdir()
420 nb = roundup(len, secsize); in getdir()
599 part_bmp_sectors * secsize); in dofreemap()
H A Dutilities.c127 count = roundup(count, secsize) / secsize; in markbusy()
400 read(fd, cp, (int)secsize) < 0) { in bread()
H A Dfsck.h167 long secsize; /* actual disk sector size */ variable
/titanic_50/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c355 int secsize; in get_label_16() local
361 if ((secsize = h->bps) > sizeof (buf)) { in get_label_16()
366 offset = h->offset + FirstRootDirSecNum * secsize; in get_label_16()
371 if (read(h->fd, buf, secsize) != secsize) { in get_label_16()
375 nent = secsize / sizeof (struct pcdir); in get_label_16()
/titanic_50/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c819 uint_t secsize; in hsfs_getpage_ra() local
844 secsize = fsp->hsfs_vol.lbn_size; /* bytes per logical block */ in hsfs_getpage_ra()
907 bufcnt = (len + secsize - 1) / secsize; in hsfs_getpage_ra()
1112 uint_t secsize; in hsfs_getapage() local
1143 secsize = fsp->hsfs_vol.lbn_size; /* bytes per logical block */ in hsfs_getapage()
1271 bufcnt = (len + secsize - 1) / secsize; in hsfs_getapage()
/titanic_50/usr/src/uts/sun/io/dada/targets/
H A Ddad.c1175 int secsize = 0; in dcd_validate_geometry() local
1198 secsize = un->un_secsize; in dcd_validate_geometry()
1203 for (secdiv = 0; secsize = secsize >> 1; secdiv++) in dcd_validate_geometry()
1231 secsize = un->un_lbasize; in dcd_validate_geometry()
1232 for (secdiv = 0; secsize = secsize >> 1; secdiv++) in dcd_validate_geometry()
1240 secsize = un->un_lbasize >> DEV_BSHIFT; in dcd_validate_geometry()
1241 for (secdiv = 0; secsize = secsize >> 1; secdiv++) in dcd_validate_geometry()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c430 build_offset_tbl(void *seghdr, int segcnt, int secsize, in build_offset_tbl() argument
458 offset_tbl[cnt+1].offset = secsize; in build_offset_tbl()
505 find_offset(char *seghdr, int segcnt, int secsize, int *sectionoffset, in find_offset() argument
515 *sectionoffset = secsize - segsize; in find_offset()
534 ret = build_offset_tbl(seghdr, segcnt, secsize, offset_tbl); in find_offset()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c426 build_offset_tbl(void *seghdr, int segcnt, int secsize, in build_offset_tbl() argument
454 offset_tbl[cnt+1].offset = secsize; in build_offset_tbl()
500 find_offset(char *seghdr, int segcnt, int secsize, int *sectionoffset, in find_offset() argument
510 *sectionoffset = secsize - segsize; in find_offset()
529 ret = build_offset_tbl(seghdr, segcnt, secsize, offset_tbl); in find_offset()
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h317 int secsize; /* actual disk sector size */ variable
H A Dsetup.c1266 dev_bsize = secsize = DEV_BSIZE; in sblock_init()
H A Dutilities.c490 read(fd, cp, (int)secsize) < 0) { in fsck_bread()
/titanic_50/usr/src/uts/common/xen/io/
H A Dxdf.c1768 uint_t secsize = 0; in xdf_setstate_connected() local
1798 XBP_SECTOR_SIZE, "%u", &secsize, in xdf_setstate_connected()
1814 if (secsize == 0 || !(ISP2(secsize / DEV_BSIZE))) in xdf_setstate_connected()
1815 secsize = DEV_BSIZE; in xdf_setstate_connected()
1817 vdp->xdf_xdev_secsize = secsize; in xdf_setstate_connected()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c1079 build_offset_tbl(void *seghdr, int segcnt, int secsize, in build_offset_tbl() argument
1107 offset_tbl[cnt+1].offset = secsize; in build_offset_tbl()
1154 find_offset(char *seghdr, int segcnt, int secsize, int *sectionoffset, in find_offset() argument
1164 *sectionoffset = secsize - segsize; in find_offset()
1183 ret = build_offset_tbl(seghdr, segcnt, secsize, offset_tbl); in find_offset()