Home
last modified time | relevance | path

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

/fs/ocfs2/
Dreservations.c44 static unsigned int ocfs2_resv_window_bits(struct ocfs2_reservation_map *resmap, in ocfs2_resv_window_bits() argument
47 struct ocfs2_super *osb = resmap->m_osb; in ocfs2_resv_window_bits()
71 static inline int ocfs2_resmap_disabled(struct ocfs2_reservation_map *resmap) in ocfs2_resmap_disabled() argument
73 if (resmap->m_osb->osb_resv_level == 0) in ocfs2_resmap_disabled()
78 static void ocfs2_dump_resv(struct ocfs2_reservation_map *resmap) in ocfs2_dump_resv() argument
80 struct ocfs2_super *osb = resmap->m_osb; in ocfs2_dump_resv()
86 osb->dev_str, resmap->m_bitmap_len); in ocfs2_dump_resv()
88 node = rb_first(&resmap->m_reservations); in ocfs2_dump_resv()
104 list_for_each_entry(resv, &resmap->m_lru, r_lru) { in ocfs2_dump_resv()
115 static int ocfs2_validate_resmap_bits(struct ocfs2_reservation_map *resmap, in ocfs2_validate_resmap_bits() argument
[all …]
Dreservations.h72 void ocfs2_resv_discard(struct ocfs2_reservation_map *resmap,
87 struct ocfs2_reservation_map *resmap);
102 void ocfs2_resmap_restart(struct ocfs2_reservation_map *resmap,
109 void ocfs2_resmap_uninit(struct ocfs2_reservation_map *resmap);
128 int ocfs2_resmap_resv_bits(struct ocfs2_reservation_map *resmap,
147 void ocfs2_resmap_claimed_bits(struct ocfs2_reservation_map *resmap,
Dlocalalloc.c833 struct ocfs2_reservation_map *resmap = &osb->osb_la_resmap; in ocfs2_local_alloc_find_clear_bits() local
848 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) { in ocfs2_local_alloc_find_clear_bits()
903 ocfs2_resv_discard(resmap, resv); in ocfs2_local_alloc_find_clear_bits()