Lines Matching refs:dba
138 dba_db4_data *dba = info->dbf; local
140 if (dba->cursor) dba->cursor->c_close(dba->cursor);
141 dba->dbp->close(dba->dbp, 0);
142 pefree(dba, info->flags&DBA_PERSISTENT);
147 dba_db4_data *dba = info->dbf; local
160 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
171 dba_db4_data *dba = info->dbf; local
183 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
192 dba_db4_data *dba = info->dbf; local
206 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
217 dba_db4_data *dba = info->dbf; local
224 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
229 dba_db4_data *dba = info->dbf; local
231 if (dba->cursor) {
232 dba->cursor->c_close(dba->cursor);
235 dba->cursor = NULL;
236 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
245 dba_db4_data *dba = info->dbf; local
256 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
280 dba_db4_data *dba = info->dbf; local
282 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;