Home
last modified time | relevance | path

Searched refs:st (Results 1 – 7 of 7) sorted by relevance

/memcached-1.6.32/
Dstorage.c82 struct extstore_stats st; in process_extstore_stats() local
90 extstore_get_stats(storage, &st); in process_extstore_stats()
91 st.page_data = calloc(st.page_count, sizeof(struct extstore_page_data)); in process_extstore_stats()
105 free(st.page_data); in process_extstore_stats()
110 struct extstore_stats st; in storage_stats() local
771 struct extstore_stats st; in storage_compact_check() local
776 if (st.pages_used == 0) in storage_compact_check()
789 st.page_data = calloc(st.page_count, sizeof(struct extstore_page_data)); in storage_compact_check()
814 unsigned int frag = st.page_size - st.page_data[x].bytes_used; in storage_compact_check()
821 *page_size = st.page_size; in storage_compact_check()
[all …]
Dextstore.c180 st->pages_free = e->page_free; in extstore_get_stats()
181 st->pages_used = e->page_count - e->page_free; in extstore_get_stats()
183 st->io_queue = 0; in extstore_get_stats()
186 st->io_queue += e->io_threads[x].depth; in extstore_get_stats()
191 st->bytes_fragmented = st->pages_used * e->page_size - in extstore_get_stats()
192 st->bytes_used; in extstore_get_stats()
431 struct extstore_stats st; in _evict_page() local
433 extstore_get_page_data(e, &st); in _evict_page()
441 if (st.page_data[i].free_bucket && in _evict_page()
447 if (st.page_data[i].version == 0) { in _evict_page()
[all …]
Dextstore.h116 void extstore_get_stats(void *ptr, struct extstore_stats *st);
120 void extstore_get_page_data(void *ptr, struct extstore_stats *st);
Dproxy_inspector.c531 enum mcp_ins_steptype st = mcp_inspector_steptype(L); in mcp_inspector_new() local
532 const struct mcp_ins_entry *e = &mcp_ins_entries[st]; in mcp_inspector_new()
536 if ((st == mcp_ins_step_none) || e->c == NULL) { in mcp_inspector_new()
579 enum mcp_ins_steptype st = mcp_inspector_steptype(L); in mcp_inspector_new() local
580 ins->steps[scount].type = st; in mcp_inspector_new()
581 mcp_ins_entries[st].i(L, x, scount, ins); in mcp_inspector_new()
582 ins->rcount += mcp_ins_entries[st].n; in mcp_inspector_new()
Dproxy_mutator.c879 enum mcp_mut_steptype st = mcp_mutator_steptype(L); in mcp_mutator_new() local
880 const struct mcp_mut_entry *e = &mcp_mut_entries[st]; in mcp_mutator_new()
884 if ((st == mcp_mut_step_none) || e->c == NULL) { in mcp_mutator_new()
918 enum mcp_mut_steptype st = mcp_mutator_steptype(L); in mcp_mutator_new() local
919 mut->steps[scount].type = st; in mcp_mutator_new()
920 mcp_mut_entries[st].i(L, x, scount, mut); in mcp_mutator_new()
921 mut->rcount += mcp_mut_entries[st].rc; in mcp_mutator_new()
925 mut->steps[scount].n = mcp_mut_entries[st].n; in mcp_mutator_new()
926 mut->steps[scount].r = mcp_mut_entries[st].r; in mcp_mutator_new()
Dmemcached.c3734 char *st = ++p; // skip '['; local
3736 size_t len = e - st;
3740 if (strncmp(st, "ascii", len) == 0) {
3742 } else if (strncmp(st, "binary", len) == 0) {
3744 } else if (strncmp(st, "negotiating", len) == 0) {
3746 } else if (strncmp(st, "proxy", len) == 0) {
3779 char *st = ++p; // skip '[' local
3781 size_t len = e - st;
3787 … fprintf(stderr, "Listener tags must be between 1 and 8 characters: \"%s\"\n", st);
3794 memcpy(&conntag, st, len);
/memcached-1.6.32/t/
Dproxyintstats.t33 for my $st (@stats) {
34 like(<$w>, qr/SUCCESS: $st/, "successfully ran $st");