Home
last modified time | relevance | path

Searched refs:sptree (Results 1 – 3 of 3) sorted by relevance

/lighttpd1.4/src/
H A Dmod_vhostdb.c74 splay_tree *sptree = vc->sptree; in vhostdb_cache_free() local
77 sptree = splaytree_delete(sptree, sptree->key); in vhostdb_cache_free()
101 splay_tree ** const sptree = &p->conf.vhostdb_cache->sptree; in mod_vhostdb_cache_query() local
102 *sptree = splaytree_splay(*sptree, ndx); in mod_vhostdb_cache_query()
104 (*sptree && (*sptree)->key == ndx) ? (*sptree)->data : NULL; in mod_vhostdb_cache_query()
116 splay_tree ** const sptree = &p->conf.vhostdb_cache->sptree; in mod_vhostdb_cache_insert() local
120 if (NULL == *sptree || (*sptree)->key != ndx) in mod_vhostdb_cache_insert()
121 *sptree = splaytree_insert(*sptree, ndx, ve); in mod_vhostdb_cache_insert()
348 sptree = splaytree_splay(sptree, ndx); in mod_vhostdb_periodic_cleanup()
349 if (sptree && sptree->key == ndx) { in mod_vhostdb_periodic_cleanup()
[all …]
H A Dstat_cache.c65 *sptree = splaytree_splay(*sptree, ndx); in stat_cache_sptree_find()
66 return (*sptree && (*sptree)->key == ndx) ? (*sptree)->data : NULL; in stat_cache_sptree_find()
889 sptree = splaytree_delete(sptree, sptree->key); in stat_cache_free()
1143 *sptree = splaytree_delete(*sptree, (*sptree)->key); in stat_cache_delete_entry()
1224 sptree = splaytree_delete(sptree, ndx); in stat_cache_prune_dir_tree()
1248 if (*sptree) fam_dir_invalidate_tree(*sptree, name, len); in stat_cache_delete_dir()
1289 if (sptree && (sptree->key == file_ndx)) { in stat_cache_get_entry()
1345 if (NULL != sptree && sptree->key == file_ndx) { in stat_cache_get_entry()
1508 sptree = splaytree_splay(sptree, ndx); in stat_cache_periodic_cleanup()
1509 if (sptree && sptree->key == ndx) { in stat_cache_periodic_cleanup()
[all …]
H A Dmod_auth.c97 splay_tree *sptree = ac->sptree; in http_auth_cache_free() local
98 while (sptree) { in http_auth_cache_free()
100 sptree = splaytree_delete(sptree, sptree->key); in http_auth_cache_free()
133 *sptree = splaytree_splay(*sptree, ndx); in http_auth_cache_query()
134 return (*sptree && (*sptree)->key == ndx) ? (*sptree)->data : NULL; in http_auth_cache_query()
143 if (NULL == *sptree || (*sptree)->key != ndx) in http_auth_cache_insert()
144 *sptree = splaytree_insert(*sptree, ndx, data); in http_auth_cache_insert()
180 sptree = splaytree_splay(sptree, ndx); in mod_auth_periodic_cleanup()
181 if (sptree && sptree->key == ndx) { in mod_auth_periodic_cleanup()
183 sptree = splaytree_delete(sptree, ndx); in mod_auth_periodic_cleanup()
[all …]