send_buf          227 arch/arm/mach-orion5x/kurobox_pro-setup.c 	unsigned char send_buf[40];
send_buf          246 arch/arm/mach-orion5x/kurobox_pro-setup.c 			memset(&send_buf, 0xff, sizeof(send_buf));
send_buf          247 arch/arm/mach-orion5x/kurobox_pro-setup.c 			kurobox_pro_miconwrite(send_buf, sizeof(send_buf));
send_buf          202 arch/arm/mach-orion5x/terastation_pro2-setup.c 	unsigned char send_buf[40];
send_buf          221 arch/arm/mach-orion5x/terastation_pro2-setup.c 			memset(&send_buf, 0xff, sizeof(send_buf));
send_buf          222 arch/arm/mach-orion5x/terastation_pro2-setup.c 			tsp2_miconwrite(send_buf, sizeof(send_buf));
send_buf          208 drivers/bluetooth/ath3k.c 	u8 *send_buf;
send_buf          217 drivers/bluetooth/ath3k.c 	send_buf = kmalloc(BULK_SIZE, GFP_KERNEL);
send_buf          218 drivers/bluetooth/ath3k.c 	if (!send_buf) {
send_buf          223 drivers/bluetooth/ath3k.c 	memcpy(send_buf, firmware->data, FW_HDR_SIZE);
send_buf          225 drivers/bluetooth/ath3k.c 			      0, 0, send_buf, FW_HDR_SIZE,
send_buf          241 drivers/bluetooth/ath3k.c 		memcpy(send_buf, firmware->data + sent, size);
send_buf          243 drivers/bluetooth/ath3k.c 		err = usb_bulk_msg(udev, pipe, send_buf, size,
send_buf          256 drivers/bluetooth/ath3k.c 	kfree(send_buf);
send_buf          305 drivers/bluetooth/ath3k.c 	u8 *send_buf;
send_buf          312 drivers/bluetooth/ath3k.c 	send_buf = kmalloc(BULK_SIZE, GFP_KERNEL);
send_buf          313 drivers/bluetooth/ath3k.c 	if (!send_buf) {
send_buf          319 drivers/bluetooth/ath3k.c 	memcpy(send_buf, firmware->data, size);
send_buf          323 drivers/bluetooth/ath3k.c 			USB_TYPE_VENDOR, 0, 0, send_buf,
send_buf          327 drivers/bluetooth/ath3k.c 		kfree(send_buf);
send_buf          341 drivers/bluetooth/ath3k.c 		memcpy(send_buf, firmware->data + sent, size);
send_buf          343 drivers/bluetooth/ath3k.c 		err = usb_bulk_msg(udev, pipe, send_buf, size,
send_buf          347 drivers/bluetooth/ath3k.c 			kfree(send_buf);
send_buf          354 drivers/bluetooth/ath3k.c 	kfree(send_buf);
send_buf           73 drivers/hid/intel-ish-hid/ishtp/client-buffers.c 		tx_buf->send_buf.data = kmalloc(len, GFP_KERNEL);
send_buf           74 drivers/hid/intel-ish-hid/ishtp/client-buffers.c 		if (!tx_buf->send_buf.data) {
send_buf          142 drivers/hid/intel-ish-hid/ishtp/client-buffers.c 		kfree(tx_buf->send_buf.data);
send_buf          153 drivers/hid/intel-ish-hid/ishtp/client-buffers.c 		kfree(tx_buf->send_buf.data);
send_buf          574 drivers/hid/intel-ish-hid/ishtp/client.c 	if (!cl_msg->send_buf.data) {
send_buf          588 drivers/hid/intel-ish-hid/ishtp/client.c 	memcpy(cl_msg->send_buf.data, buf, length);
send_buf          589 drivers/hid/intel-ish-hid/ishtp/client.c 	cl_msg->send_buf.size = length;
send_buf          678 drivers/hid/intel-ish-hid/ishtp/client.c 	rem = cl_msg->send_buf.size - cl->tx_offs;
send_buf          683 drivers/hid/intel-ish-hid/ishtp/client.c 	pmsg = cl_msg->send_buf.data + cl->tx_offs;
send_buf          757 drivers/hid/intel-ish-hid/ishtp/client.c 	msg_addr = ishtp_cl_get_dma_send_buf(dev, cl_msg->send_buf.size);
send_buf          774 drivers/hid/intel-ish-hid/ishtp/client.c 	memcpy(msg_addr, cl_msg->send_buf.data, cl_msg->send_buf.size);
send_buf          784 drivers/hid/intel-ish-hid/ishtp/client.c 	dma_xfer.msg_length = cl_msg->send_buf.size;
send_buf           32 drivers/hid/intel-ish-hid/ishtp/client.h 	struct ishtp_msg_data	send_buf;
send_buf          190 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	__be16 send_buf;
send_buf          198 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		 .buf = (__u8 *)&send_buf,
send_buf          208 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	send_buf = cpu_to_be16(MS_SENSORS_SERIAL_READ_MSB);
send_buf          230 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	send_buf = cpu_to_be16(MS_SENSORS_SERIAL_READ_LSB);
send_buf          233 drivers/iio/common/ssp_sensors/ssp.h 			 u8 *send_buf, u8 length);
send_buf          474 drivers/iio/common/ssp_sensors/ssp_spi.c 			 u8 *send_buf, u8 length)
send_buf          495 drivers/iio/common/ssp_sensors/ssp_spi.c 	ssp_fill_buffer(msg, 1, send_buf, length);
send_buf          498 drivers/iio/common/ssp_sensors/ssp_spi.c 		__func__, inst, sensor_type, send_buf[1]);
send_buf           87 drivers/infiniband/core/agent.c 	struct ib_mad_send_buf *send_buf;
send_buf          112 drivers/infiniband/core/agent.c 	send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0,
send_buf          117 drivers/infiniband/core/agent.c 	if (IS_ERR(send_buf)) {
send_buf          122 drivers/infiniband/core/agent.c 	memcpy(send_buf->mad, mad_hdr, resp_mad_len);
send_buf          123 drivers/infiniband/core/agent.c 	send_buf->ah = ah;
send_buf          126 drivers/infiniband/core/agent.c 		mad_send_wr = container_of(send_buf,
send_buf          128 drivers/infiniband/core/agent.c 					   send_buf);
send_buf          132 drivers/infiniband/core/agent.c 	if (ib_post_send_mad(send_buf, NULL)) {
send_buf          138 drivers/infiniband/core/agent.c 	ib_free_send_mad(send_buf);
send_buf          146 drivers/infiniband/core/agent.c 	rdma_destroy_ah(mad_send_wc->send_buf->ah, RDMA_DESTROY_AH_SLEEPABLE);
send_buf          147 drivers/infiniband/core/agent.c 	ib_free_send_mad(mad_send_wc->send_buf);
send_buf         3785 drivers/infiniband/core/cm.c 	struct ib_mad_send_buf *msg = mad_send_wc->send_buf;
send_buf         3990 drivers/infiniband/core/cm.c 			    struct ib_mad_send_buf *send_buf,
send_buf          710 drivers/infiniband/core/mad.c 		       struct ib_mad_send_buf *send_buf,
send_buf          728 drivers/infiniband/core/mad.c 						    send_buf, mad_send_wc);
send_buf          812 drivers/infiniband/core/mad.c 	struct ib_smp *smp = mad_send_wr->send_buf.mad;
send_buf          909 drivers/infiniband/core/mad.c 		mad_wc.byte_len = mad_send_wr->send_buf.hdr_len
send_buf          910 drivers/infiniband/core/mad.c 					+ mad_send_wr->send_buf.data_len
send_buf         1007 drivers/infiniband/core/mad.c 	struct ib_mad_send_buf *send_buf = &send_wr->send_buf;
send_buf         1008 drivers/infiniband/core/mad.c 	struct ib_rmpp_mad *rmpp_mad = send_buf->mad;
send_buf         1012 drivers/infiniband/core/mad.c 	send_buf->seg_size = mad_size - send_buf->hdr_len;
send_buf         1013 drivers/infiniband/core/mad.c 	send_buf->seg_rmpp_size = mad_size - IB_MGMT_RMPP_HDR;
send_buf         1014 drivers/infiniband/core/mad.c 	seg_size = send_buf->seg_size;
send_buf         1018 drivers/infiniband/core/mad.c 	for (left = send_buf->data_len + pad; left > 0; left -= seg_size) {
send_buf         1024 drivers/infiniband/core/mad.c 		seg->num = ++send_buf->seg_count;
send_buf         1090 drivers/infiniband/core/mad.c 	mad_send_wr->send_buf.mad = buf;
send_buf         1091 drivers/infiniband/core/mad.c 	mad_send_wr->send_buf.hdr_len = hdr_len;
send_buf         1092 drivers/infiniband/core/mad.c 	mad_send_wr->send_buf.data_len = data_len;
send_buf         1127 drivers/infiniband/core/mad.c 	mad_send_wr->send_buf.mad_agent = mad_agent;
send_buf         1129 drivers/infiniband/core/mad.c 	return &mad_send_wr->send_buf;
send_buf         1162 drivers/infiniband/core/mad.c void *ib_get_rmpp_segment(struct ib_mad_send_buf *send_buf, int seg_num)
send_buf         1167 drivers/infiniband/core/mad.c 	mad_send_wr = container_of(send_buf, struct ib_mad_send_wr_private,
send_buf         1168 drivers/infiniband/core/mad.c 				   send_buf);
send_buf         1186 drivers/infiniband/core/mad.c 	if (mad_send_wr->send_buf.seg_count)
send_buf         1187 drivers/infiniband/core/mad.c 		return ib_get_rmpp_segment(&mad_send_wr->send_buf,
send_buf         1190 drivers/infiniband/core/mad.c 		return mad_send_wr->send_buf.mad +
send_buf         1191 drivers/infiniband/core/mad.c 		       mad_send_wr->send_buf.hdr_len;
send_buf         1194 drivers/infiniband/core/mad.c void ib_free_send_mad(struct ib_mad_send_buf *send_buf)
send_buf         1199 drivers/infiniband/core/mad.c 	mad_agent_priv = container_of(send_buf->mad_agent,
send_buf         1201 drivers/infiniband/core/mad.c 	mad_send_wr = container_of(send_buf, struct ib_mad_send_wr_private,
send_buf         1202 drivers/infiniband/core/mad.c 				   send_buf);
send_buf         1205 drivers/infiniband/core/mad.c 	kfree(send_buf->mad);
send_buf         1225 drivers/infiniband/core/mad.c 	mad_agent = mad_send_wr->send_buf.mad_agent;
send_buf         1228 drivers/infiniband/core/mad.c 					mad_send_wr->send_buf.mad,
send_buf         1279 drivers/infiniband/core/mad.c int ib_post_send_mad(struct ib_mad_send_buf *send_buf,
send_buf         1289 drivers/infiniband/core/mad.c 	for (; send_buf; send_buf = next_send_buf) {
send_buf         1290 drivers/infiniband/core/mad.c 		mad_send_wr = container_of(send_buf,
send_buf         1292 drivers/infiniband/core/mad.c 					   send_buf);
send_buf         1300 drivers/infiniband/core/mad.c 		if (!send_buf->mad_agent->send_handler ||
send_buf         1301 drivers/infiniband/core/mad.c 		    (send_buf->timeout_ms &&
send_buf         1302 drivers/infiniband/core/mad.c 		     !send_buf->mad_agent->recv_handler)) {
send_buf         1307 drivers/infiniband/core/mad.c 		if (!ib_is_mad_class_rmpp(((struct ib_mad_hdr *) send_buf->mad)->mgmt_class)) {
send_buf         1319 drivers/infiniband/core/mad.c 		next_send_buf = send_buf->next;
send_buf         1320 drivers/infiniband/core/mad.c 		mad_send_wr->send_wr.ah = send_buf->ah;
send_buf         1322 drivers/infiniband/core/mad.c 		if (((struct ib_mad_hdr *) send_buf->mad)->mgmt_class ==
send_buf         1332 drivers/infiniband/core/mad.c 		mad_send_wr->tid = ((struct ib_mad_hdr *) send_buf->mad)->tid;
send_buf         1334 drivers/infiniband/core/mad.c 		mad_send_wr->timeout = msecs_to_jiffies(send_buf->timeout_ms);
send_buf         1335 drivers/infiniband/core/mad.c 		mad_send_wr->max_retries = send_buf->retries;
send_buf         1336 drivers/infiniband/core/mad.c 		mad_send_wr->retries_left = send_buf->retries;
send_buf         1337 drivers/infiniband/core/mad.c 		send_buf->retries = 0;
send_buf         1367 drivers/infiniband/core/mad.c 		*bad_send_buf = send_buf;
send_buf         1904 drivers/infiniband/core/mad.c 	return ((struct ib_mad_hdr *)(wr->send_buf.mad))->mgmt_class ==
send_buf         1920 drivers/infiniband/core/mad.c 	send_resp = ib_response_mad((struct ib_mad_hdr *)wr->send_buf.mad);
send_buf         1927 drivers/infiniband/core/mad.c 	if (rdma_query_ah(wr->send_buf.ah, &attr))
send_buf         1995 drivers/infiniband/core/mad.c 		if (is_rmpp_data_mad(mad_agent_priv, wr->send_buf.mad) &&
send_buf         2077 drivers/infiniband/core/mad.c 					&mad_send_wr->send_buf,
send_buf         2083 drivers/infiniband/core/mad.c 			mad_send_wc.send_buf = &mad_send_wr->send_buf;
send_buf         2536 drivers/infiniband/core/mad.c 	ib_dma_unmap_single(mad_send_wr->send_buf.mad_agent->device,
send_buf         2539 drivers/infiniband/core/mad.c 	ib_dma_unmap_single(mad_send_wr->send_buf.mad_agent->device,
send_buf         2557 drivers/infiniband/core/mad.c 	mad_send_wc.send_buf = &mad_send_wr->send_buf;
send_buf         2561 drivers/infiniband/core/mad.c 		snoop_send(qp_info, &mad_send_wr->send_buf, &mad_send_wc,
send_buf         2671 drivers/infiniband/core/mad.c 		mad_send_wc.send_buf = &mad_send_wr->send_buf;
send_buf         2681 drivers/infiniband/core/mad.c 	     struct ib_mad_send_buf *send_buf)
send_buf         2687 drivers/infiniband/core/mad.c 		if (&mad_send_wr->send_buf == send_buf)
send_buf         2694 drivers/infiniband/core/mad.c 				     mad_send_wr->send_buf.mad) &&
send_buf         2695 drivers/infiniband/core/mad.c 		    &mad_send_wr->send_buf == send_buf)
send_buf         2702 drivers/infiniband/core/mad.c 		  struct ib_mad_send_buf *send_buf, u32 timeout_ms)
send_buf         2712 drivers/infiniband/core/mad.c 	mad_send_wr = find_send_wr(mad_agent_priv, send_buf);
send_buf         2724 drivers/infiniband/core/mad.c 	mad_send_wr->send_buf.timeout_ms = timeout_ms;
send_buf         2736 drivers/infiniband/core/mad.c 		   struct ib_mad_send_buf *send_buf)
send_buf         2738 drivers/infiniband/core/mad.c 	ib_modify_mad(mad_agent, send_buf, 0);
send_buf         2810 drivers/infiniband/core/mad.c 						&local->mad_send_wr->send_buf,
send_buf         2821 drivers/infiniband/core/mad.c 		mad_send_wc.send_buf = &local->mad_send_wr->send_buf;
send_buf         2824 drivers/infiniband/core/mad.c 				   &local->mad_send_wr->send_buf,
send_buf         2846 drivers/infiniband/core/mad.c 	mad_send_wr->send_buf.retries++;
send_buf         2848 drivers/infiniband/core/mad.c 	mad_send_wr->timeout = msecs_to_jiffies(mad_send_wr->send_buf.timeout_ms);
send_buf         2912 drivers/infiniband/core/mad.c 		mad_send_wc.send_buf = &mad_send_wr->send_buf;
send_buf          126 drivers/infiniband/core/mad_priv.h 	struct ib_mad_send_buf send_buf;
send_buf          211 drivers/infiniband/core/mad_rmpp.c 	if (mad_send_wc->send_buf->context[0] == mad_send_wc->send_buf->ah)
send_buf          212 drivers/infiniband/core/mad_rmpp.c 		rdma_destroy_ah(mad_send_wc->send_buf->ah,
send_buf          214 drivers/infiniband/core/mad_rmpp.c 	ib_free_send_mad(mad_send_wc->send_buf);
send_buf          582 drivers/infiniband/core/mad_rmpp.c 	rmpp_mad = mad_send_wr->send_buf.mad;
send_buf          588 drivers/infiniband/core/mad_rmpp.c 		paylen = (mad_send_wr->send_buf.seg_count *
send_buf          589 drivers/infiniband/core/mad_rmpp.c 			  mad_send_wr->send_buf.seg_rmpp_size) -
send_buf          593 drivers/infiniband/core/mad_rmpp.c 	if (mad_send_wr->seg_num == mad_send_wr->send_buf.seg_count) {
send_buf          595 drivers/infiniband/core/mad_rmpp.c 		paylen = mad_send_wr->send_buf.seg_rmpp_size - mad_send_wr->pad;
send_buf          600 drivers/infiniband/core/mad_rmpp.c 	timeout = mad_send_wr->send_buf.timeout_ms;
send_buf          619 drivers/infiniband/core/mad_rmpp.c 	if ((mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) ||
send_buf          628 drivers/infiniband/core/mad_rmpp.c 	wc.send_buf = &mad_send_wr->send_buf;
send_buf          688 drivers/infiniband/core/mad_rmpp.c 	if ((mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) &&
send_buf          695 drivers/infiniband/core/mad_rmpp.c 	if ((mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) ||
send_buf          699 drivers/infiniband/core/mad_rmpp.c 	if (seg_num > mad_send_wr->send_buf.seg_count ||
send_buf          715 drivers/infiniband/core/mad_rmpp.c 	if (mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) {
send_buf          717 drivers/infiniband/core/mad_rmpp.c 		if (!mad_send_wr->send_buf.timeout_ms) {
send_buf          725 drivers/infiniband/core/mad_rmpp.c 			wc.send_buf = &mad_send_wr->send_buf;
send_buf          731 drivers/infiniband/core/mad_rmpp.c 					     mad_send_wr->send_buf.timeout_ms);
send_buf          737 drivers/infiniband/core/mad_rmpp.c 		   mad_send_wr->seg_num < mad_send_wr->send_buf.seg_count) {
send_buf          854 drivers/infiniband/core/mad_rmpp.c 	struct ib_mad_hdr *mad_hdr = mad_send_wr->send_buf.mad;
send_buf          871 drivers/infiniband/core/mad_rmpp.c 		if (rdma_query_ah(mad_send_wr->send_buf.ah, &ah_attr))
send_buf          889 drivers/infiniband/core/mad_rmpp.c 	rmpp_mad = mad_send_wr->send_buf.mad;
send_buf          915 drivers/infiniband/core/mad_rmpp.c 	rmpp_mad = mad_send_wr->send_buf.mad;
send_buf          930 drivers/infiniband/core/mad_rmpp.c 	if (mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) {
send_buf          932 drivers/infiniband/core/mad_rmpp.c 			msecs_to_jiffies(mad_send_wr->send_buf.timeout_ms);
send_buf          937 drivers/infiniband/core/mad_rmpp.c 	    mad_send_wr->seg_num == mad_send_wr->send_buf.seg_count)
send_buf          953 drivers/infiniband/core/mad_rmpp.c 	rmpp_mad = mad_send_wr->send_buf.mad;
send_buf          958 drivers/infiniband/core/mad_rmpp.c 	if (mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count)
send_buf          970 drivers/infiniband/core/sa_query.c 	mad_send_wc.send_buf = query->mad_buf;
send_buf         1004 drivers/infiniband/core/sa_query.c 			mad_send_wc.send_buf = query->mad_buf;
send_buf         1096 drivers/infiniband/core/sa_query.c 	struct ib_mad_send_buf *send_buf;
send_buf         1124 drivers/infiniband/core/sa_query.c 	send_buf = query->mad_buf;
send_buf         1132 drivers/infiniband/core/sa_query.c 			mad_send_wc.send_buf = send_buf;
send_buf         2164 drivers/infiniband/core/sa_query.c 	struct ib_sa_query *query = mad_send_wc->send_buf->context[0];
send_buf         2194 drivers/infiniband/core/sa_query.c 			 struct ib_mad_send_buf *send_buf,
send_buf         2199 drivers/infiniband/core/sa_query.c 	if (!send_buf)
send_buf         2202 drivers/infiniband/core/sa_query.c 	query = send_buf->context[0];
send_buf          213 drivers/infiniband/core/user_mad.c 	struct ib_umad_packet *packet = send_wc->send_buf->context[0];
send_buf          229 drivers/infiniband/core/user_mad.c 			 struct ib_mad_send_buf *send_buf,
send_buf          315 drivers/infiniband/hw/hfi1/mad.c 	struct ib_mad_send_buf *send_buf;
send_buf          346 drivers/infiniband/hw/hfi1/mad.c 	send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0,
send_buf          349 drivers/infiniband/hw/hfi1/mad.c 	if (IS_ERR(send_buf))
send_buf          352 drivers/infiniband/hw/hfi1/mad.c 	smp = send_buf->mad;
send_buf          383 drivers/infiniband/hw/hfi1/mad.c 			send_buf->ah = ah;
send_buf          390 drivers/infiniband/hw/hfi1/mad.c 		send_buf->ah = &ibp->rvp.sm_ah->ibah;
send_buf          401 drivers/infiniband/hw/hfi1/mad.c 		ib_free_send_mad(send_buf);
send_buf          408 drivers/infiniband/hw/hfi1/mad.c 	if (ib_post_send_mad(send_buf, NULL))
send_buf          409 drivers/infiniband/hw/hfi1/mad.c 		ib_free_send_mad(send_buf);
send_buf          386 drivers/infiniband/hw/mlx4/mad.c 	struct ib_mad_send_buf *send_buf;
send_buf          392 drivers/infiniband/hw/mlx4/mad.c 		send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR,
send_buf          395 drivers/infiniband/hw/mlx4/mad.c 		if (IS_ERR(send_buf))
send_buf          404 drivers/infiniband/hw/mlx4/mad.c 		memcpy(send_buf->mad, mad, sizeof *mad);
send_buf          405 drivers/infiniband/hw/mlx4/mad.c 		if ((send_buf->ah = dev->sm_ah[port_num - 1]))
send_buf          406 drivers/infiniband/hw/mlx4/mad.c 			ret = ib_post_send_mad(send_buf, NULL);
send_buf          412 drivers/infiniband/hw/mlx4/mad.c 			ib_free_send_mad(send_buf);
send_buf         1026 drivers/infiniband/hw/mlx4/mad.c 	if (mad_send_wc->send_buf->context[0])
send_buf         1027 drivers/infiniband/hw/mlx4/mad.c 		rdma_destroy_ah(mad_send_wc->send_buf->context[0], 0);
send_buf         1028 drivers/infiniband/hw/mlx4/mad.c 	ib_free_send_mad(mad_send_wc->send_buf);
send_buf          169 drivers/infiniband/hw/mthca/mthca_mad.c 	struct ib_mad_send_buf *send_buf;
send_buf          175 drivers/infiniband/hw/mthca/mthca_mad.c 		send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR,
send_buf          178 drivers/infiniband/hw/mthca/mthca_mad.c 		if (IS_ERR(send_buf))
send_buf          187 drivers/infiniband/hw/mthca/mthca_mad.c 		memcpy(send_buf->mad, mad, sizeof *mad);
send_buf          188 drivers/infiniband/hw/mthca/mthca_mad.c 		if ((send_buf->ah = dev->sm_ah[port_num - 1]))
send_buf          189 drivers/infiniband/hw/mthca/mthca_mad.c 			ret = ib_post_send_mad(send_buf, NULL);
send_buf          195 drivers/infiniband/hw/mthca/mthca_mad.c 			ib_free_send_mad(send_buf);
send_buf          292 drivers/infiniband/hw/mthca/mthca_mad.c 	ib_free_send_mad(mad_send_wc->send_buf);
send_buf         5434 drivers/infiniband/hw/qib/qib_iba7322.c 	struct ib_mad_send_buf *send_buf;
send_buf         5444 drivers/infiniband/hw/qib/qib_iba7322.c 	send_buf = ib_create_send_mad(agent, 0, 0, 0, IB_MGMT_MAD_HDR,
send_buf         5447 drivers/infiniband/hw/qib/qib_iba7322.c 	if (IS_ERR(send_buf))
send_buf         5457 drivers/infiniband/hw/qib/qib_iba7322.c 			send_buf->ah = ah;
send_buf         5462 drivers/infiniband/hw/qib/qib_iba7322.c 		send_buf->ah = &ibp->smi_ah->ibah;
send_buf         5466 drivers/infiniband/hw/qib/qib_iba7322.c 	smp = send_buf->mad;
send_buf         5476 drivers/infiniband/hw/qib/qib_iba7322.c 		ret = ib_post_send_mad(send_buf, NULL);
send_buf         5478 drivers/infiniband/hw/qib/qib_iba7322.c 		ib_free_send_mad(send_buf);
send_buf           66 drivers/infiniband/hw/qib/qib_mad.c 	struct ib_mad_send_buf *send_buf;
send_buf           86 drivers/infiniband/hw/qib/qib_mad.c 	send_buf = ib_create_send_mad(agent, 0, 0, 0, IB_MGMT_MAD_HDR,
send_buf           89 drivers/infiniband/hw/qib/qib_mad.c 	if (IS_ERR(send_buf))
send_buf           92 drivers/infiniband/hw/qib/qib_mad.c 	smp = send_buf->mad;
send_buf          112 drivers/infiniband/hw/qib/qib_mad.c 				send_buf->ah = ah;
send_buf          119 drivers/infiniband/hw/qib/qib_mad.c 		send_buf->ah = &ibp->rvp.sm_ah->ibah;
send_buf          125 drivers/infiniband/hw/qib/qib_mad.c 		ret = ib_post_send_mad(send_buf, NULL);
send_buf          131 drivers/infiniband/hw/qib/qib_mad.c 		ib_free_send_mad(send_buf);
send_buf           91 drivers/infiniband/sw/rdmavt/mad.c 	ib_free_send_mad(mad_send_wc->send_buf);
send_buf          609 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 	rdma_destroy_ah(mad_wc->send_buf->ah, RDMA_DESTROY_AH_SLEEPABLE);
send_buf          610 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 	ib_free_send_mad(mad_wc->send_buf);
send_buf          624 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 		      struct ib_mad_send_buf *send_buf,
send_buf          731 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 	struct ib_mad_send_buf *send_buf;
send_buf          798 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 	send_buf = ib_create_send_mad(port->mad_agent, 1, pkey_idx, 0,
send_buf          801 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 	if (IS_ERR(send_buf)) {
send_buf          806 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 	send_buf->ah = ah;
send_buf          809 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 	trap_mad = send_buf->mad;
send_buf          840 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 	if (ib_post_send_mad(send_buf, NULL)) {
send_buf          841 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c 		ib_free_send_mad(send_buf);
send_buf          461 drivers/infiniband/ulp/srpt/ib_srpt.c 	rdma_destroy_ah(mad_wc->send_buf->ah, RDMA_DESTROY_AH_SLEEPABLE);
send_buf          462 drivers/infiniband/ulp/srpt/ib_srpt.c 	ib_free_send_mad(mad_wc->send_buf);
send_buf          472 drivers/infiniband/ulp/srpt/ib_srpt.c 				  struct ib_mad_send_buf *send_buf,
send_buf          207 drivers/media/platform/mtk-vpu/mtk_vpu.c 	struct share_obj *send_buf;
send_buf          295 drivers/media/platform/mtk-vpu/mtk_vpu.c 	struct share_obj *send_obj = vpu->send_buf;
send_buf          727 drivers/media/platform/mtk-vpu/mtk_vpu.c 	vpu->send_buf = vpu->recv_buf + 1;
send_buf          729 drivers/media/platform/mtk-vpu/mtk_vpu.c 	memset(vpu->send_buf, 0, sizeof(struct share_obj));
send_buf           78 drivers/media/usb/as102/as102_usb_drv.c 			      unsigned char *send_buf, int send_buf_len,
send_buf           83 drivers/media/usb/as102/as102_usb_drv.c 	if (send_buf != NULL) {
send_buf           91 drivers/media/usb/as102/as102_usb_drv.c 				      send_buf, send_buf_len,
send_buf          135 drivers/media/usb/as102/as102_usb_drv.c 			  unsigned char *send_buf,
send_buf          143 drivers/media/usb/as102/as102_usb_drv.c 			   send_buf, send_buf_len, &actual_len, 200);
send_buf           26 drivers/media/usb/as102/as10x_handle.h 			 unsigned char *send_buf, int send_buf_len,
send_buf          991 drivers/net/hyperv/hyperv_net.h 	void *send_buf;
send_buf          122 drivers/net/hyperv/netvsc.c 	vfree(nvdev->send_buf);
send_buf          401 drivers/net/hyperv/netvsc.c 	net_device->send_buf = vzalloc(buf_size);
send_buf          402 drivers/net/hyperv/netvsc.c 	if (!net_device->send_buf) {
send_buf          413 drivers/net/hyperv/netvsc.c 	ret = vmbus_establish_gpadl(device->channel, net_device->send_buf,
send_buf          773 drivers/net/hyperv/netvsc.c 	char *start = net_device->send_buf;
send_buf          309 drivers/net/wireless/ath/wcn36xx/smd.c #define PREPARE_HAL_BUF(send_buf, msg_body) \
send_buf          311 drivers/net/wireless/ath/wcn36xx/smd.c 		memset(send_buf, 0, msg_body.header.len);	\
send_buf          312 drivers/net/wireless/ath/wcn36xx/smd.c 		memcpy(send_buf, &msg_body, sizeof(msg_body));	\
send_buf          315 drivers/net/wireless/ath/wcn36xx/smd.c #define PREPARE_HAL_PTT_MSG_BUF(send_buf, p_msg_body) \
send_buf          317 drivers/net/wireless/ath/wcn36xx/smd.c 		memset(send_buf, 0, p_msg_body->header.len); \
send_buf          318 drivers/net/wireless/ath/wcn36xx/smd.c 		memcpy(send_buf, p_msg_body, p_msg_body->header.len); \
send_buf          206 drivers/ps3/ps3av.c static int ps3av_send_cmd_pkt(const struct ps3av_send_hdr *send_buf,
send_buf          218 drivers/ps3/ps3av.c 	res = ps3av_vuart_write(ps3av->dev, send_buf, write_len);
send_buf          227 drivers/ps3/ps3av.c 	cmd = send_buf->cid;
send_buf          588 drivers/staging/gdm724x/gdm_usb.c static u32 packet_aggregation(struct lte_udev *udev, u8 *send_buf)
send_buf          592 drivers/staging/gdm724x/gdm_usb.c 	struct multi_sdu *multi_sdu = (struct multi_sdu *)send_buf;
send_buf          353 drivers/tty/nozomi.c 	u8 *send_buf;
send_buf          762 drivers/tty/nozomi.c 	size = kfifo_out(&port->fifo_ul, dc->send_buf,
send_buf          774 drivers/tty/nozomi.c 	write_mem32(addr + 4, (u32 *) dc->send_buf, size);
send_buf         1369 drivers/tty/nozomi.c 	dc->send_buf = kmalloc(SEND_BUF_MAX, GFP_KERNEL);
send_buf         1370 drivers/tty/nozomi.c 	if (!dc->send_buf) {
send_buf         1444 drivers/tty/nozomi.c 	kfree(dc->send_buf);
send_buf         1507 drivers/tty/nozomi.c 	kfree(dc->send_buf);
send_buf           64 drivers/uio/uio_hv_generic.c 	void	*send_buf;
send_buf          185 drivers/uio/uio_hv_generic.c 		vfree(pdata->send_buf);
send_buf          311 drivers/uio/uio_hv_generic.c 	pdata->send_buf = vzalloc(SEND_BUFFER_SIZE);
send_buf          312 drivers/uio/uio_hv_generic.c 	if (pdata->send_buf == NULL) {
send_buf          317 drivers/uio/uio_hv_generic.c 	ret = vmbus_establish_gpadl(channel, pdata->send_buf,
send_buf          326 drivers/uio/uio_hv_generic.c 		= (uintptr_t)pdata->send_buf;
send_buf           80 fs/btrfs/send.c 	char *send_buf;
send_buf          585 fs/btrfs/send.c 	hdr = (struct btrfs_tlv_header *) (sctx->send_buf + sctx->send_size);
send_buf          690 fs/btrfs/send.c 	if (WARN_ON(!sctx->send_buf))
send_buf          696 fs/btrfs/send.c 	hdr = (struct btrfs_cmd_header *)sctx->send_buf;
send_buf          708 fs/btrfs/send.c 	hdr = (struct btrfs_cmd_header *)sctx->send_buf;
send_buf          712 fs/btrfs/send.c 	crc = btrfs_crc32c(0, (unsigned char *)sctx->send_buf, sctx->send_size);
send_buf          715 fs/btrfs/send.c 	ret = write_buf(sctx->send_filp, sctx->send_buf, sctx->send_size,
send_buf         7142 fs/btrfs/send.c 	sctx->send_buf = kvmalloc(sctx->send_max_size, GFP_KERNEL);
send_buf         7143 fs/btrfs/send.c 	if (!sctx->send_buf) {
send_buf         7366 fs/btrfs/send.c 		kvfree(sctx->send_buf);
send_buf          572 include/rdma/ib_mad.h 				     struct ib_mad_send_buf *send_buf,
send_buf          588 include/rdma/ib_mad.h 				    struct ib_mad_send_buf *send_buf,
send_buf          634 include/rdma/ib_mad.h 	struct ib_mad_send_buf	*send_buf;
send_buf          781 include/rdma/ib_mad.h int ib_post_send_mad(struct ib_mad_send_buf *send_buf,
send_buf          803 include/rdma/ib_mad.h 		   struct ib_mad_send_buf *send_buf);
send_buf          815 include/rdma/ib_mad.h 		  struct ib_mad_send_buf *send_buf, u32 timeout_ms);
send_buf          918 include/rdma/ib_mad.h void *ib_get_rmpp_segment(struct ib_mad_send_buf *send_buf, int seg_num);
send_buf          924 include/rdma/ib_mad.h void ib_free_send_mad(struct ib_mad_send_buf *send_buf);
send_buf           65 include/trace/events/ib_mad.h 		__entry->length = wr->send_buf.hdr_len +
send_buf           66 include/trace/events/ib_mad.h 				  wr->send_buf.data_len;
send_buf           68 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->base_version;
send_buf           70 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->mgmt_class;
send_buf           72 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->class_version;
send_buf           74 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->method;
send_buf           76 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->status;
send_buf           78 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->class_specific;
send_buf           79 include/trace/events/ib_mad.h 		__entry->tid = ((struct ib_mad_hdr *)wr->send_buf.mad)->tid;
send_buf           81 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->attr_id;
send_buf           83 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->attr_mod;
send_buf          155 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->base_version;
send_buf          157 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->mgmt_class;
send_buf          159 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->class_version;
send_buf          161 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->method;
send_buf          163 include/trace/events/ib_mad.h 			((struct ib_mad_hdr *)wr->send_buf.mad)->status;
send_buf          225 net/vmw_vsock/hyperv_transport.c 			 struct hvs_send_buf *send_buf, size_t to_write)
send_buf          227 net/vmw_vsock/hyperv_transport.c 	send_buf->hdr.pkt_type = 1;
send_buf          228 net/vmw_vsock/hyperv_transport.c 	send_buf->hdr.data_size = to_write;
send_buf          229 net/vmw_vsock/hyperv_transport.c 	return vmbus_sendpacket(chan, &send_buf->hdr,
send_buf          230 net/vmw_vsock/hyperv_transport.c 				sizeof(send_buf->hdr) + to_write,
send_buf          628 net/vmw_vsock/hyperv_transport.c 	struct hvs_send_buf *send_buf;
send_buf          633 net/vmw_vsock/hyperv_transport.c 	BUILD_BUG_ON(sizeof(*send_buf) != PAGE_SIZE_4K);
send_buf          635 net/vmw_vsock/hyperv_transport.c 	send_buf = kmalloc(sizeof(*send_buf), GFP_KERNEL);
send_buf          636 net/vmw_vsock/hyperv_transport.c 	if (!send_buf)
send_buf          652 net/vmw_vsock/hyperv_transport.c 		ret = memcpy_from_msg(send_buf->data, msg, to_write);
send_buf          656 net/vmw_vsock/hyperv_transport.c 		ret = hvs_send_data(hvs->chan, send_buf, to_write);
send_buf          667 net/vmw_vsock/hyperv_transport.c 	kfree(send_buf);
send_buf         1848 sound/pci/hda/patch_ca0132.c 				  unsigned char *send_buf,
send_buf         1868 sound/pci/hda/patch_ca0132.c 	header = *((unsigned int *)send_buf);
send_buf         1881 sound/pci/hda/patch_ca0132.c 		spec->wait_scp_header = *((unsigned int *)send_buf);
send_buf         1893 sound/pci/hda/patch_ca0132.c 	status = dspio_write_multiple(codec, (unsigned int *)send_buf,
send_buf          219 sound/soc/codecs/adau1701.c 	uint8_t send_buf[2], recv_buf[3];
send_buf          227 sound/soc/codecs/adau1701.c 	send_buf[0] = reg >> 8;
send_buf          228 sound/soc/codecs/adau1701.c 	send_buf[1] = reg & 0xff;
send_buf          231 sound/soc/codecs/adau1701.c 	msgs[0].len = sizeof(send_buf);
send_buf          232 sound/soc/codecs/adau1701.c 	msgs[0].buf = send_buf;
send_buf          540 sound/soc/codecs/cx2072x.c 	u8 send_buf[2];
send_buf          545 sound/soc/codecs/cx2072x.c 	send_buf[0] = reg >> 8;
send_buf          546 sound/soc/codecs/cx2072x.c 	send_buf[1] = reg & 0xff;
send_buf          549 sound/soc/codecs/cx2072x.c 	msgs[0].len = sizeof(send_buf);
send_buf          550 sound/soc/codecs/cx2072x.c 	msgs[0].buf = send_buf;
send_buf          197 sound/soc/codecs/tas5086.c 	uint8_t send_buf, recv_buf[4];
send_buf          207 sound/soc/codecs/tas5086.c 	send_buf = reg;
send_buf          210 sound/soc/codecs/tas5086.c 	msgs[0].len = sizeof(send_buf);
send_buf          211 sound/soc/codecs/tas5086.c 	msgs[0].buf = &send_buf;
send_buf          107 sound/soc/codecs/tas571x.c 	uint8_t send_buf, recv_buf[4];
send_buf          114 sound/soc/codecs/tas571x.c 	send_buf = reg;
send_buf          117 sound/soc/codecs/tas571x.c 	msgs[0].len = sizeof(send_buf);
send_buf          118 sound/soc/codecs/tas571x.c 	msgs[0].buf = &send_buf;
send_buf          180 sound/soc/codecs/tas571x.c 	uint8_t send_buf;
send_buf          190 sound/soc/codecs/tas571x.c 	send_buf = reg;
send_buf          193 sound/soc/codecs/tas571x.c 	msgs[0].len = sizeof(send_buf);
send_buf          194 sound/soc/codecs/tas571x.c 	msgs[0].buf = &send_buf;
send_buf          215 tools/testing/selftests/net/reuseport_bpf.c 	char recv_buf[8], send_buf[8];
send_buf          239 tools/testing/selftests/net/reuseport_bpf.c 		memcpy(send_buf, &ndata, sizeof(ndata));
send_buf          240 tools/testing/selftests/net/reuseport_bpf.c 		send_from(p, sport, send_buf, sizeof(ndata));