entry_alloc
static void init_allocator(struct entry_alloc *ea, struct entry_space *es,
static struct entry *alloc_entry(struct entry_alloc *ea)
static struct entry *alloc_particular_entry(struct entry_alloc *ea, unsigned int i)
static void free_entry(struct entry_alloc *ea, struct entry *e)
static bool allocator_empty(struct entry_alloc *ea)
static unsigned int get_index(struct entry_alloc *ea, struct entry *e)
static struct entry *get_entry(struct entry_alloc *ea, unsigned int index)
struct entry_alloc writeback_sentinel_alloc;
struct entry_alloc demote_sentinel_alloc;
struct entry_alloc hotspot_alloc;
struct entry_alloc cache_alloc;
static struct entry *get_sentinel(struct entry_alloc *ea, unsigned int level, bool which)