Lines Matching defs:errp
35 static descriptor_t **get_assoc_buses(descriptor_t *desc, int *errp);
36 static descriptor_t **get_assoc_controllers(descriptor_t *desc, int *errp);
39 bus_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp)
43 return (get_assoc_buses(desc, errp));
45 return (get_assoc_controllers(desc, errp));
48 *errp = EINVAL;
53 bus_get_attributes(descriptor_t *dp, int *errp)
59 *errp = ENOMEM;
67 *errp = ENOMEM;
74 *errp = ENOMEM;
82 *errp = ENOMEM;
87 *errp = 0;
92 bus_get_descriptor_by_name(char *name, int *errp)
98 buses = cache_get_descriptors(DM_BUS, errp);
99 if (*errp != 0) {
114 *errp = ENODEV;
122 bus_get_descriptors(int filter[], int *errp)
124 return (cache_get_descriptors(DM_BUS, errp));
135 bus_get_stats(descriptor_t *dp, int stat_type, int *errp)
138 *errp = EINVAL;
161 get_assoc_buses(descriptor_t *desc, int *errp)
174 allbuses = cache_get_descriptors(DM_BUS, errp);
175 if (*errp != 0) {
185 *errp = ENOMEM;
210 *errp = 0;
215 get_assoc_controllers(descriptor_t *desc, int *errp)
230 *errp = ENOMEM;
236 NULL, NULL, errp);
237 if (*errp != 0) {
244 *errp = 0;