Lines Matching refs:off
105 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right() local
107 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right()
114 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right()
117 upper = src[off + k + 1]; in __bitmap_shift_right()
118 if (off + k + 1 == lim - 1) in __bitmap_shift_right()
122 lower = src[off + k]; in __bitmap_shift_right()
123 if (off + k == lim - 1) in __bitmap_shift_right()
128 if (off) in __bitmap_shift_right()
129 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
151 unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left() local
152 for (k = lim - off - 1; k >= 0; --k) { in __bitmap_shift_left()
164 dst[k + off] = lower | upper; in __bitmap_shift_left()
166 if (off) in __bitmap_shift_left()
167 memset(dst, 0, off*sizeof(unsigned long)); in __bitmap_shift_left()
509 unsigned int off; member
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()
600 str = bitmap_getnum(str + 1, &r->off); in bitmap_parse_region()
612 r->off = r->end + 1; in bitmap_parse_region()