Home
last modified time | relevance | path

Searched refs:retlen (Results 1 – 25 of 33) sorted by relevance

12

/third_party/uboot/u-boot-2020.01/cmd/
Donenand.c62 size_t *retlen, u_char *buf, int oob) in onenand_block_read() argument
69 .retlen = 0, in onenand_block_read()
92 ops.retlen = 0; in onenand_block_read()
102 *retlen += ops.retlen; in onenand_block_read()
109 size_t *retlen) in onenand_write_oneblock_withoob() argument
128 *retlen = (ret) ? 0 : mtd->erasesize; in onenand_write_oneblock_withoob()
133 size_t *retlen, const u_char * buf, int withoob) in onenand_block_write() argument
144 *retlen = 0; in onenand_block_write()
178 *retlen += _retlen; in onenand_block_write()
231 size_t retlen; in onenand_block_test() local
[all …]
Dmtd.c232 io_op->retlen = mtd->writesize; in mtd_special_write_oob()
355 off += io_op.retlen; in do_mtd_io()
356 remaining -= io_op.retlen; in do_mtd_io()
357 io_op.datbuf += io_op.retlen; in do_mtd_io()
/third_party/uboot/u-boot-2020.01/include/linux/mtd/
Dmtd.h86 size_t retlen; member
236 size_t *retlen, void **virt, resource_size_t *phys);
244 size_t *retlen, u_char *buf);
246 size_t *retlen, const u_char *buf);
248 size_t *retlen, const u_char *buf);
254 size_t *retlen, struct otp_info *buf);
256 size_t len, size_t *retlen, u_char *buf);
258 size_t *retlen, struct otp_info *buf);
260 size_t len, size_t *retlen, u_char *buf);
262 size_t len, size_t *retlen, u_char *buf);
[all …]
/third_party/uboot/u-boot-2020.01/drivers/mtd/
Dmtdcore.c899 int mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, in mtd_point() argument
902 *retlen = 0; in mtd_point()
912 return mtd->_point(mtd, from, len, retlen, virt, phys); in mtd_point()
946 int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, in mtd_read() argument
950 *retlen = 0; in mtd_read()
962 ret_code = mtd->_read(mtd, from, len, retlen, buf); in mtd_read()
970 *retlen = ops.retlen; in mtd_read()
983 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, in mtd_write() argument
986 *retlen = 0; in mtd_write()
1003 *retlen = ops.retlen; in mtd_write()
[all …]
Dmtdpart.c290 size_t *retlen, u_char *buf) in part_read() argument
297 retlen, buf); in part_read()
309 size_t *retlen, void **virt, resource_size_t *phys) in part_point() argument
312 retlen, virt, phys); in part_point()
368 size_t len, size_t *retlen, u_char *buf) in part_read_user_prot_reg() argument
371 retlen, buf); in part_read_user_prot_reg()
375 size_t *retlen, struct otp_info *buf) in part_get_user_prot_info() argument
377 return mtd->parent->_get_user_prot_info(mtd->parent, len, retlen, in part_get_user_prot_info()
382 size_t len, size_t *retlen, u_char *buf) in part_read_fact_prot_reg() argument
385 retlen, buf); in part_read_fact_prot_reg()
[all …]
Dmtdconcat.c62 size_t * retlen, u_char * buf) in concat_read() argument
69 *retlen = 0; in concat_read()
105 *retlen += retsize; in concat_read()
118 size_t * retlen, const u_char * buf) in concat_write() argument
125 *retlen = 0; in concat_write()
146 *retlen += retsize; in concat_write()
161 unsigned long count, loff_t to, size_t * retlen) in concat_writev() argument
220 *retlen += retsize; in concat_writev()
242 ops->retlen = ops->oobretlen = 0; in concat_read_oob()
257 ops->retlen += devops.retlen; in concat_read_oob()
[all …]
Dcfi_mtd.c68 size_t *retlen, u_char *buf) in cfi_mtd_read() argument
74 *retlen = len; in cfi_mtd_read()
80 size_t *retlen, const u_char *buf) in cfi_mtd_write() argument
91 *retlen = len; in cfi_mtd_write()
Daltera_qspi.c110 size_t retlen; in write_buff() local
113 ret = mtd_write(mtd, to, cnt, &retlen, src); in write_buff()
195 size_t *retlen, u_char *buf) in altera_qspi_read() argument
201 *retlen = len; in altera_qspi_read()
207 size_t *retlen, const u_char *buf) in altera_qspi_write() argument
223 *retlen = len; in altera_qspi_write()
/third_party/uboot/u-boot-2020.01/env/
Donenand.c35 size_t retlen; in env_onenand_load() local
53 &retlen, (u_char *)buf); in env_onenand_load()
74 size_t retlen; in env_onenand_save() local
99 if (mtd_write(mtd, env_addr, ONENAND_MAX_ENV_SIZE, &retlen, in env_onenand_save()
/third_party/uboot/u-boot-2020.01/drivers/mtd/spi/
Dsf_mtd.c40 size_t *retlen, u_char *buf) in spi_flash_mtd_read() argument
50 *retlen = len; in spi_flash_mtd_read()
56 size_t *retlen, const u_char *buf) in spi_flash_mtd_write() argument
66 *retlen = len; in spi_flash_mtd_write()
Dsf_probe.c100 size_t retlen; in spi_flash_std_read() local
102 return log_ret(mtd->_read(mtd, offset, len, &retlen, buf)); in spi_flash_std_read()
110 size_t retlen; in spi_flash_std_write() local
112 return mtd->_write(mtd, offset, len, &retlen, buf); in spi_flash_std_write()
Dspi-nor-tiny.c382 size_t *retlen, u_char *buf) in spi_nor_read() argument
401 *retlen += ret; in spi_nor_read()
418 size_t *retlen, const u_char *buf) in spi_nor_write() argument
Dspi-nor-core.c902 size_t *retlen, u_char *buf) in spi_nor_read() argument
936 *retlen += ret; in spi_nor_read()
1123 size_t *retlen, const u_char *buf) in sst_write_byteprogram() argument
1148 size_t *retlen, const u_char *buf) in sst_write() argument
1157 return sst_write_byteprogram(nor, to, len, retlen, buf); in sst_write()
1214 *retlen += actual; in sst_write()
1224 size_t *retlen, const u_char *buf) in spi_nor_write() argument
1272 *retlen += written; in spi_nor_write()
/third_party/openssl/crypto/bio/
Db_print.c38 size_t *maxlen, size_t *retlen, int *truncated,
87 size_t *retlen, int *truncated, const char *format, va_list args) in _dopr() argument
359 *retlen = currlen - 1; in _dopr()
873 size_t retlen; in BIO_vprintf() local
883 if (!_dopr(&hugebufp, &dynbuf, &hugebufsize, &retlen, &ignored, format, in BIO_vprintf()
889 ret = BIO_write(bio, dynbuf, (int)retlen); in BIO_vprintf()
892 ret = BIO_write(bio, hugebuf, (int)retlen); in BIO_vprintf()
918 size_t retlen; in BIO_vsnprintf() local
921 if (!_dopr(&buf, NULL, &n, &retlen, &truncated, format, args)) in BIO_vsnprintf()
933 return (retlen <= INT_MAX) ? (int)retlen : -1; in BIO_vsnprintf()
/third_party/uboot/u-boot-2020.01/include/
Dspi_flash.h213 size_t retlen; in spi_flash_read() local
215 return mtd->_read(mtd, offset, len, &retlen, buf); in spi_flash_read()
226 size_t retlen; in spi_flash_write() local
228 return mtd->_write(mtd, offset, len, &retlen, buf); in spi_flash_write()
Donenand_uboot.h34 size_t * retlen, u_char * buf);
37 size_t * retlen, const u_char * buf);
/third_party/e2fsprogs/debugfs/
Dls.c52 int retlen = 0; in print_filename() local
65 retlen += 4; in print_filename()
69 retlen++; in print_filename()
72 return retlen; in print_filename()
/third_party/curl/packages/vms/
Dcurl_crtl_init.c73 unsigned short int *retlen; member
119 itlst[0].retlen = &result; in sys_trnlnm()
165 item_list[0].retlen = NULL; in sys_crelnm()
/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/raw/
Dnand_util.c1144 size_t retlen; in nand_torture() local
1175 err = mtd_read(mtd, offset, mtd->erasesize, &retlen, buf); in nand_torture()
1176 if ((err && err != -EUCLEAN) || retlen != mtd->erasesize) { in nand_torture()
1192 err = mtd_write(mtd, offset, mtd->erasesize, &retlen, buf); in nand_torture()
1193 if (err || retlen != mtd->erasesize) { in nand_torture()
1199 err = mtd_read(mtd, offset, mtd->erasesize, &retlen, buf); in nand_torture()
1200 if ((err && err != -EUCLEAN) || retlen != mtd->erasesize) { in nand_torture()
Dnand_bbt.c174 size_t retlen, len, totlen; in read_bbt() local
196 res = mtd_read(mtd, from, len, &retlen, buf); in read_bbt()
291 size_t retlen; in scan_read_data() local
298 return mtd_read(mtd, offs, len, &retlen, buf); in scan_read_data()
626 size_t retlen, len = 0; in write_bbt() local
720 res = mtd_read(mtd, to, len, &retlen, buf); in write_bbt()
722 if (retlen != len) { in write_bbt()
/third_party/uboot/u-boot-2020.01/drivers/dfu/
Ddfu_mtd.c133 off += io_op.retlen; in mtd_block_op()
134 remaining -= io_op.retlen; in mtd_block_op()
135 io_op.datbuf += io_op.retlen; in mtd_block_op()
/third_party/e2fsprogs/intl/
Ddcigettext.c441 size_t retlen; in DCIGETTEXT() local
621 retval = _nl_find_msg (domain, binding, msgid1, &retlen); in DCIGETTEXT()
630 msgid1, &retlen); in DCIGETTEXT()
663 newp->translation_length = retlen; in DCIGETTEXT()
680 (*foundp)->translation_length = retlen; in DCIGETTEXT()
687 retval = plural_lookup (domain, n, retval, retlen); in DCIGETTEXT()
/third_party/gettext/gettext-runtime/intl/
Ddcigettext.c491 size_t retlen; in gl_dcigettext() local
794 retval = _nl_find_msg (domain, binding, encoding, msgid1, &retlen); in gl_dcigettext()
796 retval = _nl_find_msg (domain, binding, msgid1, 1, &retlen); in gl_dcigettext()
807 encoding, msgid1, &retlen); in gl_dcigettext()
810 msgid1, 1, &retlen); in gl_dcigettext()
877 newp->translation_length = retlen; in gl_dcigettext()
899 (*foundp)->translation_length = retlen; in gl_dcigettext()
906 retval = plural_lookup (domain, n, retval, retlen); in gl_dcigettext()
/third_party/uboot/u-boot-2020.01/fs/jffs2/
Djffs2_1pass.c181 size_t retlen; in read_nand_cached() local
203 retlen = NAND_CACHE_SIZE; in read_nand_cached()
205 &retlen, nand_cache) < 0 || in read_nand_cached()
206 retlen != NAND_CACHE_SIZE) { in read_nand_cached()
284 size_t retlen; in read_onenand_cached() local
302 retlen = ONENAND_CACHE_SIZE; in read_onenand_cached()
303 if (onenand_read(&onenand_mtd, onenand_cache_off, retlen, in read_onenand_cached()
304 &retlen, onenand_cache) < 0 || in read_onenand_cached()
305 retlen != ONENAND_CACHE_SIZE) { in read_onenand_cached()
/third_party/uboot/u-boot-2020.01/drivers/mtd/onenand/
Donenand_base.c874 ops->retlen = 0; in onenand_read_ops_nolock()
977 ops->retlen = read; in onenand_read_ops_nolock()
1102 size_t * retlen, u_char * buf) in onenand_read() argument
1116 *retlen = ops.retlen; in onenand_read()
1427 ops->retlen = 0; in onenand_write_ops_nolock()
1516 ops->retlen = written; in onenand_write_ops_nolock()
1650 size_t * retlen, const u_char * buf) in onenand_write() argument
1664 *retlen = ops.retlen; in onenand_write()

12