Lines Matching refs:lockdb
840 dav_lockdb *lockdb,
849 const dav_hooks_locks *locks_hooks = (lockdb ? lockdb->hooks : NULL);
893 if (lockdb == NULL) {
905 if ((err = dav_lock_query(lockdb, resource, &lock_list)) != NULL) {
1132 if (lockdb == NULL) {
1141 ** If no lockdb is provided, then validation fails for
1424 ctx->w.lockdb,
1500 dav_lockdb *lockdb)
1586 ** Otherwise, assume provided lockdb is valid and opened rw.
1588 if (lockdb == NULL) {
1590 if ((err = (*locks_hooks->open_lockdb)(r, 0, 0, &lockdb)) != NULL) {
1613 if (lockdb != NULL) {
1614 ctx.w.lockdb = lockdb;
1625 err = dav_validate_resource_state(r->pool, resource, lockdb,
1640 err = dav_validate_resource_state(r->pool, parent_resource, lockdb,
1677 (*locks_hooks->close_lockdb)(lockdb);
1845 * lockdb - pointer to lock database (opened if necessary)
1852 dav_lockdb **lockdb,
1864 if (*lockdb == NULL) {
1873 if ((err = (*locks_hooks->open_lockdb)(r, 0, 0, lockdb)) != NULL) {
1881 if ((err = dav_lock_query(*lockdb, resource, &lock_list)) != NULL) {
1904 dav_lockdb *lockdb = NULL;
1939 &lockdb, &checkout_parent))
1999 &lockdb, &checkout_resource)) != NULL) {
2030 if (lockdb != NULL)
2031 (*lockdb->hooks->close_lockdb)(lockdb);