Lines Matching refs:errp

37 static descriptor_t	**get_assoc_drives(descriptor_t *desc, int *errp);
38 static descriptor_t **get_assoc_controllers(descriptor_t *desc, int *errp);
42 path_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp) in path_get_assoc_descriptors() argument
46 return (get_assoc_drives(desc, errp)); in path_get_assoc_descriptors()
48 return (get_assoc_controllers(desc, errp)); in path_get_assoc_descriptors()
51 *errp = EINVAL; in path_get_assoc_descriptors()
56 path_get_attributes(descriptor_t *dp, int *errp) in path_get_attributes() argument
64 *errp = ENOMEM; in path_get_attributes()
70 *errp = ENOMEM; in path_get_attributes()
82 *errp = ENOMEM; in path_get_attributes()
87 *errp = ENOMEM; in path_get_attributes()
92 *errp = 0; in path_get_attributes()
97 path_get_descriptor_by_name(char *name, int *errp) in path_get_descriptor_by_name() argument
103 paths = cache_get_descriptors(DM_PATH, errp); in path_get_descriptor_by_name()
104 if (*errp != 0) { in path_get_descriptor_by_name()
119 *errp = ENODEV; in path_get_descriptor_by_name()
127 path_get_descriptors(int filter[], int *errp) in path_get_descriptors() argument
129 return (cache_get_descriptors(DM_PATH, errp)); in path_get_descriptors()
140 path_get_stats(descriptor_t *dp, int stat_type, int *errp) in path_get_stats() argument
143 *errp = EINVAL; in path_get_stats()
247 get_assoc_controllers(descriptor_t *desc, int *errp) in get_assoc_controllers() argument
259 *errp = ENOMEM; in get_assoc_controllers()
266 pp->controller, NULL, NULL, errp); in get_assoc_controllers()
267 if (*errp != 0) { in get_assoc_controllers()
275 *errp = 0; in get_assoc_controllers()
280 get_assoc_drives(descriptor_t *desc, int *errp) in get_assoc_drives() argument
295 *errp = ENOMEM; in get_assoc_drives()
301 errp); in get_assoc_drives()
302 if (*errp != 0) { in get_assoc_drives()
309 *errp = 0; in get_assoc_drives()