Lines Matching defs:na
105 * @na: attribute containing the bitmap
111 * attribute @na to @value, where @value is either 0 or 1.
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);
150 br = ntfs_attr_pread(na, start_bit >> 3, 1, buf);
187 br = ntfs_attr_pread(na, (start_bit + count) >>
214 br = ntfs_attr_pwrite(na, tmp, bufsize, buf);
259 * @na: attribute containing the bitmap
264 * attribute @na.
268 int ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count)
274 ret = ntfs_bitmap_set_bits_in_run(na, start_bit, count, 1);
281 * @na: attribute containing the bitmap
286 * attribute @na.
290 int ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count)
296 ret = ntfs_bitmap_set_bits_in_run(na, start_bit, count, 0);