Lines Matching defs:written
1028 * On success, return the number of successfully written bytes. If this number
1030 * write so that the write is partial. 0 means nothing was written (also return
1033 * On error and nothing has been written, return -1 with errno set
1039 s64 written, to_write, ofs, total, old_initialized_size, old_data_size;
1374 written = ntfs_pwrite(vol->u.dev, pos, rounded,
1376 if (written > to_write)
1377 written = to_write;
1380 written = ntfs_pwrite(vol->u.dev, pos, to_write,
1383 written = to_write;
1385 if (written > 0) {
1386 total += written;
1387 count -= written;
1388 b = (const u8*)b + written;
1392 if (written == (s64)-1 && errno == EINTR)
1394 if (!written)
1412 /* Finally, return the number of bytes written. */
1542 * On success, return the number of successfully written blocks. If this number
1544 * write so that the write is partial. 0 means nothing was written (also
1547 * On error and nothing has been written, return -1 with errno set
1557 * simulating an mst read on the written data. This way cache coherency is
1563 s64 written, i;
1589 written = ntfs_attr_pwrite(na, pos, bk_cnt * bk_size, src);
1594 if (written <= 0)
1595 return written;
1596 /* Finally, return the number of complete blocks written. */
1597 return written / bk_size;
4002 * written out later.
4719 /* All mapping pairs has been written. */
4858 /* Set the inode dirty so it is written out later. */
5042 /* Set the inode dirty so it is written out later. */