Lines Matching refs:descriptor_t
325 static descriptor_t **apply_filter(descriptor_t **drives, int filter[],
335 static descriptor_t **get_assoc_alias(disk_t *diskp, int *errp);
336 static descriptor_t **get_assoc_controllers(descriptor_t *dp, int *errp);
337 static descriptor_t **get_assoc_paths(descriptor_t *dp, int *errp);
360 descriptor_t **
361 drive_get_assoc_descriptors(descriptor_t *dp, dm_desc_type_t type, in drive_get_assoc_descriptors()
382 descriptor_t **
383 drive_get_assocs(descriptor_t *desc, int *errp) in drive_get_assocs()
385 descriptor_t **drives; in drive_get_assocs()
389 drives = (descriptor_t **)calloc(2, sizeof (descriptor_t *)); in drive_get_assocs()
407 drive_get_attributes(descriptor_t *dp, int *errp) in drive_get_attributes()
440 descriptor_t *
444 descriptor_t **drives; in drive_get_descriptor_by_name()
445 descriptor_t *drive = NULL; in drive_get_descriptor_by_name()
483 descriptor_t **
486 descriptor_t **drives; in drive_get_descriptors()
494 descriptor_t **found; in drive_get_descriptors()
507 drive_get_name(descriptor_t *dp) in drive_get_name()
513 drive_get_stats(descriptor_t *dp, int stat_type, int *errp) in drive_get_stats()
644 static descriptor_t **
645 apply_filter(descriptor_t **drives, int filter[], int *errp) in apply_filter()
648 descriptor_t **found; in apply_filter()
655 found = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in apply_filter()
727 static descriptor_t **
732 descriptor_t **out_array; in get_assoc_alias()
748 out_array = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t)); in get_assoc_alias()
774 static descriptor_t **
775 get_assoc_controllers(descriptor_t *dp, int *errp) in get_assoc_controllers()
779 descriptor_t **controllers; in get_assoc_controllers()
788 controllers = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_controllers()
809 static descriptor_t **
810 get_assoc_paths(descriptor_t *dp, int *errp) in get_assoc_paths()
814 descriptor_t **paths; in get_assoc_paths()
826 paths = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_paths()