Lines Matching refs:descriptor_t

62 static dm_descriptor_t *ptr_array_to_desc_array(descriptor_t **ptrs, int *errp);
63 static descriptor_t **desc_array_to_ptr_array(dm_descriptor_t *da, int *errp);
70 descriptor_t *dp; in dm_free_descriptor()
75 dp = (descriptor_t *)(uintptr_t)desc; in dm_free_descriptor()
85 descriptor_t **dp; in dm_free_descriptors()
113 descriptor_t **descs = NULL; in dm_get_associated_descriptors()
114 descriptor_t *dp; in dm_get_associated_descriptors()
117 dp = (descriptor_t *)(uintptr_t)desc; in dm_get_associated_descriptors()
197 descriptor_t *dp; in dm_get_attributes()
201 dp = (descriptor_t *)(uintptr_t)desc; in dm_get_attributes()
301 descriptor_t **descs = NULL; in dm_get_descriptors()
344 descriptor_t *dp; in dm_get_name()
348 dp = (descriptor_t *)(uintptr_t)desc; in dm_get_name()
409 descriptor_t *dp; in dm_get_stats()
413 dp = (descriptor_t *)(uintptr_t)desc; in dm_get_stats()
479 descriptor_t *dp; in dm_get_type()
481 dp = (descriptor_t *)(uintptr_t)desc; in dm_get_type()
1140 descriptor_t **
1143 descriptor_t **empty; in libdiskmgt_empty_desc_array()
1145 empty = (descriptor_t **)calloc(1, sizeof (descriptor_t *)); in libdiskmgt_empty_desc_array()
1198 static descriptor_t **
1202 return ((descriptor_t **)descs); in desc_array_to_ptr_array()
1207 descriptor_t **da; in desc_array_to_ptr_array()
1212 da = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in desc_array_to_ptr_array()
1219 da[i] = (descriptor_t *)(uintptr_t)descs[i]; in desc_array_to_ptr_array()
1230 ptr_array_to_desc_array(descriptor_t **ptrs, int *errp) in ptr_array_to_desc_array()