Lines Matching refs:length
61 .mount_point = "/tmp", .fs_type = "ramdisk", .blk_device = "ramdisk", .length = 0 }); in load_volume_table()
67 << " " << entry.fs_type << " " << entry.blk_device << " " << entry.length in load_volume_table()
168 int64_t length = 0; in format_volume() local
169 if (v->length > 0) { in format_volume()
170 length = v->length; in format_volume()
171 } else if (v->length < 0 || v->key_loc == "footer") { in format_volume()
177 length = get_file_size(fd.get(), v->length ? -v->length : CRYPT_FOOTER_OFFSET); in format_volume()
178 if (length <= 0) { in format_volume()
179 LOG(ERROR) << "get_file_size: invalid size " << length << " for " << v->blk_device; in format_volume()
202 if (length != 0) { in format_volume()
203 mke2fs_args.push_back(std::to_string(length / kBlockSize)); in format_volume()
229 if (length >= kSectorSize) { in format_volume()
230 make_f2fs_cmd.push_back(std::to_string(length / kSectorSize)); in format_volume()