Lines Matching refs:start_bit
20 * @start_bit: first bit to set
25 * Set @count bits starting at bit @start_bit in the bitmap described by the
33 int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit,
45 ntfs_debug("Entering for i_ino 0x%lx, start_bit 0x%llx, count 0x%llx, "
46 "value %u.%s", vi->i_ino, (unsigned long long)start_bit,
49 BUG_ON(start_bit < 0);
54 * bits, i.e. @start_bit and @start_bit + @cnt - 1, respectively.
56 index = start_bit >> (3 + PAGE_SHIFT);
57 end_index = (start_bit + cnt - 1) >> (3 + PAGE_SHIFT);
59 /* Get the page containing the first bit (@start_bit). */
70 /* Set @pos to the position of the byte containing @start_bit. */
71 pos = (start_bit >> 3) & ~PAGE_MASK;
73 /* Calculate the position of @start_bit in the first byte. */
74 bit = start_bit & 7;
160 pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt,