entry_space
static unsigned int to_index(struct entry_space *es, struct entry *e)
static struct entry *to_entry(struct entry_space *es, unsigned int block)
static struct entry *l_head(struct entry_space *es, struct ilist *l)
static struct entry *l_tail(struct entry_space *es, struct ilist *l)
static struct entry *l_next(struct entry_space *es, struct entry *e)
static struct entry *l_prev(struct entry_space *es, struct entry *e)
static void l_add_head(struct entry_space *es, struct ilist *l, struct entry *e)
static void l_add_tail(struct entry_space *es, struct ilist *l, struct entry *e)
static void l_add_before(struct entry_space *es, struct ilist *l,
static void l_del(struct entry_space *es, struct ilist *l, struct entry *e)
static struct entry *l_pop_head(struct entry_space *es, struct ilist *l)
static struct entry *l_pop_tail(struct entry_space *es, struct ilist *l)
struct entry_space *es;
static void q_init(struct queue *q, struct entry_space *es, unsigned int nr_levels)
struct entry_space *es;
static int h_init(struct smq_hash_table *ht, struct entry_space *es, unsigned int nr_entries)
struct entry_space *es;
static void init_allocator(struct entry_alloc *ea, struct entry_space *es,
static int space_init(struct entry_space *es, unsigned int nr_entries)
struct entry_space es;
static void space_exit(struct entry_space *es)
static struct entry *__get_entry(struct entry_space *es, unsigned int block)
unsigned int entry_space;
log->entry_space = PPL_SPACE_SIZE;
log->entry_space = (log->rdev->ppl.size << 9) -
if (io && (io->pp_size == log->entry_space ||
unsigned int entry_space = dir->i_sb->s_blocksize -
entry_space -= sizeof(struct dx_tail);
return entry_space / sizeof(struct dx_entry);
unsigned int entry_space = dir->i_sb->s_blocksize -
entry_space -= sizeof(struct dx_tail);
return entry_space / sizeof(struct dx_entry);