Lines Matching defs:al_ext
220 struct lc_element *al_ext;
234 al_ext = lc_try_get(device->act_log, enr);
236 al_ext = lc_get(device->act_log, enr);
238 return al_ext;
271 struct lc_element *al_ext;
273 (al_ext = _al_get(device, enr, false)) != NULL);
274 if (al_ext->lc_number != enr)
536 struct lc_element *al_ext;
537 al_ext = lc_get_cumulative(device->act_log, enr);
538 if (!al_ext)
569 static int _try_lc_del(struct drbd_device *device, struct lc_element *al_ext)
574 rv = (al_ext->refcnt == 0);
576 lc_del(device->act_log, al_ext);
593 struct lc_element *al_ext;
599 al_ext = lc_element_by_index(device->act_log, i);
600 if (al_ext->lc_number == LC_FREE)
602 wait_event(device->al_wait, _try_lc_del(device, al_ext));