Lines Matching defs:drv
208 vlVaDriver *drv;
217 drv = VL_VA_DRIVER(ctx);
219 if (!drv)
256 mtx_lock(&drv->mutex);
257 *config_id = handle_table_add(drv->htab, config);
258 mtx_unlock(&drv->mutex);
346 mtx_lock(&drv->mutex);
347 *config_id = handle_table_add(drv->htab, config);
348 mtx_unlock(&drv->mutex);
356 vlVaDriver *drv;
362 drv = VL_VA_DRIVER(ctx);
364 if (!drv)
367 mtx_lock(&drv->mutex);
368 config = handle_table_get(drv->htab, config_id);
371 mtx_unlock(&drv->mutex);
376 handle_table_remove(drv->htab, config_id);
377 mtx_unlock(&drv->mutex);
386 vlVaDriver *drv;
392 drv = VL_VA_DRIVER(ctx);
394 if (!drv)
397 mtx_lock(&drv->mutex);
398 config = handle_table_get(drv->htab, config_id);
399 mtx_unlock(&drv->mutex);