Lines Matching refs:start
94 bitmap_set(unsigned long *map, unsigned int start, int nr)
96 const unsigned int size = start + nr;
97 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG);
98 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start);
100 map += BIT_WORD(start);
117 bitmap_clear(unsigned long *map, unsigned int start, int nr)
119 const unsigned int size = start + nr;
120 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG);
121 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start);
123 map += BIT_WORD(start);
141 const unsigned int size, unsigned int start,
150 index = find_next_zero_bit(map, size, start);
160 start = i + 1;
168 const unsigned int size, unsigned int start,
172 start, nr, align_mask, 0));