Lines Matching refs:device_volumes
34 static Volume* device_volumes = NULL; variable
97 device_volumes = malloc(alloc * sizeof(Volume)); in load_volume_table()
100 device_volumes[0].mount_point = "/tmp"; in load_volume_table()
101 device_volumes[0].fs_type = "ramdisk"; in load_volume_table()
102 device_volumes[0].device = NULL; in load_volume_table()
103 device_volumes[0].device2 = NULL; in load_volume_table()
104 device_volumes[0].option = NULL; in load_volume_table()
105 device_volumes[0].dump = NULL; in load_volume_table()
106 device_volumes[0].pass = NULL; in load_volume_table()
139 device_volumes = realloc(device_volumes, alloc * sizeof(Volume)); 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()
159 Volume* v = &device_volumes[i]; in load_volume_table()
176 Volume* v = device_volumes + i; in volume_for_path()