Lines Matching refs:written

1243 	s64 written, size, end = pos + count;
1284 written = ntfs_rl_pwrite(vol, rli, ofsi, pos,
1286 if (written <= 0) {
1290 pos += written;
1512 * in the compression block to be written to
1675 * in the compression block to be written to
1838 * On success, return the number of successfully written bytes. If this number
1840 * write so that the write is partial. 0 means nothing was written (also return
1843 * On error and nothing has been written, return -1 with errno set
1850 s64 written, to_write, ofs, old_initialized_size, old_data_size;
2244 * data is generally first written uncompressed.
2261 written = ntfs_compressed_pwrite(na,
2266 written = ntfs_pwrite(vol->dev, wpos,
2268 if (written == rounding)
2269 written = to_write;
2275 written = ntfs_compressed_pwrite(na,
2280 written = ntfs_pwrite(vol->dev, wpos,
2284 written = to_write;
2286 if (written > 0) {
2287 total += written;
2288 count -= written;
2289 fullcount -= written;
2290 b = (const u8*)b + written;
2292 if (written != to_write) {
2295 if (written == (s64)-1 && errno == EINTR)
2297 if (!written)
2396 s64 written;
2405 written = -1;
2411 * Compressed attributes may be written partially, so
2415 written = ntfs_attr_pwrite_i(na, pos + total,
2417 if (written > 0)
2418 total += written;
2419 } while ((written > 0) && (total < count));
2422 return (total > 0 ? total : written);
2489 * However, we have already written the last byte uncompressed,
2692 * On success, return the number of successfully written blocks. If this number
2694 * write so that the write is partial. 0 means nothing was written (also
2697 * On error and nothing has been written, return -1 with errno set
2707 * simulating an mst read on the written data. This way cache coherency is
2713 s64 written, i;
2740 written = ntfs_attr_pwrite(na, pos, bk_cnt * bk_size, src);
2741 if (written <= 0) {
2742 ntfs_log_perror("%s: written=%lld", __FUNCTION__,
2743 (long long)written);
2749 if (written <= 0)
2750 return written;
2751 /* Finally, return the number of complete blocks written. */
2752 return written / bk_size;
5540 * written out later.
6281 /* All mapping pairs has been written. */
6474 /* Set the inode dirty so it is written out later. */
6694 /* Set the inode dirty so it is written out later. */
7070 * Returns the amount of data written, negative if there was an error