/titanic_50/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 1825 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 D | menu_partition.c | 489 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 D | setup.c | 380 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 D | pass1.c | 248 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 D | utilities.c | 127 count = roundup(count, secsize) / secsize; in markbusy() 400 read(fd, cp, (int)secsize) < 0) { in bread()
|
H A D | fsck.h | 167 long secsize; /* actual disk sector size */ variable
|
/titanic_50/usr/src/cmd/fs.d/pcfs/fstyp/ |
H A D | fstyp.c | 355 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 D | hsfs_vnops.c | 819 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 D | dad.c | 1175 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 D | fru_access.c | 430 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 D | fru_access.c | 426 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 D | fsck.h | 317 int secsize; /* actual disk sector size */ variable
|
H A D | setup.c | 1266 dev_bsize = secsize = DEV_BSIZE; in sblock_init()
|
H A D | utilities.c | 490 read(fd, cp, (int)secsize) < 0) { in fsck_bread()
|
/titanic_50/usr/src/uts/common/xen/io/ |
H A D | xdf.c | 1768 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 D | libfruaccess.c | 1079 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()
|