enter_db_lock
if (enter_db_lock(&proto, root_dir) != 1) {
static int enter_db_lock(struct di_devlink_handle *hdp, const char *root_dir);