Home
last modified time | relevance | path

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

/memcached-1.6.32/
Dslab_automove.c61 static void window_sum(struct window_data *wd, struct window_data *w, uint32_t size) { in window_sum() argument
64 struct window_data *d = &wd[x]; in window_sum()
99 struct window_data *wd = &a->window_data[w_offset + (a->window_cur % a->window_size)]; in slab_automove_run() local
100 memset(wd, 0, sizeof(struct window_data)); in slab_automove_run()
107 wd->evicted_ratio = (float) evicted_delta / evicted_total; in slab_automove_run()
108 wd->evicted_seen = 1; in slab_automove_run()
109 wd->dirty = 1; in slab_automove_run()
113 wd->dirty = 1; in slab_automove_run()
116 wd->dirty = 1; in slab_automove_run()
120 wd->age = a->iam_after[n].age; in slab_automove_run()
[all …]
Dfreebsd_priv.c14 cap_rights_t wd, rd; in drop_privileges() local
16 if (cap_rights_init(&wd, CAP_WRITE, CAP_READ) == NULL) { in drop_privileges()
31 if (cap_rights_limit(STDOUT_FILENO, &wd) != 0) { in drop_privileges()
36 if (cap_rights_limit(STDERR_FILENO, &wd) != 0) { in drop_privileges()
Dslab_automove_extstore.c74 static void window_sum(struct window_data *wd, struct window_data *w, in window_sum() argument
77 struct window_data *d = &wd[x]; in window_sum()
155 struct window_data *wd = get_window_data(a, n); in slab_automove_extstore_run() local
157 memset(wd, 0, sizeof(struct window_data)); in slab_automove_extstore_run()
164 wd->evicted = 1; in slab_automove_extstore_run()
165 wd->dirty = 1; in slab_automove_extstore_run()
168 wd->dirty = 1; in slab_automove_extstore_run()
173 wd->excess_free = 1; in slab_automove_extstore_run()
177 wd->age = a->iam_after[n].age; in slab_automove_extstore_run()