Home
last modified time | relevance | path

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

/fs/ocfs2/
Dreservations.c39 static unsigned int ocfs2_resv_window_bits(struct ocfs2_reservation_map *resmap, in ocfs2_resv_window_bits() argument
42 struct ocfs2_super *osb = resmap->m_osb; in ocfs2_resv_window_bits()
66 static inline int ocfs2_resmap_disabled(struct ocfs2_reservation_map *resmap) in ocfs2_resmap_disabled() argument
68 if (resmap->m_osb->osb_resv_level == 0) in ocfs2_resmap_disabled()
73 static void ocfs2_dump_resv(struct ocfs2_reservation_map *resmap) in ocfs2_dump_resv() argument
75 struct ocfs2_super *osb = resmap->m_osb; in ocfs2_dump_resv()
81 osb->dev_str, resmap->m_bitmap_len); in ocfs2_dump_resv()
83 node = rb_first(&resmap->m_reservations); in ocfs2_dump_resv()
99 list_for_each_entry(resv, &resmap->m_lru, r_lru) { in ocfs2_dump_resv()
110 static int ocfs2_validate_resmap_bits(struct ocfs2_reservation_map *resmap, in ocfs2_validate_resmap_bits() argument
[all …]
Dreservations.h70 void ocfs2_resv_discard(struct ocfs2_reservation_map *resmap,
85 struct ocfs2_reservation_map *resmap);
100 void ocfs2_resmap_restart(struct ocfs2_reservation_map *resmap,
107 void ocfs2_resmap_uninit(struct ocfs2_reservation_map *resmap);
126 int ocfs2_resmap_resv_bits(struct ocfs2_reservation_map *resmap,
145 void ocfs2_resmap_claimed_bits(struct ocfs2_reservation_map *resmap,
Dlocalalloc.c831 struct ocfs2_reservation_map *resmap = &osb->osb_la_resmap; in ocfs2_local_alloc_find_clear_bits() local
846 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) { in ocfs2_local_alloc_find_clear_bits()
901 ocfs2_resv_discard(resmap, resv); in ocfs2_local_alloc_find_clear_bits()