Searched refs:num_sectors (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/ |
D | roots.cpp | 246 char *num_sectors; in format_volume() local 247 if (asprintf(&num_sectors, "%zd", length / 512) <= 0) { in format_volume() 252 … const char* const f2fs_argv[] = {"mkfs.f2fs", "-t", "-d1", v->blk_device, num_sectors, NULL}; in format_volume() 255 free(num_sectors); in format_volume()
|
/bootable/recovery/updater/ |
D | install.c | 346 char *num_sectors; in FormatFn() local 347 if (asprintf(&num_sectors, "%lld", atoll(fs_size) / 512) <= 0) { in FormatFn() 353 const char* const f2fs_argv[] = {"mkfs.f2fs", "-t", "-d1", location, num_sectors, NULL}; in FormatFn() 355 free(num_sectors); in FormatFn()
|