Searched refs:copy_buf (Results 1 – 3 of 3) sorted by relevance
138 struct efx_short_copy_buffer *copy_buf) in efx_memcpy_toio_aligned() argument140 int block_len = len & ~(sizeof(copy_buf->buf) - 1); in efx_memcpy_toio_aligned()148 BUG_ON(copy_buf->used); in efx_memcpy_toio_aligned()149 BUG_ON(len > sizeof(copy_buf->buf)); in efx_memcpy_toio_aligned()150 memcpy(copy_buf->buf, data, len); in efx_memcpy_toio_aligned()151 copy_buf->used = len; in efx_memcpy_toio_aligned()160 struct efx_short_copy_buffer *copy_buf) in efx_memcpy_toio_aligned_cb() argument162 if (copy_buf->used) { in efx_memcpy_toio_aligned_cb()165 min_t(int, sizeof(copy_buf->buf) - copy_buf->used, len); in efx_memcpy_toio_aligned_cb()167 memcpy(copy_buf->buf + copy_buf->used, data, copy_to_buf); in efx_memcpy_toio_aligned_cb()[all …]
252 struct f_audio_buf *copy_buf; in f_audio_buffer_alloc() local254 copy_buf = kzalloc(sizeof *copy_buf, GFP_ATOMIC); in f_audio_buffer_alloc()255 if (!copy_buf) in f_audio_buffer_alloc()258 copy_buf->buf = kzalloc(buf_size, GFP_ATOMIC); in f_audio_buffer_alloc()259 if (!copy_buf->buf) { in f_audio_buffer_alloc()260 kfree(copy_buf); in f_audio_buffer_alloc()264 return copy_buf; in f_audio_buffer_alloc()284 struct f_audio_buf *copy_buf; member325 struct f_audio_buf *copy_buf = audio->copy_buf; in f_audio_out_ep_complete() local334 if (!copy_buf) in f_audio_out_ep_complete()[all …]
11070 + MMAL_BUFFER_HEADER_T * copy_buf;11968 + if (sys->copy_buf != NULL) {11969 + MMAL_BUFFER_HEADER_T *const buf = sys->copy_buf;11970 + sys->copy_buf = NULL;12379 + if (sys->copy_buf != NULL) {12381 + mmal_buffer_header_release(sys->copy_buf);12382 + sys->copy_buf = NULL;12390 + sys->copy_buf = buf;12719 + if (sys->copy_buf != NULL)12720 + mmal_buffer_header_release(sys->copy_buf);