Searched refs:sbBlkSize (Results 1 - 10 of 10) sorted by relevance
/openbsd-current/gnu/usr.sbin/mkhybrid/src/ |
H A D | apple_driver.c | 55 unsigned int sbBlkSize; local 76 sbBlkSize = get_722(mac_label->sbBlkSize); 78 if (! IS_MAC_LABEL(mac_label) || sbBlkSize != SECTOR_SIZE) 123 if (fseek(fp, i*sbBlkSize, 0) != 0) 144 if (fseek(fp, start*sbBlkSize, 0) != 0) 148 if (fread(block, 1, sbBlkSize, fp) != sbBlkSize) 151 fwrite(block, 1, sbBlkSize, stdout);
|
H A D | mac_label.h | 22 unsigned char sbBlkSize[2]; /* block size of device */ member in struct:MacLabel
|
H A D | mac_label.c | 144 set_722 (mac_label->sbBlkSize,block_size);
|
/openbsd-current/sbin/pdisk/ |
H A D | dump.c | 56 map->sbBlkSize, map->sbBlkCount); 57 if (fmt_scaled((long long)map->sbBlkCount * map->sbBlkSize, buf) == 0) 84 map->sbBlkSize, map->name); 121 entry->the_map->sbBlkSize, buf) == 0) 138 map->sbBlkSize); 145 printf("Block size=%u, Number of Blocks=%u\n", map->sbBlkSize, 305 printf(" size of a block: %u\n", map->sbBlkSize);
|
H A D | file_media.c | 50 uint8_t sbBlkSize[2]; member in struct:block0_ondisk 134 memcpy(&map->sbBlkSize, block0_ondisk->sbBlkSize, 135 sizeof(map->sbBlkSize)); 136 map->sbBlkSize = betoh16(map->sbBlkSize); 189 tmp16 = htobe16(map->sbBlkSize); 190 memcpy(block0_ondisk->sbBlkSize, &tmp16, 191 sizeof(block0_ondisk->sbBlkSize));
|
H A D | partition_map.h | 39 uint32_t ddBlock; /* 1st driver's starting sbBlkSize block */ 58 uint16_t sbBlkSize; /* physical block size of device */ member in struct:partition_map
|
H A D | pdisk.c | 203 oldmap->sbBlkSize); 323 multiple = get_multiplier(map->sbBlkSize);
|
H A D | partition_map.c | 89 map->sbBlkSize == sectorsz && 98 else if (map->sbBlkSize != sectorsz) 99 warnx("Block 0 sbBlkSize (%u) != sector size (%u)", 100 map->sbBlkSize, sectorsz); 281 map->sbBlkSize = sectorsz;
|
/openbsd-current/gnu/usr.sbin/mkhybrid/src/libhfs_iso/ |
H A D | low.h | 22 Integer sbBlkSize; /* block size of the device (in bytes) */ member in struct:__anon7448
|
H A D | low.c | 72 d_fetchw(&ptr, &rec.sbBlkSize); 86 if (rec.sbBlkSize != HFS_BLOCKSZ)
|
Completed in 157 milliseconds