Searched refs:newindexes (Results 1 – 1 of 1) sorted by relevance
3270 uint16_t *newindexes = NULL; in disk_reserve_index() local3289 newindexes = (uint16_t *)calloc(VTOC_SIZE, sizeof (uint16_t)); in disk_reserve_index()3290 if (newindexes != NULL) { in disk_reserve_index()3292 newindexes[i] = oldindexes[i]; in disk_reserve_index()3294 newindexes[(int)index] = 1; in disk_reserve_index()3297 newindexes, VTOC_SIZE); in disk_reserve_index()3299 free(newindexes); in disk_reserve_index()3325 uint16_t *newindexes = NULL; in disk_release_index() local3342 newindexes = (uint16_t *)calloc(VTOC_SIZE, sizeof (uint16_t)); in disk_release_index()3343 if (newindexes != NULL) { in disk_release_index()[all …]