Searched refs:nwritten (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/arch/alpha/boot/tools/ |
D | objstrip.c | 55 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/ |
D | bt-bmc.c | 265 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/ |
D | pnfs_nfs.c | 74 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()
|
D | pnfs.h | 484 if (cinfo->ds == NULL || cinfo->ds->nwritten == 0) in pnfs_scan_commit_lists()
|
D | direct.c | 621 if (cinfo->ds != NULL && cinfo->ds->nwritten != 0) in nfs_direct_write_scan_commit_list()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_mass_storage.c | 749 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/ |
D | checkpoint.c | 343 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()
|
D | node.c | 1755 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/ |
D | nfs_xdr.h | 1228 int nwritten; member
|