Lines Matching defs:space
466 bitmap_info.space);
719 if (bitmap->mddev->bitmap_info.space == 0 ||
720 bitmap->mddev->bitmap_info.space > sectors_reserved)
721 bitmap->mddev->bitmap_info.space = sectors_reserved;
2060 * Then possibly allocate new storage space.
2085 /* If there is enough space, leave the chunk size unchanged,
2086 * else increase by factor of two until there is enough space.
2089 long space = bitmap->mddev->bitmap_info.space;
2091 if (space == 0) {
2092 /* We don't know how much space there is, so limit
2098 space = DIV_ROUND_UP(bytes, 512);
2099 bitmap->mddev->bitmap_info.space = space;
2110 } while (bytes > (space << 9) && (chunkshift + BITMAP_BLOCK_SHIFT) <
2238 /* new space. It needs to be resynced, so
2381 /* 'bitmap/space' is the space available at 'location' for the
2388 return sprintf(page, "%lu\n", mddev->bitmap_info.space);
2406 return -EFBIG; /* Bitmap is too big for this small space */
2409 * needed - user-space should be careful.
2411 mddev->bitmap_info.space = sectors;
2416 __ATTR(space, S_IRUGO|S_IWUSR, space_show, space_store);