Home
last modified time | relevance | path

Searched refs:ISO_SECTOR_SIZE (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/
H A Dlabelit.c53 #define PUTSECTOR(buf, secno, nosec) (putdisk(buf, (secno)*ISO_SECTOR_SIZE, \
54 (nosec)*ISO_SECTOR_SIZE))
55 #define GETSECTOR(buf, secno, nosec) (getdisk(buf, (secno)*ISO_SECTOR_SIZE, \
56 (nosec)*ISO_SECTOR_SIZE))
65 char hs_buf[ISO_SECTOR_SIZE];
67 char iso_buf[ISO_SECTOR_SIZE];
69 char unix_buf[ISO_SECTOR_SIZE];
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_iso9660.c174 if (!iso9660_devread(extent, 0, ISO_SECTOR_SIZE, (char *)DIRREC)) in iso9660_dir()
336 && (unsigned char *)name < RRCONT_BUF + ISO_SECTOR_SIZE ) in iso9660_dir()
343 if (!iso9660_devread(ce_ptr->u.ce.extent.l, 0, ISO_SECTOR_SIZE, RRCONT_BUF)) in iso9660_dir()
397 size -= ISO_SECTOR_SIZE; in iso9660_dir()
423 blkoffset = filepos & (ISO_SECTOR_SIZE - 1); in iso9660_read()
427 size = ISO_SECTOR_SIZE - blkoffset; in iso9660_read()
H A Dstart_eltorito.S101 add $(ISO_SECTOR_SIZE-1), %eax
320 .word (STAGE2_SIZE + ISO_SECTOR_SIZE - 1) >> ISO_SECTOR_BITS
H A Diso9660.h33 #define ISO_SECTOR_SIZE (1<<ISO_SECTOR_BITS) macro
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/
H A Dfstyp.c50 char hs_buf[ISO_SECTOR_SIZE];
52 char iso_buf[ISO_SECTOR_SIZE];
54 char unix_buf[ISO_SECTOR_SIZE];
61 ((secno)+(h)->cdroff)*ISO_SECTOR_SIZE, \
62 (nosec)*ISO_SECTOR_SIZE))
/illumos-gate/usr/src/common/fs/
H A Dhsfs.c53 #define hdbtodb(n) ((ISO_SECTOR_SIZE / DEV_BSIZE) * (n))
165 filep->fi_count = ISO_SECTOR_SIZE; in opendir()
305 filep->fi_count = ISO_SECTOR_SIZE; in readdir()
314 dirp->loc = roundup(dirp->loc, ISO_SECTOR_SIZE); in readdir()
338 size = filep->fi_count = ISO_SECTOR_SIZE; in getblock()
419 head->fi_count = ISO_SECTOR_SIZE; in bhsfs_mountroot()
734 filep->fi_count = ISO_SECTOR_SIZE; in parse_dir()
/illumos-gate/usr/src/stand/lib/fs/hsfs/
H A Dhsfsops.c50 #define hdbtodb(n) ((ISO_SECTOR_SIZE / DEV_BSIZE) * (n))
132 filep->fi_count = ISO_SECTOR_SIZE; in opendir()
299 filep->fi_count = ISO_SECTOR_SIZE; in readdir()
307 dirp->loc = roundup(dirp->loc, ISO_SECTOR_SIZE); in readdir()
349 if (size > ISO_SECTOR_SIZE) in getblock()
350 size = ISO_SECTOR_SIZE; in getblock()
495 head->fi_count = ISO_SECTOR_SIZE; in boot_hsfs_mountroot()
820 filep->fi_count = ISO_SECTOR_SIZE; in parse_dir()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_isospec.h74 #define ISO_SECTOR_SIZE 2048 /* bytes per logical sector */ macro
80 #define MAXISOOFFSET (ISO_SECTOR_SIZE - 1)
/illumos-gate/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c131 size_t secsz = ISO_SECTOR_SIZE; in hsfs_contents()
132 uchar_t buf[ISO_SECTOR_SIZE]; in hsfs_contents()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c1146 secbp = bread(vp->v_rdev, secno * 4, ISO_SECTOR_SIZE); in hs_findisovol()
1177 for (i = 0; i < ISO_SECTOR_SIZE; i++) in hs_findisovol()
1306 ffs((long)howmany(ISO_SECTOR_SIZE, (int)hvp->lbn_size)) - 1; in hs_parseisovol()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c5450 char iso_buf[ISO_SECTOR_SIZE]; in vd_dskimg_is_iso_image()
5469 sec = (ISO_VOLDESC_SEC * ISO_SECTOR_SIZE) / vd->vdisk_bsize; in vd_dskimg_is_iso_image()
5471 sec, ISO_SECTOR_SIZE); in vd_dskimg_is_iso_image()