Lines Matching refs:da
91 struct rte_devargs da; in __handle_secondary_request() local
118 ret = rte_devargs_parse(&da, req->devargs); in __handle_secondary_request()
121 free(da.args); /* we don't need those */ in __handle_secondary_request()
122 da.args = NULL; in __handle_secondary_request()
131 bus = rte_bus_find_by_name(da.bus->name); in __handle_secondary_request()
133 RTE_LOG(ERR, EAL, "Cannot find bus (%s)\n", da.bus->name); in __handle_secondary_request()
138 dev = bus->find_device(NULL, cmp_dev_name, da.name); in __handle_secondary_request()
140 RTE_LOG(ERR, EAL, "Cannot find plugged device (%s)\n", da.name); in __handle_secondary_request()
233 struct rte_devargs *da; in __handle_primary_request() local
247 da = calloc(1, sizeof(*da)); in __handle_primary_request()
248 if (da == NULL) { in __handle_primary_request()
253 ret = rte_devargs_parse(da, req->devargs); in __handle_primary_request()
257 bus = rte_bus_find_by_name(da->bus->name); in __handle_primary_request()
259 RTE_LOG(ERR, EAL, "Cannot find bus (%s)\n", da->bus->name); in __handle_primary_request()
264 dev = bus->find_device(NULL, cmp_dev_name, da->name); in __handle_primary_request()
266 RTE_LOG(ERR, EAL, "Cannot find plugged device (%s)\n", da->name); in __handle_primary_request()
286 free(da->args); in __handle_primary_request()
287 free(da); in __handle_primary_request()