/titanic_41/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 131 size_t secsz = ISO_SECTOR_SIZE; in hsfs_contents() local 144 readoff = probe_offset + ISO_VOLDESC_SEC * secsz; in hsfs_contents() 145 if (pread (fd, buf, secsz, readoff) != secsz) { in hsfs_contents() 152 readoff += secsz; in hsfs_contents() 153 if (pread (fd, buf, secsz, readoff) != secsz) { in hsfs_contents() 171 readoff = probe_offset + ptbl_lbn * secsz; in hsfs_contents() 172 if (pread (fd, buf, secsz, readoff) != secsz) { in hsfs_contents() 182 if (reloff >= secsz) { in hsfs_contents() 183 readoff += secsz; in hsfs_contents() 184 if (pread (fd, buf, secsz, readoff) != secsz) { in hsfs_contents() [all …]
|
/titanic_41/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 113 walk_partitions(int fd, int startsec, uint_t secsz, in walk_partitions() argument 129 if (pread(fd, buf, bufsize, (off_t)sec * secsz) != bufsize) { in walk_partitions() 183 find_dos_drive(int fd, int num, uint_t secsz, off_t *offset) in find_dos_drive() argument 190 walk_partitions(fd, 0, secsz, find_dos_drive_cb, &p); in find_dos_drive() 192 *offset = (off_t)p.r_relsect * secsz; in find_dos_drive() 210 get_num_dos_drives(int fd, uint_t secsz) in get_num_dos_drives() argument 214 walk_partitions(fd, 0, secsz, get_num_dos_drives_cb, &count); in get_num_dos_drives()
|
H A D | fsutils.h | 22 boolean_t find_dos_drive(int fd, int num, uint_t secsz, off_t *offset);
|
/titanic_41/usr/src/cmd/fstyp/ |
H A D | fstyp.c | 307 walk_partitions(int fd, uint32_t startsec, off_t secsz, in walk_partitions() argument 323 if (pread(fd, buf, bufsize, (off_t)sec * secsz) != bufsize) { in walk_partitions() 379 off_t secsz; in find_dos_drive() local 390 secsz = DEV_BSIZE; in find_dos_drive() 392 secsz = mi.dki_lbsize; in find_dos_drive() 395 walk_partitions(fd, 0, secsz, find_dos_drive_cb, &p); in find_dos_drive() 397 *offset = secsz * (off_t)p.r_relsect; in find_dos_drive()
|
/titanic_41/usr/src/cmd/format/ |
H A D | defect.c | 494 deflist_size(int secsz, int sz) in deflist_size() argument 498 if (secsz == 0) { in deflist_size() 499 secsz = SECSIZE; in deflist_size() 503 secsz - 1) / secsz) : 1; in deflist_size()
|
H A D | defect.h | 132 int deflist_size(int secsz, int sz);
|
/titanic_41/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 269 Word relndx, Sym *syms, char *secstr, size_t secsz, const char *file) in relsymname() argument 291 (void) snprintf(secstr, secsz, MSG_INTL(MSG_STR_SECTION), in relsymname() 4602 size_t secsz = ++symname - secname; in shdr_cache() local 4606 strsz = secsz + strlen(symname) + 1; in shdr_cache() 4618 EC_WORD(secsz), secname, symname); in shdr_cache()
|