Lines Matching refs:start
270 void __bitmap_set(unsigned long *map, unsigned int start, int len) in __bitmap_set() argument
272 unsigned long *p = map + BIT_WORD(start); in __bitmap_set()
273 const unsigned int size = start + len; in __bitmap_set()
274 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_set()
275 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set()
291 void __bitmap_clear(unsigned long *map, unsigned int start, int len) in __bitmap_clear() argument
293 unsigned long *p = map + BIT_WORD(start); in __bitmap_clear()
294 const unsigned int size = start + len; in __bitmap_clear()
295 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_clear()
296 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear()
327 unsigned long start, in bitmap_find_next_zero_area_off() argument
334 index = find_next_zero_bit(map, size, start); in bitmap_find_next_zero_area_off()
344 start = i + 1; in bitmap_find_next_zero_area_off()
508 unsigned int start; member
517 unsigned int start; in bitmap_set_region() local
522 for (start = r->start; start <= r->end; start += r->group_len) in bitmap_set_region()
523 bitmap_set(bitmap, start, min(r->end - start + 1, r->off)); in bitmap_set_region()
530 if (r->start > r->end || r->group_len == 0 || r->off > r->group_len) in bitmap_check_region()
580 str = bitmap_getnum(str, &r->start); in bitmap_parse_region()
610 r->end = r->start; in bitmap_parse_region()