/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | agent.c | 87 struct ib_mad_send_buf *send_buf; in agent_send_response() local 112 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0, in agent_send_response() 117 if (IS_ERR(send_buf)) { in agent_send_response() 122 memcpy(send_buf->mad, mad_hdr, resp_mad_len); in agent_send_response() 123 send_buf->ah = ah; in agent_send_response() 126 mad_send_wr = container_of(send_buf, in agent_send_response() 128 send_buf); in agent_send_response() 132 if (ib_post_send_mad(send_buf, NULL)) { in agent_send_response() 138 ib_free_send_mad(send_buf); in agent_send_response() 146 rdma_destroy_ah(mad_send_wc->send_buf->ah, RDMA_DESTROY_AH_SLEEPABLE); in agent_send_handler() [all …]
|
D | mad_rmpp.c | 206 if (mad_send_wc->send_buf->context[0] == mad_send_wc->send_buf->ah) in ib_rmpp_send_handler() 207 rdma_destroy_ah(mad_send_wc->send_buf->ah, in ib_rmpp_send_handler() 209 ib_free_send_mad(mad_send_wc->send_buf); in ib_rmpp_send_handler() 573 rmpp_mad = mad_send_wr->send_buf.mad; in send_next_seg() 579 paylen = (mad_send_wr->send_buf.seg_count * in send_next_seg() 580 mad_send_wr->send_buf.seg_rmpp_size) - in send_next_seg() 584 if (mad_send_wr->seg_num == mad_send_wr->send_buf.seg_count) { in send_next_seg() 586 paylen = mad_send_wr->send_buf.seg_rmpp_size - mad_send_wr->pad; in send_next_seg() 591 timeout = mad_send_wr->send_buf.timeout_ms; in send_next_seg() 610 if ((mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) || in abort_send() [all …]
|
D | mad.c | 603 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp() 700 mad_wc.byte_len = mad_send_wr->send_buf.hdr_len in handle_outgoing_dr_smp() 701 + mad_send_wr->send_buf.data_len in handle_outgoing_dr_smp() 798 struct ib_mad_send_buf *send_buf = &send_wr->send_buf; in alloc_send_rmpp_list() local 799 struct ib_rmpp_mad *rmpp_mad = send_buf->mad; in alloc_send_rmpp_list() 803 send_buf->seg_size = mad_size - send_buf->hdr_len; in alloc_send_rmpp_list() 804 send_buf->seg_rmpp_size = mad_size - IB_MGMT_RMPP_HDR; in alloc_send_rmpp_list() 805 seg_size = send_buf->seg_size; in alloc_send_rmpp_list() 809 for (left = send_buf->data_len + pad; left > 0; left -= seg_size) { in alloc_send_rmpp_list() 815 seg->num = ++send_buf->seg_count; in alloc_send_rmpp_list() [all …]
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | ath3k.c | 208 u8 *send_buf; in ath3k_load_firmware() local 215 send_buf = kmalloc(BULK_SIZE, GFP_KERNEL); in ath3k_load_firmware() 216 if (!send_buf) { in ath3k_load_firmware() 238 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_firmware() 240 err = usb_bulk_msg(udev, pipe, send_buf, size, in ath3k_load_firmware() 253 kfree(send_buf); in ath3k_load_firmware() 277 u8 *send_buf; in ath3k_load_fwfile() local 284 send_buf = kmalloc(BULK_SIZE, GFP_KERNEL); in ath3k_load_fwfile() 285 if (!send_buf) { in ath3k_load_fwfile() 297 kfree(send_buf); in ath3k_load_fwfile() [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | ib_mad.h | 65 __entry->length = wr->send_buf.hdr_len + 66 wr->send_buf.data_len; 68 ((struct ib_mad_hdr *)wr->send_buf.mad)->base_version; 70 ((struct ib_mad_hdr *)wr->send_buf.mad)->mgmt_class; 72 ((struct ib_mad_hdr *)wr->send_buf.mad)->class_version; 74 ((struct ib_mad_hdr *)wr->send_buf.mad)->method; 76 ((struct ib_mad_hdr *)wr->send_buf.mad)->status; 78 ((struct ib_mad_hdr *)wr->send_buf.mad)->class_specific; 79 __entry->tid = ((struct ib_mad_hdr *)wr->send_buf.mad)->tid; 81 ((struct ib_mad_hdr *)wr->send_buf.mad)->attr_id; [all …]
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | hmdfs_client.h | 92 int hmdfs_send_open(struct hmdfs_peer *con, const char *send_buf, 100 int hmdfs_send_setattr(struct hmdfs_peer *con, const char *send_buf, 102 int hmdfs_send_getattr(struct hmdfs_peer *con, const char *send_buf, 110 int hmdfs_send_getxattr(struct hmdfs_peer *con, const char *send_buf, 112 int hmdfs_send_setxattr(struct hmdfs_peer *con, const char *send_buf, 115 ssize_t hmdfs_send_listxattr(struct hmdfs_peer *con, const char *send_buf,
|
D | inode_remote.c | 872 char *send_buf = NULL; in hmdfs_setattr_remote() local 878 send_buf = hmdfs_get_dentry_relative_path(dentry); in hmdfs_setattr_remote() 879 if (!send_buf) { in hmdfs_setattr_remote() 900 err = hmdfs_send_setattr(conn, send_buf, &send_setattr_info); in hmdfs_setattr_remote() 903 kfree(send_buf); in hmdfs_setattr_remote() 911 char *send_buf = NULL; in hmdfs_remote_getattr() local 922 send_buf = hmdfs_get_dentry_relative_path(dentry); in hmdfs_remote_getattr() 923 if (!send_buf) { in hmdfs_remote_getattr() 928 err = hmdfs_send_getattr(conn, send_buf, lookup_flags, attr); in hmdfs_remote_getattr() 929 kfree(send_buf); in hmdfs_remote_getattr() [all …]
|
D | hmdfs_client.c | 32 int hmdfs_send_open(struct hmdfs_peer *con, const char *send_buf, in hmdfs_send_open() argument 36 int path_len = strlen(send_buf); in hmdfs_send_open() 52 strcpy(open_req->buf, send_buf); in hmdfs_send_open() 649 int hmdfs_send_setattr(struct hmdfs_peer *con, const char *send_buf, in hmdfs_send_setattr() argument 653 int path_len = strlen(send_buf); in hmdfs_send_setattr() 665 strcpy(setattr_req->buf, send_buf); in hmdfs_send_setattr() 706 int hmdfs_send_getattr(struct hmdfs_peer *con, const char *send_buf, in hmdfs_send_getattr() argument 710 int path_len = strlen(send_buf); in hmdfs_send_getattr() 725 strncpy(req->buf, send_buf, path_len); in hmdfs_send_getattr() 841 int hmdfs_send_getxattr(struct hmdfs_peer *con, const char *send_buf, in hmdfs_send_getxattr() argument [all …]
|
D | main.c | 85 char *send_buf = NULL; in hmdfs_xattr_remote_get() local 88 send_buf = hmdfs_get_dentry_relative_path(dentry); in hmdfs_xattr_remote_get() 89 if (!send_buf) in hmdfs_xattr_remote_get() 92 res = hmdfs_send_getxattr(conn, send_buf, name, value, size); in hmdfs_xattr_remote_get() 93 kfree(send_buf); in hmdfs_xattr_remote_get() 152 char *send_buf = NULL; in hmdfs_xattr_remote_set() local 155 send_buf = hmdfs_get_dentry_relative_path(dentry); in hmdfs_xattr_remote_set() 156 if (!send_buf) in hmdfs_xattr_remote_set() 159 res = hmdfs_send_setxattr(conn, send_buf, name, value, size, flags); in hmdfs_xattr_remote_set() 160 kfree(send_buf); in hmdfs_xattr_remote_set()
|
D | file_remote.c | 163 char *send_buf; in hmdfs_do_open_remote() local 166 send_buf = hmdfs_get_dentry_relative_path(file->f_path.dentry); in hmdfs_do_open_remote() 167 if (!send_buf) { in hmdfs_do_open_remote() 171 err = hmdfs_send_open(conn, send_buf, file_type, &open_ret); in hmdfs_do_open_remote() 180 kfree(send_buf); in hmdfs_do_open_remote()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 169 struct ib_mad_send_buf *send_buf; in forward_trap() local 175 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap() 178 if (IS_ERR(send_buf)) in forward_trap() 187 memcpy(send_buf->mad, mad, sizeof *mad); in forward_trap() 188 if ((send_buf->ah = dev->sm_ah[port_num - 1])) in forward_trap() 189 ret = ib_post_send_mad(send_buf, NULL); in forward_trap() 195 ib_free_send_mad(send_buf); in forward_trap() 280 ib_free_send_mad(mad_send_wc->send_buf); in send_handler()
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
D | hyperv_transport.c | 229 struct hvs_send_buf *send_buf, size_t to_write) in hvs_send_data() argument 231 send_buf->hdr.pkt_type = 1; in hvs_send_data() 232 send_buf->hdr.data_size = to_write; in hvs_send_data() 233 return vmbus_sendpacket(chan, &send_buf->hdr, in hvs_send_data() 234 sizeof(send_buf->hdr) + to_write, in hvs_send_data() 631 struct hvs_send_buf *send_buf; in hvs_stream_enqueue() local 636 BUILD_BUG_ON(sizeof(*send_buf) != HV_HYP_PAGE_SIZE); in hvs_stream_enqueue() 638 send_buf = kmalloc(sizeof(*send_buf), GFP_KERNEL); in hvs_stream_enqueue() 639 if (!send_buf) in hvs_stream_enqueue() 655 ret = memcpy_from_msg(send_buf->data, msg, to_write); in hvs_stream_enqueue() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-orion5x/ |
D | terastation_pro2-setup.c | 202 unsigned char send_buf[40]; in tsp2_miconsend() local 221 memset(&send_buf, 0xff, sizeof(send_buf)); in tsp2_miconsend() 222 tsp2_miconwrite(send_buf, sizeof(send_buf)); in tsp2_miconsend()
|
D | kurobox_pro-setup.c | 227 unsigned char send_buf[40]; in kurobox_pro_miconsend() local 246 memset(&send_buf, 0xff, sizeof(send_buf)); in kurobox_pro_miconsend() 247 kurobox_pro_miconwrite(send_buf, sizeof(send_buf)); in kurobox_pro_miconsend()
|
/kernel/linux/linux-5.10/drivers/uio/ |
D | uio_hv_generic.c | 64 void *send_buf; member 185 vfree(pdata->send_buf); in hv_uio_cleanup() 313 pdata->send_buf = vzalloc(SEND_BUFFER_SIZE); in hv_uio_probe() 314 if (pdata->send_buf == NULL) { in hv_uio_probe() 319 ret = vmbus_establish_gpadl(channel, pdata->send_buf, in hv_uio_probe() 322 vfree(pdata->send_buf); in hv_uio_probe() 330 = (uintptr_t)pdata->send_buf; in hv_uio_probe()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_mad.h | 546 struct ib_mad_send_buf *send_buf, 590 struct ib_mad_send_buf *send_buf; member 707 int ib_post_send_mad(struct ib_mad_send_buf *send_buf, 729 struct ib_mad_send_buf *send_buf); 741 struct ib_mad_send_buf *send_buf, u32 timeout_ms); 804 void *ib_get_rmpp_segment(struct ib_mad_send_buf *send_buf, int seg_num); 810 void ib_free_send_mad(struct ib_mad_send_buf *send_buf);
|
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/ |
D | client-buffers.c | 73 tx_buf->send_buf.data = kmalloc(len, GFP_KERNEL); in ishtp_cl_alloc_tx_ring() 74 if (!tx_buf->send_buf.data) { in ishtp_cl_alloc_tx_ring() 142 kfree(tx_buf->send_buf.data); in ishtp_cl_free_tx_ring() 153 kfree(tx_buf->send_buf.data); in ishtp_cl_free_tx_ring()
|
D | client.c | 574 if (!cl_msg->send_buf.data) { in ishtp_cl_send() 588 memcpy(cl_msg->send_buf.data, buf, length); in ishtp_cl_send() 589 cl_msg->send_buf.size = length; in ishtp_cl_send() 679 rem = cl_msg->send_buf.size - cl->tx_offs; in ipc_tx_send() 685 pmsg = cl_msg->send_buf.data + cl->tx_offs; in ipc_tx_send() 704 rem = cl_msg->send_buf.size - cl->tx_offs; in ipc_tx_send() 767 msg_addr = ishtp_cl_get_dma_send_buf(dev, cl_msg->send_buf.size); in ishtp_cl_send_msg_dma() 784 memcpy(msg_addr, cl_msg->send_buf.data, cl_msg->send_buf.size); in ishtp_cl_send_msg_dma() 794 dma_xfer.msg_length = cl_msg->send_buf.size; in ishtp_cl_send_msg_dma()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema.c | 606 rdma_destroy_ah(mad_wc->send_buf->ah, RDMA_DESTROY_AH_SLEEPABLE); in vema_send() 607 ib_free_send_mad(mad_wc->send_buf); in vema_send() 621 struct ib_mad_send_buf *send_buf, in vema_recv() argument 728 struct ib_mad_send_buf *send_buf; in opa_vnic_vema_send_trap() local 795 send_buf = ib_create_send_mad(port->mad_agent, 1, pkey_idx, 0, in opa_vnic_vema_send_trap() 798 if (IS_ERR(send_buf)) { in opa_vnic_vema_send_trap() 803 send_buf->ah = ah; in opa_vnic_vema_send_trap() 806 trap_mad = send_buf->mad; in opa_vnic_vema_send_trap() 837 if (ib_post_send_mad(send_buf, NULL)) { in opa_vnic_vema_send_trap() 838 ib_free_send_mad(send_buf); in opa_vnic_vema_send_trap()
|
/kernel/linux/linux-5.10/drivers/media/usb/as102/ |
D | as102_usb_drv.c | 78 unsigned char *send_buf, int send_buf_len, in as102_usb_xfer_cmd() argument 83 if (send_buf != NULL) { in as102_usb_xfer_cmd() 91 send_buf, send_buf_len, in as102_usb_xfer_cmd() 135 unsigned char *send_buf, in as102_send_ep1() argument 143 send_buf, send_buf_len, &actual_len, 200); in as102_send_ep1()
|
D | as10x_handle.h | 26 unsigned char *send_buf, int send_buf_len,
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | tas571x.c | 107 uint8_t send_buf, recv_buf[4]; in tas571x_reg_read() local 114 send_buf = reg; in tas571x_reg_read() 117 msgs[0].len = sizeof(send_buf); in tas571x_reg_read() 118 msgs[0].buf = &send_buf; in tas571x_reg_read() 180 uint8_t send_buf; in tas571x_reg_read_multiword() local 190 send_buf = reg; in tas571x_reg_read_multiword() 193 msgs[0].len = sizeof(send_buf); in tas571x_reg_read_multiword() 194 msgs[0].buf = &send_buf; in tas571x_reg_read_multiword()
|
D | adau1701.c | 219 uint8_t send_buf[2], recv_buf[3]; in adau1701_reg_read() local 227 send_buf[0] = reg >> 8; in adau1701_reg_read() 228 send_buf[1] = reg & 0xff; in adau1701_reg_read() 231 msgs[0].len = sizeof(send_buf); in adau1701_reg_read() 232 msgs[0].buf = send_buf; in adau1701_reg_read()
|
D | tas5086.c | 197 uint8_t send_buf, recv_buf[4]; in tas5086_reg_read() local 207 send_buf = reg; in tas5086_reg_read() 210 msgs[0].len = sizeof(send_buf); in tas5086_reg_read() 211 msgs[0].buf = &send_buf; in tas5086_reg_read()
|
/kernel/linux/linux-5.10/drivers/iio/common/ms_sensors/ |
D | ms_sensors_i2c.c | 190 __be16 send_buf; in ms_sensors_read_serial() local 198 .buf = (__u8 *)&send_buf, in ms_sensors_read_serial() 208 send_buf = cpu_to_be16(MS_SENSORS_SERIAL_READ_MSB); in ms_sensors_read_serial() 230 send_buf = cpu_to_be16(MS_SENSORS_SERIAL_READ_LSB); in ms_sensors_read_serial()
|