Lines Matching defs:written
1137 * On success, return the number of successfully written bytes. If this number
1140 * is partial. 0 means nothing was written (also return 0 when @count is 0).
1142 * On error and nothing has been written, return -1 with errno set
1149 s64 written, to_write, ofs, total = 0;
1188 written = ntfs_pwrite(vol->dev, (rl->lcn <<
1192 written = to_write;
1194 if (written > 0) {
1195 total += written;
1196 count -= written;
1197 b = (u8*)b + written;
1201 if (written == (s64)-1 && errno == EINTR)
1203 if (written == (s64)-1)
1229 * Return the number of bytes written. This function cannot fail.
1375 * Return the number of bytes written on success. On error, i.e. the