odb 75 source4/ntvfs/common/opendb.c struct odb_context *odb, DATA_BLOB *file_key)
odb 77 source4/ntvfs/common/opendb.c return ops->odb_lock(mem_ctx, odb, file_key);
odb 172 source4/ntvfs/common/opendb.c NTSTATUS odb_get_file_infos(struct odb_context *odb, DATA_BLOB *key,
odb 175 source4/ntvfs/common/opendb.c return ops->odb_get_file_infos(odb, key, del_on_close, write_time);
odb 26 source4/ntvfs/common/opendb.h struct odb_context *odb, DATA_BLOB *file_key);
odb 42 source4/ntvfs/common/opendb.h NTSTATUS (*odb_get_file_infos)(struct odb_context *odb, DATA_BLOB *key,
odb 66 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb;
odb 89 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb;
odb 91 source4/ntvfs/common/opendb_tdb.c odb = talloc(mem_ctx, struct odb_context);
odb 92 source4/ntvfs/common/opendb_tdb.c if (odb == NULL) {
odb 96 source4/ntvfs/common/opendb_tdb.c odb->w = cluster_tdb_tmp_open(odb, ntvfs_ctx->lp_ctx, "openfiles.tdb", TDB_DEFAULT);
odb 97 source4/ntvfs/common/opendb_tdb.c if (odb->w == NULL) {
odb 98 source4/ntvfs/common/opendb_tdb.c talloc_free(odb);
odb 102 source4/ntvfs/common/opendb_tdb.c odb->ntvfs_ctx = ntvfs_ctx;
odb 104 source4/ntvfs/common/opendb_tdb.c odb->oplocks = share_bool_option(ntvfs_ctx->config, SHARE_OPLOCKS, SHARE_OPLOCKS_DEFAULT);
odb 106 source4/ntvfs/common/opendb_tdb.c odb->lease_ctx = sys_lease_context_create(ntvfs_ctx->config, odb,
odb 111 source4/ntvfs/common/opendb_tdb.c return odb;
odb 119 source4/ntvfs/common/opendb_tdb.c tdb_chainunlock(lck->odb->w->tdb, lck->key);
odb 130 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb, DATA_BLOB *file_key)
odb 140 source4/ntvfs/common/opendb_tdb.c lck->odb = talloc_reference(lck, odb);
odb 148 source4/ntvfs/common/opendb_tdb.c if (tdb_chainlock(odb->w->tdb, lck->key) != 0) {
odb 236 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb = lck->odb;
odb 241 source4/ntvfs/common/opendb_tdb.c dbuf = tdb_fetch(odb->w->tdb, lck->key);
odb 249 source4/ntvfs/common/opendb_tdb.c ndr_err = ndr_pull_struct_blob(&blob, lck, lp_iconv_convenience(lck->odb->ntvfs_ctx->lp_ctx), file, (ndr_pull_flags_fn_t)ndr_pull_opendb_file);
odb 263 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb = lck->odb;
odb 270 source4/ntvfs/common/opendb_tdb.c ret = tdb_delete(odb->w->tdb, lck->key);
odb 277 source4/ntvfs/common/opendb_tdb.c ndr_err = ndr_push_struct_blob(&blob, lck, lp_iconv_convenience(lck->odb->ntvfs_ctx->lp_ctx), file, (ndr_push_flags_fn_t)ndr_push_opendb_file);
odb 285 source4/ntvfs/common/opendb_tdb.c ret = tdb_store(odb->w->tdb, lck->key, dbuf, TDB_REPLACE);
odb 346 source4/ntvfs/common/opendb_tdb.c static NTSTATUS odb_tdb_open_can_internal(struct odb_context *odb,
odb 382 source4/ntvfs/common/opendb_tdb.c odb_oplock_break_send(odb->ntvfs_ctx->msg_ctx,
odb 431 source4/ntvfs/common/opendb_tdb.c odb_oplock_break_send(odb->ntvfs_ctx->msg_ctx,
odb 459 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb = lck->odb;
odb 465 source4/ntvfs/common/opendb_tdb.c if (odb->oplocks == false) {
odb 514 source4/ntvfs/common/opendb_tdb.c if (odb->lease_ctx && fd) {
odb 516 source4/ntvfs/common/opendb_tdb.c status = sys_lease_setup(odb->lease_ctx, lck->can_open.e);
odb 553 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb = lck->odb;
odb 564 source4/ntvfs/common/opendb_tdb.c lck->file.pending[lck->file.num_pending].server = odb->ntvfs_ctx->server_id;
odb 579 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb = lck->odb;
odb 590 source4/ntvfs/common/opendb_tdb.c cluster_id_equal(&odb->ntvfs_ctx->server_id, &lck->file.entries[i].server)) {
odb 594 source4/ntvfs/common/opendb_tdb.c if (odb->lease_ctx && lck->file.entries[i].fd) {
odb 596 source4/ntvfs/common/opendb_tdb.c status = sys_lease_remove(odb->lease_ctx, &lck->file.entries[i]);
odb 614 source4/ntvfs/common/opendb_tdb.c messaging_send_ptr(odb->ntvfs_ctx->msg_ctx,
odb 640 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb = lck->odb;
odb 650 source4/ntvfs/common/opendb_tdb.c cluster_id_equal(&odb->ntvfs_ctx->server_id, &lck->file.entries[i].server)) {
odb 653 source4/ntvfs/common/opendb_tdb.c if (odb->lease_ctx && lck->file.entries[i].fd) {
odb 655 source4/ntvfs/common/opendb_tdb.c status = sys_lease_update(odb->lease_ctx, &lck->file.entries[i]);
odb 669 source4/ntvfs/common/opendb_tdb.c messaging_send_ptr(odb->ntvfs_ctx->msg_ctx,
odb 684 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb = lck->odb;
odb 696 source4/ntvfs/common/opendb_tdb.c odb_oplock_break_send(odb->ntvfs_ctx->msg_ctx,
odb 715 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb = lck->odb;
odb 725 source4/ntvfs/common/opendb_tdb.c cluster_id_equal(&odb->ntvfs_ctx->server_id, &lck->file.pending[i].server)) {
odb 815 source4/ntvfs/common/opendb_tdb.c static NTSTATUS odb_tdb_get_file_infos(struct odb_context *odb, DATA_BLOB *key,
odb 827 source4/ntvfs/common/opendb_tdb.c lck = odb_lock(odb, odb, key);
odb 856 source4/ntvfs/common/opendb_tdb.c struct odb_context *odb = lck->odb;
odb 859 source4/ntvfs/common/opendb_tdb.c status = odb_tdb_open_can_internal(odb, &lck->file, stream_id,
odb 868 source4/ntvfs/common/opendb_tdb.c lck->can_open.e->server = odb->ntvfs_ctx->server_id;