Lines Matching defs:errp
39 static descriptor_t **get_assoc_buses(descriptor_t *desc, int *errp);
40 static descriptor_t **get_assoc_controllers(descriptor_t *desc, int *errp);
43 bus_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp)
47 return (get_assoc_buses(desc, errp));
49 return (get_assoc_controllers(desc, errp));
52 *errp = EINVAL;
57 bus_get_attributes(descriptor_t *dp, int *errp)
63 *errp = ENOMEM;
71 *errp = ENOMEM;
78 *errp = ENOMEM;
86 *errp = ENOMEM;
91 *errp = 0;
96 bus_get_descriptor_by_name(char *name, int *errp)
102 buses = cache_get_descriptors(DM_BUS, errp);
103 if (*errp != 0) {
118 *errp = ENODEV;
126 bus_get_descriptors(int filter[], int *errp)
128 return (cache_get_descriptors(DM_BUS, errp));
139 bus_get_stats(descriptor_t *dp, int stat_type, int *errp)
142 *errp = EINVAL;
165 get_assoc_buses(descriptor_t *desc, int *errp)
178 allbuses = cache_get_descriptors(DM_BUS, errp);
179 if (*errp != 0) {
189 *errp = ENOMEM;
214 *errp = 0;
219 get_assoc_controllers(descriptor_t *desc, int *errp)
234 *errp = ENOMEM;
240 NULL, NULL, errp);
241 if (*errp != 0) {
248 *errp = 0;