Lines Matching defs:size
83 void boot_calc_checksum(unsigned char *sector, unsigned short size,
89 for (index = 0; index < size; index++) {
96 for (index = 0; index < size; index++) {
108 static inline unsigned int sector_size_bits(unsigned int size)
114 size >>= 1;
115 } while (size > 256);
123 if (256 * MB >= bd->size)
125 else if (32 * GB >= bd->size)
154 exfat_err("invalid block device size(%s)\n",
172 * in 512-byte units, regardless of sector size
182 bd->size = blk_dev_size;
197 exfat_debug("Block device size : %llu\n", bd->size);
198 exfat_debug("Block sector size : %u\n", bd->sector_size);
210 ssize_t exfat_read(int fd, void *buf, size_t size, off_t offset)
212 return pread(fd, buf, size, offset);
215 ssize_t exfat_write(int fd, void *buf, size_t size, off_t offset)
217 return pwrite(fd, buf, size, offset);
810 node->size = clus_count * exfat->clus_size;
840 exfat_err("too small or big sector size: %d\n",
846 exfat_err("too small or big cluster size: %d\n",