Home
last modified time | relevance | path

Searched refs:pfs (Results 1 – 2 of 2) sorted by relevance

/memcached-1.6.32/
Dstats_prefix.c38 PREFIX_STATS *pfs; in stats_prefix_find() local
58 for (pfs = prefix_stats[hashval]; NULL != pfs; pfs = pfs->next) { in stats_prefix_find()
60 return pfs; in stats_prefix_find()
64 if (NULL == pfs) { in stats_prefix_find()
72 free(pfs); in stats_prefix_find()
86 return pfs; in stats_prefix_find()
90 PREFIX_STATS *pfs; in stats_prefix_record_get() local
94 if (NULL != pfs) { in stats_prefix_record_get()
154 for (pfs = prefix_stats[i]; NULL != pfs; pfs = pfs->next) { in stats_prefix_dump()
156 pfs->prefix, pfs->num_gets, pfs->num_hits, in stats_prefix_dump()
[all …]
Dtestapp.c249 PREFIX_STATS *pfs; in test_stats_prefix_record_get() local
254 if (pfs == NULL) { in test_stats_prefix_record_get()
257 assert(1 == pfs->num_gets); in test_stats_prefix_record_get()
258 assert(0 == pfs->num_hits); in test_stats_prefix_record_get()
260 assert(2 == pfs->num_gets); in test_stats_prefix_record_get()
261 assert(0 == pfs->num_hits); in test_stats_prefix_record_get()
263 assert(3 == pfs->num_gets); in test_stats_prefix_record_get()
272 PREFIX_STATS *pfs; in test_stats_prefix_record_delete() local
277 if (pfs == NULL) { in test_stats_prefix_record_delete()
290 PREFIX_STATS *pfs; in test_stats_prefix_record_set() local
[all …]