Lines Matching refs:entry_space
56 * An entry_space manages a set of entries that we use for the queues.
60 struct entry_space {
65 static int space_init(struct entry_space *es, unsigned nr_entries)
80 static void space_exit(struct entry_space *es)
85 static struct entry *__get_entry(struct entry_space *es, unsigned block)
95 static unsigned to_index(struct entry_space *es, struct entry *e)
101 static struct entry *to_entry(struct entry_space *es, unsigned block)
122 static struct entry *l_head(struct entry_space *es, struct ilist *l)
127 static struct entry *l_tail(struct entry_space *es, struct ilist *l)
132 static struct entry *l_next(struct entry_space *es, struct entry *e)
137 static struct entry *l_prev(struct entry_space *es, struct entry *e)
147 static void l_add_head(struct entry_space *es, struct ilist *l, struct entry *e)
163 static void l_add_tail(struct entry_space *es, struct ilist *l, struct entry *e)
179 static void l_add_before(struct entry_space *es, struct ilist *l,
197 static void l_del(struct entry_space *es, struct ilist *l, struct entry *e)
216 static struct entry *l_pop_head(struct entry_space *es, struct ilist *l)
229 static struct entry *l_pop_tail(struct entry_space *es, struct ilist *l)
253 struct entry_space *es;
269 static void q_init(struct queue *q, struct entry_space *es, unsigned nr_levels)
574 struct entry_space *es;
583 static int h_init(struct smq_hash_table *ht, struct entry_space *es, unsigned nr_entries)
691 struct entry_space *es;
698 static void init_allocator(struct entry_alloc *ea, struct entry_space *es,
807 struct entry_space es;