Home
last modified time | relevance | path

Searched refs:newindexes (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_device_util.c3270 uint16_t *newindexes = NULL; in disk_reserve_index() local
3289 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() local
3342 newindexes = (uint16_t *)calloc(VTOC_SIZE, sizeof (uint16_t)); in disk_release_index()
3343 if (newindexes != NULL) { in disk_release_index()
[all …]