Searched refs:resmap (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/fs/ocfs2/ |
D | reservations.c | 52 static unsigned int ocfs2_resv_window_bits(struct ocfs2_reservation_map *resmap, in ocfs2_resv_window_bits() argument 55 struct ocfs2_super *osb = resmap->m_osb; in ocfs2_resv_window_bits() 79 static inline int ocfs2_resmap_disabled(struct ocfs2_reservation_map *resmap) in ocfs2_resmap_disabled() argument 81 if (resmap->m_osb->osb_resv_level == 0) in ocfs2_resmap_disabled() 86 static void ocfs2_dump_resv(struct ocfs2_reservation_map *resmap) in ocfs2_dump_resv() argument 88 struct ocfs2_super *osb = resmap->m_osb; in ocfs2_dump_resv() 94 osb->dev_str, resmap->m_bitmap_len); in ocfs2_dump_resv() 96 node = rb_first(&resmap->m_reservations); in ocfs2_dump_resv() 112 list_for_each_entry(resv, &resmap->m_lru, r_lru) { in ocfs2_dump_resv() 123 static int ocfs2_validate_resmap_bits(struct ocfs2_reservation_map *resmap, in ocfs2_validate_resmap_bits() argument [all …]
|
D | reservations.h | 80 void ocfs2_resv_discard(struct ocfs2_reservation_map *resmap, 95 struct ocfs2_reservation_map *resmap); 110 void ocfs2_resmap_restart(struct ocfs2_reservation_map *resmap, 117 void ocfs2_resmap_uninit(struct ocfs2_reservation_map *resmap); 136 int ocfs2_resmap_resv_bits(struct ocfs2_reservation_map *resmap, 155 void ocfs2_resmap_claimed_bits(struct ocfs2_reservation_map *resmap,
|
D | localalloc.c | 848 struct ocfs2_reservation_map *resmap = &osb->osb_la_resmap; in ocfs2_local_alloc_find_clear_bits() local 863 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) { in ocfs2_local_alloc_find_clear_bits() 919 ocfs2_resv_discard(resmap, resv); in ocfs2_local_alloc_find_clear_bits()
|