Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 200 of 272) sorted by relevance

12

/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-vid-common.c53 .buffers = 1,
62 .buffers = 1,
70 .buffers = 1,
78 .buffers = 1,
86 .buffers = 1,
94 .buffers = 1,
102 .buffers = 1,
110 .buffers = 1,
118 .buffers = 1,
126 .buffers = 1,
[all …]
Dvivid-tpg.h147 unsigned buffers; member
366 return tpg->buffers; in tpg_g_buffers()
411 if (tpg->buffers > 1) { in tpg_s_bytesperline()
429 if (tpg->buffers > 1) in tpg_g_line_width()
445 if (tpg->buffers > 1) in tpg_calc_line_width()
Dvivid-vid-cap.c47 .buffers = 1,
54 .buffers = 1,
61 .buffers = 1,
104 unsigned buffers = tpg_g_buffers(&dev->tpg); in vid_cap_queue_setup() local
139 if (mp->num_planes != buffers) in vid_cap_queue_setup()
142 for (p = 0; p < buffers; p++) { in vid_cap_queue_setup()
149 for (p = 0; p < buffers; p++) in vid_cap_queue_setup()
157 *nplanes = buffers; in vid_cap_queue_setup()
165 for (p = 0; p < buffers; p++) in vid_cap_queue_setup()
175 unsigned buffers = tpg_g_buffers(&dev->tpg); in vid_cap_buf_prepare() local
[all …]
Dvivid-vid-out.c41 unsigned planes = vfmt->buffers; in vid_out_queue_setup()
46 for (p = vfmt->buffers; p < vfmt->planes; p++) in vid_out_queue_setup()
331 mp->num_planes = fmt->buffers; in vivid_g_fmt_vid_out()
337 for (p = fmt->buffers; p < fmt->planes; p++) { in vivid_g_fmt_vid_out()
404 mp->num_planes = fmt->buffers; in vivid_try_fmt_vid_out()
413 for (p = fmt->buffers; p < fmt->planes; p++) in vivid_try_fmt_vid_out()
546 for (p = dev->fmt_out->buffers; p < dev->fmt_out->planes; p++) in vivid_s_fmt_vid_out()
Dvivid-core.h86 u8 buffers; member
Dvivid-tpg.c182 tpg->buffers = 1; in tpg_s_fourcc()
243 tpg->buffers = 3; in tpg_s_fourcc()
264 tpg->buffers = 2; in tpg_s_fourcc()
276 tpg->buffers = 2; in tpg_s_fourcc()
2273 if (tpg->buffers > 1) { in tpg_fillbuffer()
/linux-4.4.14/lib/xz/
Dxz_dec_test.c52 static struct xz_buf buffers = { variable
75 buffers.in_pos = 0; in xz_dec_test_open()
76 buffers.in_size = 0; in xz_dec_test_open()
77 buffers.out_pos = 0; in xz_dec_test_open()
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
122 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write()
123 buffers.in_pos = 0; in xz_dec_test_write()
124 buffers.in_size = min(remaining, sizeof(buffer_in)); in xz_dec_test_write()
125 if (copy_from_user(buffer_in, buf, buffers.in_size)) in xz_dec_test_write()
128 buf += buffers.in_size; in xz_dec_test_write()
[all …]
/linux-4.4.14/drivers/media/pci/zoran/
Dzoran_driver.c196 fh->buffers.buffer_size = v4l_bufsize; in map_mode_raw()
197 fh->buffers.num_buffers = v4l_nbufs; in map_mode_raw()
202 fh->buffers.buffer_size = jpg_bufsize; in map_mode_jpg()
203 fh->buffers.num_buffers = jpg_nbufs; in map_mode_jpg()
222 for (i = 0; i < fh->buffers.num_buffers; i++) { in v4l_fbuffer_alloc()
223 if (fh->buffers.buffer[i].v4l.fbuffer) in v4l_fbuffer_alloc()
230 mem = kmalloc(fh->buffers.buffer_size, in v4l_fbuffer_alloc()
240 fh->buffers.buffer[i].v4l.fbuffer = mem; in v4l_fbuffer_alloc()
241 fh->buffers.buffer[i].v4l.fbuffer_phys = virt_to_phys(mem); in v4l_fbuffer_alloc()
242 fh->buffers.buffer[i].v4l.fbuffer_bus = virt_to_bus(mem); in v4l_fbuffer_alloc()
[all …]
Dzoran.h230 struct zoran_buffer_col buffers; /* buffers' info */ member
/linux-4.4.14/drivers/scsi/isci/
Dunsolicited_frame_control.c110 uf = &uf_control->buffers.array[i]; in sci_unsolicited_frame_control_construct()
136 *frame_header = &uf_control->buffers.array[frame_index].header->data; in sci_unsolicited_frame_control_get_header()
149 *frame_buffer = uf_control->buffers.array[frame_index].buffer; in sci_unsolicited_frame_control_get_buffer()
184 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED; in sci_unsolicited_frame_control_release_frame()
198 while (uf_control->buffers.array[frame_get].state == UNSOLICITED_FRAME_RELEASED) { in sci_unsolicited_frame_control_release_frame()
199 uf_control->buffers.array[frame_get].state = UNSOLICITED_FRAME_EMPTY; in sci_unsolicited_frame_control_release_frame()
Dunsolicited_frame_control.h250 struct sci_uf_buffer_array buffers; member
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-queue.c47 q->buffers = 0; in ivtv_queue_init()
65 q->buffers++; in ivtv_enqueue()
80 q->buffers--; in ivtv_dequeue()
94 from->buffers--; in ivtv_queue_move_buf()
100 to->buffers++; in ivtv_queue_move_buf()
155 steal->buffers--; in ivtv_queue_move()
159 from->buffers++; in ivtv_queue_move()
196 int SGsize = sizeof(struct ivtv_sg_host_element) * s->buffers; in ivtv_stream_alloc()
199 if (s->buffers == 0) in ivtv_stream_alloc()
204 s->name, s->buffers, s->buf_size, s->buffers * s->buf_size / 1024); in ivtv_stream_alloc()
[all …]
Divtv-fileops.c276 if (!s->q_full.buffers) in ivtv_get_buffer()
629 if (q.buffers) in ivtv_write()
636 if (!s->q_free.buffers) in ivtv_write()
762 if (s->q_free.buffers) in ivtv_v4l2_dec_poll()
Divtv-streams.c180 s->buffers = (itv->options.kilobytes[type] * 1024 + s->buf_size - 1) / s->buf_size; in ivtv_stream_init()
930 if (s->q_full.buffers + s->q_dma.buffers == 0) { in ivtv_stop_v4l2_decode_stream()
Divtv-driver.h320 u32 buffers; /* number of buffers in this queue */ member
353 u32 buffers; member
Divtv-ioctl.c1592 if (s->vdev.v4l2_dev == NULL || s->buffers == 0) in ivtv_log_status()
1595 (s->buffers - s->q_free.buffers) * 100 / s->buffers, in ivtv_log_status()
1596 (s->buffers * s->buf_size) / 1024, s->buffers); in ivtv_log_status()
Divtv-irq.c130 int skip_bufs = s->q_predma.buffers; in stream_enc_dma_append()
483 s->sg_pending_size + s_vbi->sg_pending_size <= s->buffers) { in ivtv_dma_enc_start()
/linux-4.4.14/Documentation/video4linux/
Dcafe_ccic22 buffers until the time comes to transfer data. If this option is set,
23 then worst-case-sized buffers will be allocated at module load time.
27 - dma_buf_size: The size of DMA buffers to allocate. Note that this
28 option is only consulted for load-time allocation; when buffers are
33 buffers. Normally, the driver tries to use three buffers; on faster
36 - min_buffers: The minimum number of streaming I/O buffers that the driver
41 - max_buffers: The maximum number of streaming I/O buffers; default is
Dvideobuf6 and user space. It handles the allocation and management of buffers for
18 Not all video devices use the same kind of buffers. In fact, there are (at
22 address spaces. (Almost) all user-space buffers are like this, but it
23 makes great sense to allocate kernel-space buffers this way as well when
29 contiguous; buffers allocated with vmalloc(), in other words. These
30 buffers are just as hard to use for DMA operations, but they can be
32 buffers are convenient.
38 Videobuf can work with all three types of buffers, but the driver author
41 [It's worth noting that there's a fourth kind of buffer: "overlay" buffers
45 benefits merit the use of this technique. Overlay buffers can be handled
[all …]
Domap4_camera.txt23 except that it doesn't need an IOMMU now for ISS buffers memory mapping.
25 Supports usage of MMAP buffers only (for now).
Dpxa_camera.txt19 More buffers can be queued while the QCI is started without halting the
20 capture. The new buffers are "appended" at the tail of the DMA chain, and
24 removed from the active buffers list. It can be then requeud or dequeued by
DREADME.cpia258 num_buffers Number of frame buffers (1-32, default 3)
102 How many buffers should I use?
108 this case use 2 buffers. You are probably not reading at the full frame rate.
Dmeye.txt48 gbuffers: number of capture buffers, default is 2 (32 max)
100 Queue a buffer for capture (the buffers must have been
DREADME.pvrusb2166 transfer buffers, required in order to stream data from the
168 buffers and makes no attempt to define any policy or mechanism for
169 how such buffers might be used.
176 mmap()'ed buffers or something even more exotic.
DZoran414 But wait a second! -b128 gives 128kB buffers! It's not possible to cram
430 6/8 of the specified buffers. (I'm not sure why. "Playing it safe" seem to be
434 per block, the equivalence of -q24. With 128kB buffers, you can't use greater
Domap3isp.txt223 The modules handle their buffers internally. The necessary buffer size for the
/linux-4.4.14/net/sunrpc/xprtrdma/
Dverbs.c1098 rpcrdma_buffer_get(struct rpcrdma_buffer *buffers) in rpcrdma_buffer_get() argument
1102 spin_lock(&buffers->rb_lock); in rpcrdma_buffer_get()
1103 if (list_empty(&buffers->rb_send_bufs)) in rpcrdma_buffer_get()
1105 req = rpcrdma_buffer_get_req_locked(buffers); in rpcrdma_buffer_get()
1106 if (list_empty(&buffers->rb_recv_bufs)) in rpcrdma_buffer_get()
1108 req->rl_reply = rpcrdma_buffer_get_rep_locked(buffers); in rpcrdma_buffer_get()
1109 spin_unlock(&buffers->rb_lock); in rpcrdma_buffer_get()
1113 spin_unlock(&buffers->rb_lock); in rpcrdma_buffer_get()
1117 spin_unlock(&buffers->rb_lock); in rpcrdma_buffer_get()
1130 struct rpcrdma_buffer *buffers = req->rl_buffer; in rpcrdma_buffer_put() local
[all …]
Dbackchannel.c87 struct rpcrdma_buffer *buffers = &r_xprt->rx_buf; in rpcrdma_bc_setup_reps() local
101 spin_lock_irqsave(&buffers->rb_lock, flags); in rpcrdma_bc_setup_reps()
102 list_add(&rep->rr_list, &buffers->rb_recv_bufs); in rpcrdma_bc_setup_reps()
103 spin_unlock_irqrestore(&buffers->rb_lock, flags); in rpcrdma_bc_setup_reps()
/linux-4.4.14/fs/
Dsplice.c205 if (pipe->nrbufs < pipe->buffers) { in splice_to_pipe()
206 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in splice_to_pipe()
226 if (pipe->nrbufs < pipe->buffers) in splice_to_pipe()
280 unsigned int buffers = ACCESS_ONCE(pipe->buffers); in splice_grow_spd() local
282 spd->nr_pages_max = buffers; in splice_grow_spd()
283 if (buffers <= PIPE_DEF_BUFFERS) in splice_grow_spd()
286 spd->pages = kmalloc(buffers * sizeof(struct page *), GFP_KERNEL); in splice_grow_spd()
287 spd->partial = kmalloc(buffers * sizeof(struct partial_page), GFP_KERNEL); in splice_grow_spd()
790 pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); in splice_from_pipe_feed()
965 int nbufs = pipe->buffers; in iter_file_splice_write()
[all …]
Dpipe.c289 curbuf = (curbuf + 1) & (pipe->buffers - 1); in pipe_read()
369 (pipe->buffers - 1); in pipe_write()
401 if (bufs < pipe->buffers) { in pipe_write()
402 int newbuf = (pipe->curbuf + bufs) & (pipe->buffers-1); in pipe_write()
445 if (bufs < pipe->buffers) in pipe_write()
494 buf = (buf+1) & (pipe->buffers - 1); in pipe_ioctl()
524 mask |= (nrbufs < pipe->buffers) ? POLLOUT | POLLWRNORM : 0; in pipe_poll()
628 pipe->buffers = pipe_bufs; in alloc_pipe_info()
645 account_pipe_buffers(pipe, pipe->buffers, 0); in free_pipe_info()
647 for (i = 0; i < pipe->buffers; i++) { in free_pipe_info()
[all …]
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dinit.c293 rcd->egrbufs.buffers = kcalloc(rcd->egrbufs.count, in hfi1_create_ctxtdata()
294 sizeof(*rcd->egrbufs.buffers), in hfi1_create_ctxtdata()
296 if (!rcd->egrbufs.buffers) in hfi1_create_ctxtdata()
328 kfree(rcd->egrbufs.buffers); in hfi1_create_ctxtdata()
936 if (rcd->egrbufs.buffers[e].phys) in hfi1_free_ctxtdata()
938 rcd->egrbufs.buffers[e].len, in hfi1_free_ctxtdata()
939 rcd->egrbufs.buffers[e].addr, in hfi1_free_ctxtdata()
940 rcd->egrbufs.buffers[e].phys); in hfi1_free_ctxtdata()
942 kfree(rcd->egrbufs.buffers); in hfi1_free_ctxtdata()
1591 rcd->egrbufs.buffers[idx].addr = in hfi1_setup_eagerbufs()
[all …]
Dfile_ops.c584 uctxt->egrbufs.buffers[i].phys >> PAGE_SHIFT, in hfi1_file_mmap()
585 uctxt->egrbufs.buffers[i].len, in hfi1_file_mmap()
589 addr += uctxt->egrbufs.buffers[i].len; in hfi1_file_mmap()
/linux-4.4.14/Documentation/filesystems/
Drelay.txt9 as a set of per-cpu kernel buffers ('channel buffers'), each
11 clients write into the channel buffers using efficient write
16 are associated with the channel buffers using the API described below.
18 The format of the data logged into the channel buffers is completely
33 sub-buffers. Messages are written to the first sub-buffer until it is
35 the next (if available). Messages are never split across sub-buffers.
57 read sub-buffers; thus in cases where read(2) is being used to drain
58 the channel buffers, special-purpose communication between kernel and
93 allowing both to convey the state of buffers (full, empty, amount of
95 consumes the read sub-buffers; thus in cases where read(2) is being
[all …]
Dxfs-delayed-logging-design.txt10 structures. Other objects - typically buffers - have their physical changes
54 keeps relogging the inode and btree buffers as they get modified in each
70 forces the log buffers holding the transactions to disk. This means that XFS is
75 log buffers made available by the log manager. By default there are 8 log
76 buffers available and the size of each is 32kB - the size can be increased up
81 buffers are full and under IO, then no more transactions can be committed until
83 be to able to issue enough transactions to keep the log buffers full and under
92 multiple times before they are committed to disk in the log buffers. If we
102 buffers. It is clear that reducing the number of stale objects written to the
111 accumulating stale objects in the log buffers.
[all …]
Dxfs.txt130 Set the number of in-memory log buffers. Valid numbers
133 The default value is 8 buffers.
135 If the memory cost of 8 log buffers is too high on small
DLocking313 some or all of the buffers from the page when it is being truncated. It
318 buffers from the page in preparation for freeing it. It returns zero to
319 indicate that the buffers are (or may be) freeable. If ->releasepage is zero,
320 the kernel assumes that the fs has no private interest in the buffers.
Dporting298 metadata buffers; the method has to use truncate_inode_pages_final() to get rid
311 before, if you are using inode-associated metadata buffers (i.e.
/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c63 struct pvr2_buffer **buffers; member
324 memcpy(nb,sp->buffers, in pvr2_stream_buffer_count()
326 kfree(sp->buffers); in pvr2_stream_buffer_count()
328 sp->buffers = nb; in pvr2_stream_buffer_count()
340 sp->buffers[sp->buffer_total_count] = bp; in pvr2_stream_buffer_count()
347 bp = sp->buffers[sp->buffer_total_count - 1]; in pvr2_stream_buffer_count()
349 sp->buffers[sp->buffer_total_count - 1] = NULL; in pvr2_stream_buffer_count()
357 nb = kmemdup(sp->buffers, scnt * sizeof(*nb), in pvr2_stream_buffer_count()
361 kfree(sp->buffers); in pvr2_stream_buffer_count()
362 sp->buffers = nb; in pvr2_stream_buffer_count()
[all …]
/linux-4.4.14/kernel/trace/
Dring_buffer.c480 struct ring_buffer_per_cpu **buffers; member
545 cpu_buffer = buffer->buffers[cpu]; in ring_buffer_wait()
642 cpu_buffer = buffer->buffers[cpu]; in ring_buffer_poll_wait()
1344 buffer->buffers = kzalloc(ALIGN(bsize, cache_line_size()), in __ring_buffer_alloc()
1346 if (!buffer->buffers) in __ring_buffer_alloc()
1350 buffer->buffers[cpu] = in __ring_buffer_alloc()
1352 if (!buffer->buffers[cpu]) in __ring_buffer_alloc()
1369 if (buffer->buffers[cpu]) in __ring_buffer_alloc()
1370 rb_free_cpu_buffer(buffer->buffers[cpu]); in __ring_buffer_alloc()
1372 kfree(buffer->buffers); in __ring_buffer_alloc()
[all …]
DKconfig257 full swap (all buffers). If this is set, then the following is
263 the main tracing buffer, and the other CPU buffers remain the same.
598 and all ring buffers will be disabled.
/linux-4.4.14/drivers/atm/
Dnicstarmac.copyright25 * IDT always receives data into a small buffer, then large buffers
28 * Fix is simple: make large buffers large enough to hold entire
32 * buffers. This is done by 2 things:
35 * recycle large data buffers
36 * 2) skb_clone of received buffers
Dsolos-pci.c76 #define RX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2)
77 #define TX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2 + (card->buffer_size))
78 #define FLASH_BUF ((card->buffers) + 4*(card->buffer_size)*2)
116 void __iomem *buffers; member
1239 card->buffers = pci_iomap(dev, 1, DATA_RAM_SIZE); in fpga_probe()
1240 if (!card->buffers) { in fpga_probe()
1349 pci_iounmap(dev, card->buffers); in fpga_probe()
1464 pci_iounmap(dev, card->buffers); in fpga_remove()
Dhe.c1698 list_move_tail(&heb->entry, &he_vcc->buffers); in he_service_rbrq()
1735 list_for_each_entry(heb, &he_vcc->buffers, entry) in he_service_rbrq()
1776 list_for_each_entry_safe(heb, next, &he_vcc->buffers, entry) in he_service_rbrq()
1778 INIT_LIST_HEAD(&he_vcc->buffers); in he_service_rbrq()
2142 INIT_LIST_HEAD(&he_vcc->buffers); in he_open()
Dhe.h321 struct list_head buffers; member
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-queue.c352 if (s->buffers == 0) in cx18_stream_alloc()
357 s->name, s->buffers, s->buf_size, in cx18_stream_alloc()
358 s->buffers * s->buf_size / 1024, in cx18_stream_alloc()
359 (s->buffers * s->buf_size * 100 / 1024) % 100); in cx18_stream_alloc()
361 if (((char __iomem *)&cx->scb->cpu_mdl[cx->free_mdl_idx + s->buffers] - in cx18_stream_alloc()
375 for (i = 0; i < s->buffers; i++) { in cx18_stream_alloc()
409 if (i == s->buffers) { in cx18_stream_alloc()
410 cx->free_mdl_idx += s->buffers; in cx18_stream_alloc()
Dcx18-ioctl.c779 tmp = s->buffers - in cx18_g_enc_index()
1048 if (s->video_dev.v4l2_dev == NULL || s->buffers == 0) in cx18_log_status()
1053 / s->buffers, in cx18_log_status()
1054 (s->buffers * s->buf_size) / 1024, s->buffers); in cx18_log_status()
Dcx18-streams.c270 s->buffers = cx->stream_buffers[type]; in cx18_stream_init()
362 s->buffers = 0; in cx18_prep_dev()
532 if (cx->streams[type].buffers != 0) in cx18_streams_cleanup()
Dcx18-driver.h394 u32 buffers; /* total buffers owned by this stream */ member
Dcx18-dvb.c416 stream->buffers, stream->buf_size/1024, in cx18_dvb_register()
/linux-4.4.14/drivers/media/usb/cpia2/
Dcpia2_v4l.c190 struct framebuf *frame = &cam->buffers[frame_nr]; in sync()
442 if (cam->buffers[frame].status == FRAME_READING) in cpia2_s_fmt_vid_cap()
446 cam->buffers[frame].status = FRAME_EMPTY; in cpia2_s_fmt_vid_cap()
818 buf->m.offset = cam->buffers[buf->index].data - cam->frame_buffer; in cpia2_querybuf()
830 switch (cam->buffers[buf->index].status) { in cpia2_querybuf()
838 buf->bytesused = cam->buffers[buf->index].length; in cpia2_querybuf()
839 buf->timestamp = cam->buffers[buf->index].timestamp; in cpia2_querybuf()
840 buf->sequence = cam->buffers[buf->index].seq; in cpia2_querybuf()
871 if(cam->buffers[buf->index].status == FRAME_READY) in cpia2_qbuf()
872 cam->buffers[buf->index].status = FRAME_EMPTY; in cpia2_qbuf()
[all …]
Dcpia2_core.c2237 if(!cam->buffers) { in cpia2_allocate_buffers()
2239 cam->buffers = kmalloc(size, GFP_KERNEL); in cpia2_allocate_buffers()
2240 if(!cam->buffers) { in cpia2_allocate_buffers()
2250 kfree(cam->buffers); in cpia2_allocate_buffers()
2251 cam->buffers = NULL; in cpia2_allocate_buffers()
2257 cam->buffers[i].next = &cam->buffers[i+1]; in cpia2_allocate_buffers()
2258 cam->buffers[i].data = cam->frame_buffer +i*cam->frame_size; in cpia2_allocate_buffers()
2259 cam->buffers[i].status = FRAME_EMPTY; in cpia2_allocate_buffers()
2260 cam->buffers[i].length = 0; in cpia2_allocate_buffers()
2261 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers()
[all …]
Dcpia2_usb.c720 cam->buffers[i].status = FRAME_EMPTY; in cpia2_usb_stream_start()
721 cam->buffers[i].length = 0; in cpia2_usb_stream_start()
723 cam->curbuff = &cam->buffers[0]; in cpia2_usb_stream_start()
889 if(cam->buffers) { in cpia2_usb_disconnect()
Dcpia2.h410 struct framebuf *buffers; member
/linux-4.4.14/Documentation/networking/
Diphase.txt79 5.1 Configuration of adapter buffers
81 1M. The RAM size decides the number of buffers and buffer size. The default
82 size and number of buffers are set as following:
97 RX_CNT = number of receive buffers in the range (1-128)
98 RX_SIZE = size of receive buffers in the range (48-64K)
99 TX_CNT = number of transmit buffers in the range (1-128)
100 TX_SIZE = size of transmit buffers in the range (48-64K)
104 transmit and receive buffers is less than or equal to the
Dspider_net.txt35 buffers. These are all marked "empty", ready to receive data. This
37 buffers, and marks them "full". The OS follows up, taking the full
38 buffers, processing them, and re-marking them empty.
114 As long as the OS can empty out the RX buffers at a rate faster than
Daltera_tse.txt74 The driver will post receive buffers to the receive DMA logic during driver
75 intialization. Receive buffers may or may not be queued depending upon the
76 underlying DMA logic (MSGDMA is able queue receive buffers, SGDMA is not able
77 to queue receive buffers to the SGDMA receive logic). When a packet is
Dixgb.txt238 # set maximum amount of option memory buffers, default 10240
256 the network stack buffers as large as they need to be to support high UDP
382 Allocating Rx buffers when using Jumbo Frames on 2.6.x kernels may fail if
409 may drop UDP packets due to the fullness of socket buffers. You may want
Dcxgb.txt141 Setting maximum option memory buffers:
147 Setting TCP read buffers (min/default/max):
150 Setting TCP write buffers (min/pressure/max):
Dnetdevices.txt41 buffers, but the device should allow packets with VLAN header. With
Ds2io.txt47 buffers. Currently driver supports 2-buffer mode which yields
Drds.txt212 its send buffers start to fill up. All retransmissions are also
218 there is space in the peer's receive buffers for more data. This
Darcnet.txt523 contents of the arcnet buffers at any time. To make any sense at all out of
529 Ping-pong buffers are implemented both ways.
532 the buffers are cleared to a constant value of 0x42 every time the card is
Dpacket_mmap.txt25 inefficient. It uses very limited buffers and requires one system call to
514 calls send(). Then all buffers with status equal to TP_STATUS_SEND_REQUEST are
1023 For the mmap(2)ed ring buffers, such timestamps are stored in the
/linux-4.4.14/sound/oss/dmasound/
Ddmasound_core.c418 if (sq->buffers) in sq_allocate_buffers()
422 sq->buffers = kmalloc (num * sizeof(char *), GFP_KERNEL); in sq_allocate_buffers()
423 if (!sq->buffers) in sq_allocate_buffers()
426 sq->buffers[i] = dmasound.mach.dma_alloc(size, GFP_KERNEL); in sq_allocate_buffers()
427 if (!sq->buffers[i]) { in sq_allocate_buffers()
429 dmasound.mach.dma_free(sq->buffers[i], size); in sq_allocate_buffers()
430 kfree(sq->buffers); in sq_allocate_buffers()
431 sq->buffers = NULL; in sq_allocate_buffers()
442 if (sq->buffers) { in sq_release_buffers()
444 dmasound.mach.dma_free(sq->buffers[i], sq->bufSize); in sq_release_buffers()
[all …]
Ddmasound.h215 char **buffers; member
Ddmasound_q40.c410 start = write_sq.buffers[write_sq.front]; in Q40PlayNextFrame()
Ddmasound_paula.c469 start = write_sq.buffers[write_sq.front]; in AmiPlayNextFrame()
/linux-4.4.14/Documentation/usb/
Ddma.txt9 though they still must provide DMA-ready buffers (see
15 - New calls enable DMA-aware drivers, letting them allocate dma buffers and
16 manage dma mappings for existing dma-ready buffers (see below).
88 Existing buffers aren't usable for DMA without first being mapped into the
89 DMA address space of the device. However, most buffers passed to your
110 buffers, synchronizing their safe re-use. (If there's no re-use, then let
128 setup_packet buffers in control requests.
DWUSB-Design-overview.txt349 Each HC has a number of rpipes and buffers that can be assigned to them;
351 prepared (buffers assigned), then we can start queueing requests for
354 Data buffers have to be segmented out before sending--so we send first a
364 If reading, we don't send data buffers, just the segment headers saying
384 array of segments, tallys on segments and buffers and callback
Dmass-storage.txt11 are needed. The memory requirement amounts to two 16K buffers.
225 transport mode and 16 KiB buffers.
Dehci.txt198 But rather than depending on such large I/O buffers to make synchronous
204 queue all the buffers from a scatterlist. They also use scatterlist DMA
Dgadget_printer.txt70 qlen - The number of 8k buffers to use per endpoint. The default is 10, you
/linux-4.4.14/Documentation/sound/oss/
DREADME.modules78 The sound modules normally allocate DMA buffers during open() and
80 DMA buffers for ISA cards on machines with more than 16MB RAM. This is
81 because ISA DMA buffers must exist below the 16MB boundary and it is quite
84 problem is to allocate the DMA buffers during module load and deallocate
90 To make the sound driver use persistent DMA buffers we need to pass the
100 the sound modules loaded and the DMA buffers allocated when they are not
DPAS1687 Persistent DMA buffers
89 Linux can often have problems allocating DMA buffers for ISA sound
91 DMA buffers must exist below the 16MB boundary and it is quite
94 here the DMA buffers (64Kb) will be allocated at boot time and kept
Doss-parameters.txt22 dmasound= [HW,OSS] Sound subsystem buffers
/linux-4.4.14/Documentation/video4linux/cx2341x/
Dfw-decoder-api.txt31 Ends playback and clears all decoder buffers. If PTS is not zero,
157 Freeze playback immediately. In this mode, when internal buffers are
255 Number of display buffers. To decode all frames in reverse playback you
256 must use nine buffers.
258 0=six buffers, 1=nine buffers
Dfw-dma.txt14 transfer multiple buffers in one operation. Instead of allocating one large
15 contiguous buffer, the driver can allocate several smaller buffers.
35 - The driver constructs the scatter-gather array from enough free dma buffers
40 - The driver post-processes the newly transferred buffers.
Dfw-memory.txt28 ???-??? Display buffers (6 or 9)
32 ???-??? MPEG buffers(s)
/linux-4.4.14/Documentation/
Dxillybus.txt95 sized buffers (even though such buffers are used by Xillybus under the hood).
102 up the DMA buffers and character devices accordingly. As a result, a single
153 room in the buffers to store any of the data in the buffers.
222 * bufnum: The number of buffers allocated for this pipe. Always a power of two.
269 sides, the implementation relies on a set of DMA buffers which is allocated
272 FPGA, the Xillybus IP core writes it to one of the DMA buffers. When the
292 filled buffers being sent) and a latency held fairly low for tails of data.
295 partial DMA buffers is somewhat different, though. The user can tell the
296 driver to submit all data it has in the buffers to the FPGA, by issuing a
305 to lay around in the DMA buffers between read() and write() anyhow.
[all …]
Dcircular-buffers.txt13 buffers.
27 (*) Measuring power-of-2 buffers.
29 (*) Using memory barriers with circular buffers.
73 Linux provides a set of macros for handling power-of-2 circular buffers. These
141 By using memory barriers in conjunction with circular buffers, you can avoid
Drpmsg.txt70 In case there are no TX buffers available, the function will block until
87 In case there are no TX buffers available, the function will block until
105 In case there are no TX buffers available, the function will block until
120 In case there are no TX buffers available, the function will immediately
134 In case there are no TX buffers available, the function will immediately
149 In case there are no TX buffers available, the function will immediately
DDMA-API-HOWTO.txt134 buffers were cacheline-aligned. Without that, you'd see cacheline
142 What about block I/O and networking buffers? The block I/O and
143 networking subsystems make sure that the buffers they use are valid
353 buffers in much the same way as it needs to flush write buffers
366 - Networking buffers transmitted/received by a device.
367 - Filesystem buffers written/read by a SCSI device.
377 when the underlying buffers don't share cache lines with other data.
826 Example 2: (if buffers are allocated in a loop, unmap all mapped buffers when
Ddma-buf-sharing.txt9 buffer sharing API, how to use it for exporting and using shared buffers.
12 either the 'exporter' of buffers, or the 'user' of buffers.
14 Say a driver A wants to use buffers created by driver B, then we call B as the
385 Because dma-buf buffers have invariant size over their lifetime, the dma-buf
434 access to buffers, via the leaked fd, to which it should otherwise
DSM501.txt43 buffers once a display mode is chosen. Indeed when a video mode change
Dprintk-formats.txt132 For printing a small buffers (up to 64 bytes long) as a hex string with
133 certain separator. For the larger buffers consider to use
DDMA-attributes.txt86 might be a time consuming operation, especially if the buffers are
DDMA-API.txt26 Part Ia - Using large DMA-coherent buffers
36 to make sure to flush the processor's write buffers before telling
78 Part Ib - Using small DMA-coherent buffers
84 descriptors or I/O buffers. Rather than allocating in units of a page
95 dma_pool_create() initializes a pool of DMA-coherent buffers
DDMA-ISA-LPC.txt31 buffers.
Dremoteproc.txt179 too expensive) to go through the existing virtqueues and look for new buffers
207 or configurations by the remote processor, such as trace buffers and
Doops-tracing.txt22 Normally the Oops text is read from the kernel buffers by klogd and
26 buffers and save it. Or you can cat /proc/kmsg > file, however you
Dntb.txt36 Transport queue pair. Network data is copied between socket buffers and the
Ddebugging-via-ohci1394.txt20 locations such as buffers like the printk buffer or the process table.
Dbus-virt-phys-mapping.txt11 controller the physical address of the buffers, which is correct on x86
/linux-4.4.14/sound/usb/misc/
Dua101.c131 } buffers[MAX_MEMORY_BUFFERS]; member
1071 for (i = 0; i < ARRAY_SIZE(stream->buffers); ++i) { in alloc_stream_buffers()
1074 stream->buffers[i].addr = in alloc_stream_buffers()
1076 &stream->buffers[i].dma); in alloc_stream_buffers()
1077 if (!stream->buffers[i].addr) in alloc_stream_buffers()
1079 stream->buffers[i].size = size; in alloc_stream_buffers()
1095 for (i = 0; i < ARRAY_SIZE(stream->buffers); ++i) in free_stream_buffers()
1097 stream->buffers[i].size, in free_stream_buffers()
1098 stream->buffers[i].addr, in free_stream_buffers()
1099 stream->buffers[i].dma); in free_stream_buffers()
[all …]
/linux-4.4.14/Documentation/locking/
Dww-mutex-design.txt9 GPU's do operations that commonly involve many buffers. Those buffers
13 a handful of situations where the driver needs to wait for buffers to
16 there is no way to guarantee that buffers appear in a execbuf/batch in
22 may in turn require evicting some other buffers (and you don't want to
23 evict other buffers which are already queued up to the GPU), but for a
27 this problem is quite simple. For each group of buffers (execbuf) that need
29 from a global counter. In case of deadlock while locking all the buffers
32 younger task) unlocks all of the buffers that it has already locked, and then
108 Method 1, using a list in execbuf->buffers that's not allowed to be reordered.
157 Method 2, using a list in execbuf->buffers that can be reordered. Same semantics
/linux-4.4.14/drivers/net/ethernet/ibm/emac/
DKconfig11 int "Number of receive buffers"
16 int "Number of transmit buffers"
/linux-4.4.14/drivers/staging/iio/Documentation/
Doverview.txt34 fifo / ring buffers on the sensor chip. These greatly reduce the load
46 used in IIO to fill software buffers acting in a very similar
47 fashion to the hardware buffers described above.
Dtrigger.txt34 buffers and as such any device supporting INDIO_BUFFER_TRIGGERED has the
/linux-4.4.14/drivers/media/platform/marvell-ccic/
Dmcam-core.c472 if (list_empty(&cam->buffers)) { in mcam_frame_tasklet()
478 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, in mcam_frame_tasklet()
557 if (list_empty(&cam->buffers)) { in mcam_set_contig_buffer()
565 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, in mcam_set_contig_buffer()
620 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, queue); in mcam_sg_next_buffer()
645 if (list_empty(&cam->buffers)) { in mcam_ctlr_dma_sg()
682 if (!list_empty(&cam->buffers)) { in mcam_dma_sg_done()
1083 start = (cam->state == S_BUFWAIT) && !list_empty(&cam->buffers); in mcam_vb_buf_queue()
1084 list_add(&mvb->queue, &cam->buffers); in mcam_vb_buf_queue()
1101 list_for_each_entry_safe(buf, node, &cam->buffers, queue) { in mcam_vb_requeue_bufs()
[all …]
Dmcam-core.h160 struct list_head buffers; /* Available frames */ member
/linux-4.4.14/drivers/staging/most/Documentation/ABI/
Dsysfs-class-most.txt86 Indicates the number of packet buffers the current channel can
95 Indicates the number of streaming buffers the current channel can
122 This is to configure the number of buffers of the current channel.
180 Indicates whether current channel ran out of buffers.
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunqe.c126 struct sunqe_buffers *qbufs = qep->buffers; in qe_init_rings()
415 struct sunqe_buffers *qbufs = qep->buffers; in qe_rx()
574 struct sunqe_buffers *qbufs = qep->buffers; in qe_start_xmit()
884 qe->buffers = dma_alloc_coherent(&op->dev, sizeof(struct sunqe_buffers), in qec_ether_init()
887 qe->buffers == NULL || qe->buffers_dvma == 0) in qec_ether_init()
919 if (qe->buffers) in qec_ether_init()
922 qe->buffers, in qec_ether_init()
947 qp->buffers, qp->buffers_dvma); in qec_sbus_remove()
Dsunqe.h341 struct sunqe_buffers *buffers; /* CPU visible address. */ member
/linux-4.4.14/drivers/net/ethernet/pasemi/
Dpasemi_mac.h51 u64 *buffers; /* RX interface buffer ring */ member
114 #define RX_BUFF(rx, num) ((rx)->buffers[(num) & (RX_RING_SIZE-1)])
Dpasemi_mac.c441 ring->buffers = dma_zalloc_coherent(&mac->dma_pdev->dev, in pasemi_mac_setup_rx_resources()
444 if (!ring->buffers) in pasemi_mac_setup_rx_resources()
617 rx_ring(mac)->buffers, rx_ring(mac)->buf_dma); in pasemi_mac_free_rx_resources()
/linux-4.4.14/drivers/base/
DKconfig247 lockup related problems for dma-buffers shared across multiple
308 int "Maximum PAGE_SIZE order of alignment for contiguous buffers"
312 DMA mapping framework by default aligns all buffers to the smallest
314 size. This works well for buffers up to a few hundreds kilobytes, but
315 for larger buffers it just a memory waste. With this parameter you can
316 specify the maximum PAGE_SIZE order for contiguous buffers. Larger
317 buffers will be aligned only to this specified order. The order is
321 of 8 means that the buffers will be aligned up to 1MiB only.
/linux-4.4.14/drivers/gpu/drm/sti/
DNOTES42 buffers) and to HQVDP+VID (video buffers)
/linux-4.4.14/Documentation/i2c/
Dslave-interface169 About buffers
172 During development of this API, the question of using buffers instead of just
174 this time of writing. Some points to keep in mind when using buffers:
180 * For backends simulating hardware registers, buffers are not helpful because
184 * A master can send STOP at any time. For partially transferred buffers, this
Ddev-interface133 The msgs[] themselves contain further pointers into data buffers.
134 The function will write or read data to or from that buffers depending
163 returns the number of values read. The block buffers need not be longer
Di2c-protocol74 This is often used to gather transmits from multiple data buffers in
/linux-4.4.14/Documentation/ABI/removed/
Dnet_dma7 coherency issues of the cpu potentially touching the buffers
/linux-4.4.14/drivers/char/xillybus/
Dxillybus_core.c323 struct xilly_buffer **buffers, in xilly_get_dma_buffers() argument
331 if (buffers) { /* Not the message buffer */ in xilly_get_dma_buffers()
383 if (buffers) { /* Not the message buffer */ in xilly_get_dma_buffers()
386 buffers[i] = this_buffer++; in xilly_get_dma_buffers()
486 struct xilly_buffer **buffers = NULL; in xilly_setupchannels() local
515 buffers = devm_kcalloc(dev, bufnum, in xilly_setupchannels()
518 if (!buffers) in xilly_setupchannels()
531 channel->rd_buffers = buffers; in xilly_setupchannels()
532 rc = xilly_get_dma_buffers(ep, &rd_alloc, buffers, in xilly_setupchannels()
544 channel->wr_buffers = buffers; in xilly_setupchannels()
[all …]
/linux-4.4.14/drivers/mtd/nand/
Dnand_base.c1316 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_swecc()
1317 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_swecc()
1388 chip->ecc.calculate(mtd, p, &chip->buffers->ecccalc[i]); in nand_read_subpage()
1421 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + index]]; in nand_read_subpage()
1428 &chip->buffers->ecccode[i], &chip->buffers->ecccalc[i]); in nand_read_subpage()
1456 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc()
1457 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_hwecc()
1509 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_hwecc_oob_first()
1511 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc_oob_first()
1723 bufpoi = use_bufpoi ? chip->buffers->databuf : buf; in nand_do_read_ops()
[all …]
Dfsmc_nand.c722 uint8_t *ecc_calc = chip->buffers->ecccalc; in fsmc_read_page_hwecc()
723 uint8_t *ecc_code = chip->buffers->ecccode; in fsmc_read_page_hwecc()
Domap2.c1511 uint8_t *ecc_calc = chip->buffers->ecccalc; in omap_write_page_bch()
1549 uint8_t *ecc_calc = chip->buffers->ecccalc; in omap_read_page_bch()
1550 uint8_t *ecc_code = chip->buffers->ecccode; in omap_read_page_bch()
/linux-4.4.14/include/crypto/
Dalgapi.h124 struct list_head buffers; member
314 INIT_LIST_HEAD(&walk->buffers); in ablkcipher_walk_init()
319 if (unlikely(!list_empty(&walk->buffers))) in ablkcipher_walk_complete()
/linux-4.4.14/drivers/staging/speakup/
DMakefile19 buffers.o \
/linux-4.4.14/fs/nilfs2/
Dioctl.c576 struct list_head *buffers) in nilfs_ioctl_move_inode_block() argument
615 list_add_tail(&bh->b_assoc_buffers, buffers); in nilfs_ioctl_move_inode_block()
640 LIST_HEAD(buffers); in nilfs_ioctl_move_blocks()
666 &buffers); in nilfs_ioctl_move_blocks()
678 list_for_each_entry_safe(bh, n, &buffers, b_assoc_buffers) { in nilfs_ioctl_move_blocks()
690 list_for_each_entry_safe(bh, n, &buffers, b_assoc_buffers) { in nilfs_ioctl_move_blocks()
/linux-4.4.14/include/linux/
Dpipe_fs_i.h50 unsigned int nrbufs, curbuf, buffers; member
/linux-4.4.14/drivers/iio/buffer/
DKconfig24 Provides helper functions for setting up triggered buffers.
/linux-4.4.14/Documentation/block/
Ddata-integrity.txt52 The controller will interleave the buffers on write and split them on
53 read. This means that Linux can DMA the data buffers to and from
69 buffers and the integrity metadata. These two distinct buffers must
72 The separation of the data and integrity metadata buffers as well as
197 To generate IMD for WRITE and to set up buffers for READ, the
Dbiodoc.txt172 by default copyin/out i/o requests on high-memory buffers to low-memory buffers
204 GFP flags) when allocating bounce buffers, to avoid certain highmem
214 be kmapped, even if bounce buffers are not necessary. For example a device
387 ii. Ability to represent high-memory buffers (which do not have a virtual
548 char *buffer; /* valid only for low memory buffers up to
702 buffers) and expect only virtually mapped buffers, can access the rq->buffer
1161 => larger contiguous physical memory buffers
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf2-core.c263 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem() argument
268 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_free_mem()
289 static int __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free() argument
301 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_queue_free()
312 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_queue_free()
321 __vb2_free_mem(q, buffers); in __vb2_queue_free()
386 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_queue_free()
392 q->num_buffers -= buffers; in __vb2_queue_free()
/linux-4.4.14/drivers/media/usb/pwc/
Dphilips.txt57 This parameter specifies the number of internal buffers to use for storing
65 buffers to reserve for mmap(), VIDIOCCGMBUF, VIDIOCMCAPTURE and friends.
73 forked program to really take advantage of these buffers.
203 16 0x10 Memory allocation of buffers, etc. Off
224 cameras. Each camera has its own set of buffers.
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-iio-frequency-adf435021 down the PLL and its RFOut buffers during REFin changes.
Dconfigfs-usb-gadget-mass-storage10 num_buffers - Number of pipeline buffers. Valid numbers
/linux-4.4.14/Documentation/devicetree/bindings/regmap/
Dregmap.txt16 these properties are for register values and all the buffers only.
/linux-4.4.14/include/uapi/drm/
Dnouveau_drm.h100 uint64_t buffers; member
/linux-4.4.14/drivers/staging/android/ion/
DKconfig8 used by Android to efficiently allocate buffers
Dion.c55 struct rb_root buffers; member
153 struct rb_node **p = &dev->buffers.rb_node; in ion_buffer_add()
172 rb_insert_color(&buffer->node, &dev->buffers); in ion_buffer_add()
289 rb_erase(&buffer->node, &dev->buffers); in _ion_buffer_destroy()
1429 for (n = rb_first(&dev->buffers); n; n = rb_next(n)) { in ion_debug_heap_show()
1605 idev->buffers = RB_ROOT; in ion_device_create()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-isp.h139 struct isp_video_buf *buffers[FIMC_ISP_MAX_BUFS]; member
Dfimc-isp-video.c188 if (video->buffers[i]->dma_addr[0] == dma_addr) in isp_video_capture_buffer_prepare()
214 video->buffers[ivb->index] = ivb; in isp_video_capture_buffer_queue()
255 vbuf = &video->buffers[buf_index]->vb; in fimc_isp_video_irq_handler()
/linux-4.4.14/Documentation/scsi/
Dosd.txt87 d. osd_finalize_request() computes offsets into the data-in and data-out buffers
159 describe the IN/OUT buffers above, two BIOs for the data payload and up to five
167 layer, is to describe a vector of buffers that will be transferred to/from the
Dst.txt89 as a synchronization point, i.e., all remaining data form the drive buffers is
94 close() is always flushing the drive buffers. However, if the previous
229 is used (i.e., bounce buffers for individual pages are not
237 The size of the driver buffers is always at least one tape block. In fixed
267 Scatter/gather buffers (buffers that consist of chunks non-contiguous
268 in the physical memory) are used if contiguous buffers can't be
306 The buffer size, write threshold, and the maximum number of allocated buffers
377 MTNOP Do nothing except flush the buffers.
Dcxgb3i.txt22 payload into pre-posted final destination host-memory buffers based
Dscsi-parameters.txt113 st= [HW,SCSI] SCSI tape parameters (buffers, etc.)
/linux-4.4.14/drivers/media/platform/
DKconfig132 use system memory for both source and destination buffers, as opposed
133 to capture and output drivers, which use memory buffers for just
201 MX2X chips have a PrP that can be used to process buffers from
/linux-4.4.14/drivers/md/
Ddm-bufio.c915 unsigned long buffers; in __get_memory_limit() local
923 buffers = dm_bufio_cache_size_per_client >> in __get_memory_limit()
926 if (buffers < c->minimum_buffers) in __get_memory_limit()
927 buffers = c->minimum_buffers; in __get_memory_limit()
929 *limit_buffers = buffers; in __get_memory_limit()
930 *threshold_buffers = buffers * DM_BUFIO_WRITEBACK_PERCENT / 100; in __get_memory_limit()
/linux-4.4.14/drivers/staging/android/
DTODO22 since ion would just be the central allocator for shared buffers.
/linux-4.4.14/tools/virtio/virtio-trace/
DREADME18 5) The read/write threads start to read trace data from ring-buffers and
108 If a host does not open these, trace data get stuck in buffers of virtio. Then,
/linux-4.4.14/drivers/iio/
DKconfig30 buffers. The triggers are effectively a 'capture
/linux-4.4.14/Documentation/crypto/
Dasync-tx-api.txt62 xor - xor a series of source buffers and write the result to a
64 xor_val - xor a series of source buffers and set a flag if the
67 pq - generate the p+q (raid6 syndrome) from a series of source buffers
/linux-4.4.14/drivers/net/ethernet/adi/
DKconfig39 buffers. Say N here if you want to reserve L1 memory for other uses.
/linux-4.4.14/Documentation/sound/alsa/soc/
Dplatform.txt76 3) DMA IO to/from DSP buffers (if applicable)
/linux-4.4.14/fs/fuse/
Ddev.c767 if (cs->nr_segs == cs->pipe->buffers) in fuse_copy_fill()
944 if (cs->nr_segs == cs->pipe->buffers) in fuse_ref_page()
1379 bufs = kmalloc(pipe->buffers * sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_read()
1400 if (pipe->nrbufs + cs.nr_segs > pipe->buffers) { in fuse_dev_splice_read()
1406 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in fuse_dev_splice_read()
1990 bufs = kmalloc(pipe->buffers * sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write()
1998 rem += pipe->bufs[(pipe->curbuf + idx) & (pipe->buffers - 1)].len; in fuse_dev_splice_write()
2011 BUG_ON(nbuf >= pipe->buffers); in fuse_dev_splice_write()
2019 pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); in fuse_dev_splice_write()
/linux-4.4.14/arch/tile/gxio/
Dmpipe.c121 size_t gxio_mpipe_calc_buffer_stack_bytes(unsigned long buffers) in gxio_mpipe_calc_buffer_stack_bytes() argument
127 (buffers + BUFFERS_PER_LINE - 1) / BUFFERS_PER_LINE; in gxio_mpipe_calc_buffer_stack_bytes()
/linux-4.4.14/Documentation/serial/
Dtty.txt167 throttle() Notify the tty driver that input buffers for the
174 input buffers of the line disciplines.
247 minimal impact as most receive logic uses the flip buffers and they only
277 into the port buffers without overflow (or less).
/linux-4.4.14/Documentation/fb/
Dpvr2fb.txt6 This is a driver for PowerVR 2 based graphics frame buffers, such as the
/linux-4.4.14/Documentation/wimax/
DREADME.i2400m213 * RX-buffers: total RX buffers received, accumulated RX buffer size
217 RX-buffer / total RX-buffers.
/linux-4.4.14/drivers/media/common/siano/
Dsmscoreapi.c675 INIT_LIST_HEAD(&dev->buffers); in smscore_register_device()
1218 while (!list_empty(&coredev->buffers)) { in smscore_unregister_device()
1219 cb = (struct smscore_buffer_t *) coredev->buffers.next; in smscore_unregister_device()
1641 if (!list_empty(&coredev->buffers)) { in get_entry()
1642 cb = (struct smscore_buffer_t *) coredev->buffers.next; in get_entry()
1670 list_add_locked(&cb->entry, &coredev->buffers, &coredev->bufferslock); in smscore_putbuffer()
Dsmscoreapi.h169 struct list_head buffers; member
/linux-4.4.14/Documentation/video4linux/bttv/
DInsmod-options37 gbuffers=2-32 number of capture buffers for mmap'ed capture.
39 gbufsize= size of capture buffers. default and
/linux-4.4.14/drivers/android/
Dbinder.c311 struct list_head buffers; member
460 if (list_is_last(&buffer->entry, &proc->buffers)) in binder_buffer_size()
773 BUG_ON(proc->buffers.next == &buffer->entry); in binder_delete_free_buffer()
785 if (!list_is_last(&buffer->entry, &proc->buffers)) { in binder_delete_free_buffer()
845 if (!list_is_last(&buffer->entry, &proc->buffers)) { in binder_free_buf()
854 if (proc->buffers.next != &buffer->entry) { in binder_free_buf()
2912 INIT_LIST_HEAD(&proc->buffers); in binder_mmap()
2913 list_add(&buffer->entry, &proc->buffers); in binder_mmap()
3067 int threads, nodes, incoming_refs, outgoing_refs, buffers, in binder_deferred_release() local
3115 buffers = 0; in binder_deferred_release()
[all …]
/linux-4.4.14/drivers/mailbox/
DKconfig42 Specify the default size of mailbox's kfifo buffers (bytes).
/linux-4.4.14/Documentation/DocBook/
Dfilesystems.xml.db105 API-sync-mapping-buffers
270 API-jbd2-journal-try-to-free-buffers
Dmtdnand.xml.db3 API-struct-nand-buffers
/linux-4.4.14/Documentation/trace/
Dmmiotrace.txt79 events were lost, the trace is incomplete. You should enlarge the buffers and
80 try again. Buffers are enlarged by first seeing how large the current buffers
Dftrace.txt148 buffer holds. By default, the trace buffers are the same size
150 CPU buffer and not total size of all buffers. The
151 trace buffers are allocated in pages (blocks of memory
161 This displays the total combined size of all the trace buffers.
349 Eventually perf will be able to read ftrace buffers
405 This is a way to make multiple trace buffers where different
406 events can be recorded in different buffers.
428 and free from cache bouncing. These buffers may have different
429 size buffers. This file is similar to the buffer_size_kb
808 annotate - It is sometimes confusing when the CPU buffers are full
[all …]
Dintel_th.txt62 the Intel TH device id. For example, MSU's memory buffers, when
/linux-4.4.14/Documentation/PCI/
Dpci.txt59 Release DMA buffers (both streaming and coherent)
424 Release DMA buffers (both streaming and consistent)
471 4.4 Release DMA buffers
474 I.e. unmap data buffers and return buffers to "upstream"
477 Then clean up "consistent" buffers which contain the control data.
/linux-4.4.14/Documentation/device-mapper/
Dera.txt93 (4 * nr_blocks) bytes + buffers
/linux-4.4.14/Documentation/fmc/
Dfmc-chardev.txt24 and DMA buffers. They may be added in later versions, if the need
/linux-4.4.14/Documentation/devicetree/bindings/iommu/
Dsamsung,sysmmu.txt10 another capabilities like L2 TLB or block-fetch buffers to minimize translation
/linux-4.4.14/Documentation/devicetree/bindings/soc/fsl/
Dbman.txt14 BMan supports hardware allocation and deallocation of buffers belonging to pools
/linux-4.4.14/arch/x86/crypto/
Dcrc32c-pcl-intel-asm_64.S63 # Define threshold where buffers are considered "small" and routed to more
/linux-4.4.14/fs/xfs/
Dxfs_qm.c426 struct list_head buffers; member
485 xfs_buf_delwri_queue(bp, &isol->buffers); in xfs_qm_dquot_isolate()
531 INIT_LIST_HEAD(&isol.buffers); in xfs_qm_shrink_scan()
537 error = xfs_buf_delwri_submit(&isol.buffers); in xfs_qm_shrink_scan()
Dxfs_aops.c418 int buffers) in xfs_start_page_writeback() argument
439 if (!buffers) in xfs_start_page_writeback()
/linux-4.4.14/Documentation/misc-devices/mei/
Dmei-client-bus.txt55 received buffers.
/linux-4.4.14/crypto/
Dablkcipher.c51 list_for_each_entry_safe(p, tmp, &walk->buffers, entry) { in __ablkcipher_walk_complete()
63 list_add_tail(&p->entry, &walk->buffers); in ablkcipher_queue_write()
/linux-4.4.14/Documentation/ia64/
Daliasing.txt22 performance for things like frame buffers.
109 "X" uses this to access VGA frame buffers. Using legacy_mem
/linux-4.4.14/sound/oss/
DKconfig261 bool "Persistent DMA buffers"
263 Linux can often have problems allocating DMA buffers for ISA sound
265 DMA buffers must exist below the 16MB boundary and it is quite
268 here the DMA buffers (64Kb) will be allocated at boot time and kept
DCHANGELOG362 - It's possible to use smaller buffers than earlier. There is a new
364 This call instructs the driver to use smaller buffers. The default
/linux-4.4.14/Documentation/m68k/
Dkernel-options.txt279 the number of 512-byte buffers reserved for tape operations for each
282 total number of buffers. <max_buffer> limits the total number of
283 buffers allocated for all tape devices.
289 Syntax: dmasound=[<buffers>,<buffer-size>[,<catch-radius>]]
292 driver (Amiga and Atari): <buffers> is the number of buffers you want
556 setting affects how many buffers are reserved and which formats are
/linux-4.4.14/Documentation/filesystems/cifs/
DTODO29 extra copy in/out of the socket buffers in some cases.
DCHANGES96 sends, and also let tcp autotune the socket send and receive buffers.
442 minimum number of large and small network buffers in the buffer pools,
545 Change to mempools for alloc smb request buffers and multiplex structs
842 (which was causing the warning in kmem_cache_free of the request buffers
927 changes to superblock layout. Remove wasteful allocation of smb buffers (now the send
/linux-4.4.14/Documentation/devicetree/bindings/reserved-memory/
Dreserved-memory.txt51 used as a shared pool of DMA buffers for a set of devices. It can
/linux-4.4.14/Documentation/spi/
Dspi-summary388 + which I/O buffers are used ... each spi_transfer wraps a
405 - Follow standard kernel rules, and provide DMA-safe buffers in
410 If standard dma_map_single() handling of these buffers is inappropriate,
446 - I/O buffers use the usual Linux rules, and must be DMA-safe.
451 I/O buffers into a group of protocol transactions. These can
/linux-4.4.14/arch/tile/include/gxio/
Dmpipe.h417 extern size_t gxio_mpipe_calc_buffer_stack_bytes(unsigned long buffers);
/linux-4.4.14/Documentation/sound/alsa/
Dcompress_offload.txt37 estimate reliably the duration of audio buffers when handling
87 ring buffer cannot be invalidated, except when dropping all buffers.
DALSA-Configuration.txt617 As default, snd-dummy drivers doesn't allocate the real buffers
646 max_buffer_size - specifies the maximum size of wavetable/pcm buffers
977 module did formerly. It will allocate the buffers in advance
1655 module did formerly. It will allocate the buffers in advance
2281 Some drivers (e.g. hdsp) require the large contiguous buffers, and
2284 PCM buffers by loading snd-page-alloc module and write commands to its
2299 BUFFERS is the number of buffers to allocate. It must be greater
2304 This will erase the all pre-allocated buffers which are not in
/linux-4.4.14/Documentation/i2c/busses/
Di2c-parport85 circuit the output buffers! So plugging the I2C adapter after loading
/linux-4.4.14/Documentation/networking/dsa/
Dbcm_sf2.txt99 - turning off internal buffers/memories
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_gem.c723 bo = u_memcpya(req->buffers, req->nr_buffers, sizeof(*bo)); in nouveau_gem_ioctl_pushbuf()
739 ret = nouveau_gem_pushbuf_validate(chan, file_priv, bo, req->buffers, in nouveau_gem_ioctl_pushbuf()
/linux-4.4.14/Documentation/ide/
DChangeLog.ide-tape.1995-200241 * (a parameter of the drive) only to its buffers,
140 * bounce buffers.
/linux-4.4.14/Documentation/vm/
Didle_page_tracking.txt70 - a page that is used for storing filesystem buffers is read or written,
/linux-4.4.14/Documentation/cris/
DREADME162 total: used: free: shared: buffers: cached:
/linux-4.4.14/Documentation/target/
Dtcmu-design.txt151 overall shared memory region, not the entry. The data in/out buffers
154 buffers. For bidirectional commands, iov_cnt specifies how many iovec
/linux-4.4.14/Documentation/arm/
DIXP4xx71 you are running with > 64MB, all PCI buffers outside of the accessible
/linux-4.4.14/Documentation/dmaengine/
Dpxa_dma.txt98 buffers which hold around 6k descriptors or more. This also allows without
Dclient.txt75 slave_sg - DMA a list of scatter gather buffers from/to a peripheral
Dprovider.txt48 non-contiguous buffers to a contiguous buffer, which is called
394 that can be queued to buffers before being flushed to
/linux-4.4.14/Documentation/dvb/
Dfaq.txt154 one is responsible to handle capture buffers.
/linux-4.4.14/drivers/usb/gadget/
DKconfig115 int "Number of storage pipeline buffers"
119 Usually 2 buffers are enough to establish a good buffering
/linux-4.4.14/Documentation/blockdev/
Dramdisk.txt22 RAM from the buffer cache. The driver marks the buffers it is using as dirty
Dfloppy.txt94 and is thus harder to find, whereas non-dma buffers may be
/linux-4.4.14/include/linux/mtd/
Dnand.h710 struct nand_buffers *buffers; member
/linux-4.4.14/arch/arm/
DKconfig111 int "Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers"
115 DMA mapping framework by default aligns all buffers to the smallest
117 size. This works well for buffers up to a few hundreds kilobytes, but
118 for larger buffers it just a waste of address space. Drivers which has
123 DMA IOMMU buffers. Larger buffers will be aligned only to this
1778 such copy operations with large buffers.
/linux-4.4.14/Documentation/cpu-freq/
Dpcc-cpufreq.txt79 used to discover the offsets for the input and output buffers in the shared
/linux-4.4.14/Documentation/accounting/
Dtaskstats.txt178 indicated overflow of receive buffers, it should take measures to handle the
/linux-4.4.14/tools/perf/Documentation/
Dintel-pt.txt461 buffers are logically concatenated. However an interrupt must be used to switch
462 between buffers. That has two potential problems:
541 In workload-only mode, the workload is traced but with per-cpu buffers.

12