Searched refs:buffers (Results 1 - 25 of 104) sorted by relevance

12345

/linux-master/lib/xz/
H A Dxz_dec_test.c42 * Input and output buffers. The input buffer is used as a temporary safe
49 * Structure to pass the input and output buffers to the XZ decoder.
52 static struct xz_buf buffers = { variable in typeref:struct:xz_buf
75 buffers.in_pos = 0;
76 buffers.in_size = 0;
77 buffers.out_pos = 0;
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size)
122 if (buffers.in_pos == buffers
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vid-common.c41 .buffers = 1,
50 .buffers = 1,
58 .buffers = 1,
66 .buffers = 1,
74 .buffers = 1,
82 .buffers = 1,
90 .buffers = 1,
98 .buffers = 1,
106 .buffers = 1,
114 .buffers
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_bl.c29 dma_unmap_single(dev, bl->buffers[i].addr,
30 bl->buffers[i].len, bl_dma_dir);
39 dma_unmap_single(dev, blout->buffers[i].addr,
40 blout->buffers[i].len,
68 size_t sz_out, sz = struct_size(bufl, buffers, n);
92 bufl->buffers[i].addr = DMA_MAPPING_ERROR;
106 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left,
109 bufl->buffers[y].len = sg->length;
110 if (unlikely(dma_mapping_error(dev, bufl->buffers[y].addr)))
114 bufl->buffers[
127 struct qat_alg_buf *buffers; local
[all...]
H A Dqat_bl.h21 struct qat_alg_buf buffers[]; member in struct:qat_alg_buf_list
/linux-master/drivers/iio/buffer/
H A Dindustrialio-hw-consumer.c19 * @buffers: hardware buffers list head.
23 struct list_head buffers; member in struct:iio_hw_consumer
57 list_for_each_entry(buf, &hwc->buffers, head) {
72 list_add_tail(&buf->head, &hwc->buffers);
94 INIT_LIST_HEAD(&hwc->buffers);
116 list_for_each_entry(buf, &hwc->buffers, head)
134 list_for_each_entry_safe(buf, n, &hwc->buffers, head)
183 list_for_each_entry(buf, &hwc->buffers, head) {
192 list_for_each_entry_continue_reverse(buf, &hwc->buffers, hea
[all...]
/linux-master/fs/verity/
H A Denable.c80 struct block_buffer *buffers = &_buffers[1]; local
93 * Allocate the block buffers. Buffer "-1" is for data blocks.
98 buffers[level].data = kzalloc(params->block_size, GFP_KERNEL);
99 if (!buffers[level].data) {
104 buffers[num_levels].data = root_hash;
105 buffers[num_levels].is_root_hash = true;
115 buffers[-1].filled = min_t(u64, params->block_size,
117 bytes_read = __kernel_read(filp, buffers[-1].data,
118 buffers[-1].filled, &pos);
124 if (bytes_read != buffers[
[all...]
/linux-master/drivers/scsi/isci/
H A Dunsolicited_frame_control.c69 * The Unsolicited Frame buffers are set at the start of the UF
71 * placed after the buffers.
106 * Program the actual used UF buffers into the UF address table and
110 uf = &uf_control->buffers.array[i];
136 *frame_header = &uf_control->buffers.array[frame_index].header->data;
149 *frame_buffer = uf_control->buffers.array[frame_index].buffer;
184 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED;
198 while (uf_control->buffers.array[frame_get].state == UNSOLICITED_FRAME_RELEASED) {
199 uf_control->buffers.array[frame_get].state = UNSOLICITED_FRAME_EMPTY;
H A Dunsolicited_frame_control.h209 * 1KB buffers into which the silicon will DMA unsolicited frames.
250 struct sci_uf_buffer_array buffers; member in struct:sci_unsolicited_frame_control
/linux-master/drivers/crypto/ccree/
H A Dcc_hash.h38 u8 buffers[2][CC_MAX_HASH_BLCK_SIZE] ____cacheline_aligned;
66 return state->buffers[state->buff_index];
76 return state->buffers[state->buff_index ^ 1];
/linux-master/drivers/android/
H A Dbinder_alloc_selftest.c120 struct binder_buffer *buffers[],
126 buffers[i] = binder_alloc_new_buf(alloc, sizes[i], 0, 0, 0);
127 if (IS_ERR(buffers[i]) ||
128 !check_buffer_pages_allocated(alloc, buffers[i],
137 struct binder_buffer *buffers[],
143 binder_alloc_free_buf(alloc, buffers[seq[i]]);
183 struct binder_buffer *buffers[BUFFER_NUM]; local
185 binder_selftest_alloc_buf(alloc, buffers, sizes, seq);
186 binder_selftest_free_buf(alloc, buffers, sizes, seq, end);
189 binder_selftest_alloc_buf(alloc, buffers, size
119 binder_selftest_alloc_buf(struct binder_alloc *alloc, struct binder_buffer *buffers[], size_t *sizes, int *seq) argument
136 binder_selftest_free_buf(struct binder_alloc *alloc, struct binder_buffer *buffers[], size_t *sizes, int *seq, size_t end) argument
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-queue.c35 q->buffers = 0;
53 q->buffers++;
68 q->buffers--;
82 from->buffers--;
88 to->buffers++;
93 /* Move 'needed_bytes' worth of buffers from queue 'from' into queue 'to'.
94 If 'needed_bytes' == 0, then move all buffers from 'from' into 'to'.
95 If 'steal' != NULL, then buffers may also taken from that queue if
99 also cleared if buffers need to be taken from the 'steal' queue and
107 -ENOMEM is returned if the buffers coul
[all...]
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_fw_trace.h56 * @buffers: Array representing the actual trace buffers owned by this
59 struct pvr_fw_trace_buffer buffers[ROGUE_FW_THREAD_MAX]; member in struct:pvr_fw_trace
H A Dpvr_fw_trace.c33 for (thread_nr = 0; thread_nr < ARRAY_SIZE(fw_trace->buffers); thread_nr++) {
36 struct pvr_fw_trace_buffer *trace_buffer = &fw_trace->buffers[thread_nr];
53 for (thread_nr = 0; thread_nr < ARRAY_SIZE(fw_trace->buffers); thread_nr++) {
54 struct pvr_fw_trace_buffer *trace_buffer = &fw_trace->buffers[thread_nr];
88 ARRAY_SIZE(fw_trace->buffers));
90 for (thread_nr = 0; thread_nr < ARRAY_SIZE(fw_trace->buffers); thread_nr++) {
93 struct pvr_fw_trace_buffer *trace_buffer = &fw_trace->buffers[thread_nr];
101 for (thread_nr = 0; thread_nr < ARRAY_SIZE(fw_trace->buffers); thread_nr++) {
102 struct pvr_fw_trace_buffer *trace_buffer = &fw_trace->buffers[thread_nr];
116 for (thread_nr = 0; thread_nr < ARRAY_SIZE(fw_trace->buffers); thread_n
[all...]
/linux-master/drivers/staging/media/starfive/camss/
H A Dstf-capture.c79 struct stf_v_buf *output = &cap->buffers;
113 struct stf_v_buf *output = &cap->buffers;
138 struct stf_v_buf *output = &cap->buffers;
242 cap->buffers.state = STF_OUTPUT_OFF;
243 cap->buffers.buf[0] = NULL;
244 cap->buffers.buf[1] = NULL;
245 cap->buffers.active_buf = 0;
246 atomic_set(&cap->buffers.frame_skip, 4);
247 INIT_LIST_HEAD(&cap->buffers.pending_bufs);
248 INIT_LIST_HEAD(&cap->buffers
[all...]
H A Dstf-capture.h75 struct stf_v_buf buffers; member in struct:stf_capture
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_client_blt.c101 struct blit_buffer buffers[3]; member in struct:tiled_blits
261 for (i = 0; i < ARRAY_SIZE(t->buffers); i++)
262 i915_vma_put(t->buffers[i].vma);
314 for (i = 0; i < ARRAY_SIZE(t->buffers); i++) {
323 t->buffers[i].vma = vma;
324 t->buffers[i].tiling =
609 for (i = 0; i < ARRAY_SIZE(t->buffers); i++) {
614 &t->buffers[i], t->hole + offset,
617 err = verify_buffer(t, &t->buffers[i], prng);
636 &t->buffers[
[all...]
/linux-master/lib/reed_solomon/
H A Ddecode_rs.c29 * The decoder buffers are in the rs control struct. They are
32 uint16_t *lambda = rsc->buffers + RS_DECODE_LAMBDA * (nroots + 1);
33 uint16_t *syn = rsc->buffers + RS_DECODE_SYN * (nroots + 1);
34 uint16_t *b = rsc->buffers + RS_DECODE_B * (nroots + 1);
35 uint16_t *t = rsc->buffers + RS_DECODE_T * (nroots + 1);
36 uint16_t *omega = rsc->buffers + RS_DECODE_OMEGA * (nroots + 1);
37 uint16_t *root = rsc->buffers + RS_DECODE_ROOT * (nroots + 1);
38 uint16_t *reg = rsc->buffers + RS_DECODE_REG * (nroots + 1);
39 uint16_t *loc = rsc->buffers + RS_DECODE_LOC * (nroots + 1);
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.c48 /* Pointers to all buffers */
49 struct pvr2_buffer **buffers; member in struct:pvr2_stream
50 /* Array size of buffers */
52 /* Total buffers actually in circulation */
54 /* Designed number of buffers to be in circulation */
286 /* Allocate buffers pointer array in multiples of 32 entries */
305 memcpy(nb, sp->buffers,
307 kfree(sp->buffers);
309 sp->buffers = nb;
321 sp->buffers[s
[all...]
/linux-master/kernel/trace/
H A Dring_buffer.c133 /* Used for individual buffers (after the counter) */
507 struct ring_buffer_per_cpu **buffers; member in struct:trace_buffer
656 struct ring_buffer_per_cpu *cpu_buffer = buffer->buffers[smp_processor_id()];
693 return buffer->buffers[cpu]->nr_pages;
709 read = local_read(&buffer->buffers[cpu]->pages_read);
710 lost = local_read(&buffer->buffers[cpu]->pages_lost);
711 cnt = local_read(&buffer->buffers[cpu]->pages_touched);
729 struct ring_buffer_per_cpu *cpu_buffer = buffer->buffers[cpu];
803 if (WARN_ON_ONCE(!buffer->buffers))
808 cpu_buffer = buffer->buffers[cp
[all...]
/linux-master/drivers/media/pci/cx18/
H A Dcx18-queue.c242 /* Reset MDL id's and move all buffers back to the stream's buf_pool */
272 * Attach buffers to MDLs, give the MDLs ids, and add MDLs to q_free
274 * Excess buffers are left in buf_pool and/or on an MDL in q_idle
301 * case of a non-integral number of buffers to meet
313 /* Not enough buffers for this MDL; we won't use it */
337 if (s->buffers == 0)
340 CX18_DEBUG_INFO("Allocate %s stream: %d x %d buffers (%d.%02d kB total)\n",
341 s->name, s->buffers, s->buf_size,
342 s->buffers * s->buf_size / 1024,
343 (s->buffers *
[all...]
/linux-master/include/soc/fsl/
H A Ddpaa2-io.h121 const u64 *buffers, unsigned int num_buffers);
123 u64 *buffers, unsigned int num_buffers);
/linux-master/drivers/hid/intel-ish-hid/
H A DMakefile13 intel-ishtp-objs += ishtp/client-buffers.o
/linux-master/drivers/platform/goldfish/
H A Dgoldfish_pipe.c43 * intermediate buffers, since the emulator is capable of translating
94 /* number of buffers, guest -> host */
118 /* Device-level set of buffers shared with the host */
184 * - open_command_params - PIPE_CMD_OPEN-related buffers
201 /* Pointers to the buffers host uses for interaction with this driver */
202 struct goldfish_pipe_dev_buffers *buffers; member in struct:goldfish_pipe_dev
338 /* Serialize access to the pipe command buffers */
641 dev->buffers->signalled_pipe_buffers[i].id,
642 dev->buffers->signalled_pipe_buffers[i].flags);
737 dev->buffers
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dinit.c37 * min buffers we want to have per context, after driver
48 * pio buffers per ctxt, etc.) Zero means use one user context per CPU.
65 MODULE_PARM_DESC(rcvarr_split, "Percent of context's RcvArray entries used for Eager buffers");
69 MODULE_PARM_DESC(eager_buffer_size, "Size of the eager buffers, default: 8MB");
414 rcd->egrbufs.buffers =
416 sizeof(*rcd->egrbufs.buffers),
418 if (!rcd->egrbufs.buffers)
428 * The size of the buffers programmed into the RcvArray
1109 if (rcd->egrbufs.buffers[e].addr)
1111 rcd->egrbufs.buffers[
[all...]
/linux-master/sound/oss/dmasound/
H A Ddmasound_core.c415 if (sq->buffers)
419 sq->buffers = kmalloc_array (num, sizeof(char *), GFP_KERNEL);
420 if (!sq->buffers)
423 sq->buffers[i] = dmasound.mach.dma_alloc(size, GFP_KERNEL);
424 if (!sq->buffers[i]) {
426 dmasound.mach.dma_free(sq->buffers[i], size);
427 kfree(sq->buffers);
428 sq->buffers = NULL;
439 if (sq->buffers) {
441 dmasound.mach.dma_free(sq->buffers[
[all...]

Completed in 222 milliseconds

12345