memcached  1.6.15
About: memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.
  Fossies Dox: memcached-1.6.15.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

slab_automove_extstore.c File Reference
#include "memcached.h"
#include "slab_automove_extstore.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for slab_automove_extstore.c:

Go to the source code of this file.

Data Structures

struct  window_data
struct  window_global
struct  slab_automove


#define MIN_PAGES_FREE   1.5
#define MEMCHECK_PERIOD   60


voidslab_automove_extstore_init (struct settings *settings)
void slab_automove_extstore_free (void *arg)
static void window_sum (struct window_data *wd, struct window_data *w, uint32_t size)
static void window_global_sum (struct window_global *wg, struct window_global *w, uint32_t size)
static void global_pool_check (slab_automove *a)
static void memcheck (slab_automove *a)
static struct window_dataget_window_data (slab_automove *a, int class)
void slab_automove_extstore_run (void *arg, int *src, int *dst)

Macro Definition Documentation


#define MEMCHECK_PERIOD   60

Definition at line 16 of file slab_automove_extstore.c.



Definition at line 14 of file slab_automove_extstore.c.



Definition at line 13 of file slab_automove_extstore.c.


#define MIN_PAGES_FREE   1.5

Definition at line 15 of file slab_automove_extstore.c.

Function Documentation

◆ get_window_data()

static struct window_data * get_window_data ( slab_automove a,
int  class 

◆ global_pool_check()

◆ memcheck()

◆ slab_automove_extstore_free()

void slab_automove_extstore_free ( void arg)

◆ slab_automove_extstore_init()

◆ slab_automove_extstore_run()

◆ window_global_sum()

static void window_global_sum ( struct window_global wg,
struct window_global w,
uint32_t  size 

◆ window_sum()

static void window_sum ( struct window_data wd,
struct window_data w,
uint32_t  size