Searched refs:new_mapping (Results 1 – 2 of 2) sorted by relevance
427 int i, err, pebs, *new_mapping; in ubi_resize_volume() local450 new_mapping = kmalloc(reserved_pebs * sizeof(int), GFP_KERNEL); in ubi_resize_volume()451 if (!new_mapping) in ubi_resize_volume()455 new_mapping[i] = UBI_LEB_UNMAPPED; in ubi_resize_volume()482 new_mapping[i] = vol->eba_tbl[i]; in ubi_resize_volume()484 vol->eba_tbl = new_mapping; in ubi_resize_volume()506 new_mapping[i] = vol->eba_tbl[i]; in ubi_resize_volume()508 vol->eba_tbl = new_mapping; in ubi_resize_volume()532 kfree(new_mapping); in ubi_resize_volume()
162 bool new_mapping; in large_ralloc_no_move_expand() local170 new_mapping = false; in large_ralloc_no_move_expand()179 new_mapping = true; in large_ralloc_no_move_expand()194 if (config_stats && new_mapping) { in large_ralloc_no_move_expand()