Searched refs:allocated_blocks (Results 1 – 1 of 1) sorted by relevance
410 int64_t length, allocated_blocks; in fuse_getattr() local420 allocated_blocks = bdrv_get_allocated_file_size(blk_bs(exp->common.blk)); in fuse_getattr()421 if (allocated_blocks <= 0) { in fuse_getattr()422 allocated_blocks = DIV_ROUND_UP(length, 512); in fuse_getattr()424 allocated_blocks = DIV_ROUND_UP(allocated_blocks, 512); in fuse_getattr()435 .st_blocks = allocated_blocks, in fuse_getattr()