Lines Matching refs:entry_space
57 * An entry_space manages a set of entries that we use for the queues.
61 struct entry_space {
66 static int space_init(struct entry_space *es, unsigned int nr_entries)
81 static void space_exit(struct entry_space *es)
86 static struct entry *__get_entry(struct entry_space *es, unsigned int block)
96 static unsigned int to_index(struct entry_space *es, struct entry *e)
102 static struct entry *to_entry(struct entry_space *es, unsigned int block)
123 static struct entry *l_head(struct entry_space *es, struct ilist *l)
128 static struct entry *l_tail(struct entry_space *es, struct ilist *l)
133 static struct entry *l_next(struct entry_space *es, struct entry *e)
138 static struct entry *l_prev(struct entry_space *es, struct entry *e)
148 static void l_add_head(struct entry_space *es, struct ilist *l, struct entry *e)
164 static void l_add_tail(struct entry_space *es, struct ilist *l, struct entry *e)
180 static void l_add_before(struct entry_space *es, struct ilist *l,
198 static void l_del(struct entry_space *es, struct ilist *l, struct entry *e)
217 static struct entry *l_pop_head(struct entry_space *es, struct ilist *l)
230 static struct entry *l_pop_tail(struct entry_space *es, struct ilist *l)
254 struct entry_space *es;
270 static void q_init(struct queue *q, struct entry_space *es, unsigned int nr_levels)
576 struct entry_space *es;
585 static int h_init(struct smq_hash_table *ht, struct entry_space *es, unsigned int nr_entries)
694 struct entry_space *es;
701 static void init_allocator(struct entry_alloc *ea, struct entry_space *es,
810 struct entry_space es;