Searched refs:num_volumes (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/external/recovery/ |
| H A D | roots.c | 33 static int num_volumes = 0; variable 107 num_volumes = 1; in load_volume_table() 137 while (num_volumes >= alloc) { in load_volume_table() 141 device_volumes[num_volumes].mount_point = strdup(mount_point); in load_volume_table() 142 device_volumes[num_volumes].fs_type = strdup(fs_type); in load_volume_table() 143 device_volumes[num_volumes].option = strdup(option); in load_volume_table() 144 device_volumes[num_volumes].dump = strdup(dump); in load_volume_table() 145 device_volumes[num_volumes].pass = strdup(pass); in load_volume_table() 146 device_volumes[num_volumes].device = strdup(device);; in load_volume_table() 147 device_volumes[num_volumes].device2 = NULL; in load_volume_table() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | eba.c | 1294 int i, j, num_volumes, ret = 0; in self_check_eba() local 1301 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in self_check_eba() 1303 scan_eba = kmalloc(sizeof(*scan_eba) * num_volumes, GFP_KERNEL); in self_check_eba() 1307 fm_eba = kmalloc(sizeof(*fm_eba) * num_volumes, GFP_KERNEL); in self_check_eba() 1313 for (i = 0; i < num_volumes; i++) { in self_check_eba() 1364 for (i = 0; i < num_volumes; i++) { in self_check_eba() 1387 int i, j, err, num_volumes; in ubi_eba_init() local 1400 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in ubi_eba_init() 1402 for (i = 0; i < num_volumes; i++) { in ubi_eba_init() 1465 for (i = 0; i < num_volumes; i++) { in ubi_eba_init()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | eba.c | 1517 int i, j, num_volumes, ret = 0; in self_check_eba() local 1524 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in self_check_eba() 1526 scan_eba = kmalloc_array(num_volumes, sizeof(*scan_eba), GFP_KERNEL); in self_check_eba() 1530 fm_eba = kmalloc_array(num_volumes, sizeof(*fm_eba), GFP_KERNEL); in self_check_eba() 1536 for (i = 0; i < num_volumes; i++) { in self_check_eba() 1589 for (i = 0; i < num_volumes; i++) { in self_check_eba() 1612 int i, err, num_volumes; in ubi_eba_init() local 1625 num_volumes = ubi->vtbl_slots + UBI_INT_VOL_COUNT; in ubi_eba_init() 1627 for (i = 0; i < num_volumes; i++) { in ubi_eba_init() 1694 for (i = 0; i < num_volumes; i++) { in ubi_eba_init()
|