Lines Matching defs:errp
36 static descriptor_t **get_assoc_drives(descriptor_t *desc, int *errp);
37 static descriptor_t **get_assoc_controllers(descriptor_t *desc, int *errp);
41 path_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp)
45 return (get_assoc_drives(desc, errp));
47 return (get_assoc_controllers(desc, errp));
50 *errp = EINVAL;
55 path_get_attributes(descriptor_t *dp, int *errp)
63 *errp = ENOMEM;
69 *errp = ENOMEM;
81 *errp = ENOMEM;
86 *errp = ENOMEM;
91 *errp = 0;
96 path_get_descriptor_by_name(char *name, int *errp)
102 paths = cache_get_descriptors(DM_PATH, errp);
103 if (*errp != 0) {
118 *errp = ENODEV;
126 path_get_descriptors(int filter[], int *errp)
128 return (cache_get_descriptors(DM_PATH, errp));
139 path_get_stats(descriptor_t *dp, int stat_type, int *errp)
142 *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;