Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1933 size_t secsize; in parseBPB() local
1953 if (!VALID_SECSIZE(secsize)) in parseBPB()
1954 secsize = fsp->pcfs_secsize; in parseBPB()
1969 secsize = fsp->pcfs_secsize; in parseBPB()
1972 (int)secsize); in parseBPB()
2022 if (secsize) in parseBPB()
2023 rdirsec = roundup(rec * 32, secsize) / secsize; in parseBPB()
2031 fsp->pcfs_secsize = secsize; in parseBPB()
2076 if (VALID_SECSIZE(secsize)) in parseBPB()
2190 fsp->pcfs_rdirsec * secsize; in parseBPB()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dmenu_partition.c480 uint64_t secsize; in print_efi_partition() local
508 secsize = map->efi_parts[partnum].p_size; in print_efi_partition()
509 if (secsize == 0) { in print_efi_partition()
515 scaled = bn2mb(secsize); in print_efi_partition()
526 if ((map->efi_parts[partnum].p_start + secsize - 1) == UINT_MAX64) { in print_efi_partition()
530 map->efi_parts[partnum].p_start + secsize - 1); in print_efi_partition()
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dsetup.c88 long secsize; variable
405 secsize = fsbsize; in readvolseq()
540 (part_bmp_bytes + SPACEMAP_OFF + secsize - 1) / in readvolseq()
541 secsize; in readvolseq()
546 part_bmp_sectors * secsize); in readvolseq()
549 malloc(secsize*part_bmp_sectors); in readvolseq()
556 part_bmp_sectors * secsize) != 0) in readvolseq()
H A Dpass1.c248 nb = roundup(len, secsize); in getallocext()
323 block = baseblock + (newoff / secsize); in getdir()
366 nb = roundup(len, secsize); in getdir()
414 nb = roundup(len, secsize); in getdir()
588 part_bmp_sectors * secsize); in dofreemap()
H A Dutilities.c129 count = roundup(count, secsize) / secsize; in markbusy()
401 read(fd, cp, (int)secsize) < 0) { in bread()
H A Dfsck.h149 extern long secsize; /* actual disk sector size */
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_debuglink.c667 Dwarf_Unsigned secsize = 0; in extract_debuglink() local
675 secsize = pdebuglink->dss_size; in extract_debuglink()
677 endptr = ptr + secsize; in extract_debuglink()
727 Dwarf_Unsigned secsize = 0; in extract_buildid() local
735 secsize = pbuildid->dss_size; in extract_buildid()
737 if (secsize < sizeof(struct buildid_s)) { in extract_buildid()
742 secsize,(Dwarf_Unsigned) sizeof(struct buildid_s)); in extract_buildid()
747 endptr = ptr + secsize; in extract_buildid()
774 if (finalsize > secsize) { in extract_buildid()
H A Ddwarf_form.c1651 Dwarf_Unsigned secsize = 0; in _dwarf_extract_local_debug_str_string_given_offset() local
1661 secsize = dbg->de_debug_line_str.dss_size; in _dwarf_extract_local_debug_str_string_given_offset()
1671 secsize = dbg->de_debug_str.dss_size; in _dwarf_extract_local_debug_str_string_given_offset()
1674 secend = dbg->de_debug_str.dss_data + secsize; in _dwarf_extract_local_debug_str_string_given_offset()
1676 if (offset >= secsize) { in _dwarf_extract_local_debug_str_string_given_offset()
H A Ddwarf_global.c604 Dwarf_Unsigned secsize, in build_off_end_msg() argument
608 if (offval < secsize){ in build_off_end_msg()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c353 int secsize; in get_label_16() local
359 if ((secsize = h->bps) > sizeof (buf)) { in get_label_16()
364 offset = h->offset + FirstRootDirSecNum * secsize; in get_label_16()
369 if (read(h->fd, buf, secsize) != secsize) { in get_label_16()
373 nent = secsize / sizeof (struct pcdir); in get_label_16()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c725 uint_t secsize; in hsfs_getpage_ra() local
750 secsize = fsp->hsfs_vol.lbn_size; /* bytes per logical block */ in hsfs_getpage_ra()
813 bufcnt = (len + secsize - 1) / secsize; in hsfs_getpage_ra()
1010 uint_t secsize; in hsfs_getapage() local
1041 secsize = fsp->hsfs_vol.lbn_size; /* bytes per logical block */ in hsfs_getapage()
1169 bufcnt = (len + secsize - 1) / secsize; in hsfs_getapage()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c424 build_offset_tbl(void *seghdr, int segcnt, int secsize, in build_offset_tbl() argument
452 offset_tbl[cnt+1].offset = secsize; in build_offset_tbl()
498 find_offset(char *seghdr, int segcnt, int secsize, int *sectionoffset, in find_offset() argument
508 *sectionoffset = secsize - segsize; in find_offset()
527 ret = build_offset_tbl(seghdr, segcnt, secsize, offset_tbl); in find_offset()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h313 extern int secsize; /* actual disk sector size */
H A Dsetup.c93 int secsize; variable
1277 dev_bsize = secsize = DEV_BSIZE; in sblock_init()
H A Dutilities.c497 read(fd, cp, (int)secsize) < 0) { in fsck_bread()
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdf.c1779 uint_t secsize = 0; in xdf_setstate_connected() local
1809 XBP_SECTOR_SIZE, "%u", &secsize, in xdf_setstate_connected()
1825 if (secsize == 0 || !(ISP2(secsize / DEV_BSIZE))) in xdf_setstate_connected()
1826 secsize = DEV_BSIZE; in xdf_setstate_connected()
1828 vdp->xdf_xdev_secsize = secsize; in xdf_setstate_connected()