/Linux-v5.4/drivers/crypto/qat/qat_common/ |
D | qat_crypto.c | 247 int msg_size; in qat_crypto_create_instances() local 293 msg_size = ICP_QAT_FW_REQ_DEFAULT_SZ; in qat_crypto_create_instances() 296 msg_size, key, NULL, 0, &inst->sym_tx)) in qat_crypto_create_instances() 299 msg_size = msg_size >> 1; in qat_crypto_create_instances() 302 msg_size, key, NULL, 0, &inst->pke_tx)) in qat_crypto_create_instances() 305 msg_size = ICP_QAT_FW_RESP_DEFAULT_SZ; in qat_crypto_create_instances() 308 msg_size, key, qat_alg_callback, 0, in qat_crypto_create_instances() 314 msg_size, key, qat_alg_asym_callback, 0, in qat_crypto_create_instances()
|
D | adf_transport.c | 69 static int adf_verify_ring_size(uint32_t msg_size, uint32_t msg_num) in adf_verify_ring_size() argument 74 if ((msg_size * msg_num) == ADF_SIZE_TO_RING_SIZE_IN_BYTES(i)) in adf_verify_ring_size() 120 ADF_MAX_INFLIGHTS(ring->ring_size, ring->msg_size)) { in adf_send_message() 126 ADF_MSG_SIZE_TO_BYTES(ring->msg_size)); in adf_send_message() 129 ADF_MSG_SIZE_TO_BYTES(ring->msg_size), in adf_send_message() 147 ADF_MSG_SIZE_TO_BYTES(ring->msg_size), in adf_handle_response() 232 uint32_t msg_size, const char *ring_name, in adf_create_ring() argument 247 if (msg_size > ADF_MSG_SIZE_TO_BYTES(ADF_MAX_MSG_SIZE)) { in adf_create_ring() 251 if (ADF_MAX_INFLIGHTS(adf_verify_ring_size(msg_size, num_msgs), in adf_create_ring() 252 ADF_BYTES_TO_MSG_SIZE(msg_size)) < 2) { in adf_create_ring() [all …]
|
D | adf_transport_debug.c | 66 ADF_MSG_SIZE_TO_BYTES(ring->msg_size))) in adf_ring_start() 70 (ADF_MSG_SIZE_TO_BYTES(ring->msg_size) * (*pos)++); in adf_ring_start() 78 ADF_MSG_SIZE_TO_BYTES(ring->msg_size))) in adf_ring_next() 82 (ADF_MSG_SIZE_TO_BYTES(ring->msg_size) * (*pos)++); in adf_ring_next() 110 ADF_MSG_SIZE_TO_BYTES(ring->msg_size)); in adf_ring_show() 115 v, ADF_MSG_SIZE_TO_BYTES(ring->msg_size), false); in adf_ring_show()
|
D | adf_transport.h | 57 uint32_t bank_num, uint32_t num_mgs, uint32_t msg_size,
|
/Linux-v5.4/sound/pci/asihpi/ |
D | hpimsginit.c | 18 static u16 msg_size[HPI_OBJ_MAXINDEX + 1] = HPI_MESSAGE_SIZE_BY_OBJECT; variable 34 size = msg_size[object]; in hpi_init_message() 114 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size, in hpi_init_message_responseV1() argument 118 hpi_init_messageV1(phm, msg_size, object, function); in hpi_init_message_responseV1()
|
D | hpioctl.c | 100 u16 msg_size; in asihpi_hpi_ioctl() local 125 if (get_user(msg_size, (u16 __user *)puhm)) { in asihpi_hpi_ioctl() 129 if (msg_size > sizeof(*hm)) in asihpi_hpi_ioctl() 130 msg_size = sizeof(*hm); in asihpi_hpi_ioctl() 134 uncopied_bytes = copy_from_user(hm, puhm, msg_size); in asihpi_hpi_ioctl() 142 hm->h.size = msg_size; in asihpi_hpi_ioctl()
|
D | hpimsginit.h | 31 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size,
|
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 29 mdev->msg_size = 0; in otx2_mbox_reset() 173 mdev->msg_size = 0; in otx2_mbox_msg_send() 206 if ((mdev->msg_size + size) > mbox->tx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp() 211 if (mdev->msg_size == 0) in otx2_mbox_alloc_msg_rsp() 215 msghdr = mdev->mbase + mbox->tx_start + msgs_offset + mdev->msg_size; in otx2_mbox_alloc_msg_rsp() 221 mdev->msg_size += size; in otx2_mbox_alloc_msg_rsp() 223 msghdr->next_msgoff = mdev->msg_size + msgs_offset; in otx2_mbox_alloc_msg_rsp()
|
/Linux-v5.4/drivers/net/can/peak_canfd/ |
D | peak_canfd.c | 435 int msg_size = le16_to_cpu(msg->size); in peak_canfd_handle_msg() local 438 if (!msg_size || !msg_type) { in peak_canfd_handle_msg() 464 return msg_size; in peak_canfd_handle_msg() 472 int i, msg_size = 0; in peak_canfd_handle_msgs_list() local 475 msg_size = peak_canfd_handle_msg(priv, msg_ptr); in peak_canfd_handle_msgs_list() 478 if (msg_size <= 0) in peak_canfd_handle_msgs_list() 481 msg_ptr += ALIGN(msg_size, 4); in peak_canfd_handle_msgs_list() 484 if (msg_size < 0) in peak_canfd_handle_msgs_list() 485 return msg_size; in peak_canfd_handle_msgs_list() 633 u16 msg_size, msg_flags; in peak_canfd_start_xmit() local [all …]
|
D | peak_canfd_user.h | 35 void *(*alloc_tx_msg)(struct peak_canfd_priv *priv, u16 msg_size,
|
/Linux-v5.4/drivers/staging/vc04_services/interface/vchi/ |
D | vchi.h | 135 uint32_t *msg_size, 147 uint32_t *msg_size, // } obtained from HELD_MSG_T 181 uint32_t *msg_size); 195 uint32_t *msg_size, // }
|
/Linux-v5.4/fs/ecryptfs/ |
D | miscdev.c | 162 msg_ctx->msg_size = (sizeof(*msg_ctx->msg) + data_size); in ecryptfs_send_miscdev() 261 msg_ctx->msg_size, in ecryptfs_miscdev_read() 271 msg_ctx->msg_size = 0; in ecryptfs_miscdev_read() 274 + msg_ctx->msg_size); in ecryptfs_miscdev_read() 293 if (copy_to_user(&buf[i], msg_ctx->msg, msg_ctx->msg_size)) in ecryptfs_miscdev_read() 295 i += msg_ctx->msg_size; in ecryptfs_miscdev_read()
|
D | messaging.c | 209 size_t msg_size; in ecryptfs_process_response() local 234 msg_size = (sizeof(*msg) + msg->data_len); in ecryptfs_process_response() 235 msg_ctx->msg = kmemdup(msg, msg_size, GFP_KERNEL); in ecryptfs_process_response()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 901 __le16 encap_resp_cpr, u32 msg_size) in bnxt_hwrm_fwd_resp() argument 906 if (BNXT_FWD_RESP_SIZE_ERR(msg_size)) in bnxt_hwrm_fwd_resp() 914 req.encap_resp_len = cpu_to_le16(msg_size); in bnxt_hwrm_fwd_resp() 917 memcpy(req.encap_resp, encap_resp, msg_size); in bnxt_hwrm_fwd_resp() 926 u32 msg_size) in bnxt_hwrm_fwd_err_resp() argument 931 if (BNXT_REJ_FWD_RESP_SIZE_ERR(msg_size)) in bnxt_hwrm_fwd_err_resp() 938 memcpy(req.encap_request, vf->hwrm_cmd_req_addr, msg_size); in bnxt_hwrm_fwd_err_resp() 947 u32 msg_size) in bnxt_hwrm_exec_fwd_resp() argument 952 if (BNXT_EXEC_FWD_RESP_SIZE_ERR(msg_size)) in bnxt_hwrm_exec_fwd_resp() 959 memcpy(req.encap_request, vf->hwrm_cmd_req_addr, msg_size); in bnxt_hwrm_exec_fwd_resp() [all …]
|
/Linux-v5.4/fs/quota/ |
D | netlink.c | 44 int msg_size = 4 * nla_total_size(sizeof(u32)) + in quota_send_warning() local 50 skb = genlmsg_new(msg_size, GFP_NOFS); in quota_send_warning()
|
/Linux-v5.4/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.h | 38 (_cmd)->msg_size = (_msg_size); \ 50 size_t msg_size; member
|
/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | opal-prd.c | 342 int msg_size, item_size; in opal_prd_msg_notifier() local 351 msg_size = be16_to_cpu(hdr->size); in opal_prd_msg_notifier() 352 item_size = msg_size + sizeof(*item) - sizeof(item->msg); in opal_prd_msg_notifier() 358 memcpy(&item->msg, msg->params, msg_size); in opal_prd_msg_notifier()
|
/Linux-v5.4/drivers/staging/isdn/hysdn/ |
D | boardergo.c | 327 int msg_size; in ergo_waitpofready() local 345 msg_size = dpr->ToPcSize - RDY_MAGIC_SIZE; in ergo_waitpofready() 346 if (msg_size > 0) in ergo_waitpofready() 347 if (EvalSysrTokData(card, dpr->ToPcBuf + RDY_MAGIC_SIZE, msg_size)) in ergo_waitpofready()
|
/Linux-v5.4/net/wimax/ |
D | op-msg.c | 112 size_t msg_size; in wimax_msg_alloc() local 116 msg_size = nla_total_size(size) in wimax_msg_alloc() 120 skb = genlmsg_new(msg_size, gfp_flags); in wimax_msg_alloc()
|
/Linux-v5.4/drivers/misc/sgi-xp/ |
D | xpc_uv.c | 337 size_t msg_size) in xpc_send_gru_msg() argument 343 ret = gru_send_message_gpa(gru_mq_desc, msg, msg_size); in xpc_send_gru_msg() 676 xpc_send_activate_IRQ_uv(struct xpc_partition *part, void *msg, size_t msg_size, in xpc_send_activate_IRQ_uv() argument 685 DBUG_ON(msg_size > XPC_ACTIVATE_MSG_SIZE_UV); in xpc_send_activate_IRQ_uv() 720 msg_size); in xpc_send_activate_IRQ_uv() 733 size_t msg_size, int msg_type) in xpc_send_activate_IRQ_part_uv() argument 737 ret = xpc_send_activate_IRQ_uv(part, msg, msg_size, msg_type); in xpc_send_activate_IRQ_part_uv() 744 void *msg, size_t msg_size, int msg_type) in xpc_send_activate_IRQ_ch_uv() argument 749 ret = xpc_send_activate_IRQ_uv(part, msg, msg_size, msg_type); in xpc_send_activate_IRQ_ch_uv() 1542 size_t msg_size; in xpc_send_payload_uv() local [all …]
|
/Linux-v5.4/net/tipc/ |
D | msg.c | 234 msz = msg_size(hdr); in tipc_msg_validate() 270 dsz = msg_size(buf_msg(skb)); in tipc_msg_fragment() 433 unsigned int msz = msg_size(msg); in tipc_msg_bundle() 442 bsz = msg_size(bmsg); in tipc_msg_bundle() 490 imsz = msg_size(ihdr); in tipc_msg_extract() 526 u32 msz = msg_size(msg); in tipc_msg_make_bundle()
|
/Linux-v5.4/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_shim.c | 41 uint32_t *msg_size, in vchi_msg_peek() argument 57 *msg_size = header->size; in vchi_msg_peek() 399 uint32_t *msg_size, in vchi_msg_hold() argument 416 *msg_size = header->size; in vchi_msg_hold()
|
/Linux-v5.4/drivers/s390/char/ |
D | sclp_rw.c | 97 int msg_size; in sclp_initialize_mto() local 100 msg_size = sizeof(struct msg_buf) + max_len; in sclp_initialize_mto() 104 if ((MAX_SCCB_ROOM - sccb->length) < msg_size) in sclp_initialize_mto()
|
/Linux-v5.4/drivers/media/platform/qcom/venus/ |
D | hfi_msgs.h | 254 u32 msg_size; member 262 u32 msg_size; member
|
/Linux-v5.4/drivers/net/wimax/i2400m/ |
D | control.c | 600 size_t msg_size) in i2400m_msg_size_check() argument 606 i2400m, l3l4_hdr, msg_size); in i2400m_msg_size_check() 607 if (msg_size < sizeof(*l3l4_hdr)) { in i2400m_msg_size_check() 610 (size_t) sizeof(*l3l4_hdr), msg_size); in i2400m_msg_size_check() 615 if (msg_size < expected_size) { in i2400m_msg_size_check() 618 expected_size, msg_size); in i2400m_msg_size_check() 625 i2400m, l3l4_hdr, msg_size, result); in i2400m_msg_size_check()
|