/Linux-v5.4/drivers/media/pci/ngene/ |
D | ngene-i2c.c | 32 u8 *out, u8 outlen, u8 *in, u8 inlen, int flag) in ngene_command_i2c_read() argument 37 com.cmd.hdr.Length = outlen + 3; in ngene_command_i2c_read() 39 memcpy(com.cmd.I2CRead.Data, out, outlen); in ngene_command_i2c_read() 40 com.cmd.I2CRead.Data[outlen] = inlen; in ngene_command_i2c_read() 41 com.cmd.I2CRead.Data[outlen + 1] = 0; in ngene_command_i2c_read() 42 com.in_len = outlen + 3; in ngene_command_i2c_read() 59 u8 *out, u8 outlen) in ngene_command_i2c_write() argument 65 com.cmd.hdr.Length = outlen + 1; in ngene_command_i2c_write() 67 memcpy(com.cmd.I2CRead.Data, out, outlen); in ngene_command_i2c_write() 68 com.in_len = outlen + 1; in ngene_command_i2c_write()
|
/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | mcdi.c | 41 size_t outlen; member 544 min(async->outlen, data_len)); in efx_mcdi_complete_async() 555 min(async->outlen, data_len)); in efx_mcdi_complete_async() 651 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_finish() argument 712 min(outlen, data_len)); in _efx_mcdi_rpc_finish() 802 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc() argument 818 rc = _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in _efx_mcdi_rpc() 842 outbuf, outlen, outlen_actual, in _efx_mcdi_rpc() 860 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_evb_retry() argument 867 outbuf, outlen, outlen_actual, true, &raw_rc); in _efx_mcdi_rpc_evb_retry() [all …]
|
D | mcdi_port.c | 36 size_t outlen; in efx_mcdi_get_phy_cfg() local 43 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_phy_cfg() 47 if (outlen < MC_CMD_GET_PHY_CFG_OUT_LEN) { in efx_mcdi_get_phy_cfg() 95 size_t outlen; in efx_mcdi_loopback_modes() local 99 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_loopback_modes() 103 if (outlen < (MC_CMD_GET_LOOPBACK_MODES_OUT_SUGGESTED_OFST + in efx_mcdi_loopback_modes() 124 size_t outlen; in efx_mcdi_mdio_read() local 133 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mdio_read() 150 size_t outlen; in efx_mcdi_mdio_write() local 160 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mdio_write() [all …]
|
D | ef10.c | 192 size_t outlen; in efx_ef10_get_pf_index() local 196 sizeof(outbuf), &outlen); in efx_ef10_get_pf_index() 199 if (outlen < sizeof(outbuf)) in efx_ef10_get_pf_index() 211 size_t outlen; in efx_ef10_get_vf_index() local 215 sizeof(outbuf), &outlen); in efx_ef10_get_vf_index() 218 if (outlen < sizeof(outbuf)) in efx_ef10_get_vf_index() 230 size_t outlen; in efx_ef10_init_datapath_caps() local 236 outbuf, sizeof(outbuf), &outlen); in efx_ef10_init_datapath_caps() 239 if (outlen < MC_CMD_GET_CAPABILITIES_OUT_LEN) { in efx_ef10_init_datapath_caps() 248 if (outlen >= MC_CMD_GET_CAPABILITIES_V2_OUT_LEN) { in efx_ef10_init_datapath_caps() [all …]
|
D | mcdi.h | 146 size_t inlen, efx_dword_t *outbuf, size_t outlen, 150 efx_dword_t *outbuf, size_t outlen, 156 efx_dword_t *outbuf, size_t outlen, 160 size_t outlen, size_t *outlen_actual); 167 const efx_dword_t *inbuf, size_t inlen, size_t outlen, 172 size_t outlen, 178 size_t outlen, int rc);
|
/Linux-v5.4/fs/jfs/ |
D | jfs_unicode.c | 23 int outlen = 0; in jfs_strfromUCS_le() local 32 &to[outlen], in jfs_strfromUCS_le() 35 outlen += charlen; in jfs_strfromUCS_le() 37 to[outlen++] = '?'; in jfs_strfromUCS_le() 57 outlen = i; in jfs_strfromUCS_le() 59 to[outlen] = 0; in jfs_strfromUCS_le() 60 return outlen; in jfs_strfromUCS_le()
|
/Linux-v5.4/fs/cifs/ |
D | cifs_unicode.c | 183 int outlen = 0; in cifs_from_utf16() local 214 if (outlen >= safelen) { in cifs_from_utf16() 216 if ((outlen + charlen) > (tolen - nullsize)) in cifs_from_utf16() 221 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); in cifs_from_utf16() 222 outlen += charlen; in cifs_from_utf16() 238 to[outlen++] = 0; in cifs_from_utf16() 240 return outlen; in cifs_from_utf16() 310 int charlen, outlen = 0; in cifs_utf16_bytes() local 329 outlen += charlen; in cifs_utf16_bytes() 332 return outlen; in cifs_utf16_bytes()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | debugfs.c | 205 int outlen = MLX5_ST_SZ_BYTES(query_qp_out); in qp_read_field() local 212 out = kzalloc(outlen, GFP_KERNEL); in qp_read_field() 216 err = mlx5_core_qp_query(dev, qp, out, outlen); in qp_read_field() 288 u32 *out, int outlen) in mlx5_core_eq_query() argument 294 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in mlx5_core_eq_query() 300 int outlen = MLX5_ST_SZ_BYTES(query_eq_out); in eq_read_field() local 306 out = kzalloc(outlen, GFP_KERNEL); in eq_read_field() 310 err = mlx5_core_eq_query(dev, eq, out, outlen); in eq_read_field() 337 int outlen = MLX5_ST_SZ_BYTES(query_cq_out); in cq_read_field() local 343 out = kvzalloc(outlen, GFP_KERNEL); in cq_read_field() [all …]
|
D | vport.c | 44 u16 vport, u32 *out, int outlen) in _mlx5_query_vport_state() argument 55 return mlx5_cmd_exec(mdev, in, sizeof(in), out, outlen); in _mlx5_query_vport_state() 84 u32 *out, int outlen) in mlx5_query_nic_vport_context() argument 94 return mlx5_cmd_exec(mdev, in, sizeof(in), out, outlen); in mlx5_query_nic_vport_context() 162 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_mac_address() local 168 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_mac_address() 180 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, outlen); in mlx5_query_nic_vport_mac_address() 230 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_mtu() local 234 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_mtu() 238 err = mlx5_query_nic_vport_context(mdev, 0, out, outlen); in mlx5_query_nic_vport_mtu() [all …]
|
D | mr.c | 52 int inlen, u32 *out, int outlen, in mlx5_core_create_mkey_cb() argument 72 return mlx5_cmd_exec_cb(async_ctx, in, inlen, out, outlen, in mlx5_core_create_mkey_cb() 128 u32 *out, int outlen) in mlx5_core_query_mkey() argument 132 memset(out, 0, outlen); in mlx5_core_query_mkey() 135 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in mlx5_core_query_mkey()
|
D | cq.c | 91 u32 *in, int inlen, u32 *out, int outlen) in mlx5_core_create_cq() argument 103 memset(out, 0, outlen); in mlx5_core_create_cq() 105 err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in mlx5_core_create_cq() 182 u32 *out, int outlen) in mlx5_core_query_cq() argument 188 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in mlx5_core_query_cq()
|
D | qp.c | 267 u32 *out, int outlen) in mlx5_core_create_dct() argument 275 err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in mlx5_core_create_dct() 399 int outlen; member 402 static int mbox_alloc(struct mbox_info *mbox, int inlen, int outlen) in mbox_alloc() argument 405 mbox->outlen = outlen; in mbox_alloc() 407 mbox->out = kzalloc(mbox->outlen, GFP_KERNEL); in mbox_alloc() 518 err = mlx5_cmd_exec(dev, mbox.in, mbox.inlen, mbox.out, mbox.outlen); in mlx5_core_qp_modify() 546 u32 *out, int outlen) in mlx5_core_qp_query() argument 552 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in mlx5_core_qp_query() 557 u32 *out, int outlen) in mlx5_core_dct_query() argument [all …]
|
/Linux-v5.4/drivers/crypto/nx/ |
D | nx-842-pseries.c | 278 unsigned char *out, unsigned int *outlen, in nx842_pseries_compress() argument 300 if (check_constraints(outbuf, outlen, false)) in nx842_pseries_compress() 335 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) { in nx842_pseries_compress() 338 op.outlen = *outlen; in nx842_pseries_compress() 341 nx842_build_scatterlist(outbuf, *outlen, &slout); in nx842_pseries_compress() 343 op.outlen = -nx842_get_scatterlist_size(&slout); in nx842_pseries_compress() 348 (unsigned long)op.out, (long)op.outlen); in nx842_pseries_compress() 366 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); in nx842_pseries_compress() 367 dev_dbg(dev, "%s: processed_bytes=%d\n", __func__, *outlen); in nx842_pseries_compress() 408 unsigned char *out, unsigned int *outlen, in nx842_pseries_decompress() argument [all …]
|
D | nx-aes-xcbc.c | 94 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 122 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 210 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_update() 263 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_xcbc_update() 342 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_final() 344 if (!nx_ctx->op.outlen) { in nx_xcbc_final()
|
/Linux-v5.4/drivers/media/usb/dvb-usb/ |
D | vp7045.c | 25 int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen, int mse… in vp7045_usb_op() argument 32 if (outlen > 19) in vp7045_usb_op() 33 outlen = 19; in vp7045_usb_op() 42 if (out != NULL && outlen > 0) in vp7045_usb_op() 43 memcpy(&buf[1], out, outlen); in vp7045_usb_op() 46 debug_dump(buf, outlen+1, deb_xfer); in vp7045_usb_op()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | intel_pmc_ipc.h | 36 u32 *out, u32 outlen, u32 dptr, u32 sptr); 38 u32 *out, u32 outlen); 53 u32 *out, u32 outlen, u32 dptr, u32 sptr) in intel_pmc_ipc_raw_cmd() argument 59 u32 *out, u32 outlen) in intel_pmc_ipc_command() argument
|
D | intel_scu_ipc.h | 52 u32 *out, int outlen); 54 u32 *out, int outlen, u32 dptr, u32 sptr);
|
/Linux-v5.4/security/keys/ |
D | dh.c | 234 int outlen; in __keyctl_dh_compute() local 325 outlen = crypto_kpp_maxsize(tfm); in __keyctl_dh_compute() 333 ret = outlen; in __keyctl_dh_compute() 335 } else if (outlen > buflen) { in __keyctl_dh_compute() 341 outbuf = kzalloc(kdfcopy ? (outlen + kdfcopy->otherinfolen) : outlen, in __keyctl_dh_compute() 348 sg_init_one(&outsg, outbuf, outlen); in __keyctl_dh_compute() 357 kpp_request_set_output(req, &outsg, outlen); in __keyctl_dh_compute() 388 outlen - req->dst_len); in __keyctl_dh_compute()
|
/Linux-v5.4/crypto/ |
D | algif_aead.c | 105 size_t outlen = 0; /* [out] RX bufs produced by kernel */ in _aead_recvmsg() local 142 outlen = used + as; in _aead_recvmsg() 144 outlen = used - as; in _aead_recvmsg() 159 err = af_alg_get_rsgl(sk, msg, flags, areq, outlen, &usedpages); in _aead_recvmsg() 170 if (usedpages < outlen) { in _aead_recvmsg() 171 size_t less = outlen - usedpages; in _aead_recvmsg() 178 outlen -= less; in _aead_recvmsg() 245 areq->first_rsgl.sgl.sg, outlen); in _aead_recvmsg() 291 areq->outlen = outlen; in _aead_recvmsg() 319 return err ? err : outlen; in _aead_recvmsg()
|
D | drbg.c | 314 u8 *outbuf, u32 outlen); 725 unsigned int outlen = 0; in drbg_hmac_generate() local 730 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? in drbg_hmac_generate() 734 memcpy(buf + len, drbg->V, outlen); in drbg_hmac_generate() 735 len += outlen; in drbg_hmac_generate() 821 unsigned char *outval, size_t outlen, in drbg_hash_df() argument 832 drbg_cpu_to_be32((outlen * 8), &input[1]); in drbg_hash_df() 839 while (len < outlen) { in drbg_hash_df() 847 blocklen = (drbg_blocklen(drbg) < (outlen - len)) ? in drbg_hash_df() 848 drbg_blocklen(drbg) : (outlen - len); in drbg_hash_df() [all …]
|
/Linux-v5.4/include/crypto/ |
D | drbg.h | 208 unsigned char *outbuf, unsigned int outlen, in crypto_drbg_get_bytes_addtl() argument 212 outbuf, outlen); in crypto_drbg_get_bytes_addtl() 233 unsigned char *outbuf, unsigned int outlen, in crypto_drbg_get_bytes_addtl_test() argument 240 outbuf, outlen); in crypto_drbg_get_bytes_addtl_test()
|
/Linux-v5.4/fs/fat/ |
D | namei_vfat.c | 512 int *longlen, int *outlen, int escape, int utf8, in xlate_to_uni() argument 521 *outlen = utf8s_to_utf16s(name, len, UTF16_HOST_ENDIAN, in xlate_to_uni() 523 if (*outlen < 0) in xlate_to_uni() 524 return *outlen; in xlate_to_uni() 525 else if (*outlen > FAT_LFN_LEN) in xlate_to_uni() 528 op = &outname[*outlen * sizeof(wchar_t)]; in xlate_to_uni() 530 for (i = 0, ip = name, op = outname, *outlen = 0; in xlate_to_uni() 531 i < len && *outlen < FAT_LFN_LEN; in xlate_to_uni() 532 *outlen += 1) { in xlate_to_uni() 561 *longlen = *outlen; in xlate_to_uni() [all …]
|
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | srq_cmd.c | 307 int outlen; in create_rmp_cmd() local 313 outlen = MLX5_ST_SZ_BYTES(create_rmp_out); in create_rmp_cmd() 315 create_out = kvzalloc(outlen, GFP_KERNEL); in create_rmp_cmd() 330 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, outlen); in create_rmp_cmd() 361 int outlen; in arm_rmp_cmd() local 366 outlen = MLX5_ST_SZ_BYTES(modify_rmp_out); in arm_rmp_cmd() 369 out = kvzalloc(outlen, GFP_KERNEL); in arm_rmp_cmd() 387 err = mlx5_cmd_exec(dev->mdev, in, inlen, out, outlen); in arm_rmp_cmd() 401 int outlen; in query_rmp_cmd() local 405 outlen = MLX5_ST_SZ_BYTES(query_rmp_out); in query_rmp_cmd() [all …]
|
/Linux-v5.4/include/linux/ |
D | olpc-ec.h | 49 size_t outlen); 62 size_t outlen) { return -ENODEV; } in olpc_ec_cmd() argument
|
/Linux-v5.4/fs/hfsplus/ |
D | unicode.c | 349 u16 *dstr, outlen = 0; in hfsplus_asc2uni() local 354 while (outlen < max_unistr_len && len > 0) { in hfsplus_asc2uni() 362 if (outlen + dsize > max_unistr_len) in hfsplus_asc2uni() 365 ustr->unicode[outlen++] = cpu_to_be16(*dstr++); in hfsplus_asc2uni() 368 ustr->unicode[outlen++] = cpu_to_be16(c); in hfsplus_asc2uni() 373 ustr->length = cpu_to_be16(outlen); in hfsplus_asc2uni()
|