Lines Matching defs:ub

1045              unlock_baton_t *ub,
1051 *fs_err = get_lock(&lock, ub->fs, path, TRUE, TRUE, pool);
1052 if (!*fs_err && !ub->break_lock)
1055 *fs_err = SVN_FS__ERR_NO_SUCH_LOCK(ub->fs, path);
1056 else if (strcmp(ub->fs->access_ctx->username, lock->owner) != 0)
1057 *fs_err = SVN_FS__ERR_LOCK_OWNER_MISMATCH(ub->fs,
1058 ub->fs->access_ctx->username,
1087 unlock_baton_t *ub = baton;
1094 ub->infos = apr_array_make(ub->result_pool, ub->targets->nelts,
1097 SVN_ERR(ub->fs->vtable->youngest_rev(&youngest, ub->fs, pool));
1098 SVN_ERR(ub->fs->vtable->revision_root(&root, ub->fs, youngest, pool));
1100 for (i = 0; i < ub->targets->nelts; ++i)
1102 const svn_sort__item_t *item = &APR_ARRAY_IDX(ub->targets, i,
1110 if (!ub->skip_check)
1111 SVN_ERR(check_unlock(&info.fs_err, info.path, token, ub, root,
1130 APR_ARRAY_PUSH(ub->infos, unlock_info_t) = info;
1133 rev_0_path = svn_fs_x__path_rev_absolute(ub->fs, 0, pool);
1144 for (j = 0; j < ub->infos->nelts; ++j)
1146 unlock_info_t *info = &APR_ARRAY_IDX(ub->infos, j, unlock_info_t);
1153 SVN_ERR(delete_lock(ub->fs->path, info->path, iterpool));
1165 SVN_ERR(delete_from_digest(ub->fs->path, paths, last_path,
1188 if (last_path && j == ub->infos->nelts - 1)
1189 SVN_ERR(delete_from_digest(ub->fs->path, paths, last_path,
1206 unlock_baton_t ub;
1215 ub.fs = fs;
1216 ub.targets = targets;
1217 ub.skip_check = TRUE;
1218 ub.result_pool = scratch_pool;
1220 /* No ub.infos[].fs_err error because skip_check is TRUE. */
1221 SVN_ERR(unlock_body(&ub, scratch_pool));
1340 unlock_baton_t ub;
1371 ub.fs = fs;
1372 ub.targets = sorted_targets;
1373 ub.skip_check = FALSE;
1374 ub.break_lock = break_lock;
1375 ub.result_pool = result_pool;
1378 err = svn_fs_x__with_write_lock(fs, unlock_body, &ub, iterpool);
1379 for (i = 0; i < ub.infos->nelts; ++i)
1381 unlock_info_t *info = &APR_ARRAY_IDX(ub.infos, i, unlock_info_t);