/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/lib/tdb/common/ |
H A D | lock.c | 10 ** NOTE! The following LGPL license applies to the tdb 32 void tdb_setalarm_sigptr(struct tdb_context *tdb, volatile sig_atomic_t *ptr) argument 34 tdb->interrupt_sig_ptr = ptr; 45 int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, argument 51 if (tdb->flags & TDB_NOLOCK) { 55 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { 56 tdb->ecode = TDB_ERR_RDONLY; 67 ret = fcntl(tdb->fd,lck_type,&fl); 71 tdb 98 tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len) argument 120 _tdb_lock(struct tdb_context *tdb, int list, int ltype, int op) argument 195 tdb_lock(struct tdb_context *tdb, int list, int ltype) argument 207 tdb_lock_nonblock(struct tdb_context *tdb, int list, int ltype) argument 216 tdb_unlock(struct tdb_context *tdb, int list, int ltype) argument 304 tdb_transaction_lock(struct tdb_context *tdb, int ltype) argument 327 tdb_transaction_unlock(struct tdb_context *tdb) argument 348 _tdb_lockall(struct tdb_context *tdb, int ltype, int op) argument 395 _tdb_unlockall(struct tdb_context *tdb, int ltype) argument 431 tdb_lockall(struct tdb_context *tdb) argument 438 tdb_lockall_mark(struct tdb_context *tdb) argument 445 tdb_lockall_unmark(struct tdb_context *tdb) argument 452 tdb_lockall_nonblock(struct tdb_context *tdb) argument 460 tdb_unlockall(struct tdb_context *tdb) argument 467 tdb_lockall_read(struct tdb_context *tdb) argument 474 tdb_lockall_read_nonblock(struct tdb_context *tdb) argument 482 tdb_unlockall_read(struct tdb_context *tdb) argument 490 tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) argument 500 tdb_chainlock_nonblock(struct tdb_context *tdb, TDB_DATA key) argument 508 tdb_chainlock_mark(struct tdb_context *tdb, TDB_DATA key) argument 516 tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key) argument 522 tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) argument 528 tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) argument 536 tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) argument 545 tdb_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 558 tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 571 tdb_write_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument 577 tdb_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument [all...] |
H A D | transaction.c | 8 ** NOTE! The following LGPL license applies to the tdb 43 tdb_free() the old record to place it on the normal tdb freelist 63 - keep a mirrored copy of the tdb hash chain heads to allow for the 67 - allow callers to mix transaction and non-transaction use of tdb, 78 - check for a valid recovery record on open of the tdb, while the 88 - if TDB_ALLOW_NESTING is passed to flags in tdb open, or added using 92 Note: this default may change in future versions of tdb. 97 - if TDB_DISALLOW_NESTING is passed to flags in tdb open, or added using 102 Note: this default may change in future versions of tdb. 110 /* we keep a mirrored copy of the tdb has 153 transaction_read(struct tdb_context *tdb, tdb_off_t off, void *buf, tdb_len_t len, int cv) argument 210 transaction_write(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 325 transaction_write_existing(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 373 transaction_next_hash_chain(struct tdb_context *tdb, uint32_t *chain) argument 388 transaction_oob(struct tdb_context *tdb, tdb_off_t len, int probe) argument 400 transaction_expand_file(struct tdb_context *tdb, tdb_off_t size, tdb_off_t addition) argument 417 transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, size_t len) argument 437 tdb_transaction_start(struct tdb_context *tdb) argument 545 transaction_sync(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t length) argument 572 _tdb_transaction_cancel(struct tdb_context *tdb) argument 645 tdb_transaction_cancel(struct tdb_context *tdb) argument 654 tdb_recovery_size(struct tdb_context *tdb) argument 682 tdb_recovery_allocate(struct tdb_context *tdb, tdb_len_t *recovery_size, tdb_off_t *recovery_offset, tdb_len_t *recovery_max_size) argument 767 transaction_setup_recovery(struct tdb_context *tdb, tdb_off_t *magic_offset) argument 897 _tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 993 tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 1002 tdb_transaction_commit(struct tdb_context *tdb) argument 1116 tdb_transaction_recover(struct tdb_context *tdb) argument [all...] |
H A D | open.c | 10 ** NOTE! The following LGPL license applies to the tdb 49 static int tdb_new_database(struct tdb_context *tdb, int hash_size) argument 59 tdb->ecode = TDB_ERR_OOM; 66 if (tdb->flags & TDB_INTERNAL) { 67 tdb->map_size = size; 68 tdb->map_ptr = (char *)newdb; 69 memcpy(&tdb->header, newdb, sizeof(tdb->header)); 74 if (lseek(tdb->fd, 0, SEEK_SET) == -1) 77 if (ftruncate(tdb 142 null_log_fn(struct tdb_context *tdb, enum tdb_debug_level level, const char *fmt, ...) argument 152 struct tdb_context *tdb; local 395 tdb_set_max_dead(struct tdb_context *tdb, int max_dead) argument 405 tdb_close(struct tdb_context *tdb) argument 446 tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx) argument 452 tdb_get_logging_private(struct tdb_context *tdb) argument 457 tdb_reopen_internal(struct tdb_context *tdb, bool active_lock) argument 518 tdb_reopen(struct tdb_context *tdb) argument 526 struct tdb_context *tdb; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/lib/tdb/common/ |
H A D | lock.c | 10 ** NOTE! The following LGPL license applies to the tdb 32 void tdb_setalarm_sigptr(struct tdb_context *tdb, volatile sig_atomic_t *ptr) argument 34 tdb->interrupt_sig_ptr = ptr; 45 int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, argument 51 if (tdb->flags & TDB_NOLOCK) { 55 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { 56 tdb->ecode = TDB_ERR_RDONLY; 67 ret = fcntl(tdb->fd,lck_type,&fl); 71 tdb 98 tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len) argument 120 _tdb_lock(struct tdb_context *tdb, int list, int ltype, int op) argument 195 tdb_lock(struct tdb_context *tdb, int list, int ltype) argument 207 tdb_lock_nonblock(struct tdb_context *tdb, int list, int ltype) argument 216 tdb_unlock(struct tdb_context *tdb, int list, int ltype) argument 304 tdb_transaction_lock(struct tdb_context *tdb, int ltype) argument 327 tdb_transaction_unlock(struct tdb_context *tdb) argument 348 _tdb_lockall(struct tdb_context *tdb, int ltype, int op) argument 395 _tdb_unlockall(struct tdb_context *tdb, int ltype) argument 431 tdb_lockall(struct tdb_context *tdb) argument 438 tdb_lockall_mark(struct tdb_context *tdb) argument 445 tdb_lockall_unmark(struct tdb_context *tdb) argument 452 tdb_lockall_nonblock(struct tdb_context *tdb) argument 460 tdb_unlockall(struct tdb_context *tdb) argument 467 tdb_lockall_read(struct tdb_context *tdb) argument 474 tdb_lockall_read_nonblock(struct tdb_context *tdb) argument 482 tdb_unlockall_read(struct tdb_context *tdb) argument 490 tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) argument 500 tdb_chainlock_nonblock(struct tdb_context *tdb, TDB_DATA key) argument 508 tdb_chainlock_mark(struct tdb_context *tdb, TDB_DATA key) argument 516 tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key) argument 522 tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) argument 528 tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) argument 536 tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) argument 545 tdb_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 558 tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 571 tdb_write_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument 577 tdb_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument [all...] |
H A D | transaction.c | 8 ** NOTE! The following LGPL license applies to the tdb 43 tdb_free() the old record to place it on the normal tdb freelist 63 - keep a mirrored copy of the tdb hash chain heads to allow for the 67 - allow callers to mix transaction and non-transaction use of tdb, 78 - check for a valid recovery record on open of the tdb, while the 88 - if TDB_ALLOW_NESTING is passed to flags in tdb open, or added using 92 Note: this default may change in future versions of tdb. 97 - if TDB_DISALLOW_NESTING is passed to flags in tdb open, or added using 102 Note: this default may change in future versions of tdb. 110 /* we keep a mirrored copy of the tdb has 153 transaction_read(struct tdb_context *tdb, tdb_off_t off, void *buf, tdb_len_t len, int cv) argument 210 transaction_write(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 325 transaction_write_existing(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 373 transaction_next_hash_chain(struct tdb_context *tdb, uint32_t *chain) argument 388 transaction_oob(struct tdb_context *tdb, tdb_off_t len, int probe) argument 400 transaction_expand_file(struct tdb_context *tdb, tdb_off_t size, tdb_off_t addition) argument 417 transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, size_t len) argument 437 tdb_transaction_start(struct tdb_context *tdb) argument 545 transaction_sync(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t length) argument 572 _tdb_transaction_cancel(struct tdb_context *tdb) argument 645 tdb_transaction_cancel(struct tdb_context *tdb) argument 654 tdb_recovery_size(struct tdb_context *tdb) argument 682 tdb_recovery_allocate(struct tdb_context *tdb, tdb_len_t *recovery_size, tdb_off_t *recovery_offset, tdb_len_t *recovery_max_size) argument 767 transaction_setup_recovery(struct tdb_context *tdb, tdb_off_t *magic_offset) argument 897 _tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 993 tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 1002 tdb_transaction_commit(struct tdb_context *tdb) argument 1116 tdb_transaction_recover(struct tdb_context *tdb) argument [all...] |
H A D | open.c | 10 ** NOTE! The following LGPL license applies to the tdb 49 static int tdb_new_database(struct tdb_context *tdb, int hash_size) argument 59 tdb->ecode = TDB_ERR_OOM; 66 if (tdb->flags & TDB_INTERNAL) { 67 tdb->map_size = size; 68 tdb->map_ptr = (char *)newdb; 69 memcpy(&tdb->header, newdb, sizeof(tdb->header)); 74 if (lseek(tdb->fd, 0, SEEK_SET) == -1) 77 if (ftruncate(tdb 142 null_log_fn(struct tdb_context *tdb, enum tdb_debug_level level, const char *fmt, ...) argument 152 struct tdb_context *tdb; local 395 tdb_set_max_dead(struct tdb_context *tdb, int max_dead) argument 405 tdb_close(struct tdb_context *tdb) argument 446 tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx) argument 452 tdb_get_logging_private(struct tdb_context *tdb) argument 457 tdb_reopen_internal(struct tdb_context *tdb, bool active_lock) argument 518 tdb_reopen(struct tdb_context *tdb) argument 526 struct tdb_context *tdb; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/libatalk/tdb/ |
H A D | lock.c | 10 ** NOTE! The following LGPL license applies to the tdb 32 void tdb_setalarm_sigptr(struct tdb_context *tdb, volatile sig_atomic_t *ptr) argument 34 tdb->interrupt_sig_ptr = ptr; 45 int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, argument 51 if (tdb->flags & TDB_NOLOCK) { 55 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { 56 tdb->ecode = TDB_ERR_RDONLY; 67 ret = fcntl(tdb->fd,lck_type,&fl); 71 tdb 98 tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len) argument 120 _tdb_lock(struct tdb_context *tdb, int list, int ltype, int op) argument 195 tdb_lock(struct tdb_context *tdb, int list, int ltype) argument 207 tdb_lock_nonblock(struct tdb_context *tdb, int list, int ltype) argument 216 tdb_unlock(struct tdb_context *tdb, int list, int ltype) argument 304 tdb_transaction_lock(struct tdb_context *tdb, int ltype) argument 327 tdb_transaction_unlock(struct tdb_context *tdb) argument 348 _tdb_lockall(struct tdb_context *tdb, int ltype, int op) argument 395 _tdb_unlockall(struct tdb_context *tdb, int ltype) argument 431 tdb_lockall(struct tdb_context *tdb) argument 438 tdb_lockall_mark(struct tdb_context *tdb) argument 445 tdb_lockall_unmark(struct tdb_context *tdb) argument 452 tdb_lockall_nonblock(struct tdb_context *tdb) argument 460 tdb_unlockall(struct tdb_context *tdb) argument 467 tdb_lockall_read(struct tdb_context *tdb) argument 474 tdb_lockall_read_nonblock(struct tdb_context *tdb) argument 482 tdb_unlockall_read(struct tdb_context *tdb) argument 490 tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) argument 500 tdb_chainlock_nonblock(struct tdb_context *tdb, TDB_DATA key) argument 508 tdb_chainlock_mark(struct tdb_context *tdb, TDB_DATA key) argument 516 tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key) argument 522 tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) argument 528 tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) argument 536 tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) argument 545 tdb_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 558 tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 571 tdb_write_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument 577 tdb_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument [all...] |
H A D | transaction.c | 8 ** NOTE! The following LGPL license applies to the tdb 43 tdb_free() the old record to place it on the normal tdb freelist 63 - keep a mirrored copy of the tdb hash chain heads to allow for the 67 - allow callers to mix transaction and non-transaction use of tdb, 78 - check for a valid recovery record on open of the tdb, while the 88 - if TDB_ALLOW_NESTING is passed to flags in tdb open, or added using 92 Note: this default may change in future versions of tdb. 97 - if TDB_DISALLOW_NESTING is passed to flags in tdb open, or added using 102 Note: this default may change in future versions of tdb. 110 /* we keep a mirrored copy of the tdb has 153 transaction_read(struct tdb_context *tdb, tdb_off_t off, void *buf, tdb_len_t len, int cv) argument 210 transaction_write(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 325 transaction_write_existing(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 373 transaction_next_hash_chain(struct tdb_context *tdb, uint32_t *chain) argument 388 transaction_oob(struct tdb_context *tdb, tdb_off_t len, int probe) argument 400 transaction_expand_file(struct tdb_context *tdb, tdb_off_t size, tdb_off_t addition) argument 417 transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, size_t len) argument 437 tdb_transaction_start(struct tdb_context *tdb) argument 545 transaction_sync(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t length) argument 572 _tdb_transaction_cancel(struct tdb_context *tdb) argument 645 tdb_transaction_cancel(struct tdb_context *tdb) argument 654 tdb_recovery_size(struct tdb_context *tdb) argument 682 tdb_recovery_allocate(struct tdb_context *tdb, tdb_len_t *recovery_size, tdb_off_t *recovery_offset, tdb_len_t *recovery_max_size) argument 767 transaction_setup_recovery(struct tdb_context *tdb, tdb_off_t *magic_offset) argument 897 _tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 993 tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 1002 tdb_transaction_commit(struct tdb_context *tdb) argument 1116 tdb_transaction_recover(struct tdb_context *tdb) argument [all...] |
H A D | open.c | 10 ** NOTE! The following LGPL license applies to the tdb 49 static int tdb_new_database(struct tdb_context *tdb, int hash_size) argument 59 tdb->ecode = TDB_ERR_OOM; 66 if (tdb->flags & TDB_INTERNAL) { 67 tdb->map_size = size; 68 tdb->map_ptr = (char *)newdb; 69 memcpy(&tdb->header, newdb, sizeof(tdb->header)); 74 if (lseek(tdb->fd, 0, SEEK_SET) == -1) 77 if (ftruncate(tdb 142 null_log_fn(struct tdb_context *tdb, enum tdb_debug_level level, const char *fmt, ...) argument 152 struct tdb_context *tdb; local 395 tdb_set_max_dead(struct tdb_context *tdb, int max_dead) argument 405 tdb_close(struct tdb_context *tdb) argument 446 tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx) argument 452 tdb_get_logging_private(struct tdb_context *tdb) argument 457 tdb_reopen_internal(struct tdb_context *tdb, bool active_lock) argument 518 tdb_reopen(struct tdb_context *tdb) argument 526 struct tdb_context *tdb; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libatalk/tdb/ |
H A D | lock.c | 10 ** NOTE! The following LGPL license applies to the tdb 32 void tdb_setalarm_sigptr(struct tdb_context *tdb, volatile sig_atomic_t *ptr) argument 34 tdb->interrupt_sig_ptr = ptr; 45 int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, argument 51 if (tdb->flags & TDB_NOLOCK) { 55 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { 56 tdb->ecode = TDB_ERR_RDONLY; 67 ret = fcntl(tdb->fd,lck_type,&fl); 71 tdb 98 tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len) argument 120 _tdb_lock(struct tdb_context *tdb, int list, int ltype, int op) argument 195 tdb_lock(struct tdb_context *tdb, int list, int ltype) argument 207 tdb_lock_nonblock(struct tdb_context *tdb, int list, int ltype) argument 216 tdb_unlock(struct tdb_context *tdb, int list, int ltype) argument 304 tdb_transaction_lock(struct tdb_context *tdb, int ltype) argument 327 tdb_transaction_unlock(struct tdb_context *tdb) argument 348 _tdb_lockall(struct tdb_context *tdb, int ltype, int op) argument 395 _tdb_unlockall(struct tdb_context *tdb, int ltype) argument 431 tdb_lockall(struct tdb_context *tdb) argument 438 tdb_lockall_mark(struct tdb_context *tdb) argument 445 tdb_lockall_unmark(struct tdb_context *tdb) argument 452 tdb_lockall_nonblock(struct tdb_context *tdb) argument 460 tdb_unlockall(struct tdb_context *tdb) argument 467 tdb_lockall_read(struct tdb_context *tdb) argument 474 tdb_lockall_read_nonblock(struct tdb_context *tdb) argument 482 tdb_unlockall_read(struct tdb_context *tdb) argument 490 tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) argument 500 tdb_chainlock_nonblock(struct tdb_context *tdb, TDB_DATA key) argument 508 tdb_chainlock_mark(struct tdb_context *tdb, TDB_DATA key) argument 516 tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key) argument 522 tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) argument 528 tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) argument 536 tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) argument 545 tdb_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 558 tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 571 tdb_write_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument 577 tdb_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument [all...] |
H A D | transaction.c | 8 ** NOTE! The following LGPL license applies to the tdb 43 tdb_free() the old record to place it on the normal tdb freelist 63 - keep a mirrored copy of the tdb hash chain heads to allow for the 67 - allow callers to mix transaction and non-transaction use of tdb, 78 - check for a valid recovery record on open of the tdb, while the 88 - if TDB_ALLOW_NESTING is passed to flags in tdb open, or added using 92 Note: this default may change in future versions of tdb. 97 - if TDB_DISALLOW_NESTING is passed to flags in tdb open, or added using 102 Note: this default may change in future versions of tdb. 110 /* we keep a mirrored copy of the tdb has 153 transaction_read(struct tdb_context *tdb, tdb_off_t off, void *buf, tdb_len_t len, int cv) argument 210 transaction_write(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 325 transaction_write_existing(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 373 transaction_next_hash_chain(struct tdb_context *tdb, uint32_t *chain) argument 388 transaction_oob(struct tdb_context *tdb, tdb_off_t len, int probe) argument 400 transaction_expand_file(struct tdb_context *tdb, tdb_off_t size, tdb_off_t addition) argument 417 transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, size_t len) argument 437 tdb_transaction_start(struct tdb_context *tdb) argument 545 transaction_sync(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t length) argument 572 _tdb_transaction_cancel(struct tdb_context *tdb) argument 645 tdb_transaction_cancel(struct tdb_context *tdb) argument 654 tdb_recovery_size(struct tdb_context *tdb) argument 682 tdb_recovery_allocate(struct tdb_context *tdb, tdb_len_t *recovery_size, tdb_off_t *recovery_offset, tdb_len_t *recovery_max_size) argument 767 transaction_setup_recovery(struct tdb_context *tdb, tdb_off_t *magic_offset) argument 897 _tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 993 tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 1002 tdb_transaction_commit(struct tdb_context *tdb) argument 1116 tdb_transaction_recover(struct tdb_context *tdb) argument [all...] |
H A D | open.c | 10 ** NOTE! The following LGPL license applies to the tdb 49 static int tdb_new_database(struct tdb_context *tdb, int hash_size) argument 59 tdb->ecode = TDB_ERR_OOM; 66 if (tdb->flags & TDB_INTERNAL) { 67 tdb->map_size = size; 68 tdb->map_ptr = (char *)newdb; 69 memcpy(&tdb->header, newdb, sizeof(tdb->header)); 74 if (lseek(tdb->fd, 0, SEEK_SET) == -1) 77 if (ftruncate(tdb 142 null_log_fn(struct tdb_context *tdb, enum tdb_debug_level level, const char *fmt, ...) argument 152 struct tdb_context *tdb; local 395 tdb_set_max_dead(struct tdb_context *tdb, int max_dead) argument 405 tdb_close(struct tdb_context *tdb) argument 446 tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx) argument 452 tdb_get_logging_private(struct tdb_context *tdb) argument 457 tdb_reopen_internal(struct tdb_context *tdb, bool active_lock) argument 518 tdb_reopen(struct tdb_context *tdb) argument 526 struct tdb_context *tdb; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/tdb/common/ |
H A D | lock.c | 10 ** NOTE! The following LGPL license applies to the tdb 32 void tdb_setalarm_sigptr(struct tdb_context *tdb, volatile sig_atomic_t *ptr) argument 34 tdb->interrupt_sig_ptr = ptr; 45 int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, argument 51 if (tdb->flags & TDB_NOLOCK) { 55 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { 56 tdb->ecode = TDB_ERR_RDONLY; 67 ret = fcntl(tdb->fd,lck_type,&fl); 71 tdb 98 tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len) argument 120 _tdb_lock(struct tdb_context *tdb, int list, int ltype, int op) argument 195 tdb_lock(struct tdb_context *tdb, int list, int ltype) argument 207 tdb_lock_nonblock(struct tdb_context *tdb, int list, int ltype) argument 216 tdb_unlock(struct tdb_context *tdb, int list, int ltype) argument 304 tdb_transaction_lock(struct tdb_context *tdb, int ltype) argument 327 tdb_transaction_unlock(struct tdb_context *tdb) argument 348 _tdb_lockall(struct tdb_context *tdb, int ltype, int op) argument 395 _tdb_unlockall(struct tdb_context *tdb, int ltype) argument 431 tdb_lockall(struct tdb_context *tdb) argument 438 tdb_lockall_mark(struct tdb_context *tdb) argument 445 tdb_lockall_unmark(struct tdb_context *tdb) argument 452 tdb_lockall_nonblock(struct tdb_context *tdb) argument 460 tdb_unlockall(struct tdb_context *tdb) argument 467 tdb_lockall_read(struct tdb_context *tdb) argument 474 tdb_lockall_read_nonblock(struct tdb_context *tdb) argument 482 tdb_unlockall_read(struct tdb_context *tdb) argument 490 tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) argument 500 tdb_chainlock_nonblock(struct tdb_context *tdb, TDB_DATA key) argument 508 tdb_chainlock_mark(struct tdb_context *tdb, TDB_DATA key) argument 516 tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key) argument 522 tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) argument 528 tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) argument 536 tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) argument 545 tdb_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 558 tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 571 tdb_write_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument 577 tdb_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument [all...] |
H A D | transaction.c | 8 ** NOTE! The following LGPL license applies to the tdb 43 tdb_free() the old record to place it on the normal tdb freelist 63 - keep a mirrored copy of the tdb hash chain heads to allow for the 67 - allow callers to mix transaction and non-transaction use of tdb, 78 - check for a valid recovery record on open of the tdb, while the 88 - if TDB_ALLOW_NESTING is passed to flags in tdb open, or added using 92 Note: this default may change in future versions of tdb. 97 - if TDB_DISALLOW_NESTING is passed to flags in tdb open, or added using 102 Note: this default may change in future versions of tdb. 110 /* we keep a mirrored copy of the tdb has 153 transaction_read(struct tdb_context *tdb, tdb_off_t off, void *buf, tdb_len_t len, int cv) argument 210 transaction_write(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 325 transaction_write_existing(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 373 transaction_next_hash_chain(struct tdb_context *tdb, uint32_t *chain) argument 388 transaction_oob(struct tdb_context *tdb, tdb_off_t len, int probe) argument 400 transaction_expand_file(struct tdb_context *tdb, tdb_off_t size, tdb_off_t addition) argument 417 transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, size_t len) argument 437 tdb_transaction_start(struct tdb_context *tdb) argument 545 transaction_sync(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t length) argument 572 _tdb_transaction_cancel(struct tdb_context *tdb) argument 645 tdb_transaction_cancel(struct tdb_context *tdb) argument 654 tdb_recovery_size(struct tdb_context *tdb) argument 682 tdb_recovery_allocate(struct tdb_context *tdb, tdb_len_t *recovery_size, tdb_off_t *recovery_offset, tdb_len_t *recovery_max_size) argument 767 transaction_setup_recovery(struct tdb_context *tdb, tdb_off_t *magic_offset) argument 897 _tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 993 tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 1002 tdb_transaction_commit(struct tdb_context *tdb) argument 1116 tdb_transaction_recover(struct tdb_context *tdb) argument [all...] |
H A D | open.c | 10 ** NOTE! The following LGPL license applies to the tdb 49 static int tdb_new_database(struct tdb_context *tdb, int hash_size) argument 59 tdb->ecode = TDB_ERR_OOM; 66 if (tdb->flags & TDB_INTERNAL) { 67 tdb->map_size = size; 68 tdb->map_ptr = (char *)newdb; 69 memcpy(&tdb->header, newdb, sizeof(tdb->header)); 74 if (lseek(tdb->fd, 0, SEEK_SET) == -1) 77 if (ftruncate(tdb 142 null_log_fn(struct tdb_context *tdb, enum tdb_debug_level level, const char *fmt, ...) argument 152 struct tdb_context *tdb; local 395 tdb_set_max_dead(struct tdb_context *tdb, int max_dead) argument 405 tdb_close(struct tdb_context *tdb) argument 446 tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx) argument 452 tdb_get_logging_private(struct tdb_context *tdb) argument 457 tdb_reopen_internal(struct tdb_context *tdb, bool active_lock) argument 518 tdb_reopen(struct tdb_context *tdb) argument 526 struct tdb_context *tdb; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/libatalk/tdb/ |
H A D | lock.c | 10 ** NOTE! The following LGPL license applies to the tdb 32 void tdb_setalarm_sigptr(struct tdb_context *tdb, volatile sig_atomic_t *ptr) argument 34 tdb->interrupt_sig_ptr = ptr; 45 int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, argument 51 if (tdb->flags & TDB_NOLOCK) { 55 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { 56 tdb->ecode = TDB_ERR_RDONLY; 67 ret = fcntl(tdb->fd,lck_type,&fl); 71 tdb 98 tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len) argument 120 _tdb_lock(struct tdb_context *tdb, int list, int ltype, int op) argument 195 tdb_lock(struct tdb_context *tdb, int list, int ltype) argument 207 tdb_lock_nonblock(struct tdb_context *tdb, int list, int ltype) argument 216 tdb_unlock(struct tdb_context *tdb, int list, int ltype) argument 304 tdb_transaction_lock(struct tdb_context *tdb, int ltype) argument 327 tdb_transaction_unlock(struct tdb_context *tdb) argument 348 _tdb_lockall(struct tdb_context *tdb, int ltype, int op) argument 395 _tdb_unlockall(struct tdb_context *tdb, int ltype) argument 431 tdb_lockall(struct tdb_context *tdb) argument 438 tdb_lockall_mark(struct tdb_context *tdb) argument 445 tdb_lockall_unmark(struct tdb_context *tdb) argument 452 tdb_lockall_nonblock(struct tdb_context *tdb) argument 460 tdb_unlockall(struct tdb_context *tdb) argument 467 tdb_lockall_read(struct tdb_context *tdb) argument 474 tdb_lockall_read_nonblock(struct tdb_context *tdb) argument 482 tdb_unlockall_read(struct tdb_context *tdb) argument 490 tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) argument 500 tdb_chainlock_nonblock(struct tdb_context *tdb, TDB_DATA key) argument 508 tdb_chainlock_mark(struct tdb_context *tdb, TDB_DATA key) argument 516 tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key) argument 522 tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) argument 528 tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) argument 536 tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) argument 545 tdb_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 558 tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 571 tdb_write_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument 577 tdb_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument [all...] |
H A D | transaction.c | 8 ** NOTE! The following LGPL license applies to the tdb 43 tdb_free() the old record to place it on the normal tdb freelist 63 - keep a mirrored copy of the tdb hash chain heads to allow for the 67 - allow callers to mix transaction and non-transaction use of tdb, 78 - check for a valid recovery record on open of the tdb, while the 88 - if TDB_ALLOW_NESTING is passed to flags in tdb open, or added using 92 Note: this default may change in future versions of tdb. 97 - if TDB_DISALLOW_NESTING is passed to flags in tdb open, or added using 102 Note: this default may change in future versions of tdb. 110 /* we keep a mirrored copy of the tdb has 153 transaction_read(struct tdb_context *tdb, tdb_off_t off, void *buf, tdb_len_t len, int cv) argument 210 transaction_write(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 325 transaction_write_existing(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 373 transaction_next_hash_chain(struct tdb_context *tdb, uint32_t *chain) argument 388 transaction_oob(struct tdb_context *tdb, tdb_off_t len, int probe) argument 400 transaction_expand_file(struct tdb_context *tdb, tdb_off_t size, tdb_off_t addition) argument 417 transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, size_t len) argument 437 tdb_transaction_start(struct tdb_context *tdb) argument 545 transaction_sync(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t length) argument 572 _tdb_transaction_cancel(struct tdb_context *tdb) argument 645 tdb_transaction_cancel(struct tdb_context *tdb) argument 654 tdb_recovery_size(struct tdb_context *tdb) argument 682 tdb_recovery_allocate(struct tdb_context *tdb, tdb_len_t *recovery_size, tdb_off_t *recovery_offset, tdb_len_t *recovery_max_size) argument 767 transaction_setup_recovery(struct tdb_context *tdb, tdb_off_t *magic_offset) argument 897 _tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 993 tdb_transaction_prepare_commit(struct tdb_context *tdb) argument 1002 tdb_transaction_commit(struct tdb_context *tdb) argument 1116 tdb_transaction_recover(struct tdb_context *tdb) argument [all...] |
H A D | open.c | 10 ** NOTE! The following LGPL license applies to the tdb 49 static int tdb_new_database(struct tdb_context *tdb, int hash_size) argument 59 tdb->ecode = TDB_ERR_OOM; 66 if (tdb->flags & TDB_INTERNAL) { 67 tdb->map_size = size; 68 tdb->map_ptr = (char *)newdb; 69 memcpy(&tdb->header, newdb, sizeof(tdb->header)); 74 if (lseek(tdb->fd, 0, SEEK_SET) == -1) 77 if (ftruncate(tdb 142 null_log_fn(struct tdb_context *tdb, enum tdb_debug_level level, const char *fmt, ...) argument 152 struct tdb_context *tdb; local 395 tdb_set_max_dead(struct tdb_context *tdb, int max_dead) argument 405 tdb_close(struct tdb_context *tdb) argument 446 tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx) argument 452 tdb_get_logging_private(struct tdb_context *tdb) argument 457 tdb_reopen_internal(struct tdb_context *tdb, bool active_lock) argument 518 tdb_reopen(struct tdb_context *tdb) argument 526 struct tdb_context *tdb; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/lib/tdb/python/tests/ |
H A D | simple.py | 4 # It does not test tdb itself. 9 import tdb 16 self.assertRaises(IOError, tdb.Tdb, "/some/nonexistant/file", 0, tdb.DEFAULT, os.O_RDWR) 20 self.tdb = tdb.Tdb(tempfile.mkstemp()[1], 0, tdb.DEFAULT, os.O_CREAT|os.O_RDWR) 21 self.assertNotEqual(None, self.tdb) 24 self.tdb.close() 25 self.tdb [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/lib/tdb/python/tests/ |
H A D | simple.py | 4 # It does not test tdb itself. 9 import tdb namespace 16 self.assertRaises(IOError, tdb.Tdb, "/some/nonexistant/file", 0, tdb.DEFAULT, os.O_RDWR) 20 self.tdb = tdb.Tdb(tempfile.mkstemp()[1], 0, tdb.DEFAULT, os.O_CREAT|os.O_RDWR) 21 self.assertNotEqual(None, self.tdb) 24 self.tdb.close() 25 self.tdb [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/tdb/python/tests/ |
H A D | simple.py | 4 # It does not test tdb itself. 9 import tdb namespace 16 self.assertRaises(IOError, tdb.Tdb, "/some/nonexistant/file", 0, tdb.DEFAULT, os.O_RDWR) 20 self.tdb = tdb.Tdb(tempfile.mkstemp()[1], 0, tdb.DEFAULT, os.O_CREAT|os.O_RDWR) 21 self.assertNotEqual(None, self.tdb) 24 self.tdb.close() 25 self.tdb [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/tdb/common/ |
H A D | io.c | 10 ** NOTE! The following LGPL license applies to the tdb 37 static int tdb_oob(struct tdb_context *tdb, tdb_off_t len, int probe) argument 40 if (len <= tdb->map_size) 42 if (tdb->flags & TDB_INTERNAL) { 45 tdb->ecode = TDB_ERR_IO; 46 TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_oob len %d beyond internal malloc size %d\n", 47 (int)len, (int)tdb->map_size)); 52 if (fstat(tdb->fd, &st) == -1) { 59 tdb->ecode = TDB_ERR_IO; 60 TDB_LOG((tdb, TDB_DEBUG_FATA 75 tdb_write(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 113 tdb_read(struct tdb_context *tdb, tdb_off_t off, void *buf, tdb_len_t len, int cv) argument 146 tdb_next_hash_chain(struct tdb_context *tdb, u32 *chain) argument 167 tdb_munmap(struct tdb_context *tdb) argument 183 tdb_mmap(struct tdb_context *tdb) argument 213 tdb_expand_file(struct tdb_context *tdb, tdb_off_t size, tdb_off_t addition) argument 252 tdb_expand(struct tdb_context *tdb, tdb_off_t size) argument 322 tdb_ofs_read(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d) argument 327 tdb_ofs_write(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d) argument 335 tdb_alloc_read(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t len) argument 360 tdb_parse_data(struct tdb_context *tdb, TDB_DATA key, tdb_off_t offset, tdb_len_t len, int (*parser)(TDB_DATA key, TDB_DATA data, void *private_data), void *private_data) argument 393 tdb_rec_read(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec) argument 406 tdb_rec_write(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec) argument 424 tdb_io_init(struct tdb_context *tdb) argument [all...] |
H A D | lock.c | 10 ** NOTE! The following LGPL license applies to the tdb 39 int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, argument 45 if (tdb->flags & TDB_NOLOCK) { 49 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { 50 tdb->ecode = TDB_ERR_RDONLY; 61 ret = fcntl(tdb->fd,lck_type,&fl); 70 tdb->ecode = TDB_ERR_LOCK; 71 TDB_LOG((tdb, TDB_DEBUG_TRACE,"tdb_brlock failed (fd=%d) at offset %d rw_type=%d lck_type=%d len=%d\n", 72 tdb 86 tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len) argument 108 tdb_lock(struct tdb_context *tdb, int list, int ltype) argument 181 tdb_unlock(struct tdb_context *tdb, int list, int ltype) argument 261 _tdb_lockall(struct tdb_context *tdb, int ltype) argument 295 _tdb_unlockall(struct tdb_context *tdb, int ltype) argument 324 tdb_lockall(struct tdb_context *tdb) argument 330 tdb_unlockall(struct tdb_context *tdb) argument 336 tdb_lockall_read(struct tdb_context *tdb) argument 342 tdb_unlockall_read(struct tdb_context *tdb) argument 349 tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) argument 354 tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) argument 359 tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) argument 364 tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) argument 372 tdb_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 382 tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 395 tdb_write_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument 401 tdb_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/tdb/common/ |
H A D | io.c | 10 ** NOTE! The following LGPL license applies to the tdb 37 static int tdb_oob(struct tdb_context *tdb, tdb_off_t len, int probe) argument 40 if (len <= tdb->map_size) 42 if (tdb->flags & TDB_INTERNAL) { 45 tdb->ecode = TDB_ERR_IO; 46 TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_oob len %d beyond internal malloc size %d\n", 47 (int)len, (int)tdb->map_size)); 52 if (fstat(tdb->fd, &st) == -1) { 59 tdb->ecode = TDB_ERR_IO; 60 TDB_LOG((tdb, TDB_DEBUG_FATA 75 tdb_write(struct tdb_context *tdb, tdb_off_t off, const void *buf, tdb_len_t len) argument 113 tdb_read(struct tdb_context *tdb, tdb_off_t off, void *buf, tdb_len_t len, int cv) argument 146 tdb_next_hash_chain(struct tdb_context *tdb, u32 *chain) argument 167 tdb_munmap(struct tdb_context *tdb) argument 183 tdb_mmap(struct tdb_context *tdb) argument 213 tdb_expand_file(struct tdb_context *tdb, tdb_off_t size, tdb_off_t addition) argument 252 tdb_expand(struct tdb_context *tdb, tdb_off_t size) argument 322 tdb_ofs_read(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d) argument 327 tdb_ofs_write(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d) argument 335 tdb_alloc_read(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t len) argument 360 tdb_parse_data(struct tdb_context *tdb, TDB_DATA key, tdb_off_t offset, tdb_len_t len, int (*parser)(TDB_DATA key, TDB_DATA data, void *private_data), void *private_data) argument 393 tdb_rec_read(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec) argument 406 tdb_rec_write(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec) argument 424 tdb_io_init(struct tdb_context *tdb) argument [all...] |
H A D | lock.c | 10 ** NOTE! The following LGPL license applies to the tdb 39 int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, argument 45 if (tdb->flags & TDB_NOLOCK) { 49 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { 50 tdb->ecode = TDB_ERR_RDONLY; 61 ret = fcntl(tdb->fd,lck_type,&fl); 70 tdb->ecode = TDB_ERR_LOCK; 71 TDB_LOG((tdb, TDB_DEBUG_TRACE,"tdb_brlock failed (fd=%d) at offset %d rw_type=%d lck_type=%d len=%d\n", 72 tdb 86 tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len) argument 108 tdb_lock(struct tdb_context *tdb, int list, int ltype) argument 181 tdb_unlock(struct tdb_context *tdb, int list, int ltype) argument 261 _tdb_lockall(struct tdb_context *tdb, int ltype) argument 295 _tdb_unlockall(struct tdb_context *tdb, int ltype) argument 324 tdb_lockall(struct tdb_context *tdb) argument 330 tdb_unlockall(struct tdb_context *tdb) argument 336 tdb_lockall_read(struct tdb_context *tdb) argument 342 tdb_unlockall_read(struct tdb_context *tdb) argument 349 tdb_chainlock(struct tdb_context *tdb, TDB_DATA key) argument 354 tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) argument 359 tdb_chainlock_read(struct tdb_context *tdb, TDB_DATA key) argument 364 tdb_chainunlock_read(struct tdb_context *tdb, TDB_DATA key) argument 372 tdb_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 382 tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off) argument 395 tdb_write_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument 401 tdb_unlock_record(struct tdb_context *tdb, tdb_off_t off) argument [all...] |