Lines Matching defs:count
935 s64 i, pos, count;
945 count = ntfs_attr_pread(vol->lcnbmp_na, pos, NTFS_BUF_SIZE, bm);
946 if (count == -1)
949 if (count == 0) {
957 for (i = 0; i < count; i++, pos++) {
1822 static int read_all(struct ntfs_device *dev, void *buf, int count)
1826 while (count > 0) {
1828 i = count;
1830 i = dev->d_ops->read(dev, buf, count);
1836 count -= i;
1844 static int write_all(struct ntfs_device *dev, void *buf, int count)
1848 while (count > 0) {
1850 i = count;
1852 i = dev->d_ops->write(dev, buf, count);
1858 count -= i;
3837 unsigned long count;
3844 count = 0;
3845 /* count by steps because of inappropriate resolution */
3847 count += step;
3848 progress_init(progress, 0, count,
3851 count = 0;
3856 count += step;
3857 progress_update(progress, count);