Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ocfs2/
Dreservations.c52 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 …]
Dreservations.h80 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,
Dlocalalloc.c842 struct ocfs2_reservation_map *resmap = &osb->osb_la_resmap; in ocfs2_local_alloc_find_clear_bits() local
857 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) { in ocfs2_local_alloc_find_clear_bits()
913 ocfs2_resv_discard(resmap, resv); in ocfs2_local_alloc_find_clear_bits()
/Linux-v4.19/sound/pci/au88x0/
Dau88x0.h250 static char vortex_adb_checkinout(vortex_t * vortex, int resmap[], int out,
Dau88x0_core.c2008 vortex_adb_checkinout(vortex_t * vortex, int resmap[], int out, int restype) in vortex_adb_checkinout() argument
2021 if (resmap != NULL) in vortex_adb_checkinout()
2022 resmap[restype] |= (1 << i); in vortex_adb_checkinout()
2034 if (resmap == NULL) in vortex_adb_checkinout()
2038 if (resmap[restype] & (1 << i)) { in vortex_adb_checkinout()
2039 resmap[restype] &= ~(1 << i); in vortex_adb_checkinout()