/drivers/infiniband/hw/amso1100/ |
D | c2_mq.c | 46 (struct c2wr_hdr *) (q->msg_pool.host + q->priv * q->msg_size); in c2_mq_alloc() 53 return q->msg_pool.host + q->priv * q->msg_size; in c2_mq_alloc() 81 (q->msg_pool.host + q->priv * q->msg_size); in c2_mq_consume() 87 return q->msg_pool.host + q->priv * q->msg_size; in c2_mq_consume() 102 (q->msg_pool.adapter + q->priv * q->msg_size); in c2_mq_free() 141 void c2_mq_req_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, in c2_mq_req_init() argument 149 q->msg_size = msg_size; in c2_mq_req_init() 158 void c2_mq_rep_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, in c2_mq_rep_init() argument 166 q->msg_size = msg_size; in c2_mq_rep_init()
|
D | c2_qp.c | 425 u32 q_size, msg_size, mmap_size; in c2_alloc_qp() local 516 msg_size = be32_to_cpu(reply->sq_msg_size); in c2_alloc_qp() 518 mmap_size = PAGE_ALIGN(sizeof(struct c2_mq_shared) + msg_size * q_size); in c2_alloc_qp() 528 msg_size, in c2_alloc_qp() 535 msg_size = be32_to_cpu(reply->rq_msg_size); in c2_alloc_qp() 537 mmap_size = PAGE_ALIGN(sizeof(struct c2_mq_shared) + msg_size * q_size); in c2_alloc_qp() 547 msg_size, in c2_alloc_qp() 802 u32 msg_size; in c2_post_send() local 835 msg_size = sizeof(struct c2wr_send_req) + in c2_post_send() 853 msg_size = sizeof(struct c2wr_rdma_write_req) + in c2_post_send() [all …]
|
D | c2_cq.c | 99 (q->msg_pool.host + priv * q->msg_size); in c2_cq_clean() 259 dma_free_coherent(&c2dev->pcidev->dev, mq->q_size * mq->msg_size, in c2_free_cq_buf() 264 int msg_size) in c2_alloc_cq_buf() argument 268 pool_start = dma_alloc_coherent(&c2dev->pcidev->dev, q_size * msg_size, in c2_alloc_cq_buf() 276 msg_size, in c2_alloc_cq_buf() 321 wr.msg_size = cpu_to_be32(cq->mq.msg_size); in c2_init_cq()
|
D | c2_mq.h | 81 u32 msg_size; member 101 extern void c2_mq_req_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, 103 extern void c2_mq_rep_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size,
|
D | c2_mm.c | 72 pbe_count = (c2dev->req_vq.msg_size - in send_pbl_messages() 74 wr = kmalloc(c2dev->req_vq.msg_size, GFP_KERNEL); in send_pbl_messages() 203 wr = kmalloc(c2dev->req_vq.msg_size, GFP_KERNEL); in c2_nsmr_register_phys_kern() 221 pbe_count = (c2dev->req_vq.msg_size - in c2_nsmr_register_phys_kern()
|
D | c2_rnic.c | 225 wr = kmalloc(c2dev->req_vq.msg_size, GFP_KERNEL); in c2_add_addr() 287 wr = kmalloc(c2dev->req_vq.msg_size, GFP_KERNEL); in c2_del_addr() 597 c2dev->aeq.q_size * c2dev->aeq.msg_size, in c2_rnic_init() 601 c2dev->rep_vq.q_size * c2dev->rep_vq.msg_size, in c2_rnic_init() 637 c2dev->aeq.q_size * c2dev->aeq.msg_size, in c2_rnic_term() 643 c2dev->rep_vq.q_size * c2dev->rep_vq.msg_size, in c2_rnic_term()
|
D | c2_vq.c | 87 kmem_cache_create(c2dev->vq_cache_name, c2dev->rep_vq.msg_size, 0, in vq_init() 226 memcpy(msg, wr, c2dev->req_vq.msg_size); in vq_send_wr()
|
D | c2_cm.c | 77 wr = kmalloc(c2dev->req_vq.msg_size, GFP_KERNEL); in c2_llp_connect() 313 wr = kmalloc(c2dev->req_vq.msg_size, GFP_KERNEL); in c2_llp_accept()
|
D | c2_intr.c | 154 memcpy(host_msg, adapter_msg, reply_vq->msg_size); in handle_vq()
|
D | c2_wr.h | 448 __be32 msg_size; member 547 u32 msg_size; member
|
/drivers/misc/sgi-xp/ |
D | xpc_uv.c | 334 size_t msg_size) in xpc_send_gru_msg() argument 340 ret = gru_send_message_gpa(gru_mq_desc, msg, msg_size); in xpc_send_gru_msg() 672 xpc_send_activate_IRQ_uv(struct xpc_partition *part, void *msg, size_t msg_size, in xpc_send_activate_IRQ_uv() argument 681 DBUG_ON(msg_size > XPC_ACTIVATE_MSG_SIZE_UV); in xpc_send_activate_IRQ_uv() 716 msg_size); in xpc_send_activate_IRQ_uv() 729 size_t msg_size, int msg_type) in xpc_send_activate_IRQ_part_uv() argument 733 ret = xpc_send_activate_IRQ_uv(part, msg, msg_size, msg_type); in xpc_send_activate_IRQ_part_uv() 740 void *msg, size_t msg_size, int msg_type) in xpc_send_activate_IRQ_ch_uv() argument 745 ret = xpc_send_activate_IRQ_uv(part, msg, msg_size, msg_type); in xpc_send_activate_IRQ_ch_uv() 1538 size_t msg_size; in xpc_send_payload_uv() local [all …]
|
D | xpnet.c | 381 u16 msg_size = sizeof(struct xpnet_message); in xpnet_send() local 391 msg_size += embedded_bytes - 1; in xpnet_send() 410 msg_size, xpnet_send_completed, queued_msg); in xpnet_send()
|
/drivers/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()
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.h | 45 (_cmd)->msg_size = (_msg_size); \ 57 size_t msg_size; member
|
D | bfa_msgq.c | 210 size_t len = cmd->msg_size; in __cmd_copy()
|
/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()
|
/drivers/block/ |
D | sx8.c | 448 static inline int carm_lookup_bucket(u32 msg_size) in carm_lookup_bucket() argument 453 if (msg_size <= msg_sizes[i]) in carm_lookup_bucket() 643 unsigned int idx, msg_size; in carm_send_special() local 654 msg_size = func(host, idx, mem); in carm_send_special() 659 rc = carm_lookup_bucket(msg_size); in carm_send_special() 847 unsigned int msg_size; in carm_rq_fn() local 913 msg_size = sizeof(struct carm_msg_rw) - sizeof(msg->sg); in carm_rq_fn() 918 msg_size += sizeof(struct carm_msg_sg); in carm_rq_fn() 921 rc = carm_lookup_bucket(msg_size); in carm_rq_fn()
|
/drivers/misc/vmw_vmci/ |
D | vmci_guest.c | 170 u32 msg_size = sizeof(struct vmci_resource_query_hdr) + in vmci_check_host_caps() local 174 check_msg = kmalloc(msg_size, GFP_KERNEL); in vmci_check_host_caps() 183 check_msg->payload_size = msg_size - VMCI_DG_HEADERSIZE; in vmci_check_host_caps()
|
D | vmci_queue_pair.c | 1030 size_t msg_size; in qp_alloc_hypercall() local 1036 msg_size = sizeof(*alloc_msg) + in qp_alloc_hypercall() 1038 alloc_msg = kmalloc(msg_size, GFP_KERNEL); in qp_alloc_hypercall() 1045 alloc_msg->hdr.payload_size = msg_size - VMCI_DG_HEADERSIZE; in qp_alloc_hypercall()
|
/drivers/usb/host/whci/ |
D | int.c | 78 dn->msg_size); in process_dn_buf()
|
D | whci-hc.h | 300 __u8 msg_size; /*< number of octets of valid DN data */ member
|
/drivers/rapidio/devices/ |
D | tsi721.c | 2075 int msg_size; in tsi721_get_inb_message() local 2099 msg_size = le32_to_cpu(desc->msg_info) & TSI721_IMD_BCOUNT; in tsi721_get_inb_message() 2100 if (msg_size == 0) in tsi721_get_inb_message() 2101 msg_size = RIO_MAX_MSG_SIZE; in tsi721_get_inb_message() 2103 memcpy(buf, rx_virt, msg_size); in tsi721_get_inb_message()
|