Home
last modified time | relevance | path

Searched refs:wrote (Results 1 – 25 of 188) sorted by relevance

12345678

/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/
H A Dflash_image.c100 int wrote = mtd_write_data(out, buf, headerlen); in main() local
101 if (wrote != headerlen) die("error writing %s", argv[1]); in main()
105 wrote = mtd_write_data(out, buf, len); in main()
106 if (wrote != len) die("error writing %s", argv[1]); in main()
117 wrote = mtd_write_data(out, header, headerlen); in main()
118 if (wrote != headerlen) die("error re-writing %s", argv[1]); in main()
H A Dmtdutils.c478 size_t wrote = 0; in mtd_write_data() local
479 while (wrote < len) { in mtd_write_data()
481 if (ctx->stored > 0 || len - wrote < ctx->partition->erase_size) { in mtd_write_data()
483 size_t copy = len - wrote < avail ? len - wrote : avail; in mtd_write_data()
484 memcpy(ctx->buffer + ctx->stored, data + wrote, copy); in mtd_write_data()
486 wrote += copy; in mtd_write_data()
496 while (ctx->stored == 0 && len - wrote >= ctx->partition->erase_size) { in mtd_write_data()
497 if (write_block(ctx, data + wrote)) return -1; in mtd_write_data()
498 wrote += ctx->partition->erase_size; in mtd_write_data()
502 return wrote; in mtd_write_data()
/OK3568_Linux_fs/external/recovery/mtdutils/
H A Dflash_image.c102 int wrote = mtd_write_data(out, buf, headerlen); in main() local
103 if (wrote != headerlen) die("error writing %s", argv[1]); in main()
107 wrote = mtd_write_data(out, buf, len); in main()
108 if (wrote != len) die("error writing %s", argv[1]); in main()
119 wrote = mtd_write_data(out, header, headerlen); in main()
120 if (wrote != headerlen) die("error re-writing %s", argv[1]); in main()
H A Dmtdutils.c501 size_t wrote = 0; in mtd_write_data() local
502 while (wrote < len) { in mtd_write_data()
504 if (ctx->stored > 0 || len - wrote < ctx->partition->erase_size) { in mtd_write_data()
506 size_t copy = len - wrote < avail ? len - wrote : avail; in mtd_write_data()
507 memcpy(ctx->buffer + ctx->stored, data + wrote, copy); in mtd_write_data()
509 wrote += copy; in mtd_write_data()
519 while (ctx->stored == 0 && len - wrote >= ctx->partition->erase_size) { in mtd_write_data()
520 if (write_block(ctx, data + wrote)) return -1; in mtd_write_data()
521 wrote += ctx->partition->erase_size; in mtd_write_data()
525 return wrote; in mtd_write_data()
/OK3568_Linux_fs/kernel/drivers/char/
H A Dmem.c583 ssize_t wrote = 0; in write_kmem() local
591 wrote = do_write_kmem(p, buf, to_write, ppos); in write_kmem()
592 if (wrote != to_write) in write_kmem()
593 return wrote; in write_kmem()
594 p += wrote; in write_kmem()
595 buf += wrote; in write_kmem()
596 count -= wrote; in write_kmem()
602 return wrote ? wrote : -ENOMEM; in write_kmem()
628 return virtr + wrote ? : err; in write_kmem()
H A Dppdev.c200 ssize_t wrote; in pp_write() local
233 wrote = pport->ops->epp_write_addr(pport, in pp_write()
236 wrote = pport->ops->epp_write_data(pport, in pp_write()
240 wrote = parport_write(pp->pdev->port, kbuffer, n); in pp_write()
243 if (wrote <= 0) { in pp_write()
245 bytes_written = wrote; in pp_write()
249 bytes_written += wrote; in pp_write()
/OK3568_Linux_fs/kernel/fs/
H A Dfs-writeback.c1658 long wrote; in writeback_sb_inodes() local
1734 wrote = write_chunk - wbc.nr_to_write - wbc.pages_skipped; in writeback_sb_inodes()
1735 wrote = wrote < 0 ? 0 : wrote; in writeback_sb_inodes()
1736 total_wrote += wrote; in writeback_sb_inodes()
1786 long wrote = 0; in __writeback_inodes_wb() local
1801 wrote += writeback_sb_inodes(sb, wb, work); in __writeback_inodes_wb()
1805 if (wrote) { in __writeback_inodes_wb()
1813 return wrote; in __writeback_inodes_wb()
2045 long wrote = 0; in wb_do_writeback() local
2050 wrote += wb_writeback(wb, work); in wb_do_writeback()
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/hvc/
H A Dhvsi.c283 int wrote; in hvsi_version_respond() local
295 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_version_respond()
296 if (wrote != packet.hdr.len) { in hvsi_version_respond()
543 int wrote; in hvsi_query() local
553 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_query()
554 if (wrote != packet.hdr.len) { in hvsi_query()
556 wrote); in hvsi_query()
586 int wrote; in hvsi_set_mctrl() local
600 wrote = hvc_put_chars(hp->vtermno, (char *)&packet, packet.hdr.len); in hvsi_set_mctrl()
601 if (wrote != packet.hdr.len) { in hvsi_set_mctrl()
/OK3568_Linux_fs/kernel/drivers/firmware/
H A Ddmi-sysfs.c365 ssize_t wrote = 0; in dmi_sel_raw_read_io() local
372 wrote++; in dmi_sel_raw_read_io()
375 return wrote; in dmi_sel_raw_read_io()
383 ssize_t wrote = 0; in dmi_sel_raw_read_phys32() local
392 wrote++; in dmi_sel_raw_read_phys32()
396 return wrote; in dmi_sel_raw_read_phys32()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c413 int len, wrote; in papr_scm_meta_set() local
421 for (len = hdr->in_length; len; len -= wrote) { in papr_scm_meta_set()
429 wrote = 8; in papr_scm_meta_set()
434 wrote = 4; in papr_scm_meta_set()
439 wrote = 2; in papr_scm_meta_set()
443 wrote = 1; in papr_scm_meta_set()
447 offset, data_be, wrote); in papr_scm_meta_set()
/OK3568_Linux_fs/yocto/poky/meta/files/common-licenses/
H A DBeerware1 "THE BEER-WARE LICENSE" (Revision 42): <phk@FreeBSD.ORG> wrote this file. As long as you retain th…
H A DZlib14 claim that you wrote the original software. If you use this software
H A DCube9 …1. The origin of this software must not be misrepresented; you must not claim that you wrote the o…
H A Dzlib-acknowledgement9 1. The origin of this software must not be misrepresented; you must not claim that you wrote the or…
H A DEurosym8 …1. The origin of this software must not be misrepresented; you must not claim that you wrote the o…
/OK3568_Linux_fs/buildroot/package/genpart/
H A D0001-fix-return-code.patch4 However, if we succesfully wrote the partition entry, we still
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/gzip/
H A Dgzip.inc3 project. Mark Adler wrote the decompression part"
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/licenses/
H A DCRC32C-ADLER10 claim that you wrote the original software. If you use this software
/OK3568_Linux_fs/external/chromium/licenses/
H A DLICENSE.13214 claim that you wrote the original software. If you use this software
H A DLICENSE.9812 claim that you wrote the original software. If you use this software
/OK3568_Linux_fs/yocto/poky/bitbake/lib/simplediff/
H A DLICENSE14 that you wrote the original software. If you use this software in a product, an
/OK3568_Linux_fs/kernel/LICENSES/deprecated/
H A DZlib22 claim that you wrote the original software. If you use this software in a
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/bootchart2/bootchart2/
H A D0001-collector-Allocate-space-on-heap-for-chunks.patch41 log ("wrote %ld kb\n", (long)(bytes_dumped+1023)/1024);
/OK3568_Linux_fs/kernel/LICENSES/exceptions/
H A DLinux-syscall-note18 kernel) is copyrighted by me and others who actually wrote it.
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dexamples.txt75 [ perf record: Captured and wrote 0.267 MB perf.data (~11679 samples) ]
129 [ perf record: Captured and wrote 0.963 MB perf.data (~42069 samples) ]

12345678