Added osd_get_file_size_for_alloc()