Searched refs:copy_buf (Results 1 – 5 of 5) sorted by relevance
251 struct f_audio_buf *copy_buf; in f_audio_buffer_alloc() local253 copy_buf = kzalloc(sizeof *copy_buf, GFP_ATOMIC); in f_audio_buffer_alloc()254 if (!copy_buf) in f_audio_buffer_alloc()257 copy_buf->buf = kzalloc(buf_size, GFP_ATOMIC); in f_audio_buffer_alloc()258 if (!copy_buf->buf) { in f_audio_buffer_alloc()259 kfree(copy_buf); in f_audio_buffer_alloc()263 return copy_buf; in f_audio_buffer_alloc()280 struct f_audio_buf *copy_buf; member321 struct f_audio_buf *copy_buf = audio->copy_buf; in f_audio_out_ep_complete() local330 if (!copy_buf) in f_audio_out_ep_complete()[all …]
188 struct efx_short_copy_buffer *copy_buf) in efx_memcpy_toio_aligned() argument190 int block_len = len & ~(sizeof(copy_buf->buf) - 1); in efx_memcpy_toio_aligned()198 BUG_ON(copy_buf->used); in efx_memcpy_toio_aligned()199 BUG_ON(len > sizeof(copy_buf->buf)); in efx_memcpy_toio_aligned()200 memcpy(copy_buf->buf, data, len); in efx_memcpy_toio_aligned()201 copy_buf->used = len; in efx_memcpy_toio_aligned()210 struct efx_short_copy_buffer *copy_buf) in efx_memcpy_toio_aligned_cb() argument212 if (copy_buf->used) { in efx_memcpy_toio_aligned_cb()215 min_t(int, sizeof(copy_buf->buf) - copy_buf->used, len); in efx_memcpy_toio_aligned_cb()217 memcpy(copy_buf->buf + copy_buf->used, data, copy_to_buf); in efx_memcpy_toio_aligned_cb()[all …]
93 data_copy->copy_buf = mem; in iser_start_rdma_unaligned_sg()132 mem = data_copy->copy_buf; in iser_finalize_rdma_unaligned_sg()151 free_pages((unsigned long)data_copy->copy_buf, in iser_finalize_rdma_unaligned_sg()154 kfree(data_copy->copy_buf); in iser_finalize_rdma_unaligned_sg()156 data_copy->copy_buf = NULL; in iser_finalize_rdma_unaligned_sg()
677 if (iser_task->data_copy[ISER_DIR_IN].copy_buf != NULL) { in iser_task_rdma_finalize()685 if (iser_task->data_copy[ISER_DIR_OUT].copy_buf != NULL) { in iser_task_rdma_finalize()693 if (iser_task->prot_copy[ISER_DIR_IN].copy_buf != NULL) { in iser_task_rdma_finalize()701 if (iser_task->prot_copy[ISER_DIR_OUT].copy_buf != NULL) { in iser_task_rdma_finalize()
233 char *copy_buf; member