Lines Matching defs:start_bit
106 * @start_bit: first bit to set
110 * Set @count bits starting at bit @start_bit in the bitmap described by the
115 static int ntfs_bitmap_set_bits_in_run(ntfs_attr *na, s64 start_bit,
122 if (!na || start_bit < 0 || count < 0) {
125 __FUNCTION__, na, (long long)start_bit, (long long)count);
129 bit = start_bit & 7;
150 br = ntfs_attr_pread(na, start_bit >> 3, 1, buf);
163 /* Update @start_bit to the new position. */
164 start_bit = (start_bit + 7) & ~7;
187 br = ntfs_attr_pread(na, (start_bit + count) >>
213 tmp = (start_bit >> 3) - firstbyte;
235 start_bit += tmp;
260 * @start_bit: first bit to set
263 * Set @count bits starting at bit @start_bit in the bitmap described by the
268 int ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count)
273 (long long)start_bit, (long long)count);
274 ret = ntfs_bitmap_set_bits_in_run(na, start_bit, count, 1);
282 * @start_bit: first bit to clear
285 * Clear @count bits starting at bit @start_bit in the bitmap described by the
290 int ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count)
295 (long long)start_bit, (long long)count);
296 ret = ntfs_bitmap_set_bits_in_run(na, start_bit, count, 0);