lc_element
struct lc_element *e;
struct lc_element *e;
struct lc_element *e;
struct lc_element *tmp;
static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock)
struct lc_element *al_ext;
struct lc_element *al_ext;
struct lc_element *e;
struct lc_element *tmp;
struct lc_element *al_ext;
struct lc_element *extent;
static int _try_lc_del(struct drbd_device *device, struct lc_element *al_ext)
struct lc_element *al_ext;
struct lc_element *e;
struct lc_element *e;
static void resync_dump_detail(struct seq_file *m, struct lc_element *e)
struct lc_element lce;
"drbd_al", sizeof(struct lc_element), 0, 0, NULL);
struct lc_element *e;
dc->al_extents, sizeof(struct lc_element), 0);
struct lc_element *tmp;
struct lc_element **lc_element;
extern void lc_del(struct lru_cache *lc, struct lc_element *element);
extern struct lc_element *lc_get_cumulative(struct lru_cache *lc, unsigned int enr);
extern struct lc_element *lc_try_get(struct lru_cache *lc, unsigned int enr);
extern struct lc_element *lc_find(struct lru_cache *lc, unsigned int enr);
extern struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr);
extern unsigned int lc_put(struct lru_cache *lc, struct lc_element *e);
void (*detail) (struct seq_file *, struct lc_element *));
extern struct lc_element *lc_element_by_index(struct lru_cache *lc, unsigned i);
element = kzalloc_objs(struct lc_element *, e_count);
lc->lc_element = element;
void *p = lc->lc_element[i];
kfree(lc->lc_element);
struct lc_element *e = lc->lc_element[i];
static struct lc_element *__lc_find(struct lru_cache *lc, unsigned int enr,
struct lc_element *e;
struct lc_element *lc_find(struct lru_cache *lc, unsigned int enr)
struct lc_element *e = __lc_find(lc, enr, 1);
void lc_del(struct lru_cache *lc, struct lc_element *e)
static struct lc_element *lc_prepare_for_change(struct lru_cache *lc, unsigned new_number)
struct lc_element *e;
e = list_entry(n, struct lc_element, list);
static struct lc_element *__lc_get(struct lru_cache *lc, unsigned int enr, unsigned int flags)
struct lc_element *e;
struct lc_element *e_ = (e); \
BUG_ON(lc_->lc_element[i] != e_); } while (0)
struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr)
struct lc_element *lc_get_cumulative(struct lru_cache *lc, unsigned int enr)
struct lc_element *lc_try_get(struct lru_cache *lc, unsigned int enr)
struct lc_element *e, *tmp;
unsigned int lc_put(struct lru_cache *lc, struct lc_element *e)
struct lc_element *lc_element_by_index(struct lru_cache *lc, unsigned i)
BUG_ON(lc->lc_element[i] == NULL);
BUG_ON(lc->lc_element[i]->lc_index != i);
return lc->lc_element[i];
void (*detail) (struct seq_file *, struct lc_element *))
struct lc_element *e;
struct lc_element **element = NULL;
struct lc_element *e;