Searched refs:bucket_cache (Results 1 - 16 of 16) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gdbm-1.8.3/
H A Dgdbmclose.c58 if (dbf->bucket_cache != NULL) {
60 if (dbf->bucket_cache[index].ca_bucket != NULL)
61 free (dbf->bucket_cache[index].ca_bucket);
62 if (dbf->bucket_cache[index].ca_data.dptr != NULL)
63 free (dbf->bucket_cache[index].ca_data.dptr);
65 free (dbf->bucket_cache);
H A Dbucket.c79 if (dbf->bucket_cache == NULL)
91 if (dbf->bucket_cache[index].ca_adr == bucket_adr)
93 dbf->bucket = dbf->bucket_cache[index].ca_bucket;
94 dbf->cache_entry = &dbf->bucket_cache[index];
101 if (dbf->bucket_cache[dbf->last_read].ca_changed)
102 _gdbm_write_bucket (dbf, &dbf->bucket_cache[dbf->last_read]);
103 dbf->bucket_cache[dbf->last_read].ca_adr = bucket_adr;
104 dbf->bucket = dbf->bucket_cache[dbf->last_read].ca_bucket;
105 dbf->cache_entry = &dbf->bucket_cache[dbf->last_read];
162 if (dbf->bucket_cache
[all...]
H A Dgdbmreorg.c183 if (dbf->bucket_cache != NULL) {
185 if (dbf->bucket_cache[index].ca_bucket != NULL)
186 free (dbf->bucket_cache[index].ca_bucket);
187 if (dbf->bucket_cache[index].ca_data.dptr != NULL)
188 free (dbf->bucket_cache[index].ca_data.dptr);
190 free (dbf->bucket_cache);
199 dbf->bucket_cache = new_dbf->bucket_cache;
214 dbf->cache_entry = &dbf->bucket_cache[0];
H A Dgdbmopen.c91 dbf->bucket_cache = NULL;
410 if (dbf->bucket_cache == NULL)
412 dbf->bucket_cache = (cache_elem *) malloc(sizeof(cache_elem) * size);
413 if(dbf->bucket_cache == NULL)
422 (dbf->bucket_cache[index]).ca_bucket
424 if ((dbf->bucket_cache[index]).ca_bucket == NULL)
429 (dbf->bucket_cache[index]).ca_adr = 0;
430 (dbf->bucket_cache[index]).ca_changed = FALSE;
431 (dbf->bucket_cache[index]).ca_data.hash_val = -1;
432 (dbf->bucket_cache[inde
[all...]
H A Dupdate.c78 if(dbf->bucket_cache != NULL)
84 if (dbf->bucket_cache[index].ca_changed)
85 _gdbm_write_bucket (dbf, &dbf->bucket_cache[index]);
H A Dgdbmsetopt.c53 if (dbf->bucket_cache != NULL)
H A Dgdbmdefs.h183 cache_elem *bucket_cache; member in struct:__anon6421
H A Dtestgdbm.c126 if (dbf->bucket_cache != NULL) {
131 changed = dbf->bucket_cache[index].ca_changed;
134 dbf->bucket_cache[index].ca_adr,
136 dbf->bucket_cache[index].ca_data.hash_val);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/gdbm-1.8.3/
H A Dgdbmclose.c58 if (dbf->bucket_cache != NULL) {
60 if (dbf->bucket_cache[index].ca_bucket != NULL)
61 free (dbf->bucket_cache[index].ca_bucket);
62 if (dbf->bucket_cache[index].ca_data.dptr != NULL)
63 free (dbf->bucket_cache[index].ca_data.dptr);
65 free (dbf->bucket_cache);
H A Dbucket.c79 if (dbf->bucket_cache == NULL)
91 if (dbf->bucket_cache[index].ca_adr == bucket_adr)
93 dbf->bucket = dbf->bucket_cache[index].ca_bucket;
94 dbf->cache_entry = &dbf->bucket_cache[index];
101 if (dbf->bucket_cache[dbf->last_read].ca_changed)
102 _gdbm_write_bucket (dbf, &dbf->bucket_cache[dbf->last_read]);
103 dbf->bucket_cache[dbf->last_read].ca_adr = bucket_adr;
104 dbf->bucket = dbf->bucket_cache[dbf->last_read].ca_bucket;
105 dbf->cache_entry = &dbf->bucket_cache[dbf->last_read];
162 if (dbf->bucket_cache
[all...]
H A Dgdbmreorg.c183 if (dbf->bucket_cache != NULL) {
185 if (dbf->bucket_cache[index].ca_bucket != NULL)
186 free (dbf->bucket_cache[index].ca_bucket);
187 if (dbf->bucket_cache[index].ca_data.dptr != NULL)
188 free (dbf->bucket_cache[index].ca_data.dptr);
190 free (dbf->bucket_cache);
199 dbf->bucket_cache = new_dbf->bucket_cache;
214 dbf->cache_entry = &dbf->bucket_cache[0];
H A Dgdbmopen.c91 dbf->bucket_cache = NULL;
410 if (dbf->bucket_cache == NULL)
412 dbf->bucket_cache = (cache_elem *) malloc(sizeof(cache_elem) * size);
413 if(dbf->bucket_cache == NULL)
422 (dbf->bucket_cache[index]).ca_bucket
424 if ((dbf->bucket_cache[index]).ca_bucket == NULL)
429 (dbf->bucket_cache[index]).ca_adr = 0;
430 (dbf->bucket_cache[index]).ca_changed = FALSE;
431 (dbf->bucket_cache[index]).ca_data.hash_val = -1;
432 (dbf->bucket_cache[inde
[all...]
H A Dupdate.c78 if(dbf->bucket_cache != NULL)
84 if (dbf->bucket_cache[index].ca_changed)
85 _gdbm_write_bucket (dbf, &dbf->bucket_cache[index]);
H A Dgdbmsetopt.c53 if (dbf->bucket_cache != NULL)
H A Dgdbmdefs.h183 cache_elem *bucket_cache; member in struct:__anon1797
H A Dtestgdbm.c126 if (dbf->bucket_cache != NULL) {
131 changed = dbf->bucket_cache[index].ca_changed;
134 dbf->bucket_cache[index].ca_adr,
136 dbf->bucket_cache[index].ca_data.hash_val);

Completed in 202 milliseconds