Home
last modified time | relevance | path

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

/fs/ocfs2/
Dreservations.c626 struct ocfs2_alloc_reservation *lru_resv; in ocfs2_cannibalize_resv() local
642 lru_resv = list_first_entry(&resmap->m_lru, in ocfs2_cannibalize_resv()
645 trace_ocfs2_cannibalize_resv_begin(lru_resv->r_start, in ocfs2_cannibalize_resv()
646 lru_resv->r_len, in ocfs2_cannibalize_resv()
647 ocfs2_resv_end(lru_resv)); in ocfs2_cannibalize_resv()
653 if (lru_resv->r_len <= min_bits) { in ocfs2_cannibalize_resv()
659 resv->r_start = lru_resv->r_start; in ocfs2_cannibalize_resv()
660 resv->r_len = lru_resv->r_len; in ocfs2_cannibalize_resv()
662 __ocfs2_resv_discard(resmap, lru_resv); in ocfs2_cannibalize_resv()
668 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv()
[all …]