Lines Matching refs:start
84 static int bitmap_set_ll(unsigned long *map, int start, int nr) in bitmap_set_ll() argument
86 unsigned long *p = map + BIT_WORD(start); in bitmap_set_ll()
87 const int size = start + nr; in bitmap_set_ll()
88 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set_ll()
89 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set_ll()
119 static int bitmap_clear_ll(unsigned long *map, int start, int nr) in bitmap_clear_ll() argument
121 unsigned long *p = map + BIT_WORD(start); in bitmap_clear_ll()
122 const int size = start + nr; in bitmap_clear_ll()
123 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_clear_ll()
124 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear_ll()
551 bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start, in addr_in_gen_pool() argument
555 unsigned long end = start + size - 1; in addr_in_gen_pool()
560 if (start >= chunk->start_addr && start <= chunk->end_addr) { in addr_in_gen_pool()
644 unsigned long start, unsigned int nr, void *data, in gen_pool_first_fit() argument
647 return bitmap_find_next_zero_area(map, size, start, nr, 0); in gen_pool_first_fit()
662 unsigned long start, unsigned int nr, void *data, in gen_pool_first_fit_align() argument
674 return bitmap_find_next_zero_area_off(map, size, start, nr, in gen_pool_first_fit_align()
689 unsigned long start, unsigned int nr, void *data, in gen_pool_fixed_alloc() argument
704 start + offset_bit, nr, 0); in gen_pool_fixed_alloc()
723 unsigned long size, unsigned long start, in gen_pool_first_fit_order_align() argument
729 return bitmap_find_next_zero_area(map, size, start, nr, align_mask); in gen_pool_first_fit_order_align()
747 unsigned long start, unsigned int nr, void *data, in gen_pool_best_fit() argument
754 index = bitmap_find_next_zero_area(map, size, start, nr, 0); in gen_pool_best_fit()