Lines Matching refs:bytes
239 unsigned int last_page_size = store->bytes & (PAGE_SIZE - 1);
647 /* bits to bytes */
658 int bytes = isize > PAGE_SIZE ? PAGE_SIZE : isize;
661 bitmap, bytes, sb_page);
816 unsigned long bytes;
818 bytes = DIV_ROUND_UP(chunks, 8);
820 bytes += sizeof(bitmap_super_t);
822 num_pages = DIV_ROUND_UP(bytes, PAGE_SIZE);
860 store->bytes = bytes;
1135 if (file && i_size_read(file->f_mapping->host) < store->bytes) {
1139 store->bytes);
1145 node_offset = bitmap->cluster_slot * (DIV_ROUND_UP(store->bytes, PAGE_SIZE));
1153 count = store->bytes - i * PAGE_SIZE;
2159 long bytes;
2166 bytes = DIV_ROUND_UP(bitmap->counts.chunks, 8);
2168 bytes += sizeof(bitmap_super_t);
2169 space = DIV_ROUND_UP(bytes, 512);
2178 bytes = DIV_ROUND_UP(chunks, 8);
2180 bytes += sizeof(bitmap_super_t);
2181 } while (bytes > (space << 9) && (chunkshift + BITMAP_BLOCK_SHIFT) <
2476 sectors < (mddev->bitmap->storage.bytes + 511) >> 9)