Lines Matching defs:errp
39 static descriptor_t **get_assoc_drives(descriptor_t *desc, int *errp);
40 static descriptor_t **get_assoc_controllers(descriptor_t *desc, int *errp);
44 path_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp)
48 return (get_assoc_drives(desc, errp));
50 return (get_assoc_controllers(desc, errp));
53 *errp = EINVAL;
58 path_get_attributes(descriptor_t *dp, int *errp)
66 *errp = ENOMEM;
72 *errp = ENOMEM;
84 *errp = ENOMEM;
89 *errp = ENOMEM;
94 *errp = 0;
99 path_get_descriptor_by_name(char *name, int *errp)
105 paths = cache_get_descriptors(DM_PATH, errp);
106 if (*errp != 0) {
121 *errp = ENODEV;
129 path_get_descriptors(int filter[], int *errp)
131 return (cache_get_descriptors(DM_PATH, errp));
142 path_get_stats(descriptor_t *dp, int stat_type, int *errp)
145 *errp = EINVAL;
249 get_assoc_controllers(descriptor_t *desc, int *errp)
261 *errp = ENOMEM;
268 pp->controller, NULL, NULL, errp);
269 if (*errp != 0) {
277 *errp = 0;
282 get_assoc_drives(descriptor_t *desc, int *errp)
297 *errp = ENOMEM;
303 errp);
304 if (*errp != 0) {
311 *errp = 0;