Searched refs:order_iter (Results 1 – 2 of 2) sorted by relevance
77 unsigned int seg, order_iter, m; in dr_buddy_find_free_seg() local79 for (order_iter = start_order; in dr_buddy_find_free_seg()80 order_iter <= buddy->max_order; ++order_iter) { in dr_buddy_find_free_seg()81 if (!buddy->num_free[order_iter]) in dr_buddy_find_free_seg()84 m = 1 << (buddy->max_order - order_iter); in dr_buddy_find_free_seg()85 seg = find_first_bit(buddy->bitmap[order_iter], m); in dr_buddy_find_free_seg()89 order_iter)) in dr_buddy_find_free_seg()95 if (order_iter > buddy->max_order) in dr_buddy_find_free_seg()99 *order = order_iter; in dr_buddy_find_free_seg()123 unsigned int seg, order_iter; in mlx5dr_buddy_alloc_mem() local[all …]
87 unsigned int seg, order_iter, m; in hws_buddy_find_free_seg() local89 for (order_iter = start_order; in hws_buddy_find_free_seg()90 order_iter <= buddy->max_order; ++order_iter) { in hws_buddy_find_free_seg()91 if (!buddy->num_free[order_iter]) in hws_buddy_find_free_seg()94 m = 1 << (buddy->max_order - order_iter); in hws_buddy_find_free_seg()95 seg = find_first_bit(buddy->bitmap[order_iter], m); in hws_buddy_find_free_seg()99 order_iter)) in hws_buddy_find_free_seg()105 if (order_iter > buddy->max_order) in hws_buddy_find_free_seg()109 *order = order_iter; in hws_buddy_find_free_seg()115 u32 seg, order_iter, err; in mlx5hws_buddy_alloc_mem() local[all …]