Home
last modified time | relevance | path

Searched refs:total (Results 1 – 19 of 19) sorted by relevance

/memcached-1.6.32/
Dlogger.c214 int total; in _logger_parse_ise() local
236 int total; in _logger_parse_ige() local
252 int total; in _logger_parse_ee() local
267 int total; in _logger_parse_ide() local
288 int total; in _logger_parse_extw() local
303 int total; in _logger_parse_cne() local
320 int total; in _logger_parse_cce() local
395 int total; in _logger_parse_prx_req() local
454 int total; in _logger_parse_prx_errbe() local
649 if (total >= LOGGER_PARSE_SCRATCH || total <= 0) { in logger_thread_parse_entry()
[all …]
Dcache.c83 } else if (cache->limit == 0 || cache->total < cache->limit) { in do_cache_alloc()
88 cache->total++; in do_cache_alloc()
132 if (cache->limit != 0 && cache->limit < cache->total) { in do_cache_free()
134 cache->total--; in do_cache_free()
Dcrawler.c283 int total = snprintf(cm->c.buf + cm->c.bufused, 4096, in crawler_metadump_eval() local
296 if (total >= LRU_CRAWLER_MINBUFSPACE - 1 || total <= 0) { in crawler_metadump_eval()
300 cm->c.bufused += total; in crawler_metadump_eval()
349 int total = p - start; in crawler_mgdump_eval() local
352 cm->c.bufused += total; in crawler_mgdump_eval()
411 int total = ((conn*)c->c)->write(c->c, c->buf + sent, data_size - sent); in lru_crawler_write() local
412 if (total == -1) { in lru_crawler_write()
417 } else if (total == 0) { in lru_crawler_write()
421 sent += total; in lru_crawler_write()
Dproxy_mutator.c475 size_t total = 0; in mut_step_c() local
492 total += strlen(code); in mut_step_c()
504 total += len + 1; // room for space between code and msg in mut_step_c()
508 return total; in mut_step_c()
942 int total = 0; in _mcp_mut_run_total() local
952 total += len; in _mcp_mut_run_total()
958 total += mut->scount + MIN_BUF_SPACE; in _mcp_mut_run_total()
960 return total; in _mcp_mut_run_total()
997 int total = _mcp_mut_run_total(run, parts); in mcp_mut_run() local
1006 if (total > MCP_REQUEST_MAXLEN) { in mcp_mut_run()
[all …]
Dcache.h34 int total; member
Dproxy_ring_hash.c253 lua_Unsigned total = lua_rawlen(L, 1); in ketama_new() local
289 size_t size = sizeof(ketama_t) + sizeof(cpoint) * (total * bucket_size); in ketama_new()
292 kt->total_buckets = bucket_size * total; in ketama_new()
Dproto_text.c864 size_t total = 0; in process_meta_command() local
868 total += 3; in process_meta_command()
873 …total += base64_encode((unsigned char *) ITEM_key(it), it->nkey, (unsigned char *)resp->wbuf + tot… in process_meta_command()
875 memcpy(resp->wbuf + total, ITEM_key(it), it->nkey); in process_meta_command()
876 total += it->nkey; in process_meta_command()
878 resp->wbuf[total] = ' '; in process_meta_command()
879 total++; in process_meta_command()
881 ret = snprintf(resp->wbuf + total, WRITE_BUFFER_SIZE - (it->nkey + 12), in process_meta_command()
891 resp->wbytes = total + ret; in process_meta_command()
Dslabs.c557 int i, total; in do_slabs_stats() local
562 total = 0; in do_slabs_stats()
599 total++; in do_slabs_stats()
605 APPEND_STAT("active_slabs", "%d", total); in do_slabs_stats()
Dmemcached.c2776 uint32_t total; local
2779 total++;
2783 total = USHRT_MAX;
2916 int total = 0; local
2932 total = -2;
2944 total = 0;
2950 total += tocopy;
2967 total += res;
2971 total = res;
2987 total = -2;
[all …]
Dproxy_luafgen.c123 fgen->total--; in mcp_rcontext_cleanup()
158 if (fgen->free > fgen->total/2 - 1) { in _mcplib_funcgen_cache()
200 if (fgen->closed && fgen->free == fgen->total) { in _mcplib_funcgen_cache()
287 fgen->total++; in _mcplib_funcgen_gencall()
558 if (fgen->free == fgen->total) { in mcp_funcgen_dereference()
Dthread.c1039 stats->read_buf_count += threads[ii].rbuf_cache->total; in threadlocal_stats_aggregate()
1040 stats->read_buf_bytes += threads[ii].rbuf_cache->total * READ_BUFFER_SIZE; in threadlocal_stats_aggregate()
Ditems.c1379 uint64_t total = 0; in lru_total_bumps_dropped() local
1384 total += b->dropped; in lru_total_bumps_dropped()
1388 return total; in lru_total_bumps_dropped()
Dproxy.h657 unsigned int total; // total contexts managed member
Dtestapp.c209 assert(cache->total == allocated_num); in cache_limit_revised_downward_test()
217 assert(cache->total == allocated_num-1); in cache_limit_revised_downward_test()
/memcached-1.6.32/scripts/
Dmemcached-automove35 total = 0
39 total += s.get(key) > 0 and 1 or 0
40 return total
43 total = 0
47 total += s.get(key)
48 return total
Dmemcached-automove-extstore39 total = 0
43 total += s.get(key)
44 return total
47 total = 0
51 total += v
52 return total
Ddamemtop234 my $total = $s->{get_hits} + $s->{get_misses};
235 return 'NA' unless $total;
236 return $s->{get_hits} / $total;
/memcached-1.6.32/doc/
Dprotocol-binary.txt149 +/ (note length is total body length header field, minus /
Dprotocol.txt490 size = total size in bytes
1909 The sequence number ranges from 0 to n-1, where n is the total number of