Lines Matching defs:drv
238 vlVaDriver *drv;
247 drv = VL_VA_DRIVER(ctx);
249 if (!drv)
286 mtx_lock(&drv->mutex);
287 *config_id = handle_table_add(drv->htab, config);
288 mtx_unlock(&drv->mutex);
377 mtx_lock(&drv->mutex);
378 *config_id = handle_table_add(drv->htab, config);
379 mtx_unlock(&drv->mutex);
387 vlVaDriver *drv;
393 drv = VL_VA_DRIVER(ctx);
395 if (!drv)
398 mtx_lock(&drv->mutex);
399 config = handle_table_get(drv->htab, config_id);
402 mtx_unlock(&drv->mutex);
407 handle_table_remove(drv->htab, config_id);
408 mtx_unlock(&drv->mutex);
417 vlVaDriver *drv;
423 drv = VL_VA_DRIVER(ctx);
425 if (!drv)
428 mtx_lock(&drv->mutex);
429 config = handle_table_get(drv->htab, config_id);
430 mtx_unlock(&drv->mutex);