Lines Matching defs:total
152 s64 total, r;
215 for (i = 0, total = 0; rl[i].length; i++) {
216 if (total + (rl[i].length << vol->cluster_size_bits) >=
238 intlth = (sle64_to_cpu(a->data_size) - total
281 memcpy(b + total, intbuf, sle64_to_cpu(a->data_size) -
282 total);
284 total = sle64_to_cpu(a->data_size);
299 b + total);
315 total += r;
318 return total;
991 s64 br, to_read, ofs, total, total2, max_read, max_init;
1069 total = total2 = 0;
1139 ofs = pos + total - (rl->vcn << vol->cluster_size_bits);
1158 total += to_read;
1174 total += br;
1183 if (total)
1184 return total;
1191 return total + total2;
1193 if (total)
1194 return total;
1851 s64 total = 0;
1996 total = count;
2194 ofs = pos + total - (rl->vcn << vol->cluster_size_bits);
2287 total += written;
2319 total = -1;
2327 return total;
2330 if (total) {
2332 if (pos + total > na->initialized_size)
2389 total = -1;
2395 s64 total;
2402 total = 0;
2415 written = ntfs_attr_pwrite_i(na, pos + total,
2416 count - total, (const u8*)b + total);
2418 total += written;
2419 } while ((written > 0) && (total < count));
2422 return (total > 0 ? total : written);
7033 int res, total = 0;
7044 res = ntfs_attr_pread(na, offset, size, buf + total);
7056 total += res;
7059 res = total;
7077 int res, total = 0;
7085 res = ntfs_attr_pwrite(na, offset, size, buf + total);
7096 total += res;
7098 res = total;
7217 s64 total = 0;
7230 br = ntfs_attr_pread(na, total, 65536, buf);
7233 total += br;
7252 if (!total || br < 0)