Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dreservations.c634 struct ocfs2_alloc_reservation *lru_resv; in ocfs2_cannibalize_resv() local
650 lru_resv = list_first_entry(&resmap->m_lru, in ocfs2_cannibalize_resv()
653 trace_ocfs2_cannibalize_resv_begin(lru_resv->r_start, in ocfs2_cannibalize_resv()
654 lru_resv->r_len, in ocfs2_cannibalize_resv()
655 ocfs2_resv_end(lru_resv)); in ocfs2_cannibalize_resv()
661 if (lru_resv->r_len <= min_bits) { in ocfs2_cannibalize_resv()
667 resv->r_start = lru_resv->r_start; in ocfs2_cannibalize_resv()
668 resv->r_len = lru_resv->r_len; in ocfs2_cannibalize_resv()
670 __ocfs2_resv_discard(resmap, lru_resv); in ocfs2_cannibalize_resv()
676 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv()
[all …]