Searched refs:entry_space (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-cache-policy-smq.c | 56 * An entry_space manages a set of entries that we use for the queues. 60 struct entry_space { struct 65 static int space_init(struct entry_space *es, unsigned nr_entries) in space_init() 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 *e [all...] |
H A D | raid5-ppl.c | 127 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()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-cache-policy-smq.c | 57 * An entry_space manages a set of entries that we use for the queues. 61 struct entry_space { struct 66 static int space_init(struct entry_space *es, unsigned int nr_entries) in space_init() 81 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 *e [all...] |
H A D | raid5-ppl.c | 127 unsigned int entry_space; member 280 if (io && (io->pp_size == log->entry_space || in ppl_log_stripe() 1309 log->entry_space = PPL_SPACE_SIZE; in ppl_init_child_log() 1312 log->entry_space = (log->rdev->ppl.size << 9) - in ppl_init_child_log()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | namei.c | 607 unsigned entry_space = dir->i_sb->s_blocksize - EXT4_DIR_REC_LEN(1) - in dx_root_limit() local 611 entry_space -= sizeof(struct dx_tail); in dx_root_limit() 612 return entry_space / sizeof(struct dx_entry); in dx_root_limit() 617 unsigned entry_space = dir->i_sb->s_blocksize - EXT4_DIR_REC_LEN(0); in dx_node_limit() local 620 entry_space -= sizeof(struct dx_tail); in dx_node_limit() 621 return entry_space / sizeof(struct dx_entry); in dx_node_limit()
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | namei.c | 610 unsigned int entry_space = dir->i_sb->s_blocksize - in dx_root_limit() local 615 entry_space -= sizeof(struct dx_tail); in dx_root_limit() 616 return entry_space / sizeof(struct dx_entry); in dx_root_limit() 621 unsigned int entry_space = dir->i_sb->s_blocksize - in dx_node_limit() local 625 entry_space -= sizeof(struct dx_tail); in dx_node_limit() 626 return entry_space / sizeof(struct dx_entry); in dx_node_limit()
|
Completed in 18 milliseconds