Lines Matching refs:dba
36 #define DB2_DATA dba_db2_data *dba = info->dbf
93 if (dba->cursor) in DBA_CLOSE_FUNC()
94 dba->cursor->c_close(dba->cursor); in DBA_CLOSE_FUNC()
95 dba->dbp->close(dba->dbp, 0); in DBA_CLOSE_FUNC()
96 pefree(dba, info->flags&DBA_PERSISTENT); in DBA_CLOSE_FUNC()
105 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC()
122 if (dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC()
135 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC()
146 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS; in DBA_DELETE_FUNC()
153 if (dba->cursor) {
154 dba->cursor->c_close(dba->cursor);
155 dba->cursor = NULL;
159 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0)) {
161 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor)) {
175 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT)
192 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;