Searched refs:ntotal (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/contrib/apr-util/misc/
H A Dapr_reslist.c45 int ntotal; /* total number of resources managed by this list */ member in struct:apr_reslist_t
151 rl->ntotal--;
161 assert(rl->ntotal == 0);
188 while (reslist->nidle < reslist->min && reslist->ntotal < reslist->hmax) {
201 reslist->ntotal++;
234 reslist->ntotal--;
344 reslist->ntotal--;
364 while (reslist->ntotal >= reslist->hmax && reslist->nidle <= 0) {
397 reslist->ntotal++;
440 count = reslist->ntotal
[all...]
/freebsd-11-stable/contrib/apr-util/redis/
H A Dapr_redis.c148 if (rc->ntotal >= rc->nalloc) {
151 rc->live_servers[rc->ntotal] = rs;
152 rc->ntotal++;
177 if (rc->ntotal == 0) {
182 rs = rc->live_servers[h % rc->ntotal];
210 } while (i < rc->ntotal);
212 if (i == rc->ntotal) {
225 for (i = 0; i < rc->ntotal; i++) {
494 rc->ntotal = 0;
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_memcache.h102 apr_uint16_t ntotal; /**< Number of Servers Added */ member in struct:apr_memcache_t
H A Dapr_redis.h124 apr_uint16_t ntotal; /**< Number of Servers Added */ member in struct:apr_redis_t
/freebsd-11-stable/contrib/apr-util/memcache/
H A Dapr_memcache.c136 if(mc->ntotal >= mc->nalloc) {
140 mc->live_servers[mc->ntotal] = ms;
141 mc->ntotal++;
168 if(mc->ntotal == 0) {
173 ms = mc->live_servers[h % mc->ntotal];
201 } while(i < mc->ntotal);
203 if (i == mc->ntotal) {
214 for (i = 0; i < mc->ntotal; i++) {
458 mc->ntotal = 0;
/freebsd-11-stable/tools/tools/net80211/wlanstats/
H A Dwlanstats.c399 struct ieee80211req_sta_stats ntotal; member in struct:wlanstatfoo_p
548 wlan_collect(wf, &wf->total, &wf->ntotal);
557 wf->ntotal = wf->ncur;
678 wf->ncur.is_stats.ns_##x - wf->ntotal.is_stats.ns_##x); \
842 snprintf(b, bs, "%u", wf->ntotal.is_stats.ns_##x); return 1
/freebsd-11-stable/contrib/apr-util/test/
H A Dtestmemcache.c95 if(mc->ntotal == 0) {
99 if(mc->ntotal < mhsb->which_server) {
H A Dtestredis.c96 if(mc->ntotal == 0) {
100 if(mc->ntotal < mhsb->which_server) {

Completed in 88 milliseconds