Lines Matching refs:bytes
221 int last_page_size = store->bytes & (PAGE_SIZE-1);
604 /* bits to bytes */
615 int bytes = isize > PAGE_SIZE ? PAGE_SIZE : isize;
618 bitmap, bytes, sb_page);
776 unsigned long bytes;
778 bytes = DIV_ROUND_UP(chunks, 8);
780 bytes += sizeof(bitmap_super_t);
782 num_pages = DIV_ROUND_UP(bytes, PAGE_SIZE);
821 store->bytes = bytes;
1083 if (file && i_size_read(file->f_mapping->host) < store->bytes) {
1087 store->bytes);
1097 node_offset = bitmap->cluster_slot * (DIV_ROUND_UP(store->bytes, PAGE_SIZE));
1107 count = store->bytes - index * PAGE_SIZE;
2088 long bytes;
2095 bytes = DIV_ROUND_UP(bitmap->counts.chunks, 8);
2097 bytes += sizeof(bitmap_super_t);
2098 space = DIV_ROUND_UP(bytes, 512);
2107 bytes = DIV_ROUND_UP(chunks, 8);
2109 bytes += sizeof(bitmap_super_t);
2110 } while (bytes > (space << 9) && (chunkshift + BITMAP_BLOCK_SHIFT) <
2405 sectors < (mddev->bitmap->storage.bytes + 511) >> 9)