Home
last modified time | relevance | path

Searched refs:enr (Results 1 – 3 of 3) sorted by relevance

/drivers/block/drbd/
Ddrbd_actlog.c217 static struct bm_extent *find_active_resync_extent(struct drbd_device *device, unsigned int enr) in find_active_resync_extent() argument
220 tmp = lc_find(device->resync, enr/AL_EXT_PER_BM_SECT); in find_active_resync_extent()
229 static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock) in _al_get() argument
236 bm_ext = find_active_resync_extent(device, enr); in _al_get()
245 al_ext = lc_try_get(device->act_log, enr); in _al_get()
247 al_ext = lc_get(device->act_log, enr); in _al_get()
275 unsigned enr; in drbd_al_begin_io_prepare() local
281 for (enr = first; enr <= last; enr++) { in drbd_al_begin_io_prepare()
284 (al_ext = _al_get(device, enr, false)) != NULL); in drbd_al_begin_io_prepare()
285 if (al_ext->lc_number != enr) in drbd_al_begin_io_prepare()
[all …]
Ddrbd_bitmap.c1614 int drbd_bm_e_weight(struct drbd_device *device, unsigned long enr) in drbd_bm_e_weight() argument
1630 s = S2W(enr); in drbd_bm_e_weight()
1631 e = min((size_t)S2W(enr+1), b->bm_words); in drbd_bm_e_weight()
Ddrbd_int.h1358 extern int drbd_bm_e_weight(struct drbd_device *device, unsigned long enr);