copy_buf          203 drivers/net/ethernet/sfc/tx.c 				    struct efx_short_copy_buffer *copy_buf)
copy_buf          205 drivers/net/ethernet/sfc/tx.c 	int block_len = len & ~(sizeof(copy_buf->buf) - 1);
copy_buf          213 drivers/net/ethernet/sfc/tx.c 		BUG_ON(copy_buf->used);
copy_buf          214 drivers/net/ethernet/sfc/tx.c 		BUG_ON(len > sizeof(copy_buf->buf));
copy_buf          215 drivers/net/ethernet/sfc/tx.c 		memcpy(copy_buf->buf, data, len);
copy_buf          216 drivers/net/ethernet/sfc/tx.c 		copy_buf->used = len;
copy_buf          225 drivers/net/ethernet/sfc/tx.c 				       struct efx_short_copy_buffer *copy_buf)
copy_buf          227 drivers/net/ethernet/sfc/tx.c 	if (copy_buf->used) {
copy_buf          230 drivers/net/ethernet/sfc/tx.c 			min_t(int, sizeof(copy_buf->buf) - copy_buf->used, len);
copy_buf          232 drivers/net/ethernet/sfc/tx.c 		memcpy(copy_buf->buf + copy_buf->used, data, copy_to_buf);
copy_buf          233 drivers/net/ethernet/sfc/tx.c 		copy_buf->used += copy_to_buf;
copy_buf          236 drivers/net/ethernet/sfc/tx.c 		if (copy_buf->used < sizeof(copy_buf->buf))
copy_buf          239 drivers/net/ethernet/sfc/tx.c 		__iowrite64_copy(*piobuf, copy_buf->buf,
copy_buf          240 drivers/net/ethernet/sfc/tx.c 				 sizeof(copy_buf->buf) >> 3);
copy_buf          241 drivers/net/ethernet/sfc/tx.c 		*piobuf += sizeof(copy_buf->buf);
copy_buf          244 drivers/net/ethernet/sfc/tx.c 		copy_buf->used = 0;
copy_buf          247 drivers/net/ethernet/sfc/tx.c 	efx_memcpy_toio_aligned(efx, piobuf, data, len, copy_buf);
copy_buf          251 drivers/net/ethernet/sfc/tx.c 				  struct efx_short_copy_buffer *copy_buf)
copy_buf          254 drivers/net/ethernet/sfc/tx.c 	if (copy_buf->used)
copy_buf          255 drivers/net/ethernet/sfc/tx.c 		__iowrite64_copy(piobuf, copy_buf->buf,
copy_buf          256 drivers/net/ethernet/sfc/tx.c 				 sizeof(copy_buf->buf) >> 3);
copy_buf          264 drivers/net/ethernet/sfc/tx.c 				     struct efx_short_copy_buffer *copy_buf)
copy_buf          269 drivers/net/ethernet/sfc/tx.c 				copy_buf);
copy_buf          278 drivers/net/ethernet/sfc/tx.c 					   skb_frag_size(f), copy_buf);
copy_buf          301 drivers/net/ethernet/sfc/tx.c 		struct efx_short_copy_buffer copy_buf;
copy_buf          303 drivers/net/ethernet/sfc/tx.c 		copy_buf.used = 0;
copy_buf          306 drivers/net/ethernet/sfc/tx.c 					 &piobuf, &copy_buf);
copy_buf          307 drivers/net/ethernet/sfc/tx.c 		efx_flush_copy_buffer(tx_queue->efx, piobuf, &copy_buf);
copy_buf          252 drivers/usb/gadget/function/f_uac1_legacy.c 	struct f_audio_buf *copy_buf;
copy_buf          254 drivers/usb/gadget/function/f_uac1_legacy.c 	copy_buf = kzalloc(sizeof *copy_buf, GFP_ATOMIC);
copy_buf          255 drivers/usb/gadget/function/f_uac1_legacy.c 	if (!copy_buf)
copy_buf          258 drivers/usb/gadget/function/f_uac1_legacy.c 	copy_buf->buf = kzalloc(buf_size, GFP_ATOMIC);
copy_buf          259 drivers/usb/gadget/function/f_uac1_legacy.c 	if (!copy_buf->buf) {
copy_buf          260 drivers/usb/gadget/function/f_uac1_legacy.c 		kfree(copy_buf);
copy_buf          264 drivers/usb/gadget/function/f_uac1_legacy.c 	return copy_buf;
copy_buf          284 drivers/usb/gadget/function/f_uac1_legacy.c 	struct f_audio_buf *copy_buf;
copy_buf          325 drivers/usb/gadget/function/f_uac1_legacy.c 	struct f_audio_buf *copy_buf = audio->copy_buf;
copy_buf          334 drivers/usb/gadget/function/f_uac1_legacy.c 	if (!copy_buf)
copy_buf          338 drivers/usb/gadget/function/f_uac1_legacy.c 	if (audio_buf_size - copy_buf->actual < req->actual) {
copy_buf          339 drivers/usb/gadget/function/f_uac1_legacy.c 		list_add_tail(&copy_buf->list, &audio->play_queue);
copy_buf          341 drivers/usb/gadget/function/f_uac1_legacy.c 		copy_buf = f_audio_buffer_alloc(audio_buf_size);
copy_buf          342 drivers/usb/gadget/function/f_uac1_legacy.c 		if (IS_ERR(copy_buf))
copy_buf          346 drivers/usb/gadget/function/f_uac1_legacy.c 	memcpy(copy_buf->buf + copy_buf->actual, req->buf, req->actual);
copy_buf          347 drivers/usb/gadget/function/f_uac1_legacy.c 	copy_buf->actual += req->actual;
copy_buf          348 drivers/usb/gadget/function/f_uac1_legacy.c 	audio->copy_buf = copy_buf;
copy_buf          609 drivers/usb/gadget/function/f_uac1_legacy.c 			audio->copy_buf = f_audio_buffer_alloc(audio_buf_size);
copy_buf          610 drivers/usb/gadget/function/f_uac1_legacy.c 			if (IS_ERR(audio->copy_buf))
copy_buf          640 drivers/usb/gadget/function/f_uac1_legacy.c 			struct f_audio_buf *copy_buf = audio->copy_buf;
copy_buf          641 drivers/usb/gadget/function/f_uac1_legacy.c 			if (copy_buf) {
copy_buf          642 drivers/usb/gadget/function/f_uac1_legacy.c 				list_add_tail(&copy_buf->list,