Searched refs:entry_space (Results 1 – 3 of 3) sorted by relevance
61 struct entry_space { struct66 static int space_init(struct entry_space *es, unsigned int nr_entries) in space_init() argument81 static void space_exit(struct entry_space *es) in space_exit()86 static struct entry *__get_entry(struct entry_space *es, unsigned int block) in __get_entry()96 static unsigned int to_index(struct entry_space *es, struct entry *e) in to_index()102 static struct entry *to_entry(struct entry_space *es, unsigned int block) in to_entry()123 static struct entry *l_head(struct entry_space *es, struct ilist *l) in l_head()128 static struct entry *l_tail(struct entry_space *es, struct ilist *l) in l_tail()133 static struct entry *l_next(struct entry_space *es, struct entry *e) in l_next()138 static struct entry *l_prev(struct entry_space *es, struct entry *e) in l_prev()[all …]
127 unsigned int entry_space; member280 if (io && (io->pp_size == log->entry_space || in ppl_log_stripe()1303 log->entry_space = PPL_SPACE_SIZE; in ppl_init_child_log()1306 log->entry_space = (log->rdev->ppl.size << 9) - in ppl_init_child_log()
611 unsigned int entry_space = dir->i_sb->s_blocksize - in dx_root_limit() local616 entry_space -= sizeof(struct dx_tail); in dx_root_limit()617 return entry_space / sizeof(struct dx_entry); in dx_root_limit()622 unsigned int entry_space = dir->i_sb->s_blocksize - in dx_node_limit() local626 entry_space -= sizeof(struct dx_tail); in dx_node_limit()627 return entry_space / sizeof(struct dx_entry); in dx_node_limit()