Home
last modified time | relevance | path

Searched refs:nwritten (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/arch/alpha/boot/tools/
Dobjstrip.c55 size_t nwritten, tocopy, n, mem_size, fil_size, pad = 0; in main() local
250 nwritten = write(ofd, buf, n); in main()
251 if ((ssize_t) nwritten == -1) { in main()
255 n -= nwritten; in main()
275 nwritten = write(ofd, buf, n); in main()
276 if ((ssize_t) nwritten == -1) { in main()
280 tocopy -= nwritten; in main()
/Linux-v4.19/drivers/char/ipmi/
Dbt-bmc.c265 ssize_t nwritten; in bt_bmc_write() local
295 nwritten = min_t(ssize_t, count, sizeof(kbuffer)); in bt_bmc_write()
296 if (copy_from_user(&kbuffer, buf, nwritten)) { in bt_bmc_write()
301 bt_writen(bt_bmc, kbuffer, nwritten); in bt_bmc_write()
303 count -= nwritten; in bt_bmc_write()
304 buf += nwritten; in bt_bmc_write()
305 ret += nwritten; in bt_bmc_write()
/Linux-v4.19/fs/nfs/
Dpnfs_nfs.c74 cinfo->ds->nwritten--; in pnfs_generic_clear_request_commit()
102 cinfo->ds->nwritten -= ret; in pnfs_generic_scan_ds_commit_list()
139 int nwritten; in pnfs_generic_recover_commit_reqs() local
145 nwritten = nfs_scan_commit_list(&b->written, dst, cinfo, 0); in pnfs_generic_recover_commit_reqs()
146 if (!nwritten) in pnfs_generic_recover_commit_reqs()
148 cinfo->ds->nwritten -= nwritten; in pnfs_generic_recover_commit_reqs()
949 cinfo->ds->nwritten++; in pnfs_layout_mark_request_commit()
Dpnfs.h484 if (cinfo->ds == NULL || cinfo->ds->nwritten == 0) in pnfs_scan_commit_lists()
Ddirect.c621 if (cinfo->ds != NULL && cinfo->ds->nwritten != 0) in nfs_direct_write_scan_commit_list()
/Linux-v4.19/drivers/usb/gadget/function/
Df_mass_storage.c749 ssize_t nwritten; in do_write() local
883 nwritten = kernel_write(curlun->filp, bh->buf, amount, in do_write()
886 (unsigned long long)file_offset, (int)nwritten); in do_write()
890 if (nwritten < 0) { in do_write()
892 (int) nwritten); in do_write()
893 nwritten = 0; in do_write()
894 } else if (nwritten < amount) { in do_write()
896 (int) nwritten, amount); in do_write()
897 nwritten = round_down(nwritten, curlun->blksize); in do_write()
899 file_offset += nwritten; in do_write()
[all …]
/Linux-v4.19/fs/f2fs/
Dcheckpoint.c343 long nwritten = 0; in f2fs_sync_meta_pages() local
390 nwritten++; in f2fs_sync_meta_pages()
392 if (unlikely(nwritten >= nr_to_write)) in f2fs_sync_meta_pages()
399 if (nwritten) in f2fs_sync_meta_pages()
404 return nwritten; in f2fs_sync_meta_pages()
Dnode.c1755 int nwritten = 0; in f2fs_sync_node_pages() local
1832 nwritten++; in f2fs_sync_node_pages()
1853 if (nwritten) in f2fs_sync_node_pages()
/Linux-v4.19/include/linux/
Dnfs_xdr.h1228 int nwritten; member