Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 14 of 14) sorted by relevance

/u-boot/net/
A Dnfs.c620 int rlen; in nfs_readlink_reply() local
656 rlen); in nfs_readlink_reply()
661 rlen); in nfs_readlink_reply()
662 nfs_path[rlen] = 0; in nfs_readlink_reply()
670 int rlen; in nfs_read_reply() local
722 return rlen; in nfs_read_reply()
745 int rlen; in nfs_handler() local
846 if (rlen > 0) { in nfs_handler()
849 } else if ((rlen == -NFSERR_ISDIR) || (rlen == -NFSERR_INVAL)) { in nfs_handler()
854 if (!rlen) in nfs_handler()
[all …]
/u-boot/examples/api/
A Dglue.c275 lbasize_t *rlen) in ub_dev_read() argument
288 if (!err && rlen) in ub_dev_read()
289 *rlen = act_len; in ub_dev_read()
305 int ub_dev_recv(int handle, void *buf, int len, int *rlen) in ub_dev_recv() argument
317 if (!err && rlen) in ub_dev_recv()
318 *rlen = act_len; in ub_dev_recv()
A Dglue.h57 lbastart_t start, lbasize_t *rlen);
59 int ub_dev_recv(int handle, void *buf, int len, int *rlen);
A Ddemo.c33 lbasize_t rlen; in main() local
118 else if ((rv = ub_dev_read(i, buf, 1, 0, &rlen)) != 0) in main()
/u-boot/drivers/core/
A Dof_addr.c172 int rlen; in of_translate_one() local
193 ranges = of_get_property(parent, rprop, &rlen); in of_translate_one()
194 if (ranges == NULL || rlen == 0) { in of_translate_one()
204 rlen /= 4; in of_translate_one()
206 for (; rlen >= rone; rlen -= rone, ranges += rone) { in of_translate_one()
/u-boot/lib/rsa/
A Drsa-keyprop.c657 int rlen, i, ret = 0; in rsa_gen_key_prop() local
705 rlen = (*prop)->num_bits * 2; /* #bits of R^2 = (2^num_bits)^2 */ in rsa_gen_key_prop()
707 *(uint8_t *)&rr[0] = (1 << (rlen % 8)); in rsa_gen_key_prop()
708 for (i = 1; i < (((rlen + 31) >> 5) + 1); i++) in rsa_gen_key_prop()
710 br_i32_decode(rrtmp, rr, ((rlen + 7) >> 3) + 1); in rsa_gen_key_prop()
713 rlen = ((*prop)->num_bits + 7) >> 3; /* #bytes of R^2 mod n */ in rsa_gen_key_prop()
714 (*prop)->rr = malloc(rlen); in rsa_gen_key_prop()
719 br_i32_encode((void *)(*prop)->rr, rlen, rr); in rsa_gen_key_prop()
/u-boot/drivers/mmc/
A Dftsdc010_mci.c260 int rlen; in ftsdc010_request() local
268 for (rlen = 0; rlen < len && rlen < chip->fifo; ) { in ftsdc010_request()
271 rlen += 4; in ftsdc010_request()
274 len -= rlen; in ftsdc010_request()
/u-boot/fs/ubifs/
A Dio.c912 int err, rlen, overlap; in ubifs_read_node_wbuf() local
930 rlen = wbuf->offs - offs; in ubifs_read_node_wbuf()
931 if (rlen < 0) in ubifs_read_node_wbuf()
932 rlen = 0; in ubifs_read_node_wbuf()
935 memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); in ubifs_read_node_wbuf()
938 if (rlen > 0) { in ubifs_read_node_wbuf()
940 err = ubifs_leb_read(c, lnum, buf, offs, rlen, 0); in ubifs_read_node_wbuf()
957 rlen = le32_to_cpu(ch->len); in ubifs_read_node_wbuf()
958 if (rlen != len) { in ubifs_read_node_wbuf()
959 ubifs_err(c, "bad node length %d, expected %d", rlen, len); in ubifs_read_node_wbuf()
A Dtnc.c1643 int rlen, overlap; in read_wbuf() local
1659 rlen = wbuf->offs - offs; in read_wbuf()
1660 if (rlen < 0) in read_wbuf()
1661 rlen = 0; in read_wbuf()
1664 memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); in read_wbuf()
1667 if (rlen > 0) in read_wbuf()
1669 return ubifs_leb_read(c, lnum, buf, offs, rlen, 0); in read_wbuf()
/u-boot/drivers/spi/
A Drenesas_rpc_spi.c249 u32 rlen = din ? (bitlen / 8) : 0; in rpc_spi_xfer() local
255 if (!wlen || rlen) in rpc_spi_xfer()
272 if (wlen || (!rlen && !wlen) || flags == SPI_XFER_ONCE) { in rpc_spi_xfer()
357 if (rlen) in rpc_spi_xfer()
358 memcpy_fromio(din, (void *)(priv->extr + offset), rlen); in rpc_spi_xfer()
/u-boot/drivers/net/
A Dftmac110.c331 uint32_t len, rlen = 0; in ftmac110_recv() local
352 rlen += len; in ftmac110_recv()
363 return rlen; in ftmac110_recv()
/u-boot/drivers/pci/
A Dpci_mvebu.c377 int rlen, nranges, rangesz, pna, i; in mvebu_get_tgt_attr() local
382 range = ofnode_get_property(node, "ranges", &rlen); in mvebu_get_tgt_attr()
394 nranges = rlen / sizeof(__be32) / rangesz; in mvebu_get_tgt_attr()
/u-boot/common/
A Dfdt_support.c1197 int rlen; in of_translate_one() local
1213 ranges = fdt_getprop(blob, parent, rprop, &rlen); in of_translate_one()
1214 if (ranges == NULL || rlen == 0) { in of_translate_one()
1224 rlen /= 4; in of_translate_one()
1226 for (; rlen >= rone; rlen -= rone, ranges += rone) { in of_translate_one()
/u-boot/tools/
A Dmxsimage.c1594 ssize_t rlen; in sb_load_cmdfile() local
1601 while ((rlen = getline(&line, &len, fp)) > 0) { in sb_load_cmdfile()
1605 line[rlen - 1] = '\0'; in sb_load_cmdfile()
1608 cmd.len = rlen; in sb_load_cmdfile()

Completed in 37 milliseconds