Lines Matching defs:start_bit
34 * @start_bit: first bit to set
39 * Set @count bits starting at bit @start_bit in the bitmap described by the
47 int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit,
59 ntfs_debug("Entering for i_ino 0x%lx, start_bit 0x%llx, count 0x%llx, "
60 "value %u.%s", vi->i_ino, (unsigned long long)start_bit,
63 BUG_ON(start_bit < 0);
68 * bits, i.e. @start_bit and @start_bit + @cnt - 1, respectively.
70 index = start_bit >> (3 + PAGE_CACHE_SHIFT);
71 end_index = (start_bit + cnt - 1) >> (3 + PAGE_CACHE_SHIFT);
73 /* Get the page containing the first bit (@start_bit). */
84 /* Set @pos to the position of the byte containing @start_bit. */
85 pos = (start_bit >> 3) & ~PAGE_CACHE_MASK;
87 /* Calculate the position of @start_bit in the first byte. */
88 bit = start_bit & 7;
174 pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt,