Searched refs:data_db (Results 1 – 4 of 4) sorted by relevance
| /openbsd-src/usr.sbin/ldapd/ |
| H A D | namespace.c | 48 if (ns->data_db == NULL || ns->indx_db == NULL) { in namespace_begin_txn() 53 if ((*data_txn = btree_txn_begin(ns->data_db, rdonly)) == NULL || in namespace_begin_txn() 124 ns->data_db = btree_open(ns->data_path, db_flags | BT_REVERSEKEY, 0644); in namespace_open() 125 if (ns->data_db == NULL) in namespace_open() 128 btree_set_cache_size(ns->data_db, ns->cache_size); in namespace_open() 164 if (ns->data_db != NULL) { in namespace_reopen_data() 165 btree_close(ns->data_db); in namespace_reopen_data() 166 ns->data_db = NULL; in namespace_reopen_data() 200 return namespace_set_fd(ns, &ns->data_db, fd, BT_REVERSEKEY); in namespace_set_data_fd() 239 btree_close(ns->data_db); in namespace_close() [all …]
|
| H A D | control.c | 212 if ((st = btree_stat(ns->data_db)) != NULL) in send_stats()
|
| H A D | ldapd.h | 123 struct btree *data_db; member
|
| /openbsd-src/usr.sbin/ldapctl/ |
| H A D | ldapctl.c | 144 struct btree *data_db, *indx_db; in index_namespace() local 154 data_db = btree_open(path, BT_NOSYNC | BT_REVERSEKEY, 0644); in index_namespace() 156 if (data_db == NULL) in index_namespace() 164 btree_close(data_db); in index_namespace() 168 if ((cursor = btree_cursor_open(data_db)) == NULL) { in index_namespace() 169 btree_close(data_db); in index_namespace() 213 btree_close(data_db); in index_namespace()
|