Home
last modified time | relevance | path

Searched refs:outlen (Results 76 - 100 of 290) sorted by relevance

12345678910>>...12

/kernel/linux/linux-6.6/drivers/crypto/nx/
H A Dnx-sha512.c100 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_sha512_update()
157 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_sha512_update()
237 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_sha512_final()
239 if (!nx_ctx->op.outlen) { in nx_sha512_final()
H A Dnx-sha256.c100 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_sha256_update()
153 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_sha256_update()
232 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_sha256_final()
233 if (!nx_ctx->op.outlen) { in nx_sha256_final()
H A Dnx-common-powernv.c389 unsigned char *out, unsigned int outlen, in nx842_config_crb()
410 out, outlen, false); in nx842_config_crb()
429 * Upon return from this function @outlen contains the length of the
430 * output data. If there is an error then @outlen will be 0 and an
462 unsigned int outlen = *outlenp; in nx842_exec_icswx() local
474 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_icswx()
531 * Upon return from this function @outlen contains the length of the
532 * output data. If there is an error then @outlen will be 0 and an
566 unsigned int outlen = *outlenp; in nx842_exec_vas() local
575 ret = nx842_config_crb(in, inlen, out, outlen, wme in nx842_exec_vas()
388 nx842_config_crb(const unsigned char *in, unsigned int inlen, unsigned char *out, unsigned int outlen, struct nx842_workmem *wmem) nx842_config_crb() argument
[all...]
/kernel/linux/linux-5.10/crypto/
H A Ddrbg.c314 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()
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 in drbg_hash_df()
820 drbg_hash_df(struct drbg_state *drbg, unsigned char *outval, size_t outlen, struct list_head *entropylist) drbg_hash_df() argument
951 unsigned int outlen = 0; drbg_hash_hashgen() local
1811 drbg_kcapi_sym_ctr(struct drbg_state *drbg, u8 *inbuf, u32 inlen, u8 *outbuf, u32 outlen) drbg_kcapi_sym_ctr() argument
[all...]
/kernel/linux/linux-6.6/crypto/
H A Ddrbg.c316 u8 *outbuf, u32 outlen);
727 unsigned int outlen = 0; in drbg_hmac_generate() local
732 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? in drbg_hmac_generate()
736 memcpy(buf + len, drbg->V, outlen); in drbg_hmac_generate()
737 len += outlen; in drbg_hmac_generate()
823 unsigned char *outval, size_t outlen, in drbg_hash_df()
834 drbg_cpu_to_be32((outlen * 8), &input[1]); in drbg_hash_df()
841 while (len < outlen) { in drbg_hash_df()
849 blocklen = (drbg_blocklen(drbg) < (outlen - len)) ? in drbg_hash_df()
850 drbg_blocklen(drbg) : (outlen in drbg_hash_df()
822 drbg_hash_df(struct drbg_state *drbg, unsigned char *outval, size_t outlen, struct list_head *entropylist) drbg_hash_df() argument
953 unsigned int outlen = 0; drbg_hash_hashgen() local
1837 drbg_kcapi_sym_ctr(struct drbg_state *drbg, u8 *inbuf, u32 inlen, u8 *outbuf, u32 outlen) drbg_kcapi_sym_ctr() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/platform/olpc/
H A Dolpc.c110 size_t outlen, void *arg) in olpc_xo1_ec_cmd()
162 if (outbuf && outlen) { in olpc_xo1_ec_cmd()
164 for (i = 0; i < outlen; i++) { in olpc_xo1_ec_cmd()
109 olpc_xo1_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen, void *arg) olpc_xo1_ec_cmd() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcq.c90 u32 *in, int inlen, u32 *out, int outlen) in mlx5_core_create_cq()
101 memset(out, 0, outlen); in mlx5_core_create_cq()
103 err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in mlx5_core_create_cq()
89 mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, u32 *in, int inlen, u32 *out, int outlen) mlx5_core_create_cq() argument
H A Dvport.c212 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_mtu() local
216 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_mtu()
422 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_system_image_guid() local
424 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_system_image_guid()
442 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_node_guid() local
444 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_node_guid()
496 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_qkey_viol_cntr() local
498 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_qkey_viol_cntr()
767 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_promisc() local
770 out = kzalloc(outlen, GFP_KERNE in mlx5_query_nic_vport_promisc()
869 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); mlx5_nic_vport_query_local_lb() local
[all...]
/kernel/linux/linux-5.10/fs/dlm/
H A Ddir.c235 char *outbuf, int outlen, int nodeid) in dlm_copy_master_names()
274 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { in dlm_copy_master_names()
297 (offset + sizeof(uint16_t) <= outlen)) { in dlm_copy_master_names()
234 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 Ddir.h20 char *outbuf, int outlen, int nodeid);
/kernel/linux/linux-6.6/fs/dlm/
H A Ddir.c237 char *outbuf, int outlen, int nodeid) in dlm_copy_master_names()
275 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { in dlm_copy_master_names()
298 (offset + sizeof(uint16_t) <= outlen)) { in dlm_copy_master_names()
236 dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen, char *outbuf, int outlen, int nodeid) dlm_copy_master_names() argument
/kernel/linux/linux-6.6/arch/x86/platform/olpc/
H A Dolpc.c110 size_t outlen, void *arg) in olpc_xo1_ec_cmd()
162 if (outbuf && outlen) { in olpc_xo1_ec_cmd()
164 for (i = 0; i < outlen; i++) { in olpc_xo1_ec_cmd()
109 olpc_xo1_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen, void *arg) olpc_xo1_ec_cmd() argument
/kernel/linux/linux-5.10/drivers/crypto/ux500/cryp/
H A Dcryp_core.c71 * @outlen: Length of outdata.
85 u32 outlen; member
203 dev_dbg(ctx->device->dev, "[%s] (len: %d) %s, ", __func__, ctx->outlen, in cryp_interrupt_handler()
209 if (ctx->outlen / ctx->blocksize > 0) { in cryp_interrupt_handler()
214 ctx->outlen -= count; in cryp_interrupt_handler()
216 if (ctx->outlen == 0) { in cryp_interrupt_handler()
753 u32 outlen = datalen; in hw_crypt_noxts() local
757 ctx->outlen = ctx->datalen; in hw_crypt_noxts()
775 * ctx->outlen is decremented in the cryp_interrupt_handler in hw_crypt_noxts()
779 while (ctx->outlen > in hw_crypt_noxts()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c213 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_mtu() local
217 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_mtu()
424 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_system_image_guid() local
427 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_system_image_guid()
446 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_node_guid() local
448 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_node_guid()
500 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_qkey_viol_cntr() local
502 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_qkey_viol_cntr()
771 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_promisc() local
774 out = kvzalloc(outlen, GFP_KERNE in mlx5_query_nic_vport_promisc()
873 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); mlx5_nic_vport_query_local_lb() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Def100_nic.c97 size_t outlen) in ef100_mcdi_read_response()
101 memcpy(outbuf, pdu + offset, outlen); in ef100_mcdi_read_response()
138 size_t outlen; in ef100_get_mac_address() local
146 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in ef100_get_mac_address()
150 if (outlen >= MC_CMD_GET_CLIENT_MAC_ADDRESSES_OUT_LEN(1)) { in ef100_get_mac_address()
169 size_t outlen; in efx_ef100_init_datapath_caps() local
175 outbuf, sizeof(outbuf), &outlen); in efx_ef100_init_datapath_caps()
178 if (outlen < MC_CMD_GET_CAPABILITIES_V4_OUT_LEN) { in efx_ef100_init_datapath_caps()
188 if (outlen < MC_CMD_GET_CAPABILITIES_V7_OUT_LEN) in efx_ef100_init_datapath_caps()
1136 size_t outlen; in efx_ef100_lookup_client_id() local
95 ef100_mcdi_read_response(struct efx_nic *efx, efx_dword_t *outbuf, size_t offset, size_t outlen) ef100_mcdi_read_response() argument
[all...]
H A Dmcdi_filters.c252 size_t outlen; in efx_mcdi_filter_push() local
257 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_filter_push()
260 outbuf, outlen, rc); in efx_mcdi_filter_push()
1260 size_t outlen; in efx_mcdi_filter_table_probe_matches() local
1270 &outlen); in efx_mcdi_filter_table_probe_matches()
1275 outlen, GET_PARSER_DISP_INFO_OUT_SUPPORTED_MATCHES); in efx_mcdi_filter_table_probe_matches()
1886 size_t outlen; in efx_mcdi_get_rss_context_flags() local
1895 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_rss_context_flags()
1897 if (outlen < MC_CMD_RSS_CONTEXT_GET_FLAGS_OUT_LEN) in efx_mcdi_get_rss_context_flags()
1939 size_t outlen; in efx_mcdi_filter_alloc_rss_context() local
2139 size_t outlen; efx_mcdi_rx_pull_rss_context_config() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dmcdi_filters.c249 size_t outlen; in efx_mcdi_filter_push() local
254 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_filter_push()
257 outbuf, outlen, rc); in efx_mcdi_filter_push()
1256 size_t outlen; in efx_mcdi_filter_table_probe_matches() local
1266 &outlen); in efx_mcdi_filter_table_probe_matches()
1271 outlen, GET_PARSER_DISP_INFO_OUT_SUPPORTED_MATCHES); in efx_mcdi_filter_table_probe_matches()
1882 size_t outlen; in efx_mcdi_get_rss_context_flags() local
1891 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_rss_context_flags()
1893 if (outlen < MC_CMD_RSS_CONTEXT_GET_FLAGS_OUT_LEN) in efx_mcdi_get_rss_context_flags()
1935 size_t outlen; in efx_mcdi_filter_alloc_rss_context() local
2135 size_t outlen; efx_mcdi_rx_pull_rss_context_config() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
H A Dcq.c231 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_create_cq()
249 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_create_cq()
398 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_resize_cq()
412 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_resize_cq()
483 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_resize_cq()
/kernel/linux/linux-5.10/drivers/platform/olpc/
H A Dolpc-ec.c24 size_t inlen, outlen; member
99 desc->outbuf, desc->outlen, ec_cb_arg); in olpc_ec_worker()
127 int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) in olpc_ec_cmd() argument
152 desc.outlen = outlen; in olpc_ec_cmd()
/kernel/linux/linux-6.6/drivers/platform/olpc/
H A Dolpc-ec.c24 size_t inlen, outlen; member
98 desc->outbuf, desc->outlen, ec_cb_arg); in olpc_ec_worker()
126 int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) in olpc_ec_cmd() argument
151 desc.outlen = outlen; in olpc_ec_cmd()
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/
H A Dcq.c189 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_create_cq()
207 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_create_cq()
356 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_resize_cq()
370 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_resize_cq()
441 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_resize_cq()
/kernel/linux/linux-5.10/drivers/crypto/nx/
H A Dnx-common-powernv.c392 unsigned char *out, unsigned int outlen, in nx842_config_crb()
413 out, outlen, false); in nx842_config_crb()
432 * Upon return from this function @outlen contains the length of the
433 * output data. If there is an error then @outlen will be 0 and an
465 unsigned int outlen = *outlenp; in nx842_exec_icswx() local
477 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_icswx()
534 * Upon return from this function @outlen contains the length of the
535 * output data. If there is an error then @outlen will be 0 and an
569 unsigned int outlen = *outlenp; in nx842_exec_vas() local
578 ret = nx842_config_crb(in, inlen, out, outlen, wme in nx842_exec_vas()
391 nx842_config_crb(const unsigned char *in, unsigned int inlen, unsigned char *out, unsigned int outlen, struct nx842_workmem *wmem) nx842_config_crb() argument
[all...]
/kernel/linux/linux-5.10/net/9p/
H A Dtrans_virtio.c382 * @outlen: write buffer size
389 int inlen, int outlen, int in_hdr_len) in p9_virtio_zc_request()
406 outlen, &offs, &need_drop); in p9_virtio_zc_request()
412 if (n != outlen) { in p9_virtio_zc_request()
415 outlen = n; in p9_virtio_zc_request()
421 sz = cpu_to_le32(req->tc.size + outlen); in p9_virtio_zc_request()
453 out_pages, out_nr_pages, offs, outlen); in p9_virtio_zc_request()
387 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
/kernel/linux/linux-6.6/net/9p/
H A Dtrans_virtio.c416 * @outlen: write buffer size
423 int inlen, int outlen, int in_hdr_len) in p9_virtio_zc_request()
440 outlen, &offs, &need_drop); in p9_virtio_zc_request()
446 if (n != outlen) { in p9_virtio_zc_request()
449 outlen = n; in p9_virtio_zc_request()
455 sz = cpu_to_le32(req->tc.size + outlen); in p9_virtio_zc_request()
487 out_pages, out_nr_pages, offs, outlen); in p9_virtio_zc_request()
421 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
/kernel/linux/linux-5.10/include/linux/
H A Dblackbox_storage.h12 int (*storage_log)(void *out, unsigned int outlen);

Completed in 24 milliseconds

12345678910>>...12