/linux-4.1.27/lib/xz/ |
D | xz_dec_test.c | 52 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.1.27/drivers/media/platform/vivid/ |
D | vivid-vid-common.c | 54 .buffers = 1, 64 .buffers = 1, 73 .buffers = 1, 82 .buffers = 1, 91 .buffers = 1, 100 .buffers = 1, 109 .buffers = 1, 118 .buffers = 1, 127 .buffers = 1, 136 .buffers = 1, [all …]
|
D | vivid-tpg.h | 141 unsigned buffers; member 346 return tpg->buffers; in tpg_g_buffers() 391 if (tpg->buffers > 1) { in tpg_s_bytesperline() 409 if (tpg->buffers > 1) in tpg_g_line_width() 425 if (tpg->buffers > 1) in tpg_calc_line_width()
|
D | vivid-vid-cap.c | 48 .buffers = 1, 56 .buffers = 1, 64 .buffers = 1, 103 unsigned buffers = tpg_g_buffers(&dev->tpg); in vid_cap_queue_setup() local 138 if (mp->num_planes != buffers) in vid_cap_queue_setup() 141 for (p = 0; p < buffers; p++) { in vid_cap_queue_setup() 148 for (p = 0; p < buffers; p++) in vid_cap_queue_setup() 156 *nplanes = buffers; in vid_cap_queue_setup() 164 for (p = 0; p < buffers; p++) in vid_cap_queue_setup() 174 unsigned buffers = tpg_g_buffers(&dev->tpg); in vid_cap_buf_prepare() local [all …]
|
D | vivid-vid-out.c | 40 unsigned planes = vfmt->buffers; in vid_out_queue_setup() 45 for (p = vfmt->buffers; p < vfmt->planes; p++) in vid_out_queue_setup() 325 mp->num_planes = fmt->buffers; in vivid_g_fmt_vid_out() 331 for (p = fmt->buffers; p < fmt->planes; p++) { in vivid_g_fmt_vid_out() 398 mp->num_planes = fmt->buffers; in vivid_try_fmt_vid_out() 407 for (p = fmt->buffers; p < fmt->planes; p++) in vivid_try_fmt_vid_out() 539 for (p = dev->fmt_out->buffers; p < dev->fmt_out->planes; p++) in vivid_s_fmt_vid_out()
|
D | vivid-core.h | 87 u8 buffers; member
|
D | vivid-tpg.c | 182 tpg->buffers = 1; in tpg_s_fourcc() 233 tpg->buffers = 3; in tpg_s_fourcc() 254 tpg->buffers = 2; in tpg_s_fourcc() 266 tpg->buffers = 2; in tpg_s_fourcc() 2083 if (tpg->buffers > 1) { in tpg_fillbuffer()
|
/linux-4.1.27/drivers/media/pci/zoran/ |
D | zoran_driver.c | 195 fh->buffers.buffer_size = v4l_bufsize; in map_mode_raw() 196 fh->buffers.num_buffers = v4l_nbufs; in map_mode_raw() 201 fh->buffers.buffer_size = jpg_bufsize; in map_mode_jpg() 202 fh->buffers.num_buffers = jpg_nbufs; in map_mode_jpg() 221 for (i = 0; i < fh->buffers.num_buffers; i++) { in v4l_fbuffer_alloc() 222 if (fh->buffers.buffer[i].v4l.fbuffer) in v4l_fbuffer_alloc() 229 mem = kmalloc(fh->buffers.buffer_size, in v4l_fbuffer_alloc() 239 fh->buffers.buffer[i].v4l.fbuffer = mem; in v4l_fbuffer_alloc() 240 fh->buffers.buffer[i].v4l.fbuffer_phys = virt_to_phys(mem); in v4l_fbuffer_alloc() 241 fh->buffers.buffer[i].v4l.fbuffer_bus = virt_to_bus(mem); in v4l_fbuffer_alloc() [all …]
|
D | zoran.h | 227 struct zoran_buffer_col buffers; /* buffers' info */ member
|
/linux-4.1.27/net/sunrpc/xprtrdma/ |
D | verbs.c | 1333 rpcrdma_buffer_get(struct rpcrdma_buffer *buffers) in rpcrdma_buffer_get() argument 1335 struct rpcrdma_ia *ia = rdmab_to_ia(buffers); in rpcrdma_buffer_get() 1340 spin_lock_irqsave(&buffers->rb_lock, flags); in rpcrdma_buffer_get() 1341 if (buffers->rb_send_index == buffers->rb_max_requests) { in rpcrdma_buffer_get() 1342 spin_unlock_irqrestore(&buffers->rb_lock, flags); in rpcrdma_buffer_get() 1347 req = buffers->rb_send_bufs[buffers->rb_send_index]; in rpcrdma_buffer_get() 1348 if (buffers->rb_send_index < buffers->rb_recv_index) { in rpcrdma_buffer_get() 1351 buffers->rb_recv_index - buffers->rb_send_index); in rpcrdma_buffer_get() 1354 req->rl_reply = buffers->rb_recv_bufs[buffers->rb_recv_index]; in rpcrdma_buffer_get() 1355 buffers->rb_recv_bufs[buffers->rb_recv_index++] = NULL; in rpcrdma_buffer_get() [all …]
|
/linux-4.1.27/drivers/scsi/isci/ |
D | unsolicited_frame_control.c | 110 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()
|
D | unsolicited_frame_control.h | 250 struct sci_uf_buffer_array buffers; member
|
D | host.c | 320 frame_header = ihost->uf_control.buffers.array[frame_index].header; in sci_controller_unsolicited_frame() 321 ihost->uf_control.buffers.array[frame_index].state = UNSOLICITED_FRAME_IN_USE; in sci_controller_unsolicited_frame()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-queue.c | 47 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 …]
|
D | ivtv-fileops.c | 276 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()
|
D | ivtv-streams.c | 180 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()
|
D | ivtv-driver.h | 320 u32 buffers; /* number of buffers in this queue */ member 353 u32 buffers; member
|
D | ivtv-ioctl.c | 1589 if (s->vdev.v4l2_dev == NULL || s->buffers == 0) in ivtv_log_status() 1592 (s->buffers - s->q_free.buffers) * 100 / s->buffers, in ivtv_log_status() 1593 (s->buffers * s->buf_size) / 1024, s->buffers); in ivtv_log_status()
|
D | ivtv-irq.c | 130 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.1.27/Documentation/video4linux/ |
D | cafe_ccic | 22 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
|
D | videobuf | 6 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 …]
|
D | omap4_camera.txt | 23 except that it doesn't need an IOMMU now for ISS buffers memory mapping. 25 Supports usage of MMAP buffers only (for now).
|
D | pxa_camera.txt | 19 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
|
D | README.cpia2 | 58 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.
|
D | meye.txt | 48 gbuffers: number of capture buffers, default is 2 (32 max) 100 Queue a buffer for capture (the buffers must have been
|
D | README.pvrusb2 | 166 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.
|
D | Zoran | 414 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
|
D | omap3isp.txt | 223 The modules handle their buffers internally. The necessary buffer size for the
|
D | v4l2-framework.txt | 23 creating V4L device nodes and video_buf for handling the video buffers 913 for dealing with video buffers. Those methods allow a driver to implement 915 methods for using video buffers on devices that supports DMA with 917 (videobuf-dma-contig), and vmalloced buffers, mostly used on USB drivers
|
/linux-4.1.27/fs/ |
D | splice.c | 205 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() 279 unsigned int buffers = ACCESS_ONCE(pipe->buffers); in splice_grow_spd() local 281 spd->nr_pages_max = buffers; in splice_grow_spd() 282 if (buffers <= PIPE_DEF_BUFFERS) in splice_grow_spd() 285 spd->pages = kmalloc(buffers * sizeof(struct page *), GFP_KERNEL); in splice_grow_spd() 286 spd->partial = kmalloc(buffers * sizeof(struct partial_page), GFP_KERNEL); in splice_grow_spd() 789 pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); in splice_from_pipe_feed() 956 int nbufs = pipe->buffers; in iter_file_splice_write() [all …]
|
D | pipe.c | 283 curbuf = (curbuf + 1) & (pipe->buffers - 1); in pipe_read() 363 (pipe->buffers - 1); in pipe_write() 396 if (bufs < pipe->buffers) { in pipe_write() 397 int newbuf = (pipe->curbuf + bufs) & (pipe->buffers-1); in pipe_write() 440 if (bufs < pipe->buffers) in pipe_write() 489 buf = (buf+1) & (pipe->buffers - 1); in pipe_ioctl() 519 mask |= (nrbufs < pipe->buffers) ? POLLOUT | POLLWRNORM : 0; in pipe_poll() 597 pipe->buffers = PIPE_DEF_BUFFERS; in alloc_pipe_info() 611 for (i = 0; i < pipe->buffers; i++) { in free_pipe_info() 987 if (tail < pipe->buffers) in pipe_set_size() [all …]
|
/linux-4.1.27/Documentation/filesystems/ |
D | relay.txt | 9 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 …]
|
D | xfs-delayed-logging-design.txt | 10 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 …]
|
D | xfs.txt | 130 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
|
D | Locking | 313 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.
|
D | porting | 298 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.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.c | 63 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.1.27/kernel/trace/ |
D | ring_buffer.c | 504 struct ring_buffer_per_cpu **buffers; member 569 cpu_buffer = buffer->buffers[cpu]; in ring_buffer_wait() 666 cpu_buffer = buffer->buffers[cpu]; in ring_buffer_poll_wait() 1368 buffer->buffers = kzalloc(ALIGN(bsize, cache_line_size()), in __ring_buffer_alloc() 1370 if (!buffer->buffers) in __ring_buffer_alloc() 1374 buffer->buffers[cpu] = in __ring_buffer_alloc() 1376 if (!buffer->buffers[cpu]) in __ring_buffer_alloc() 1393 if (buffer->buffers[cpu]) in __ring_buffer_alloc() 1394 rb_free_cpu_buffer(buffer->buffers[cpu]); in __ring_buffer_alloc() 1396 kfree(buffer->buffers); in __ring_buffer_alloc() [all …]
|
D | Kconfig | 257 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.
|
D | trace.c | 2026 struct trace_buffer_struct *buffers; in alloc_percpu_trace_buffer() local 2031 buffers = alloc_percpu(struct trace_buffer_struct); in alloc_percpu_trace_buffer() 2032 if (!buffers) in alloc_percpu_trace_buffer() 2047 trace_percpu_buffer = buffers; in alloc_percpu_trace_buffer() 2059 free_percpu(buffers); in alloc_percpu_trace_buffer()
|
/linux-4.1.27/drivers/atm/ |
D | nicstarmac.copyright | 25 * 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
|
D | solos-pci.c | 76 #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 1231 card->buffers = pci_iomap(dev, 1, DATA_RAM_SIZE); in fpga_probe() 1232 if (!card->buffers) { in fpga_probe() 1341 pci_iounmap(dev, card->buffers); in fpga_probe() 1456 pci_iounmap(dev, card->buffers); in fpga_remove()
|
D | he.c | 1701 list_move_tail(&heb->entry, &he_vcc->buffers); in he_service_rbrq() 1738 list_for_each_entry(heb, &he_vcc->buffers, entry) in he_service_rbrq() 1779 list_for_each_entry_safe(heb, next, &he_vcc->buffers, entry) in he_service_rbrq() 1781 INIT_LIST_HEAD(&he_vcc->buffers); in he_service_rbrq() 2145 INIT_LIST_HEAD(&he_vcc->buffers); in he_open()
|
D | he.h | 321 struct list_head buffers; member
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-queue.c | 352 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()
|
D | cx18-ioctl.c | 777 tmp = s->buffers - in cx18_g_enc_index() 1046 if (s->video_dev.v4l2_dev == NULL || s->buffers == 0) in cx18_log_status() 1051 / s->buffers, in cx18_log_status() 1052 (s->buffers * s->buf_size) / 1024, s->buffers); in cx18_log_status()
|
D | cx18-streams.c | 270 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()
|
D | cx18-dvb.c | 416 stream->buffers, stream->buf_size/1024, in cx18_dvb_register()
|
D | cx18-driver.h | 394 u32 buffers; /* total buffers owned by this stream */ member
|
D | cx18-mailbox.c | 292 id < (s->mdl_base_idx + s->buffers))) { in epu_dma_done()
|
/linux-4.1.27/drivers/media/usb/cpia2/ |
D | cpia2_v4l.c | 190 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 …]
|
D | cpia2_core.c | 2237 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 …]
|
D | cpia2_usb.c | 720 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()
|
D | cpia2.h | 410 struct framebuf *buffers; member
|
/linux-4.1.27/Documentation/networking/ |
D | iphase.txt | 79 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
|
D | spider_net.txt | 35 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
|
D | altera_tse.txt | 74 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
|
D | ixgb.txt | 238 # 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
|
D | cxgb.txt | 141 Setting maximum option memory buffers: 147 Setting TCP read buffers (min/default/max): 150 Setting TCP write buffers (min/pressure/max):
|
D | netdevices.txt | 41 buffers, but the device should allow packets with VLAN header. With
|
D | s2io.txt | 47 buffers. Currently driver supports 2-buffer mode which yields
|
D | rds.txt | 212 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
|
D | arcnet.txt | 523 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
|
D | pktgen.txt | 41 ring-buffers for various performance reasons, and packets stalling
|
D | packet_mmap.txt | 25 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
|
D | netlink_mmap.txt | 14 Memory mapped netlink I/O used two circular ring buffers for RX and TX which
|
D | rxrpc.txt | 691 buffers manipulated directly. 741 data buffers to be used. msg_iov may not be NULL and must point 897 the sender it can free its buffers, assuming no other reason occurs that
|
/linux-4.1.27/sound/oss/dmasound/ |
D | dmasound_core.c | 418 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 …]
|
D | dmasound.h | 215 char **buffers; member
|
D | dmasound_q40.c | 410 start = write_sq.buffers[write_sq.front]; in Q40PlayNextFrame()
|
D | dmasound_paula.c | 469 start = write_sq.buffers[write_sq.front]; in AmiPlayNextFrame()
|
/linux-4.1.27/Documentation/usb/ |
D | dma.txt | 9 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.
|
D | WUSB-Design-overview.txt | 349 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
|
D | mass-storage.txt | 11 are needed. The memory requirement amounts to two 16K buffers. 225 transport mode and 16 KiB buffers.
|
D | ehci.txt | 198 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
|
D | gadget_printer.txt | 70 qlen - The number of 8k buffers to use per endpoint. The default is 10, you
|
/linux-4.1.27/Documentation/sound/oss/ |
D | README.modules | 78 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
|
D | PAS16 | 87 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
|
D | oss-parameters.txt | 22 dmasound= [HW,OSS] Sound subsystem buffers
|
/linux-4.1.27/Documentation/video4linux/cx2341x/ |
D | fw-decoder-api.txt | 31 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
|
D | fw-dma.txt | 14 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.
|
D | fw-memory.txt | 28 ???-??? Display buffers (6 or 9) 32 ???-??? MPEG buffers(s)
|
/linux-4.1.27/Documentation/ |
D | xillybus.txt | 95 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 …]
|
D | circular-buffers.txt | 13 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
|
D | rpmsg.txt | 70 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
|
D | DMA-API-HOWTO.txt | 134 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. 821 Example 2: (if buffers are allocated in a loop, unmap all mapped buffers when
|
D | dma-buf-sharing.txt | 9 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
|
D | SM501.txt | 43 buffers once a display mode is chosen. Indeed when a video mode change
|
D | printk-formats.txt | 127 For printing a small buffers (up to 64 bytes long) as a hex string with 128 certain separator. For the larger buffers consider to use
|
D | DMA-attributes.txt | 86 might be a time consuming operation, especially if the buffers are
|
D | DMA-API.txt | 26 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
|
D | DMA-ISA-LPC.txt | 31 buffers.
|
D | remoteproc.txt | 173 too expensive) to go through the existing virtqueues and look for new buffers 201 or configurations by the remote processor, such as trace buffers and
|
D | oops-tracing.txt | 22 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
|
D | debugging-via-ohci1394.txt | 20 locations such as buffers like the printk buffer or the process table.
|
D | bus-virt-phys-mapping.txt | 11 controller the physical address of the buffers, which is correct on x86
|
/linux-4.1.27/sound/usb/misc/ |
D | ua101.c | 131 } 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.1.27/Documentation/locking/ |
D | ww-mutex-design.txt | 9 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.1.27/drivers/net/ethernet/ibm/emac/ |
D | Kconfig | 11 int "Number of receive buffers" 16 int "Number of transmit buffers"
|
/linux-4.1.27/drivers/staging/iio/Documentation/ |
D | overview.txt | 34 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.
|
D | trigger.txt | 34 buffers and as such any device supporting INDIO_BUFFER_TRIGGERED has the
|
/linux-4.1.27/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 446 if (list_empty(&cam->buffers)) { in mcam_frame_tasklet() 452 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, in mcam_frame_tasklet() 540 if (list_empty(&cam->buffers)) { in mcam_set_contig_buffer() 548 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, in mcam_set_contig_buffer() 627 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, queue); in mcam_sg_next_buffer() 652 if (list_empty(&cam->buffers)) { in mcam_ctlr_dma_sg() 689 if (!list_empty(&cam->buffers)) { in mcam_dma_sg_done() 1096 start = (cam->state == S_BUFWAIT) && !list_empty(&cam->buffers); in mcam_vb_buf_queue() 1097 list_add(&mvb->queue, &cam->buffers); in mcam_vb_buf_queue() 1114 INIT_LIST_HEAD(&cam->buffers); in mcam_vb_start_streaming() [all …]
|
D | mcam-core.h | 161 struct list_head buffers; /* Available frames */ member
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | sunqe.c | 126 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()
|
D | sunqe.h | 341 struct sunqe_buffers *buffers; /* CPU visible address. */ member
|
/linux-4.1.27/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.h | 51 u64 *buffers; /* RX interface buffer ring */ member 114 #define RX_BUFF(rx, num) ((rx)->buffers[(num) & (RX_RING_SIZE-1)])
|
D | pasemi_mac.c | 441 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.1.27/drivers/base/ |
D | Kconfig | 247 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.1.27/drivers/gpu/drm/sti/ |
D | NOTES | 42 buffers) and to HQVDP+VID (video buffers)
|
/linux-4.1.27/Documentation/i2c/ |
D | slave-interface | 161 About buffers 164 During development of this API, the question of using buffers instead of just 166 this time of writing. Some points to keep in mind when using buffers: 172 * For backends simulating hardware registers, buffers are not helpful because 176 * A master can send STOP at any time. For partially transferred buffers, this
|
D | dev-interface | 133 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
|
D | i2c-protocol | 74 This is often used to gather transmits from multiple data buffers in
|
/linux-4.1.27/Documentation/ABI/removed/ |
D | net_dma | 7 coherency issues of the cpu potentially touching the buffers
|
/linux-4.1.27/drivers/char/xillybus/ |
D | xillybus_core.c | 323 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.1.27/drivers/iio/ |
D | Kconfig | 41 Provides helper functions for setting up triggered buffers. 50 buffers. The triggers are effectively a 'capture
|
/linux-4.1.27/drivers/mtd/nand/ |
D | nand_base.c | 1182 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_swecc() 1183 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_swecc() 1254 chip->ecc.calculate(mtd, p, &chip->buffers->ecccalc[i]); in nand_read_subpage() 1287 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + index]]; in nand_read_subpage() 1294 &chip->buffers->ecccode[i], &chip->buffers->ecccalc[i]); in nand_read_subpage() 1322 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc() 1323 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_hwecc() 1375 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_hwecc_oob_first() 1377 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc_oob_first() 1589 bufpoi = use_bufpoi ? chip->buffers->databuf : buf; in nand_do_read_ops() [all …]
|
D | fsmc_nand.c | 722 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()
|
D | omap2.c | 1510 uint8_t *ecc_calc = chip->buffers->ecccalc; in omap_write_page_bch() 1548 uint8_t *ecc_calc = chip->buffers->ecccalc; in omap_read_page_bch() 1549 uint8_t *ecc_code = chip->buffers->ecccode; in omap_read_page_bch()
|
D | cafe_nand.c | 713 cafe->nand.buffers = nbuf = (void *)cafe->dmabuf + 2112; in cafe_nand_probe()
|
/linux-4.1.27/include/crypto/ |
D | algapi.h | 121 struct list_head buffers; member 327 INIT_LIST_HEAD(&walk->buffers); in ablkcipher_walk_init() 332 if (unlikely(!list_empty(&walk->buffers))) in ablkcipher_walk_complete()
|
/linux-4.1.27/drivers/staging/speakup/ |
D | Makefile | 19 buffers.o \
|
/linux-4.1.27/fs/nilfs2/ |
D | ioctl.c | 576 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.1.27/include/linux/ |
D | pipe_fs_i.h | 49 unsigned int nrbufs, curbuf, buffers; member
|
/linux-4.1.27/Documentation/block/ |
D | data-integrity.txt | 52 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
|
D | biodoc.txt | 172 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.1.27/drivers/staging/media/dt3155v4l/ |
D | Kconfig | 28 Select it if you want to use streaming of memory mapped buffers
|
/linux-4.1.27/drivers/media/usb/pwc/ |
D | philips.txt | 57 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.1.27/Documentation/ABI/testing/ |
D | sysfs-bus-iio-frequency-adf4350 | 21 down the PLL and its RFOut buffers during REFin changes.
|
D | configfs-usb-gadget-mass-storage | 10 num_buffers - Number of pipeline buffers. Valid numbers
|
/linux-4.1.27/Documentation/devicetree/bindings/regmap/ |
D | regmap.txt | 16 these properties are for register values and all the buffers only.
|
/linux-4.1.27/include/uapi/drm/ |
D | nouveau_drm.h | 108 uint64_t buffers; member
|
/linux-4.1.27/drivers/staging/android/ion/ |
D | Kconfig | 8 used by Android to efficiently allocate buffers
|
D | ion.c | 55 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() 1427 for (n = rb_first(&dev->buffers); n; n = rb_next(n)) { in ion_debug_heap_show() 1603 idev->buffers = RB_ROOT; in ion_device_create()
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
D | fimc-isp.h | 139 struct isp_video_buf *buffers[FIMC_ISP_MAX_BUFS]; member
|
D | fimc-isp-video.c | 187 if (video->buffers[i]->dma_addr[0] == dma_addr) in isp_video_capture_buffer_prepare() 212 video->buffers[ivb->index] = ivb; in isp_video_capture_buffer_queue() 253 vb = &video->buffers[buf_index]->vb; in fimc_isp_video_irq_handler()
|
/linux-4.1.27/drivers/media/platform/ |
D | Kconfig | 132 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.1.27/Documentation/serial/ |
D | tty.txt | 93 receive_buf() - Hand buffers of bytes from the driver to the ldisc 152 throttle() Notify the tty driver that input buffers for the 159 input buffers of the line disciplines. 232 minimal impact as most receive logic uses the flip buffers and they only 262 into the port buffers without overflow (or less).
|
/linux-4.1.27/Documentation/scsi/ |
D | osd.txt | 87 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
|
D | st.txt | 89 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 170 is used (i.e., bounce buffers for individual pages are not 178 The size of the driver buffers is always at least one tape block. In fixed 208 Scatter/gather buffers (buffers that consist of chunks non-contiguous 209 in the physical memory) are used if contiguous buffers can't be 247 The buffer size, write threshold, and the maximum number of allocated buffers 318 MTNOP Do nothing except flush the buffers.
|
D | cxgb3i.txt | 22 payload into pre-posted final destination host-memory buffers based
|
D | scsi-parameters.txt | 113 st= [HW,SCSI] SCSI tape parameters (buffers, etc.)
|
D | ChangeLog.1992-1997 | 356 * scsi.c: Make sure that all buffers are 16 byte aligned - some 983 * scsi.c: Do not allocate dma bounce buffers if we have exactly 1433 specification of number of buffers. 1802 restored if we retry the command. Set aside dma buffers assuming each 1813 buffers if we run out of dma pool.
|
/linux-4.1.27/drivers/md/ |
D | dm-bufio.c | 909 unsigned long buffers; in __get_memory_limit() local 917 buffers = dm_bufio_cache_size_per_client >> in __get_memory_limit() 920 if (buffers < c->minimum_buffers) in __get_memory_limit() 921 buffers = c->minimum_buffers; in __get_memory_limit() 923 *limit_buffers = buffers; in __get_memory_limit() 924 *threshold_buffers = buffers * DM_BUFIO_WRITEBACK_PERCENT / 100; in __get_memory_limit()
|
/linux-4.1.27/tools/virtio/virtio-trace/ |
D | README | 18 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.1.27/fs/fuse/ |
D | dev.c | 781 if (cs->nr_segs == cs->pipe->buffers) in fuse_copy_fill() 954 if (cs->nr_segs == cs->pipe->buffers) in fuse_ref_page() 1387 bufs = kmalloc(pipe->buffers * sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_read() 1408 if (pipe->nrbufs + cs.nr_segs > pipe->buffers) { in fuse_dev_splice_read() 1414 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in fuse_dev_splice_read() 1998 bufs = kmalloc(pipe->buffers * sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write() 2006 rem += pipe->bufs[(pipe->curbuf + idx) & (pipe->buffers - 1)].len; in fuse_dev_splice_write() 2019 BUG_ON(nbuf >= pipe->buffers); in fuse_dev_splice_write() 2027 pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); in fuse_dev_splice_write()
|
/linux-4.1.27/Documentation/crypto/ |
D | async-tx-api.txt | 62 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.1.27/Documentation/sound/alsa/soc/ |
D | platform.txt | 76 3) DMA IO to/from DSP buffers (if applicable)
|
/linux-4.1.27/drivers/net/ethernet/adi/ |
D | Kconfig | 41 buffers. Say N here if you want to reserve L1 memory for other uses.
|
/linux-4.1.27/arch/tile/gxio/ |
D | mpipe.c | 146 size_t gxio_mpipe_calc_buffer_stack_bytes(unsigned long buffers) in gxio_mpipe_calc_buffer_stack_bytes() argument 152 (buffers + BUFFERS_PER_LINE - 1) / BUFFERS_PER_LINE; in gxio_mpipe_calc_buffer_stack_bytes()
|
/linux-4.1.27/Documentation/fb/ |
D | pvr2fb.txt | 6 This is a driver for PowerVR 2 based graphics frame buffers, such as the
|
/linux-4.1.27/drivers/mailbox/ |
D | Kconfig | 42 Specify the default size of mailbox's kfifo buffers (bytes).
|
/linux-4.1.27/Documentation/wimax/ |
D | README.i2400m | 213 * RX-buffers: total RX buffers received, accumulated RX buffer size 217 RX-buffer / total RX-buffers.
|
/linux-4.1.27/drivers/media/common/siano/ |
D | smscoreapi.c | 675 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()
|
D | smscoreapi.h | 169 struct list_head buffers; member
|
/linux-4.1.27/Documentation/video4linux/bttv/ |
D | Insmod-options | 37 gbuffers=2-32 number of capture buffers for mmap'ed capture. 39 gbufsize= size of capture buffers. default and
|
/linux-4.1.27/drivers/android/ |
D | binder.c | 311 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.1.27/drivers/media/v4l2-core/ |
D | videobuf2-core.c | 412 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem() argument 417 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_free_mem() 438 static int __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free() argument 450 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_queue_free() 461 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_queue_free() 470 __vb2_free_mem(q, buffers); in __vb2_queue_free() 535 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_queue_free() 541 q->num_buffers -= buffers; in __vb2_queue_free()
|
/linux-4.1.27/Documentation/trace/ |
D | mmiotrace.txt | 79 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
|
D | ftrace.txt | 148 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. 343 Eventually perf will be able to read ftrace buffers 394 This is a way to make multiple trace buffers where different 395 events can be recorded in different buffers. 417 and free from cache bouncing. These buffers may have different 418 size buffers. This file is similar to the buffer_size_kb 795 annotate - It is sometimes confusing when the CPU buffers are full [all …]
|
/linux-4.1.27/Documentation/PCI/ |
D | pci.txt | 59 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.1.27/Documentation/devicetree/bindings/iommu/ |
D | samsung,sysmmu.txt | 10 another capabilities like L2 TLB or block-fetch buffers to minimize translation
|
/linux-4.1.27/Documentation/fmc/ |
D | fmc-chardev.txt | 24 and DMA buffers. They may be added in later versions, if the need
|
/linux-4.1.27/Documentation/device-mapper/ |
D | era.txt | 93 (4 * nr_blocks) bytes + buffers
|
/linux-4.1.27/arch/x86/crypto/ |
D | crc32c-pcl-intel-asm_64.S | 63 # Define threshold where buffers are considered "small" and routed to more
|
/linux-4.1.27/Documentation/devicetree/bindings/soc/fsl/ |
D | bman.txt | 14 BMan supports hardware allocation and deallocation of buffers belonging to pools
|
/linux-4.1.27/crypto/ |
D | ablkcipher.c | 51 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.1.27/fs/xfs/ |
D | xfs_qm.c | 426 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()
|
D | xfs_aops.c | 413 int buffers) in xfs_start_page_writeback() argument 434 if (!buffers) in xfs_start_page_writeback()
|
/linux-4.1.27/Documentation/misc-devices/mei/ |
D | mei-client-bus.txt | 55 received buffers.
|
/linux-4.1.27/Documentation/ia64/ |
D | aliasing.txt | 22 performance for things like frame buffers. 109 "X" uses this to access VGA frame buffers. Using legacy_mem
|
/linux-4.1.27/sound/oss/ |
D | Kconfig | 261 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
|
D | CHANGELOG | 362 - 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.1.27/Documentation/m68k/ |
D | kernel-options.txt | 279 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.1.27/Documentation/devicetree/bindings/reserved-memory/ |
D | reserved-memory.txt | 51 used as a shared pool of DMA buffers for a set of devices. It can
|
/linux-4.1.27/Documentation/filesystems/cifs/ |
D | TODO | 29 extra copy in/out of the socket buffers in some cases.
|
D | CHANGES | 96 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.1.27/Documentation/spi/ |
D | spi-summary | 388 + 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.1.27/arch/tile/include/gxio/ |
D | mpipe.h | 417 extern size_t gxio_mpipe_calc_buffer_stack_bytes(unsigned long buffers);
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | compress_offload.txt | 37 estimate reliably the duration of audio buffers when handling 87 ring buffer cannot be invalidated, except when dropping all buffers.
|
D | ALSA-Configuration.txt | 617 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.1.27/Documentation/i2c/busses/ |
D | i2c-parport | 84 circuit the output buffers! So plugging the I2C adapter after loading
|
/linux-4.1.27/Documentation/ide/ |
D | ChangeLog.ide-tape.1995-2002 | 41 * (a parameter of the drive) only to its buffers, 140 * bounce buffers.
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_gem.c | 724 bo = u_memcpya(req->buffers, req->nr_buffers, sizeof(*bo)); in nouveau_gem_ioctl_pushbuf() 740 ret = nouveau_gem_pushbuf_validate(chan, file_priv, bo, req->buffers, in nouveau_gem_ioctl_pushbuf()
|
/linux-4.1.27/Documentation/cris/ |
D | README | 162 total: used: free: shared: buffers: cached:
|
/linux-4.1.27/Documentation/target/ |
D | tcmu-design.txt | 151 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.1.27/Documentation/dvb/ |
D | faq.txt | 154 one is responsible to handle capture buffers.
|
/linux-4.1.27/Documentation/arm/ |
D | IXP4xx | 71 you are running with > 64MB, all PCI buffers outside of the accessible
|
/linux-4.1.27/drivers/usb/gadget/ |
D | Kconfig | 115 int "Number of storage pipeline buffers" 119 Usually 2 buffers are enough to establish a good buffering
|
/linux-4.1.27/Documentation/blockdev/ |
D | ramdisk.txt | 22 RAM from the buffer cache. The driver marks the buffers it is using as dirty
|
D | floppy.txt | 94 and is thus harder to find, whereas non-dma buffers may be
|
/linux-4.1.27/include/linux/mtd/ |
D | nand.h | 711 struct nand_buffers *buffers; member
|
/linux-4.1.27/arch/arm/ |
D | Kconfig | 107 int "Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers" 111 DMA mapping framework by default aligns all buffers to the smallest 113 size. This works well for buffers up to a few hundreds kilobytes, but 114 for larger buffers it just a waste of address space. Drivers which has 119 DMA IOMMU buffers. Larger buffers will be aligned only to this 1729 such copy operations with large buffers.
|
/linux-4.1.27/Documentation/dmaengine/ |
D | client.txt | 75 slave_sg - DMA a list of scatter gather buffers from/to a peripheral
|
D | provider.txt | 48 non-contiguous buffers to a contiguous buffer, which is called 376 that can be queued to buffers before being flushed to
|
/linux-4.1.27/Documentation/accounting/ |
D | taskstats.txt | 178 indicated overflow of receive buffers, it should take measures to handle the
|
/linux-4.1.27/Documentation/cpu-freq/ |
D | pcc-cpufreq.txt | 79 used to discover the offsets for the input and output buffers in the shared
|
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-nand.c | 1608 uint8_t *buffer = chip->buffers->databuf; in mx23_check_transcription_stamp() 1667 uint8_t *buffer = chip->buffers->databuf; in mx23_write_transcription_stamp()
|
/linux-4.1.27/mm/ |
D | Kconfig | 290 bool "Enable bounce buffers" 294 Enable bounce buffers for devices that cannot access
|
/linux-4.1.27/arch/powerpc/ |
D | Kconfig.debug | 255 This console provides input and output buffers stored within the
|
/linux-4.1.27/Documentation/thermal/ |
D | intel_powerclamp.txt | 290 Mem: 3943228k total, 1689632k used, 2253596k free, 74960k buffers
|