Searched refs:ISO_DEFAULT_BLOCK_SIZE (Results 1 – 6 of 6) sorted by relevance
/freebsd/stand/libsa/ |
H A D | cd9660.c | 129 #define cdb2devb(bno) ((bno) * ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE) 135 static char susp_buffer[ISO_DEFAULT_BLOCK_SIZE]; in susp_lookup_record() 157 ISO_DEFAULT_BLOCK_SIZE, susp_buffer, &read); in susp_lookup_record() 160 if (error != 0 || read != ISO_DEFAULT_BLOCK_SIZE) in susp_lookup_record() 303 vd = malloc(MAX(ISO_DEFAULT_BLOCK_SIZE, in cd9660_read_dr() 311 ISO_DEFAULT_BLOCK_SIZE, (char *)vd, &read); in cd9660_read_dr() 314 if (read != ISO_DEFAULT_BLOCK_SIZE) { in cd9660_read_dr() 326 if (isonum_723(vd->logical_block_size) == ISO_DEFAULT_BLOCK_SIZE) { in cd9660_read_dr() 351 buf = malloc(MAX(ISO_DEFAULT_BLOCK_SIZE, in cd9660_open() 385 if ((off % ISO_DEFAULT_BLOCK_SIZE) == 0) { in cd9660_open() [all …]
|
H A D | cd9660read.c | 65 static char susp_buffer[ISO_DEFAULT_BLOCK_SIZE]; in susp_lookup_record() 221 static char blkbuf[MAX(ISO_DEFAULT_BLOCK_SIZE, in cd9660_lookup() 256 if ((off % ISO_DEFAULT_BLOCK_SIZE) == 0) { in cd9660_lookup() 266 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_lookup() 286 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_lookup() 314 static char blkbuf[ISO_DEFAULT_BLOCK_SIZE]; in cd9660_fsread() 343 byte_off = fs_off & (ISO_DEFAULT_BLOCK_SIZE - 1); in cd9660_fsread() 350 if (remaining < ISO_DEFAULT_BLOCK_SIZE - byte_off) { in cd9660_fsread() 353 n = ISO_DEFAULT_BLOCK_SIZE - byte_off; in cd9660_fsread()
|
/freebsd/usr.bin/etdump/ |
H A D | etdump.c | 81 if (fseek(iso, sector * ISO_DEFAULT_BLOCK_SIZE, SEEK_SET) != 0) { in read_sector() 84 if (fread(buffer, ISO_DEFAULT_BLOCK_SIZE, 1, iso) != 1) { in read_sector() 156 char buffer[ISO_DEFAULT_BLOCK_SIZE], *entry; in dump_eltorito() 194 while (offset < ISO_DEFAULT_BLOCK_SIZE) { in dump_eltorito()
|
/freebsd/sys/fs/cd9660/ |
H A D | iso.h | 99 #define ISO_DEFAULT_BLOCK_SIZE (1 << ISO_DEFAULT_BLOCK_SHIFT) macro
|
H A D | cd9660_vfsops.c | 250 if ((ISO_DEFAULT_BLOCK_SIZE % cp->provider->sectorsize) != 0) { in iso_mountfs() 263 if ((error = bread(devvp, iso_blknum * btodb(ISO_DEFAULT_BLOCK_SIZE), in iso_mountfs()
|
/freebsd/stand/common/ |
H A D | part.c | 517 #define cdb2devb(bno) ((bno) * ISO_DEFAULT_BLOCK_SIZE / table->sectorsize)
|