Lines Matching refs:descs

113 	descriptor_t **descs = NULL;  in dm_get_associated_descriptors()  local
136 descs = drive_get_assoc_descriptors(dp, type, errp); in dm_get_associated_descriptors()
139 descs = bus_get_assoc_descriptors(dp, type, errp); in dm_get_associated_descriptors()
142 descs = controller_get_assoc_descriptors(dp, type, errp); in dm_get_associated_descriptors()
145 descs = media_get_assoc_descriptors(dp, type, errp); in dm_get_associated_descriptors()
148 descs = slice_get_assoc_descriptors(dp, type, errp); in dm_get_associated_descriptors()
151 descs = partition_get_assoc_descriptors(dp, type, errp); in dm_get_associated_descriptors()
154 descs = path_get_assoc_descriptors(dp, type, errp); in dm_get_associated_descriptors()
157 descs = alias_get_assoc_descriptors(dp, type, errp); in dm_get_associated_descriptors()
166 return (ptr_array_to_desc_array(descs, errp)); in dm_get_associated_descriptors()
301 descriptor_t **descs = NULL; in dm_get_descriptors() local
308 descs = drive_get_descriptors(filter, errp); in dm_get_descriptors()
311 descs = bus_get_descriptors(filter, errp); in dm_get_descriptors()
314 descs = controller_get_descriptors(filter, errp); in dm_get_descriptors()
317 descs = media_get_descriptors(filter, errp); in dm_get_descriptors()
320 descs = slice_get_descriptors(filter, errp); in dm_get_descriptors()
323 descs = partition_get_descriptors(filter, errp); in dm_get_descriptors()
326 descs = path_get_descriptors(filter, errp); in dm_get_descriptors()
329 descs = alias_get_descriptors(filter, errp); in dm_get_descriptors()
338 return (ptr_array_to_desc_array(descs, errp)); in dm_get_descriptors()
1179 desc_array_to_ptr_array(dm_descriptor_t *descs, int *errp) in desc_array_to_ptr_array() argument
1182 return ((descriptor_t **)descs); in desc_array_to_ptr_array()
1189 for (cnt = 0; descs[cnt]; cnt++) in desc_array_to_ptr_array()
1198 for (i = 0; descs[i]; i++) { in desc_array_to_ptr_array()
1199 da[i] = (descriptor_t *)(uintptr_t)descs[i]; in desc_array_to_ptr_array()
1202 free(descs); in desc_array_to_ptr_array()