Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/sound/pci/au88x0/
Dau88x0.h238 static char vortex_adb_checkinout(vortex_t * vortex, int resmap[], int out,
Dau88x0_core.c2002 vortex_adb_checkinout(vortex_t * vortex, int resmap[], int out, int restype) in vortex_adb_checkinout() argument
2015 if (resmap != NULL) in vortex_adb_checkinout()
2016 resmap[restype] |= (1 << i); in vortex_adb_checkinout()
2028 if (resmap == NULL) in vortex_adb_checkinout()
2032 if (resmap[restype] & (1 << i)) { in vortex_adb_checkinout()
2033 resmap[restype] &= ~(1 << i); in vortex_adb_checkinout()