Lines Matching refs:dba
109 dba_db3_data *dba = info->dbf; local
111 if (dba->cursor) dba->cursor->c_close(dba->cursor);
112 dba->dbp->close(dba->dbp, 0);
113 pefree(dba, info->flags&DBA_PERSISTENT);
118 dba_db3_data *dba = info->dbf; local
127 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
135 dba_db3_data *dba = info->dbf; local
147 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
156 dba_db3_data *dba = info->dbf; local
165 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
173 dba_db3_data *dba = info->dbf; local
180 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
185 dba_db3_data *dba = info->dbf; local
187 if (dba->cursor) {
188 dba->cursor->c_close(dba->cursor);
191 dba->cursor = NULL;
192 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
201 dba_db3_data *dba = info->dbf; local
207 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
223 dba_db3_data *dba = info->dbf; local
225 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;