Lines Matching refs:na
49 * @na: attribute containing the bitmap
55 * attribute @na to @value, where @value is either 0 or 1.
59 static int ntfs_bitmap_set_bits_in_run(ntfs_attr *na, s64 start_bit,
62 ntfs_volume *vol = na->ni->vol;
67 if (!na || start_bit < 0 || count < 0) {
93 br = ntfs_attr_pread(na, start_bit >> 3, 1, buf);
130 br = ntfs_attr_pread(na, (start_bit + left) >>
157 br = ntfs_attr_pwrite(na, tmp, bufsize, buf);
192 if (na == vol->mftbmp_na) {
198 if (na == vol->lcnbmp_na) {
217 * @na: attribute containing the bitmap
222 * attribute @na.
226 int ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count)
228 return ntfs_bitmap_set_bits_in_run(na, start_bit, count, 1);
233 * @na: attribute containing the bitmap
238 * attribute @na.
242 int ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count)
247 return ntfs_bitmap_set_bits_in_run(na, start_bit, count, 0);