Home
last modified time | relevance | path

Searched refs:entry_space (Results 1 – 2 of 2) sorted by relevance

/drivers/md/
Ddm-cache-policy-smq.c60 struct entry_space { struct
65 static int space_init(struct entry_space *es, unsigned nr_entries) in space_init() argument
80 static void space_exit(struct entry_space *es) in space_exit()
85 static struct entry *__get_entry(struct entry_space *es, unsigned block) in __get_entry()
95 static unsigned to_index(struct entry_space *es, struct entry *e) in to_index()
101 static struct entry *to_entry(struct entry_space *es, unsigned block) in to_entry()
122 static struct entry *l_head(struct entry_space *es, struct ilist *l) in l_head()
127 static struct entry *l_tail(struct entry_space *es, struct ilist *l) in l_tail()
132 static struct entry *l_next(struct entry_space *es, struct entry *e) in l_next()
137 static struct entry *l_prev(struct entry_space *es, struct entry *e) in l_prev()
[all …]
Draid5-ppl.c127 unsigned int entry_space; member
279 if (io && (io->pp_size == log->entry_space || in ppl_log_stripe()
1319 log->entry_space = PPL_SPACE_SIZE; in ppl_init_child_log()
1322 log->entry_space = (log->rdev->ppl.size << 9) - in ppl_init_child_log()