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)
58 path_get_attributes(descriptor_t *dp, int *errp)
98 descriptor_t *
101 descriptor_t **paths;
103 descriptor_t *path = NULL;
128 descriptor_t **
135 path_get_name(descriptor_t *desc)
142 path_get_stats(descriptor_t *dp, int stat_type, int *errp)
181 add_path_state(descriptor_t *dp, nvlist_t *attrs)
219 add_wwn(descriptor_t *dp, nvlist_t *attrs)
248 static descriptor_t **
249 get_assoc_controllers(descriptor_t *desc, int *errp)
252 descriptor_t **controllers;
259 controllers = (descriptor_t **)calloc(2, sizeof (descriptor_t *));
281 static descriptor_t **
282 get_assoc_drives(descriptor_t *desc, int *errp)
285 descriptor_t **drives;
295 drives = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));