resmap            833 fs/ocfs2/localalloc.c 	struct ocfs2_reservation_map *resmap = &osb->osb_la_resmap;
resmap            848 fs/ocfs2/localalloc.c 	if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) {
resmap            903 fs/ocfs2/localalloc.c 		ocfs2_resv_discard(resmap, resv);
resmap             44 fs/ocfs2/reservations.c static unsigned int ocfs2_resv_window_bits(struct ocfs2_reservation_map *resmap,
resmap             47 fs/ocfs2/reservations.c 	struct ocfs2_super *osb = resmap->m_osb;
resmap             71 fs/ocfs2/reservations.c static inline int ocfs2_resmap_disabled(struct ocfs2_reservation_map *resmap)
resmap             73 fs/ocfs2/reservations.c 	if (resmap->m_osb->osb_resv_level == 0)
resmap             78 fs/ocfs2/reservations.c static void ocfs2_dump_resv(struct ocfs2_reservation_map *resmap)
resmap             80 fs/ocfs2/reservations.c 	struct ocfs2_super *osb = resmap->m_osb;
resmap             86 fs/ocfs2/reservations.c 	     osb->dev_str, resmap->m_bitmap_len);
resmap             88 fs/ocfs2/reservations.c 	node = rb_first(&resmap->m_reservations);
resmap            104 fs/ocfs2/reservations.c 	list_for_each_entry(resv, &resmap->m_lru, r_lru) {
resmap            115 fs/ocfs2/reservations.c static int ocfs2_validate_resmap_bits(struct ocfs2_reservation_map *resmap,
resmap            119 fs/ocfs2/reservations.c 	char *disk_bitmap = resmap->m_disk_bitmap;
resmap            136 fs/ocfs2/reservations.c static void ocfs2_check_resmap(struct ocfs2_reservation_map *resmap)
resmap            143 fs/ocfs2/reservations.c 	node = rb_first(&resmap->m_reservations);
resmap            165 fs/ocfs2/reservations.c 		if (ocfs2_resv_end(resv) >= resmap->m_bitmap_len) {
resmap            171 fs/ocfs2/reservations.c 		if (ocfs2_validate_resmap_bits(resmap, i, resv))
resmap            182 fs/ocfs2/reservations.c 	ocfs2_dump_resv(resmap);
resmap            186 fs/ocfs2/reservations.c static inline void ocfs2_check_resmap(struct ocfs2_reservation_map *resmap)
resmap            207 fs/ocfs2/reservations.c 		      struct ocfs2_reservation_map *resmap)
resmap            209 fs/ocfs2/reservations.c 	memset(resmap, 0, sizeof(*resmap));
resmap            211 fs/ocfs2/reservations.c 	resmap->m_osb = osb;
resmap            212 fs/ocfs2/reservations.c 	resmap->m_reservations = RB_ROOT;
resmap            214 fs/ocfs2/reservations.c 	INIT_LIST_HEAD(&resmap->m_lru);
resmap            219 fs/ocfs2/reservations.c static void ocfs2_resv_mark_lru(struct ocfs2_reservation_map *resmap,
resmap            227 fs/ocfs2/reservations.c 	list_add_tail(&resv->r_lru, &resmap->m_lru);
resmap            236 fs/ocfs2/reservations.c static void ocfs2_resv_remove(struct ocfs2_reservation_map *resmap,
resmap            241 fs/ocfs2/reservations.c 		rb_erase(&resv->r_node, &resmap->m_reservations);
resmap            246 fs/ocfs2/reservations.c static void __ocfs2_resv_discard(struct ocfs2_reservation_map *resmap,
resmap            258 fs/ocfs2/reservations.c 	ocfs2_resv_remove(resmap, resv);
resmap            262 fs/ocfs2/reservations.c void ocfs2_resv_discard(struct ocfs2_reservation_map *resmap,
resmap            267 fs/ocfs2/reservations.c 		__ocfs2_resv_discard(resmap, resv);
resmap            272 fs/ocfs2/reservations.c static void ocfs2_resmap_clear_all_resv(struct ocfs2_reservation_map *resmap)
resmap            279 fs/ocfs2/reservations.c 	while ((node = rb_last(&resmap->m_reservations)) != NULL) {
resmap            282 fs/ocfs2/reservations.c 		__ocfs2_resv_discard(resmap, resv);
resmap            286 fs/ocfs2/reservations.c void ocfs2_resmap_restart(struct ocfs2_reservation_map *resmap,
resmap            289 fs/ocfs2/reservations.c 	if (ocfs2_resmap_disabled(resmap))
resmap            294 fs/ocfs2/reservations.c 	ocfs2_resmap_clear_all_resv(resmap);
resmap            295 fs/ocfs2/reservations.c 	resmap->m_bitmap_len = clen;
resmap            296 fs/ocfs2/reservations.c 	resmap->m_disk_bitmap = disk_bitmap;
resmap            301 fs/ocfs2/reservations.c void ocfs2_resmap_uninit(struct ocfs2_reservation_map *resmap)
resmap            306 fs/ocfs2/reservations.c static void ocfs2_resv_insert(struct ocfs2_reservation_map *resmap,
resmap            309 fs/ocfs2/reservations.c 	struct rb_root *root = &resmap->m_reservations;
resmap            344 fs/ocfs2/reservations.c 	ocfs2_resv_mark_lru(resmap, new);
resmap            346 fs/ocfs2/reservations.c 	ocfs2_check_resmap(resmap);
resmap            359 fs/ocfs2/reservations.c ocfs2_find_resv_lhs(struct ocfs2_reservation_map *resmap, unsigned int goal)
resmap            363 fs/ocfs2/reservations.c 	struct rb_node *node = resmap->m_reservations.rb_node;
resmap            370 fs/ocfs2/reservations.c 	node = rb_first(&resmap->m_reservations);
resmap            406 fs/ocfs2/reservations.c static int ocfs2_resmap_find_free_bits(struct ocfs2_reservation_map *resmap,
resmap            413 fs/ocfs2/reservations.c 	void *bitmap = resmap->m_disk_bitmap;
resmap            418 fs/ocfs2/reservations.c 						wanted, resmap->m_bitmap_len);
resmap            423 fs/ocfs2/reservations.c 	while ((offset = ocfs2_find_next_zero_bit(bitmap, resmap->m_bitmap_len,
resmap            462 fs/ocfs2/reservations.c static void __ocfs2_resv_find_window(struct ocfs2_reservation_map *resmap,
resmap            466 fs/ocfs2/reservations.c 	struct rb_root *root = &resmap->m_reservations;
resmap            491 fs/ocfs2/reservations.c 		clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal,
resmap            492 fs/ocfs2/reservations.c 						   resmap->m_bitmap_len - goal,
resmap            507 fs/ocfs2/reservations.c 		ocfs2_resv_insert(resmap, resv);
resmap            511 fs/ocfs2/reservations.c 	prev_resv = ocfs2_find_resv_lhs(resmap, goal);
resmap            540 fs/ocfs2/reservations.c 			ocfs2_dump_resv(resmap);
resmap            544 fs/ocfs2/reservations.c 		clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal,
resmap            581 fs/ocfs2/reservations.c 			gap_len = resmap->m_bitmap_len - gap_start;
resmap            582 fs/ocfs2/reservations.c 			gap_end = resmap->m_bitmap_len - 1;
resmap            594 fs/ocfs2/reservations.c 		clen = ocfs2_resmap_find_free_bits(resmap, wanted, gap_start,
resmap            618 fs/ocfs2/reservations.c 		ocfs2_resv_insert(resmap, resv);
resmap            622 fs/ocfs2/reservations.c static void ocfs2_cannibalize_resv(struct ocfs2_reservation_map *resmap,
resmap            631 fs/ocfs2/reservations.c 		min_bits = ocfs2_resv_window_bits(resmap, resv) >> 1;
resmap            642 fs/ocfs2/reservations.c 	lru_resv = list_first_entry(&resmap->m_lru,
resmap            662 fs/ocfs2/reservations.c 		__ocfs2_resv_discard(resmap, lru_resv);
resmap            680 fs/ocfs2/reservations.c 	ocfs2_resv_insert(resmap, resv);
resmap            683 fs/ocfs2/reservations.c static void ocfs2_resv_find_window(struct ocfs2_reservation_map *resmap,
resmap            698 fs/ocfs2/reservations.c 		if (goal >= resmap->m_bitmap_len)
resmap            702 fs/ocfs2/reservations.c 	__ocfs2_resv_find_window(resmap, resv, goal, wanted);
resmap            706 fs/ocfs2/reservations.c 		__ocfs2_resv_find_window(resmap, resv, 0, wanted);
resmap            713 fs/ocfs2/reservations.c 		ocfs2_cannibalize_resv(resmap, resv, wanted);
resmap            719 fs/ocfs2/reservations.c int ocfs2_resmap_resv_bits(struct ocfs2_reservation_map *resmap,
resmap            723 fs/ocfs2/reservations.c 	if (resv == NULL || ocfs2_resmap_disabled(resmap))
resmap            734 fs/ocfs2/reservations.c 		unsigned int wanted = ocfs2_resv_window_bits(resmap, resv);
resmap            746 fs/ocfs2/reservations.c 		ocfs2_resv_find_window(resmap, resv, wanted);
resmap            760 fs/ocfs2/reservations.c 	ocfs2_adjust_resv_from_alloc(struct ocfs2_reservation_map *resmap,
resmap            773 fs/ocfs2/reservations.c 		__ocfs2_resv_discard(resmap, resv);
resmap            788 fs/ocfs2/reservations.c void ocfs2_resmap_claimed_bits(struct ocfs2_reservation_map *resmap,
resmap            794 fs/ocfs2/reservations.c 	if (resmap == NULL || ocfs2_resmap_disabled(resmap))
resmap            813 fs/ocfs2/reservations.c 	ocfs2_adjust_resv_from_alloc(resmap, resv, cstart, cend);
resmap            822 fs/ocfs2/reservations.c 		ocfs2_resv_mark_lru(resmap, resv);
resmap            828 fs/ocfs2/reservations.c 	ocfs2_check_resmap(resmap);
resmap             72 fs/ocfs2/reservations.h void ocfs2_resv_discard(struct ocfs2_reservation_map *resmap,
resmap             87 fs/ocfs2/reservations.h 		      struct ocfs2_reservation_map *resmap);
resmap            102 fs/ocfs2/reservations.h void ocfs2_resmap_restart(struct ocfs2_reservation_map *resmap,
resmap            109 fs/ocfs2/reservations.h void ocfs2_resmap_uninit(struct ocfs2_reservation_map *resmap);
resmap            128 fs/ocfs2/reservations.h int ocfs2_resmap_resv_bits(struct ocfs2_reservation_map *resmap,
resmap            147 fs/ocfs2/reservations.h void ocfs2_resmap_claimed_bits(struct ocfs2_reservation_map *resmap,
resmap            238 sound/pci/au88x0/au88x0.h static char vortex_adb_checkinout(vortex_t * vortex, int resmap[], int out,
resmap           2002 sound/pci/au88x0/au88x0_core.c vortex_adb_checkinout(vortex_t * vortex, int resmap[], int out, int restype)
resmap           2015 sound/pci/au88x0/au88x0_core.c 				if (resmap != NULL)
resmap           2016 sound/pci/au88x0/au88x0_core.c 					resmap[restype] |= (1 << i);
resmap           2028 sound/pci/au88x0/au88x0_core.c 		if (resmap == NULL)
resmap           2032 sound/pci/au88x0/au88x0_core.c 			if (resmap[restype] & (1 << i)) {
resmap           2033 sound/pci/au88x0/au88x0_core.c 				resmap[restype] &= ~(1 << i);