Home
last modified time | relevance | path

Searched refs:rlen (Results 101 - 125 of 379) sorted by relevance

12345678910>>...16

/kernel/linux/linux-5.10/crypto/
H A Dxcbc.c145 unsigned int rlen; in crypto_xcbc_digest_final() local
151 rlen = bs - ctx->len -1; in crypto_xcbc_digest_final()
152 if (rlen) in crypto_xcbc_digest_final()
153 memset(p, 0, rlen); in crypto_xcbc_digest_final()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dnand_macronix.c434 size_t len, size_t *rlen, in macronix_30lfxg18ac_write_otp()
437 return __macronix_30lfxg18ac_rw_otp(mtd, to, len, rlen, (u_char *)buf, in macronix_30lfxg18ac_write_otp()
442 size_t len, size_t *rlen, in macronix_30lfxg18ac_read_otp()
445 return __macronix_30lfxg18ac_rw_otp(mtd, from, len, rlen, buf, false); in macronix_30lfxg18ac_read_otp()
433 macronix_30lfxg18ac_write_otp(struct mtd_info *mtd, loff_t to, size_t len, size_t *rlen, const u_char *buf) macronix_30lfxg18ac_write_otp() argument
441 macronix_30lfxg18ac_read_otp(struct mtd_info *mtd, loff_t from, size_t len, size_t *rlen, u_char *buf) macronix_30lfxg18ac_read_otp() argument
/kernel/linux/linux-6.6/crypto/
H A Dcmac.c180 unsigned int rlen; in crypto_cmac_digest_final() local
186 rlen = bs - ctx->len - 1; in crypto_cmac_digest_final()
187 if (rlen) in crypto_cmac_digest_final()
188 memset(p, 0, rlen); in crypto_cmac_digest_final()
H A Dxcbc.c146 unsigned int rlen; in crypto_xcbc_digest_final() local
152 rlen = bs - ctx->len -1; in crypto_xcbc_digest_final()
153 if (rlen) in crypto_xcbc_digest_final()
154 memset(p, 0, rlen); in crypto_xcbc_digest_final()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-async-dns/
H A Dmain.c27 int rlen; member
298 if (m != ipt[n].rlen) { in main()
324 if (ipt[n].rlen < 0) in main()
327 m = lws_write_numeric_address(ipt[n].b, ipt[n].rlen, buf, in main()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcg7coll.c143 int32_t i, rlen, j, n; in TestG7Locales() local
160 defRules = ucol_getRules(myCollation, &rlen); in TestG7Locales()
161 if (rlen == 0 && (strcmp(locale, "fr_CA") == 0 || strcmp(locale, "ja_JP") == 0)) { in TestG7Locales()
170 tblColl1 = ucol_openRules(defRules, rlen, UCOL_OFF, in TestG7Locales()
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
H A Dspi.c196 static int wilc_spi_rx(struct wilc *wilc, u8 *rb, u32 rlen) in wilc_spi_rx() argument
201 if (rlen > 0) { in wilc_spi_rx()
205 .len = rlen, in wilc_spi_rx()
212 char *t_buffer = kzalloc(rlen, GFP_KERNEL); in wilc_spi_rx()
232 rlen); in wilc_spi_rx()
239 static int wilc_spi_tx_rx(struct wilc *wilc, u8 *wb, u8 *rb, u32 rlen) in wilc_spi_tx_rx() argument
244 if (rlen > 0) { in wilc_spi_tx_rx()
249 .len = rlen, in wilc_spi_tx_rx()
270 rlen); in wilc_spi_tx_rx()
/kernel/linux/linux-5.10/drivers/of/
H A Daddress.c446 unsigned int rlen; in of_translate_one() local
469 ranges = of_get_property(parent, rprop, &rlen); in of_translate_one()
475 if (ranges == NULL || rlen == 0) { in of_translate_one()
485 rlen /= 4; in of_translate_one()
487 for (; rlen >= rone; rlen -= rone, ranges += rone) { in of_translate_one()
715 int rlen; in parser_init() local
724 parser->range = of_get_property(node, name, &rlen); in parser_init()
728 parser->end = parser->range + rlen / sizeof(__be32); in parser_init()
/kernel/linux/linux-6.6/drivers/of/
H A Daddress.c456 unsigned int rlen; in of_translate_one() local
479 ranges = of_get_property(parent, rprop, &rlen); in of_translate_one()
485 if (ranges == NULL || rlen == 0) { in of_translate_one()
495 rlen /= 4; in of_translate_one()
497 for (; rlen >= rone; rlen -= rone, ranges += rone) { in of_translate_one()
799 int rlen; in parser_init() local
808 parser->range = of_get_property(node, name, &rlen); in parser_init()
812 parser->end = parser->range + rlen / sizeof(__be32); in parser_init()
/third_party/curl/lib/
H A Dmqtt.c361 size_t rlen = Curl_dyn_len(&mq->recvbuf); in mqtt_recv_atleast() local
364 if(rlen < nbytes) { in mqtt_recv_atleast()
368 DEBUGASSERT(nbytes - rlen < sizeof(readbuf)); in mqtt_recv_atleast()
370 (char *)readbuf, nbytes - rlen, &nread); in mqtt_recv_atleast()
376 rlen = Curl_dyn_len(&mq->recvbuf); in mqtt_recv_atleast()
378 return (rlen >= nbytes)? CURLE_OK : CURLE_AGAIN; in mqtt_recv_atleast()
384 size_t rlen = Curl_dyn_len(&mq->recvbuf); in mqtt_recv_consume() local
385 if(rlen <= nbytes) in mqtt_recv_consume()
388 Curl_dyn_tail(&mq->recvbuf, rlen - nbytes); in mqtt_recv_consume()
/kernel/linux/linux-5.10/fs/romfs/
H A Dstorage.c26 size_t rlen; in romfs_mtd_read() local
29 ret = ROMFS_MTD_READ(sb, pos, buflen, &rlen, buf); in romfs_mtd_read()
30 return (ret < 0 || rlen != buflen) ? -EIO : 0; in romfs_mtd_read()
/kernel/linux/linux-6.6/fs/romfs/
H A Dstorage.c26 size_t rlen; in romfs_mtd_read() local
29 ret = ROMFS_MTD_READ(sb, pos, buflen, &rlen, buf); in romfs_mtd_read()
30 return (ret < 0 || rlen != buflen) ? -EIO : 0; in romfs_mtd_read()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c25 uint _rtw_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen) in _rtw_pktfile_read() argument
30 len = (rlen > len) ? len : rlen; in _rtw_pktfile_read()
/third_party/musl/porting/linux/user/src/network/
H A Dgetnameinfo.c186 int rlen = __res_send(query, qlen, reply, sizeof reply); in getnameinfo() local
188 if (rlen > 0) in getnameinfo()
189 __dns_parse(reply, rlen, dns_parse_callback, buf); in getnameinfo()
/third_party/musl/porting/liteos_a/user/src/network/
H A Dgetnameinfo.c162 int rlen = __res_send(query, qlen, reply, sizeof reply); in getnameinfo() local
164 if (rlen > 0) in getnameinfo()
165 __dns_parse(reply, rlen, dns_parse_callback, buf); in getnameinfo()
/kernel/linux/linux-5.10/fs/ubifs/
H A Dio.c1002 int err, rlen, overlap; in ubifs_read_node_wbuf() local
1020 rlen = wbuf->offs - offs; in ubifs_read_node_wbuf()
1021 if (rlen < 0) in ubifs_read_node_wbuf()
1022 rlen = 0; in ubifs_read_node_wbuf()
1025 memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); in ubifs_read_node_wbuf()
1028 if (rlen > 0) { in ubifs_read_node_wbuf()
1030 err = ubifs_leb_read(c, lnum, buf, offs, rlen, 0); in ubifs_read_node_wbuf()
1047 rlen in ubifs_read_node_wbuf()
[all...]
/kernel/linux/linux-6.6/fs/ubifs/
H A Dio.c1023 int err, rlen, overlap; in ubifs_read_node_wbuf() local
1041 rlen = wbuf->offs - offs; in ubifs_read_node_wbuf()
1042 if (rlen < 0) in ubifs_read_node_wbuf()
1043 rlen = 0; in ubifs_read_node_wbuf()
1046 memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); in ubifs_read_node_wbuf()
1049 if (rlen > 0) { in ubifs_read_node_wbuf()
1051 err = ubifs_leb_read(c, lnum, buf, offs, rlen, 0); in ubifs_read_node_wbuf()
1068 rlen in ubifs_read_node_wbuf()
[all...]
/kernel/linux/linux-5.10/drivers/char/pcmcia/
H A Dcm4000_cs.c124 unsigned short rlen; /* bytes avail. after write */ member
680 dev->rlen =
708 dev->rlen =
753 dev->rlen =
854 dev->rlen =
963 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) {
994 j = min(count, (size_t)(dev->rlen - dev->rpos));
1003 j = min(count, (size_t)(dev->rlen - dev->rpos));
1014 if (dev->proto == 0 && count > dev->rlen - dev->rpos && i) {
1022 dev->rpos = dev->rlen
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddebugfs.c71 ssize_t rlen; \
99 data->rlen = iwl_dbgfs_##name##_read(data->arg, \
104 if (data->rlen < 0) \
105 return data->rlen; \
107 data->rbuf, data->rlen); \
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
H A Dlcd_mipid.c55 int wlen, u8 *rbuf, int rlen) in mipid_transfer()
83 if (rlen) { in mipid_transfer()
89 if (rlen > 1) { in mipid_transfer()
98 x->len = rlen - 1; in mipid_transfer()
107 if (rlen) in mipid_transfer()
54 mipid_transfer(struct mipid_device *md, int cmd, const u8 *wbuf, int wlen, u8 *rbuf, int rlen) mipid_transfer() argument
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
H A Ddibusb-common.c138 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dibusb_i2c_msg()
144 wo = (rbuf == NULL || rlen == 0); in dibusb_i2c_msg()
164 sndbuf[wlen + 2] = (rlen >> 8) & 0xff; in dibusb_i2c_msg()
165 sndbuf[wlen + 3] = rlen & 0xff; in dibusb_i2c_msg()
168 ret = dvb_usb_generic_rw(d, sndbuf, len, rbuf, rlen, 0); in dibusb_i2c_msg()
137 dibusb_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) dibusb_i2c_msg() argument
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Ddibusb-common.c138 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dibusb_i2c_msg()
144 wo = (rbuf == NULL || rlen == 0); in dibusb_i2c_msg()
164 sndbuf[wlen + 2] = (rlen >> 8) & 0xff; in dibusb_i2c_msg()
165 sndbuf[wlen + 3] = rlen & 0xff; in dibusb_i2c_msg()
168 ret = dvb_usb_generic_rw(d, sndbuf, len, rbuf, rlen, 0); in dibusb_i2c_msg()
137 dibusb_i2c_msg(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) dibusb_i2c_msg() argument
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/
H A Dlcd_mipid.c57 int wlen, u8 *rbuf, int rlen) in mipid_transfer()
85 if (rlen) { in mipid_transfer()
91 if (rlen > 1) { in mipid_transfer()
100 x->len = rlen - 1; in mipid_transfer()
109 if (rlen) in mipid_transfer()
56 mipid_transfer(struct mipid_device *md, int cmd, const u8 *wbuf, int wlen, u8 *rbuf, int rlen) mipid_transfer() argument
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddebugfs.c16 ssize_t rlen; \
44 data->rlen = iwl_dbgfs_##name##_read(data->arg, \
49 if (data->rlen < 0) \
50 return data->rlen; \
52 data->rbuf, data->rlen); \
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
H A Dddbridge-i2c.h34 u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen) in i2c_io()
39 .buf = rbuf, .len = rlen } }; in i2c_io()
33 i2c_io(struct i2c_adapter *adapter, u8 adr, u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen) i2c_io() argument

Completed in 20 milliseconds

12345678910>>...16