Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 12 of 12) sorted by relevance

/linux-4.19.296/drivers/char/
Dadi.c134 size_t ver_buf_sz, bytes_written = 0; in adi_write() local
151 if (copy_from_user(ver_buf, &buf[bytes_written], in adi_write()
165 bytes_written += ver_buf_sz; in adi_write()
166 ver_buf_sz = min(count - bytes_written, (size_t)MAX_BUF_SZ); in adi_write()
167 } while (bytes_written < count); in adi_write()
169 (*offp) += bytes_written; in adi_write()
170 ret = bytes_written; in adi_write()
Dppdev.c203 ssize_t bytes_written = 0; in pp_write() local
226 while (bytes_written < count) { in pp_write()
227 ssize_t n = min_t(unsigned long, count - bytes_written, PP_BUFFER_SIZE); in pp_write()
229 if (copy_from_user(kbuffer, buf + bytes_written, n)) { in pp_write()
230 bytes_written = -EFAULT; in pp_write()
248 if (!bytes_written) in pp_write()
249 bytes_written = wrote; in pp_write()
253 bytes_written += wrote; in pp_write()
256 if (!bytes_written) in pp_write()
257 bytes_written = -EAGAIN; in pp_write()
[all …]
/linux-4.19.296/drivers/nvmem/
Dbcm-ocotp.c197 u32 bytes_written; in bcm_otpc_write() local
208 for (bytes_written = 0; bytes_written < bytes;) { in bcm_otpc_write()
214 bytes_written += sizeof(*buf); in bcm_otpc_write()
/linux-4.19.296/drivers/i2c/busses/
Di2c-bcm-kona.c455 unsigned int bytes_written = 0; in bcm_kona_i2c_write_fifo() local
460 while (bytes_written < msg->len) { in bcm_kona_i2c_write_fifo()
461 if (msg->len - bytes_written <= MAX_TX_FIFO_SIZE) in bcm_kona_i2c_write_fifo()
462 bytes_to_write = msg->len - bytes_written; in bcm_kona_i2c_write_fifo()
469 bytes_written += bytes_to_write; in bcm_kona_i2c_write_fifo()
/linux-4.19.296/fs/cifs/
Dlink.c191 unsigned int bytes_written = 0; in create_mf_symlink() local
203 cifs_sb, fromName, buf, &bytes_written); in create_mf_symlink()
210 if (bytes_written != CIFS_MF_SYMLINK_FILE_SIZE) in create_mf_symlink()
Dfile.c1762 unsigned int bytes_written) in cifs_update_eof() argument
1764 loff_t end_of_write = offset + bytes_written; in cifs_update_eof()
1775 unsigned int bytes_written = 0; in cifs_write() local
1799 total_written += bytes_written) { in cifs_write()
1825 &io_parms, &bytes_written, iov, 1); in cifs_write()
1827 if (rc || (bytes_written == 0)) { in cifs_write()
1836 cifs_update_eof(cifsi, *offset, bytes_written); in cifs_write()
1838 *offset += bytes_written; in cifs_write()
1976 int bytes_written = 0; in cifs_partialpagewrite() local
2006 bytes_written = cifs_write(open_file, open_file->pid, in cifs_partialpagewrite()
[all …]
Ddir.c634 unsigned int bytes_written; in cifs_mknod() local
737 &bytes_written, iov, 1); in cifs_mknod()
743 &bytes_written, iov, 1); in cifs_mknod()
Dsmb2ops.c1039 (long long)(tcon->bytes_written)); in smb2_print_stats()
1148 ssize_t bytes_written, total_bytes_written = 0; in smb2_copychunk_range() local
1222 bytes_written = le32_to_cpu(retbuf->TotalBytesWritten); in smb2_copychunk_range()
1223 src_off += bytes_written; in smb2_copychunk_range()
1224 dest_off += bytes_written; in smb2_copychunk_range()
1225 len -= bytes_written; in smb2_copychunk_range()
1226 total_bytes_written += bytes_written; in smb2_copychunk_range()
1231 bytes_written); in smb2_copychunk_range()
Dcifsglob.h987 __u64 bytes_written; member
1372 tcon->bytes_written += bytes; in cifs_stats_bytes_written()
Dcifsproto.h131 unsigned int bytes_written);
Dcifs_debug.c416 tcon->bytes_written = 0; in cifs_stats_proc_write()
Dsmb1ops.c661 (long long)(tcon->bytes_written)); in cifs_print_stats()