Lines Matching refs:descriptor_t
37 static int add_path_state(descriptor_t *dp, nvlist_t *attrs);
38 static int add_wwn(descriptor_t *dp, nvlist_t *attrs);
39 static descriptor_t **get_assoc_drives(descriptor_t *desc, int *errp);
40 static descriptor_t **get_assoc_controllers(descriptor_t *desc, int *errp);
43 descriptor_t **
44 path_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp) in path_get_assoc_descriptors()
58 path_get_attributes(descriptor_t *dp, int *errp) in path_get_attributes()
98 descriptor_t *
101 descriptor_t **paths; in path_get_descriptor_by_name()
103 descriptor_t *path = NULL; in path_get_descriptor_by_name()
128 descriptor_t **
135 path_get_name(descriptor_t *desc) in path_get_name()
142 path_get_stats(descriptor_t *dp, int stat_type, int *errp) in path_get_stats()
181 add_path_state(descriptor_t *dp, nvlist_t *attrs) in add_path_state()
219 add_wwn(descriptor_t *dp, nvlist_t *attrs) in add_wwn()
248 static descriptor_t **
249 get_assoc_controllers(descriptor_t *desc, int *errp) in get_assoc_controllers()
252 descriptor_t **controllers; in get_assoc_controllers()
259 controllers = (descriptor_t **)calloc(2, sizeof (descriptor_t *)); in get_assoc_controllers()
281 static descriptor_t **
282 get_assoc_drives(descriptor_t *desc, int *errp) in get_assoc_drives()
285 descriptor_t **drives; in get_assoc_drives()
295 drives = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_drives()