md.c | 63 int blk_size; variable in typeref:typename:int 167 blk_size = disklabel.d_secsize; 207 blk_size, pm->dlcyl, pm->dlhead, pm->dlsec, pm->dlsize); 215 if (lseek(fd, (off_t)0 * blk_size, SEEK_SET) < 0 || 227 lseek(fd, (off_t)(i+1) * blk_size, SEEK_SET); 232 map.blk = (struct apple_part_map_entry *)malloc(map.size * blk_size); 236 lseek(fd, (off_t)1 * blk_size, SEEK_SET); 237 read(fd, map.blk, map.size * blk_size); 390 if (lseek (fd, (off_t)0 * blk_size, SEEK_SET) < 0) { 397 if (write (fd, &new_block0, blk_size) != blk_size) [all...] |