Searched refs:outlen (Results 1 - 83 of 83) sorted by relevance

/linux-4.1.27/include/linux/
H A Dolpc-ec.h33 size_t outlen);
38 size_t outlen) { return -ENODEV; }
37 olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) olpc_ec_cmd() argument
/linux-4.1.27/fs/logfs/
H A Dcompr.c17 int logfs_compress(void *in, void *out, size_t inlen, size_t outlen) logfs_compress() argument
31 stream.avail_out = outlen; logfs_compress()
51 int logfs_uncompress(void *in, void *out, size_t inlen, size_t outlen) logfs_uncompress() argument
65 stream.avail_out = outlen; logfs_uncompress()
H A Djournal.c145 size_t inlen, outlen; unpack() local
148 outlen = be16_to_cpu(jh->h_datalen); unpack()
153 err = logfs_uncompress(data, to, inlen, outlen); unpack()
H A Dlogfs.h468 int logfs_compress(void *in, void *out, size_t inlen, size_t outlen);
469 int logfs_uncompress(void *in, void *out, size_t inlen, size_t outlen);
/linux-4.1.27/fs/jfs/
H A Djfs_unicode.c36 int outlen = 0; jfs_strfromUCS_le() local
45 &to[outlen], jfs_strfromUCS_le()
48 outlen += charlen; jfs_strfromUCS_le()
50 to[outlen++] = '?'; jfs_strfromUCS_le()
70 outlen = i; jfs_strfromUCS_le()
72 to[outlen] = 0; jfs_strfromUCS_le()
73 return outlen; jfs_strfromUCS_le()
H A Djfs_dtree.c3025 int d_namleft, len, outlen; jfs_readdir() local
3252 outlen = jfs_strfromUCS_le(name_ptr, d->name, len, jfs_readdir()
3254 jfs_dirent->name_len = outlen; jfs_readdir()
3260 name_ptr += outlen; jfs_readdir()
3272 outlen = jfs_strfromUCS_le(name_ptr, t->name, jfs_readdir()
3274 jfs_dirent->name_len += outlen; jfs_readdir()
/linux-4.1.27/drivers/media/pci/ngene/
H A Dngene-i2c.c49 u8 *out, u8 outlen, u8 *in, u8 inlen, int flag) ngene_command_i2c_read()
54 com.cmd.hdr.Length = outlen + 3; ngene_command_i2c_read()
56 memcpy(com.cmd.I2CRead.Data, out, outlen); ngene_command_i2c_read()
57 com.cmd.I2CRead.Data[outlen] = inlen; ngene_command_i2c_read()
58 com.cmd.I2CRead.Data[outlen + 1] = 0; ngene_command_i2c_read()
59 com.in_len = outlen + 3; ngene_command_i2c_read()
76 u8 *out, u8 outlen) ngene_command_i2c_write()
82 com.cmd.hdr.Length = outlen + 1; ngene_command_i2c_write()
84 memcpy(com.cmd.I2CRead.Data, out, outlen); ngene_command_i2c_write()
85 com.in_len = outlen + 1; ngene_command_i2c_write()
48 ngene_command_i2c_read(struct ngene *dev, u8 adr, u8 *out, u8 outlen, u8 *in, u8 inlen, int flag) ngene_command_i2c_read() argument
75 ngene_command_i2c_write(struct ngene *dev, u8 adr, u8 *out, u8 outlen) ngene_command_i2c_write() argument
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dmcdi.c44 size_t outlen; member in struct:efx_mcdi_async_param
449 min(async->outlen, data_len)); efx_mcdi_complete_async()
533 efx_dword_t *outbuf, size_t outlen, _efx_mcdi_rpc_finish()
588 min(outlen, data_len)); _efx_mcdi_rpc_finish()
618 efx_dword_t *outbuf, size_t outlen, _efx_mcdi_rpc()
629 return _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, _efx_mcdi_rpc()
635 efx_dword_t *outbuf, size_t outlen, efx_mcdi_rpc()
638 return _efx_mcdi_rpc(efx, cmd, inbuf, inlen, outbuf, outlen, efx_mcdi_rpc()
652 efx_dword_t *outbuf, size_t outlen, efx_mcdi_rpc_quiet()
655 return _efx_mcdi_rpc(efx, cmd, inbuf, inlen, outbuf, outlen, efx_mcdi_rpc_quiet()
682 size_t outlen, _efx_mcdi_rpc_async()
697 async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4), _efx_mcdi_rpc_async()
704 async->outlen = outlen; _efx_mcdi_rpc_async()
740 * @outlen: Length to allocate for response buffer, in bytes
756 const efx_dword_t *inbuf, size_t inlen, size_t outlen, efx_mcdi_rpc_async()
759 return _efx_mcdi_rpc_async(efx, cmd, inbuf, inlen, outlen, complete, efx_mcdi_rpc_async()
765 size_t outlen, efx_mcdi_async_completer *complete, efx_mcdi_rpc_async_quiet()
768 return _efx_mcdi_rpc_async(efx, cmd, inbuf, inlen, outlen, complete, efx_mcdi_rpc_async_quiet()
773 efx_dword_t *outbuf, size_t outlen, efx_mcdi_rpc_finish()
776 return _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, efx_mcdi_rpc_finish()
781 efx_dword_t *outbuf, size_t outlen, efx_mcdi_rpc_finish_quiet()
784 return _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, efx_mcdi_rpc_finish_quiet()
790 size_t outlen, int rc) efx_mcdi_display_error()
794 if (outlen >= MC_CMD_ERR_CODE_OFST + 4) efx_mcdi_display_error()
796 if (outlen >= MC_CMD_ERR_ARG_OFST + 4) efx_mcdi_display_error()
1145 size_t outlen; efx_mcdi_drv_attach() local
1154 outbuf, sizeof(outbuf), &outlen); efx_mcdi_drv_attach()
1157 if (outlen < MC_CMD_DRV_ATTACH_OUT_LEN) { efx_mcdi_drv_attach()
1163 if (outlen >= MC_CMD_DRV_ATTACH_EXT_OUT_LEN) { efx_mcdi_drv_attach()
1205 size_t outlen, i; efx_mcdi_get_board_cfg() local
1215 outbuf, sizeof(outbuf), &outlen); efx_mcdi_get_board_cfg()
1219 if (outlen < MC_CMD_GET_BOARD_CFG_OUT_LENMIN) { efx_mcdi_get_board_cfg()
1231 i < MCDI_VAR_ARRAY_LEN(outlen, efx_mcdi_get_board_cfg()
1252 __func__, rc, (int)outlen); efx_mcdi_get_board_cfg()
1281 size_t outlen; efx_mcdi_nvram_types() local
1287 outbuf, sizeof(outbuf), &outlen); efx_mcdi_nvram_types()
1290 if (outlen < MC_CMD_NVRAM_TYPES_OUT_LEN) { efx_mcdi_nvram_types()
1310 size_t outlen; efx_mcdi_nvram_info() local
1316 outbuf, sizeof(outbuf), &outlen); efx_mcdi_nvram_info()
1319 if (outlen < MC_CMD_NVRAM_INFO_OUT_LEN) { efx_mcdi_nvram_info()
1394 size_t outlen; efx_mcdi_read_assertion() local
1408 outbuf, sizeof(outbuf), &outlen); efx_mcdi_read_assertion()
1414 outlen, rc); efx_mcdi_read_assertion()
1417 if (outlen < MC_CMD_GET_ASSERTS_OUT_LEN) efx_mcdi_read_assertion()
1564 size_t outlen; efx_mcdi_wol_filter_set() local
1573 outbuf, sizeof(outbuf), &outlen); efx_mcdi_wol_filter_set()
1577 if (outlen < MC_CMD_WOL_FILTER_SET_OUT_LEN) { efx_mcdi_wol_filter_set()
1604 size_t outlen; efx_mcdi_wol_filter_get_magic() local
1608 outbuf, sizeof(outbuf), &outlen); efx_mcdi_wol_filter_get_magic()
1612 if (outlen < MC_CMD_WOL_FILTER_GET_OUT_LEN) { efx_mcdi_wol_filter_get_magic()
1715 size_t outlen; efx_mcdi_nvram_read() local
1723 outbuf, sizeof(outbuf), &outlen); efx_mcdi_nvram_read()
532 _efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen, efx_dword_t *outbuf, size_t outlen, size_t *outlen_actual, bool quiet) _efx_mcdi_rpc_finish() argument
616 _efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf, size_t inlen, efx_dword_t *outbuf, size_t outlen, size_t *outlen_actual, bool quiet) _efx_mcdi_rpc() argument
633 efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf, size_t inlen, efx_dword_t *outbuf, size_t outlen, size_t *outlen_actual) efx_mcdi_rpc() argument
650 efx_mcdi_rpc_quiet(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf, size_t inlen, efx_dword_t *outbuf, size_t outlen, size_t *outlen_actual) efx_mcdi_rpc_quiet() argument
680 _efx_mcdi_rpc_async(struct efx_nic *efx, unsigned int cmd, const efx_dword_t *inbuf, size_t inlen, size_t outlen, efx_mcdi_async_completer *complete, unsigned long cookie, bool quiet) _efx_mcdi_rpc_async() argument
755 efx_mcdi_rpc_async(struct efx_nic *efx, unsigned int cmd, const efx_dword_t *inbuf, size_t inlen, size_t outlen, efx_mcdi_async_completer *complete, unsigned long cookie) efx_mcdi_rpc_async() argument
763 efx_mcdi_rpc_async_quiet(struct efx_nic *efx, unsigned int cmd, const efx_dword_t *inbuf, size_t inlen, size_t outlen, efx_mcdi_async_completer *complete, unsigned long cookie) efx_mcdi_rpc_async_quiet() argument
772 efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen, efx_dword_t *outbuf, size_t outlen, size_t *outlen_actual) efx_mcdi_rpc_finish() argument
780 efx_mcdi_rpc_finish_quiet(struct efx_nic *efx, unsigned cmd, size_t inlen, efx_dword_t *outbuf, size_t outlen, size_t *outlen_actual) efx_mcdi_rpc_finish_quiet() argument
788 efx_mcdi_display_error(struct efx_nic *efx, unsigned cmd, size_t inlen, efx_dword_t *outbuf, size_t outlen, int rc) efx_mcdi_display_error() argument
H A Dmcdi_port.c40 size_t outlen; efx_mcdi_get_phy_cfg() local
47 outbuf, sizeof(outbuf), &outlen); efx_mcdi_get_phy_cfg()
51 if (outlen < MC_CMD_GET_PHY_CFG_OUT_LEN) { efx_mcdi_get_phy_cfg()
99 size_t outlen; efx_mcdi_loopback_modes() local
103 outbuf, sizeof(outbuf), &outlen); efx_mcdi_loopback_modes()
107 if (outlen < (MC_CMD_GET_LOOPBACK_MODES_OUT_SUGGESTED_OFST + efx_mcdi_loopback_modes()
128 size_t outlen; efx_mcdi_mdio_read() local
137 outbuf, sizeof(outbuf), &outlen); efx_mcdi_mdio_read()
154 size_t outlen; efx_mcdi_mdio_write() local
164 outbuf, sizeof(outbuf), &outlen); efx_mcdi_mdio_write()
580 size_t outlen; efx_mcdi_phy_test_alive() local
586 outbuf, sizeof(outbuf), &outlen); efx_mcdi_phy_test_alive()
590 if (outlen < MC_CMD_GET_PHY_STATE_OUT_LEN) efx_mcdi_phy_test_alive()
613 size_t outlen; efx_mcdi_bist() local
631 outbuf, sizeof(outbuf), &outlen); efx_mcdi_bist()
654 outlen >= MC_CMD_POLL_BIST_OUT_SFT9001_LEN) { efx_mcdi_bist()
742 size_t outlen; efx_mcdi_phy_get_module_eeprom() local
762 &outlen); efx_mcdi_phy_get_module_eeprom()
766 if (outlen < (MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATA_OFST + efx_mcdi_phy_get_module_eeprom()
H A Def10.c102 size_t outlen; efx_ef10_init_datapath_caps() local
108 outbuf, sizeof(outbuf), &outlen); efx_ef10_init_datapath_caps()
111 if (outlen < sizeof(outbuf)) { efx_ef10_init_datapath_caps()
153 size_t outlen; efx_ef10_get_mac_address() local
159 outbuf, sizeof(outbuf), &outlen); efx_ef10_get_mac_address()
162 if (outlen < MC_CMD_GET_MAC_ADDRESSES_OUT_LEN) efx_ef10_get_mac_address()
285 size_t outlen; efx_ef10_free_vis() local
287 outbuf, sizeof(outbuf), &outlen); efx_ef10_free_vis()
293 efx_mcdi_display_error(efx, MC_CMD_FREE_VIS, 0, outbuf, outlen, efx_ef10_free_vis()
325 size_t outlen; efx_ef10_alloc_piobufs() local
332 outbuf, sizeof(outbuf), &outlen); efx_ef10_alloc_piobufs()
335 if (outlen < MC_CMD_ALLOC_PIOBUF_OUT_LEN) { efx_ef10_alloc_piobufs()
504 size_t outlen; efx_ef10_alloc_vis() local
510 outbuf, sizeof(outbuf), &outlen); efx_ef10_alloc_vis()
514 if (outlen < MC_CMD_ALLOC_VIS_OUT_LEN) efx_ef10_alloc_vis()
1095 size_t offset, size_t outlen) efx_ef10_mcdi_read_response()
1100 memcpy(outbuf, pdu + offset, outlen); efx_ef10_mcdi_read_response()
1240 size_t inlen, outlen; efx_ef10_tx_init() local
1269 outbuf, sizeof(outbuf), &outlen); efx_ef10_tx_init()
1304 size_t outlen; efx_ef10_tx_fini() local
1311 outbuf, sizeof(outbuf), &outlen); efx_ef10_tx_fini()
1320 outbuf, outlen, rc); efx_ef10_tx_fini()
1387 size_t outlen; efx_ef10_alloc_rss_context() local
1398 outbuf, sizeof(outbuf), &outlen); efx_ef10_alloc_rss_context()
1402 if (outlen < MC_CMD_RSS_CONTEXT_ALLOC_OUT_LEN) efx_ef10_alloc_rss_context()
1505 size_t inlen, outlen; efx_ef10_rx_init() local
1537 outbuf, sizeof(outbuf), &outlen); efx_ef10_rx_init()
1548 size_t outlen; efx_ef10_rx_fini() local
1555 outbuf, sizeof(outbuf), &outlen); efx_ef10_rx_fini()
1564 outbuf, outlen, rc); efx_ef10_rx_fini()
1661 size_t inlen, outlen; efx_ef10_ev_init() local
1700 outbuf, sizeof(outbuf), &outlen); efx_ef10_ev_init()
1710 size_t outlen; efx_ef10_ev_fini() local
1716 outbuf, sizeof(outbuf), &outlen); efx_ef10_ev_fini()
1725 outbuf, outlen, rc); efx_ef10_ev_fini()
3006 size_t outlen; efx_ef10_filter_table_probe() local
3018 &outlen); efx_ef10_filter_table_probe()
3022 outlen, GET_PARSER_DISP_INFO_OUT_SUPPORTED_MATCHES); efx_ef10_filter_table_probe()
3309 size_t outlen; efx_ef10_poll_bist() local
3313 outbuf, sizeof(outbuf), &outlen); efx_ef10_poll_bist()
3317 if (outlen < MC_CMD_POLL_BIST_OUT_LEN) efx_ef10_poll_bist()
3402 size_t size, erase_size, outlen; efx_ef10_mtd_probe_partition() local
3426 outbuf, sizeof(outbuf), &outlen); efx_ef10_mtd_probe_partition()
3429 if (outlen < MC_CMD_NVRAM_METADATA_OUT_LENMIN) efx_ef10_mtd_probe_partition()
3451 size_t outlen, n_parts_total, i, n_parts; efx_ef10_mtd_probe() local
3459 outbuf, sizeof(outbuf), &outlen); efx_ef10_mtd_probe()
3462 if (outlen < MC_CMD_NVRAM_PARTITIONS_OUT_LENMIN) efx_ef10_mtd_probe()
3467 MCDI_VAR_ARRAY_LEN(outlen, NVRAM_PARTITIONS_OUT_TYPE_ID)) efx_ef10_mtd_probe()
1094 efx_ef10_mcdi_read_response(struct efx_nic *efx, efx_dword_t *outbuf, size_t offset, size_t outlen) efx_ef10_mcdi_read_response() argument
H A Dmcdi.h132 size_t inlen, efx_dword_t *outbuf, size_t outlen,
136 efx_dword_t *outbuf, size_t outlen,
142 efx_dword_t *outbuf, size_t outlen,
146 size_t outlen, size_t *outlen_actual);
153 const efx_dword_t *inbuf, size_t inlen, size_t outlen,
158 size_t outlen,
164 size_t outlen, int rc);
H A Dmcdi_mon.c313 size_t outlen; efx_mcdi_mon_probe() local
325 outbuf, sizeof(outbuf), &outlen); efx_mcdi_mon_probe()
328 if (outlen < MC_CMD_SENSOR_INFO_OUT_LENMIN) efx_mcdi_mon_probe()
389 &outlen); efx_mcdi_mon_probe()
392 if (outlen < MC_CMD_SENSOR_INFO_OUT_LENMIN) { efx_mcdi_mon_probe()
402 if (outlen < efx_mcdi_mon_probe()
H A Dsiena.c734 size_t offset, size_t outlen) siena_mcdi_read_response()
737 unsigned int outlen_dw = DIV_ROUND_UP(outlen, 4); siena_mcdi_read_response()
733 siena_mcdi_read_response(struct efx_nic *efx, efx_dword_t *outbuf, size_t offset, size_t outlen) siena_mcdi_read_response() argument
H A Dsiena_sriov.c203 size_t outlen; efx_siena_sriov_cmd() local
211 outbuf, MC_CMD_SRIOV_OUT_LEN, &outlen); efx_siena_sriov_cmd()
214 if (outlen < MC_CMD_SRIOV_OUT_LEN) efx_siena_sriov_cmd()
/linux-4.1.27/fs/ncpfs/
H A Dsymlink.c109 int length, err, i, outlen; ncp_symlink() local
147 outlen = NCP_MAX_SYMLINK_SIZE - hdr; ncp_symlink()
148 err = ncp_io2vol(NCP_SERVER(dir), rawlink + hdr, &outlen, symname, length, 0); ncp_symlink()
152 outlen += hdr; ncp_symlink()
165 0, outlen, rawlink, &i) || i!=outlen) { ncp_symlink()
/linux-4.1.27/fs/dlm/
H A Ddir.h22 char *outbuf, int outlen, int nodeid);
H A Ddir.c237 char *outbuf, int outlen, int nodeid) dlm_copy_master_names()
276 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { dlm_copy_master_names()
299 (offset + sizeof(uint16_t) <= outlen)) { dlm_copy_master_names()
236 dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen, char *outbuf, int outlen, int nodeid) dlm_copy_master_names() argument
H A Drcom.c299 int error, inlen, outlen, nodeid; receive_rcom_names() local
303 outlen = dlm_config.ci_buffer_size - sizeof(struct dlm_rcom); receive_rcom_names()
305 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES_REPLY, outlen, &rc, &mh); receive_rcom_names()
311 dlm_copy_master_names(ls, rc_in->rc_buf, inlen, rc->rc_buf, outlen, receive_rcom_names()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_mm.h45 * @outlen :
67 uint32_t outlen; member in struct:mimd
H A Dmegaraid_mm.c420 if (mimd.outlen) kioc->data_dir = UIOC_RD; mimd_to_kioc()
428 kioc->xferlen = (mimd.outlen > mimd.inlen) ? mimd_to_kioc()
429 mimd.outlen : mimd.inlen; mimd_to_kioc()
436 if (mimd.outlen) kioc->data_dir = UIOC_RD; mimd_to_kioc()
/linux-4.1.27/include/crypto/
H A Ddrbg.h185 unsigned int outlen; /* size of output buffer */ member in struct:drbg_gen
196 * @outlen length of output buffer -- see crypto_rng_get_bytes
204 unsigned char *outbuf, unsigned int outlen, crypto_drbg_get_bytes_addtl()
210 genbuf.outlen = outlen; crypto_drbg_get_bytes_addtl()
226 * @outlen length of output buffer -- see crypto_rng_get_bytes
235 unsigned char *outbuf, unsigned int outlen, crypto_drbg_get_bytes_addtl_test()
242 genbuf.outlen = outlen; crypto_drbg_get_bytes_addtl_test()
270 genbuf.outlen = 0; crypto_drbg_reset_test()
203 crypto_drbg_get_bytes_addtl(struct crypto_rng *drng, unsigned char *outbuf, unsigned int outlen, struct drbg_string *addtl) crypto_drbg_get_bytes_addtl() argument
234 crypto_drbg_get_bytes_addtl_test(struct crypto_rng *drng, unsigned char *outbuf, unsigned int outlen, struct drbg_string *addtl, struct drbg_test_data *test_data) crypto_drbg_get_bytes_addtl_test() argument
/linux-4.1.27/include/scsi/
H A Dscsi_ioctl.h28 unsigned int outlen; member in struct:scsi_ioctl_command
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Dvp7045.c28 int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen, int msec) vp7045_usb_op() argument
35 if (outlen > 19) vp7045_usb_op()
36 outlen = 19; vp7045_usb_op()
45 if (out != NULL && outlen > 0) vp7045_usb_op()
46 memcpy(&buf[1], out, outlen); vp7045_usb_op()
49 debug_dump(buf, outlen+1, deb_xfer); vp7045_usb_op()
H A Dvp7045.h67 extern int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen,int msec);
/linux-4.1.27/crypto/
H A Dalgif_aead.c364 size_t outlen = 0; aead_recvmsg() local
417 outlen = ((used + bs - 1) / bs * bs); aead_recvmsg()
419 outlen += as; aead_recvmsg()
422 outlen = used - as; aead_recvmsg()
424 outlen = ((outlen + bs - 1) / bs * bs); aead_recvmsg()
430 (outlen - usedpages)); aead_recvmsg()
443 if (outlen <= usedpages) aead_recvmsg()
451 if (usedpages < outlen) aead_recvmsg()
519 return err ? err : outlen; aead_recvmsg()
H A Ddrbg.c594 int outlen = 0; drbg_ctr_generate() local
601 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? drbg_ctr_generate()
609 memcpy(buf + len, drbg->scratchpad, outlen); drbg_ctr_generate()
610 len += outlen; drbg_ctr_generate()
726 unsigned int outlen = 0; drbg_hmac_generate() local
731 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? drbg_hmac_generate()
737 memcpy(buf + len, drbg->V, outlen); drbg_hmac_generate()
738 len += outlen; drbg_hmac_generate()
824 unsigned char *outval, size_t outlen, drbg_hash_df()
835 drbg_cpu_to_be32((outlen * 8), &input[1]); drbg_hash_df()
842 while (len < outlen) { drbg_hash_df()
850 blocklen = (drbg_blocklen(drbg) < (outlen - len)) ? drbg_hash_df()
851 drbg_blocklen(drbg) : (outlen - len); drbg_hash_df()
954 unsigned int outlen = 0; drbg_hash_hashgen() local
961 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? drbg_hash_hashgen()
968 memcpy(buf + len, dst, outlen); drbg_hash_hashgen()
969 len += outlen; drbg_hash_hashgen()
1760 return drbg_generate_long(drbg, data->outbuf, data->outlen, drbg_kcapi_random()
823 drbg_hash_df(struct drbg_state *drbg, unsigned char *outval, size_t outlen, struct list_head *entropylist) drbg_hash_df() argument
H A Dtestmgr.c1208 if (dlen != ctemplate[i].outlen) { test_comp()
1241 if (dlen != dtemplate[i].outlen) { test_comp()
1298 req.avail_out = ctemplate[i].outlen / 2; test_pcomp()
1322 req.avail_out += COMP_BUF_SIZE - ctemplate[i].outlen / 2; test_pcomp()
1332 if (COMP_BUF_SIZE - req.avail_out != ctemplate[i].outlen) { test_pcomp()
1336 ctemplate[i].outlen); test_pcomp()
1340 if (produced != ctemplate[i].outlen) { test_pcomp()
1343 algo, produced, ctemplate[i].outlen); test_pcomp()
1347 if (memcmp(result, ctemplate[i].output, ctemplate[i].outlen)) { test_pcomp()
1350 hexdump(result, ctemplate[i].outlen); test_pcomp()
1379 req.avail_out = dtemplate[i].outlen / 2; test_pcomp()
1403 req.avail_out += COMP_BUF_SIZE - dtemplate[i].outlen / 2; test_pcomp()
1414 if (COMP_BUF_SIZE - req.avail_out != dtemplate[i].outlen) { test_pcomp()
1418 dtemplate[i].outlen); test_pcomp()
1422 if (produced != dtemplate[i].outlen) { test_pcomp()
1425 algo, produced, dtemplate[i].outlen); test_pcomp()
1429 if (memcmp(result, dtemplate[i].output, dtemplate[i].outlen)) { test_pcomp()
1432 hexdump(result, dtemplate[i].outlen); test_pcomp()
H A Dtestmgr.h28588 int inlen, outlen; member in struct:comp_testvec
28596 int inlen, outlen; member in struct:pcomp_testvec
28612 .outlen = 38,
28622 .outlen = 122,
28648 .outlen = 191,
28670 .outlen = 70,
28739 .outlen = 38,
28751 .outlen = 122,
28779 .outlen = 191,
28803 .outlen = 70,
28823 .outlen = 57,
28836 .outlen = 131,
28863 .outlen = 159,
28886 .outlen = 70,
29482 .outlen = 45,
29497 .outlen = 70,
29515 .outlen = 45,
29530 .outlen = 70,
/linux-4.1.27/drivers/platform/olpc/
H A Dolpc-ec.c23 size_t inlen, outlen; member in struct:ec_cmd_desc
87 desc->outbuf, desc->outlen, ec_cb_arg); olpc_ec_worker()
115 int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) olpc_ec_cmd() argument
137 desc.outlen = outlen; olpc_ec_cmd()
/linux-4.1.27/drivers/crypto/nx/
H A Dnx-aes-xcbc.c106 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); nx_xcbc_empty()
135 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); nx_xcbc_empty()
224 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); nx_xcbc_update()
277 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { nx_xcbc_update()
357 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); nx_xcbc_final()
359 if (!nx_ctx->op.outlen) { nx_xcbc_final()
H A Dnx-sha256.c107 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); nx_sha256_update()
160 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { nx_sha256_update()
240 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); nx_sha256_final()
241 if (!nx_ctx->op.outlen) { nx_sha256_final()
H A Dnx-sha512.c107 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); nx_sha512_update()
164 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { nx_sha512_update()
245 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); nx_sha512_final()
247 if (!nx_ctx->op.outlen) { nx_sha512_final()
H A Dnx-842.c309 * Upon return from this function @outlen contains the length of the
310 * compressed data. If there is an error then @outlen will be 0 and an
316 * @outlen: Length of output buffer
321 * 0 Success, output of length @outlen stored in the buffer at @out
329 unsigned char *out, unsigned int *outlen, void *wmem) nx842_compress()
370 bytesleft = *outlen - hdrsize; nx842_compress()
434 op.outlen = -nx842_get_scatterlist_size(&slout); nx842_compress()
483 *outlen = (unsigned int)(outbuf - (unsigned long)out); nx842_compress()
507 * provided by the caller of this function in @outlen. Upon return from
508 * this function @outlen contains the length of the decompressed data.
509 * If there is an error then @outlen will be 0 and an error will be
516 * @outlen: Length of output buffer, must be PAGE_SIZE
521 * 0 Success, output of length @outlen stored in the buffer at @out
529 unsigned char *out, unsigned int *outlen, void *wmem) nx842_decompress()
548 if (!IS_ALIGNED(outbuf, PAGE_SIZE) || *outlen != PAGE_SIZE) nx842_decompress()
626 op.outlen = max_sync_size; nx842_decompress()
631 op.outlen = -nx842_get_scatterlist_size(&slout); nx842_decompress()
679 *outlen = (unsigned int)(outbuf - (unsigned long)out); nx842_decompress()
328 nx842_compress(const unsigned char *in, unsigned int inlen, unsigned char *out, unsigned int *outlen, void *wmem) nx842_compress() argument
528 nx842_decompress(const unsigned char *in, unsigned int inlen, unsigned char *out, unsigned int *outlen, void *wmem) nx842_decompress() argument
H A Dnx-aes-cbc.c92 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { cbc_aes_nx_crypt()
H A Dnx-aes-ecb.c92 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { ecb_aes_nx_crypt()
H A Dnx-aes-ctr.c105 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { ctr_aes_nx_crypt()
H A Dnx-aes-ccm.c269 nx_ctx->op.outlen = (nx_ctx->out_sg - nx_outsg) * generate_pat()
H A Dnx-aes-gcm.c306 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); gcm_empty()
H A Dnx.c307 nx_ctx->op.outlen = trim_sg_list(nx_ctx->out_sg, nx_outsg, delta, nbytes); nx_build_sg_lists()
/linux-4.1.27/fs/hfsplus/
H A Dunicode.c303 u16 *dstr, outlen = 0; hfsplus_asc2uni() local
307 while (outlen < max_unistr_len && len > 0) { hfsplus_asc2uni()
315 if (outlen + dsize > max_unistr_len) hfsplus_asc2uni()
318 ustr->unicode[outlen++] = cpu_to_be16(*dstr++); hfsplus_asc2uni()
321 ustr->unicode[outlen++] = cpu_to_be16(c); hfsplus_asc2uni()
326 ustr->length = cpu_to_be16(outlen); hfsplus_asc2uni()
/linux-4.1.27/arch/x86/include/asm/
H A Dintel_scu_ipc.h46 u32 *out, int outlen);
/linux-4.1.27/fs/cifs/
H A Dcifs_unicode.c186 int outlen = 0; cifs_from_utf16() local
217 if (outlen >= safelen) { cifs_from_utf16()
219 if ((outlen + charlen) > (tolen - nullsize)) cifs_from_utf16()
224 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); cifs_from_utf16()
225 outlen += charlen; cifs_from_utf16()
241 to[outlen++] = 0; cifs_from_utf16()
243 return outlen; cifs_from_utf16()
313 int charlen, outlen = 0; cifs_utf16_bytes() local
332 outlen += charlen; cifs_utf16_bytes()
335 return outlen; cifs_utf16_bytes()
/linux-4.1.27/fs/fat/
H A Dnamei_vfat.c498 int *longlen, int *outlen, int escape, int utf8, xlate_to_uni()
509 *outlen = utf8s_to_utf16s(name, len, UTF16_HOST_ENDIAN, xlate_to_uni()
511 if (*outlen < 0) xlate_to_uni()
512 return *outlen; xlate_to_uni()
513 else if (*outlen > FAT_LFN_LEN) xlate_to_uni()
516 op = &outname[*outlen * sizeof(wchar_t)]; xlate_to_uni()
518 for (i = 0, ip = name, op = outname, *outlen = 0; xlate_to_uni()
519 i < len && *outlen < FAT_LFN_LEN; xlate_to_uni()
520 *outlen += 1) { xlate_to_uni()
560 *longlen = *outlen; xlate_to_uni()
561 if (*outlen % 13) { xlate_to_uni()
564 *outlen += 1; xlate_to_uni()
565 if (*outlen % 13) { xlate_to_uni()
566 fill = 13 - (*outlen % 13); xlate_to_uni()
571 *outlen += fill; xlate_to_uni()
497 xlate_to_uni(const unsigned char *name, int len, unsigned char *outname, int *longlen, int *outlen, int escape, int utf8, struct nls_table *nls) xlate_to_uni() argument
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c512 lay->outlen = cpu_to_be32(ent->out->len); cmd_work_handler()
681 err = mlx5_cmd_exec(dev, dbg->in_msg, dbg->inlen, dbg->out_msg, dbg->outlen); dbg_write()
896 copy = min_t(int, count, dbg->outlen); data_read()
917 char outlen[8]; outlen_read() local
923 err = snprintf(outlen, sizeof(outlen), "%d", dbg->outlen); outlen_read()
927 if (copy_to_user(buf, &outlen, err)) outlen_read()
941 int outlen; outlen_write() local
950 dbg->outlen = 0; outlen_write()
957 err = sscanf(outlen_str, "%d", &outlen); outlen_write()
961 ptr = kzalloc(outlen, GFP_KERNEL); outlen_write()
966 dbg->outlen = outlen; outlen_write()
H A Dpagealloc.c365 int outlen; reclaim_pages() local
374 outlen = sizeof(*out) + npages * sizeof(out->pas[0]); reclaim_pages()
375 out = mlx5_vzalloc(outlen); reclaim_pages()
383 mlx5_core_dbg(dev, "npages %d, outlen %d\n", npages, outlen); reclaim_pages()
384 err = mlx5_cmd_exec(dev, &in, sizeof(in), out, outlen); reclaim_pages()
H A Dmr.c142 struct mlx5_query_mkey_mbox_out *out, int outlen) mlx5_core_query_mkey()
148 memset(out, 0, outlen); mlx5_core_query_mkey()
152 err = mlx5_cmd_exec(dev, &in, sizeof(in), out, outlen); mlx5_core_query_mkey()
141 mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr, struct mlx5_query_mkey_mbox_out *out, int outlen) mlx5_core_query_mkey() argument
H A Dqp.c352 struct mlx5_query_qp_mbox_out *out, int outlen) mlx5_core_qp_query()
358 memset(out, 0, outlen); mlx5_core_qp_query()
361 err = mlx5_cmd_exec(dev, &in, sizeof(in), out, outlen); mlx5_core_qp_query()
351 mlx5_core_qp_query(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp, struct mlx5_query_qp_mbox_out *out, int outlen) mlx5_core_qp_query() argument
H A Deq.c521 struct mlx5_query_eq_mbox_out *out, int outlen) mlx5_core_eq_query()
527 memset(out, 0, outlen); mlx5_core_eq_query()
530 err = mlx5_cmd_exec(dev, &in, sizeof(in), out, outlen); mlx5_core_eq_query()
520 mlx5_core_eq_query(struct mlx5_core_dev *dev, struct mlx5_eq *eq, struct mlx5_query_eq_mbox_out *out, int outlen) mlx5_core_eq_query() argument
/linux-4.1.27/arch/powerpc/include/asm/
H A Dvio.h65 * @outlen: If non-negative, the length of the input data block. If negative,
77 s64 outlen; member in struct:vio_pfo_op
/linux-4.1.27/lib/
H A Ddigsig.c36 unsigned long *outlen) pkcs_1_v1_5_decode_emsa()
62 *outlen = (msglen - (2 + ps_len + 1)); pkcs_1_v1_5_decode_emsa()
33 pkcs_1_v1_5_decode_emsa(const unsigned char *msg, unsigned long msglen, unsigned long modulus_bitlen, unsigned long *outlen) pkcs_1_v1_5_decode_emsa() argument
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_cq.c230 if (udata && udata->outlen >= sizeof(__u64)) ipath_create_cq()
244 if (udata && udata->outlen >= sizeof(__u64)) { ipath_create_cq()
389 if (udata && udata->outlen >= sizeof(__u64)) ipath_resize_cq()
400 if (udata && udata->outlen >= sizeof(__u64)) { ipath_resize_cq()
456 if (udata && udata->outlen >= sizeof(__u64)) { ipath_resize_cq()
H A Dipath_srq.c149 if (udata && udata->outlen >= sizeof(__u64)) { ipath_create_srq()
H A Dipath_qp.c885 if (udata && udata->outlen >= sizeof(__u64)) { ipath_create_qp()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_cq.c245 if (udata && udata->outlen >= sizeof(__u64)) qib_create_cq()
259 if (udata && udata->outlen >= sizeof(__u64)) { qib_create_cq()
405 if (udata && udata->outlen >= sizeof(__u64)) qib_resize_cq()
416 if (udata && udata->outlen >= sizeof(__u64)) { qib_resize_cq()
472 if (udata && udata->outlen >= sizeof(__u64)) { qib_resize_cq()
H A Dqib_srq.c146 if (udata && udata->outlen >= sizeof(__u64)) { qib_create_srq()
H A Dqib_qp.c1134 if (udata && udata->outlen >= sizeof(__u64)) { qib_create_qp()
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c68 * @outlen: Length of outdata.
82 u32 outlen; member in struct:cryp_ctx
211 dev_dbg(ctx->device->dev, "[%s] (len: %d) %s, ", __func__, ctx->outlen, cryp_interrupt_handler()
217 if (ctx->outlen / ctx->blocksize > 0) { cryp_interrupt_handler()
222 ctx->outlen -= count; cryp_interrupt_handler()
224 if (ctx->outlen == 0) { cryp_interrupt_handler()
753 u32 outlen = datalen; hw_crypt_noxts() local
757 ctx->outlen = ctx->datalen; hw_crypt_noxts()
775 * ctx->outlen is decremented in the cryp_interrupt_handler hw_crypt_noxts()
779 while (ctx->outlen > 0) hw_crypt_noxts()
806 ctx->outlen = outlen; hw_crypt_noxts()
837 ctx->outlen = areq->nbytes; ablk_dma_crypt()
849 ctx->device->dma.nents_dst = get_nents(areq->dst, ctx->outlen); ablk_dma_crypt()
/linux-4.1.27/arch/x86/platform/olpc/
H A Dolpc.c117 size_t outlen, void *arg) olpc_xo1_ec_cmd()
169 if (outbuf && outlen) { olpc_xo1_ec_cmd()
171 for (i = 0; i < outlen; i++) { olpc_xo1_ec_cmd()
116 olpc_xo1_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen, void *arg) olpc_xo1_ec_cmd() argument
/linux-4.1.27/fs/pstore/
H A Dplatform.c134 size_t outlen) pstore_compress()
148 stream.avail_out = outlen; pstore_compress()
168 static int pstore_decompress(void *in, void *out, size_t inlen, size_t outlen) pstore_decompress() argument
181 stream.avail_out = outlen; pstore_decompress()
133 pstore_compress(const void *in, void *out, size_t inlen, size_t outlen) pstore_compress() argument
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dcryptocop.h124 size_t outlen; /* Total outlength. */ member in struct:cryptocop_tfrm_operation
/linux-4.1.27/drivers/infiniband/core/
H A Duverbs.h55 (udata)->outlen = (olen); \
63 (udata)->outlen = (olen); \
H A Duverbs_cmd.c2803 if (ucore->outlen < sizeof(resp)) ib_uverbs_ex_create_flow()
3332 if (ucore->outlen < resp.response_length) ib_uverbs_ex_query_device()
3342 if (ucore->outlen < resp.response_length + sizeof(resp.odp_caps)) ib_uverbs_ex_query_device()
H A Duverbs_main.c716 (unsigned long) ex_hdr.response + ucore.outlen, ib_uverbs_write()
/linux-4.1.27/net/9p/
H A Dtrans_virtio.c398 int inlen, int outlen, int in_hdr_len) p9_virtio_zc_request()
413 outlen, &offs, &need_drop); p9_virtio_zc_request()
417 if (n != outlen) { p9_virtio_zc_request()
420 outlen = n; p9_virtio_zc_request()
450 out_pages, out_nr_pages, offs, outlen); p9_virtio_zc_request()
396 p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req, struct iov_iter *uidata, struct iov_iter *uodata, int inlen, int outlen, int in_hdr_len) p9_virtio_zc_request() argument
/linux-4.1.27/drivers/net/wan/
H A Dsdla.c430 void *inbuf, short inlen, void *outbuf, short *outlen) sdla_cmd()
481 if (outbuf && outlen) sdla_cmd()
483 *outlen = *outlen >= len ? len : *outlen; sdla_cmd()
485 if (*outlen) sdla_cmd()
486 memcpy(outbuf, cmd_buf->data, *outlen); sdla_cmd()
429 sdla_cmd(struct net_device *dev, int cmd, short dlci, short flags, void *inbuf, short inlen, void *outbuf, short *outlen) sdla_cmd() argument
/linux-4.1.27/drivers/net/ethernet/ti/
H A Ddavinci_cpdma.c747 int outlen, int status) __cpdma_chan_free()
761 (*chan->handler)(token, outlen, status); __cpdma_chan_free()
768 int status, outlen; __cpdma_chan_process() local
785 outlen = status & 0x7ff; __cpdma_chan_process()
793 outlen -= CPDMA_DESC_CRC_LEN; __cpdma_chan_process()
814 __cpdma_chan_free(chan, desc, outlen, cb_status); __cpdma_chan_process()
745 __cpdma_chan_free(struct cpdma_chan *chan, struct cpdma_desc __iomem *desc, int outlen, int status) __cpdma_chan_free() argument
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dcryptocop.c544 if (((tc->produced + tc->tcfg->inject_ix) > operation->tfrm_op.outlen) || (tc->produced && (operation->tfrm_op.outlen == 0))) { create_input_descriptors()
838 if (tcfg->inject_ix > operation->tfrm_op.outlen){ cryptocop_setup_dma_list()
839 DEBUG_API(printk("cryptocop_setup_dma_list: transform id %d inject_ix (%d) > operation->tfrm_op.outlen(%d)", tcfg->tid, tcfg->inject_ix, operation->tfrm_op.outlen)); cryptocop_setup_dma_list()
2579 cop->tfrm_op.outlen = 0; cryptocop_ioctl_process()
2769 cop->tfrm_op.outlen = 0; cryptocop_ioctl_process()
2770 if (oper.do_cipher) cop->tfrm_op.outlen += oper.cipher_outlen; cryptocop_ioctl_process()
2771 if (oper.do_digest) cop->tfrm_op.outlen += digest_length; cryptocop_ioctl_process()
2772 if (oper.do_csum) cop->tfrm_op.outlen += 2; cryptocop_ioctl_process()
3255 "outlen=%d\n", print_strcop_crypto_op()
3310 "outlen=%d\n\n", print_cryptocop_operation()
3318 cop->tfrm_op.outlen); print_cryptocop_operation()
/linux-4.1.27/include/linux/mlx5/
H A Ddriver.h208 u16 outlen; member in struct:mlx5_cmd_debug
694 struct mlx5_query_mkey_mbox_out *out, int outlen);
742 struct mlx5_query_eq_mbox_out *out, int outlen);
H A Dqp.h605 struct mlx5_query_qp_mbox_out *out, int outlen);
H A Ddevice.h398 __be32 outlen; member in struct:mlx5_cmd_layout
/linux-4.1.27/drivers/platform/x86/
H A Dintel_scu_ipc.c466 u32 *out, int outlen) intel_scu_ipc_command()
483 for (i = 0; i < outlen; i++) intel_scu_ipc_command()
465 intel_scu_ipc_command(int cmd, int sub, u32 *in, int inlen, u32 *out, int outlen) intel_scu_ipc_command() argument
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Dusb.c651 unsigned int plen, void *payload, unsigned int outlen, void *out) carl9170_exec_cmd()
669 ar->readlen = outlen; carl9170_exec_cmd()
681 if (ar->readlen != outlen) { carl9170_exec_cmd()
650 carl9170_exec_cmd(struct ar9170 *ar, const enum carl9170_cmd_oids cmd, unsigned int plen, void *payload, unsigned int outlen, void *out) carl9170_exec_cmd() argument
/linux-4.1.27/arch/powerpc/kernel/
H A Dnvram_64.c333 size_t outlen) nvram_compress()
347 stream.avail_out = outlen; nvram_compress()
332 nvram_compress(const void *in, void *out, size_t inlen, size_t outlen) nvram_compress() argument
H A Dvio.c1128 op->outlen, op->csbcpb); vio_h_cop_sync()
/linux-4.1.27/drivers/ide/
H A Dide-acpi.c410 DEBPRINT("_GTM status: %d, outptr: 0x%p, outlen: 0x%llx\n", ide_acpi_get_timing()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
H A Dprovider.c125 if (udata->outlen < sizeof(uresp) - sizeof(uresp.reserved)) { c4iw_alloc_ucontext()
/linux-4.1.27/block/
H A Dscsi_ioctl.c432 if (get_user(out_len, &sic->outlen)) sg_scsi_ioctl()
/linux-4.1.27/drivers/scsi/
H A Dmegaraid.c3515 if( uioc_mimd.outlen ) uioc->flags = UIOC_RD; mega_m_to_n()
3530 uioc->xferlen = uioc_mimd.outlen > uioc_mimd.inlen ? mega_m_to_n()
3531 uioc_mimd.outlen : uioc_mimd.inlen; mega_m_to_n()
3533 if( uioc_mimd.outlen ) uioc->flags = UIOC_RD; mega_m_to_n()
H A Dmegaraid.h470 u32 outlen; member in struct:uioctl_t
H A Dhpsa.c4029 * and sets both inlen and outlen to non-zero. ( see hpsa_ciss_submit()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
H A Diwch_provider.c218 if (udata->outlen < sizeof uresp) { iwch_create_cq()
/linux-4.1.27/drivers/block/
H A Dcciss_scsi.c1483 // and sets both inlen and outlen to non-zero. ( see cciss_scsi_queue_command_lck()
/linux-4.1.27/include/rdma/
H A Dib_verbs.h1192 size_t outlen; member in struct:ib_udata

Completed in 1534 milliseconds