Lines Matching refs:info
39 int filemode = info->file_permission; in DBA_OPEN_FUNC()
41 gmode = info->mode == DBA_READER ? GDBM_READER : in DBA_OPEN_FUNC()
42 info->mode == DBA_WRITER ? GDBM_WRITER : in DBA_OPEN_FUNC()
43 info->mode == DBA_CREAT ? GDBM_WRCREAT : in DBA_OPEN_FUNC()
44 info->mode == DBA_TRUNC ? GDBM_NEWDB : -1; in DBA_OPEN_FUNC()
49 dbf = gdbm_open(ZSTR_VAL(info->path), /* int block_size */ 0, gmode, filemode, NULL); in DBA_OPEN_FUNC()
52 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
53 memset(info->dbf, 0, sizeof(dba_gdbm_data)); in DBA_OPEN_FUNC()
54 ((dba_gdbm_data *) info->dbf)->dbf = dbf; in DBA_OPEN_FUNC()
63 dba_gdbm_data *dba = info->dbf; in DBA_CLOSE_FUNC()
67 pefree(dba, info->flags&DBA_PERSISTENT); in DBA_CLOSE_FUNC()
72 dba_gdbm_data *dba = info->dbf; in DBA_FETCH_FUNC()
90 dba_gdbm_data *dba = info->dbf; in DBA_UPDATE_FUNC()
117 dba_gdbm_data *dba = info->dbf; in DBA_EXISTS_FUNC()
128 dba_gdbm_data *dba = info->dbf; in DBA_DELETE_FUNC()
139 dba_gdbm_data *dba = info->dbf; in DBA_FIRSTKEY_FUNC()
159 dba_gdbm_data *dba = info->dbf; in DBA_NEXTKEY_FUNC()
178 dba_gdbm_data *dba = info->dbf; in DBA_OPTIMIZE_FUNC()
186 dba_gdbm_data *dba = info->dbf; in DBA_SYNC_FUNC()