Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ocfs2/
Dreservations.c619 struct ocfs2_alloc_reservation *lru_resv; in ocfs2_cannibalize_resv() local
635 lru_resv = list_first_entry(&resmap->m_lru, in ocfs2_cannibalize_resv()
638 trace_ocfs2_cannibalize_resv_begin(lru_resv->r_start, in ocfs2_cannibalize_resv()
639 lru_resv->r_len, in ocfs2_cannibalize_resv()
640 ocfs2_resv_end(lru_resv)); in ocfs2_cannibalize_resv()
646 if (lru_resv->r_len <= min_bits) { in ocfs2_cannibalize_resv()
652 resv->r_start = lru_resv->r_start; in ocfs2_cannibalize_resv()
653 resv->r_len = lru_resv->r_len; in ocfs2_cannibalize_resv()
655 __ocfs2_resv_discard(resmap, lru_resv); in ocfs2_cannibalize_resv()
661 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv()
[all …]