Searched refs:secsz (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.h22 boolean_t find_dos_drive(int fd, int num, uint_t secsz, off_t *offset);
H A Dfsutils.c113 walk_partitions(int fd, int startsec, uint_t secsz, argument
129 if (pread(fd, buf, bufsize, (off_t)sec * secsz) != bufsize) {
183 find_dos_drive(int fd, int num, uint_t secsz, off_t *offset) argument
190 walk_partitions(fd, 0, secsz, find_dos_drive_cb, &p);
192 *offset = (off_t)p.r_relsect * secsz;
210 get_num_dos_drives(int fd, uint_t secsz) argument
214 walk_partitions(fd, 0, secsz, get_num_dos_drives_cb, &count);
/illumos-gate/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c131 size_t secsz = ISO_SECTOR_SIZE; local
144 readoff = probe_offset + ISO_VOLDESC_SEC * secsz;
145 if (pread (fd, buf, secsz, readoff) != secsz) {
152 readoff += secsz;
153 if (pread (fd, buf, secsz, readoff) != secsz) {
171 readoff = probe_offset + ptbl_lbn * secsz;
172 if (pread (fd, buf, secsz, readoff) != secsz) {
[all...]
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c307 walk_partitions(int fd, uint32_t startsec, off_t secsz, argument
323 if (pread(fd, buf, bufsize, (off_t)sec * secsz) != bufsize) {
379 off_t secsz; local
390 secsz = DEV_BSIZE;
392 secsz = mi.dki_lbsize;
395 walk_partitions(fd, 0, secsz, find_dos_drive_cb, &p);
397 *offset = secsz * (off_t)p.r_relsect;
/illumos-gate/usr/src/cmd/format/
H A Ddefect.h132 int deflist_size(int secsz, int sz);
H A Ddefect.c494 deflist_size(int secsz, int sz) argument
498 if (secsz == 0) {
499 secsz = SECSIZE;
503 secsz - 1) / secsz) : 1;
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/
H A Dzfsboot.c137 u_int secsz; member in struct:probe_args
149 size_t size = ppa->secsz * blocks;
151 lseek(ppa->fd, offset * ppa->secsz, SEEK_SET);
180 pa.secsz = ppa->secsz;
182 ppa->secsz, parttblread);
223 ret = ioctl(pa.fd, DIOCGSECTORSIZE, &pa.secsz);
225 table = ptable_open(&pa, mediasz / pa.secsz, pa.secsz,
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfs.c417 u_int secsz; member in struct:zfs_probe_args
427 offset * ppa->secsz, buf, blocks * ppa->secsz));
473 pa.secsz = ppa->secsz;
475 ppa->secsz, zfs_diskread);
503 ret = ioctl(pa.fd, DIOCGSECTORSIZE, &pa.secsz);
507 table = ptable_open(&pa, mediasz / pa.secsz, pa.secsz,
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c273 Word relndx, Sym *syms, char *secstr, size_t secsz, const char *file)
295 (void) snprintf(secstr, secsz, MSG_INTL(MSG_STR_SECTION),
4687 size_t secsz = ++symname - secname; local
4691 strsz = secsz + strlen(symname) + 1;
4703 EC_WORD(secsz), secname, symname);
272 relsymname(Cache *cache, Cache *csec, Cache *strsec, Word symndx, Word symnum, Word relndx, Sym *syms, char *secstr, size_t secsz, const char *file) argument

Completed in 81 milliseconds