/linux-master/drivers/media/pci/cobalt/ |
H A D | cobalt-irq.c | 32 if (list_empty(&s->bufs)) { 42 cb = list_first_entry(&s->bufs, struct cobalt_buffer, list);
|
H A D | cobalt-driver.h | 212 struct list_head bufs; member in struct:cobalt_stream
|
H A D | cobalt-v4l2.c | 112 list_for_each_entry(cb, &s->bufs, list) { 134 list_add_tail(&cb->list, &s->bufs); 272 cb = list_first_entry(&s->bufs, struct cobalt_buffer, list); 367 list_for_each_entry(cb, &s->bufs, list) { 400 list_for_each_safe(p, safe, &s->bufs) { 1253 INIT_LIST_HEAD(&s->bufs);
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_wr.h | 374 struct csio_dma_buf *bufs; /* Free list buffer ptr array member in struct:csio_fl
|
/linux-master/include/soc/fsl/ |
H A D | bman.h | 108 * @bufs: an array of buffers to release 109 * @num: the number of buffers in @bufs (1-8) 114 int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num); 119 * @bufs: array for storing the acquired buffers 120 * @num: the number of buffers desired (@bufs is at least this big) 125 * the latter case, the content of @bufs is undefined. 127 int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num);
|
/linux-master/sound/core/oss/ |
H A D | io.c | 50 void **bufs = (void**)plugin->extra_data; local 51 if (snd_BUG_ON(!bufs)) 55 bufs[channel] = src_channels[channel].area.addr; 57 bufs[channel] = NULL; 59 return pcm_writev(plugin->plug, bufs, frames); 76 void **bufs = (void**)plugin->extra_data; local 77 if (snd_BUG_ON(!bufs)) 81 bufs[channel] = dst_channels[channel].area.addr; 83 bufs[channel] = NULL; 85 return pcm_readv(plugin->plug, bufs, frame [all...] |
/linux-master/tools/virtio/ringtest/ |
H A D | main.c | 111 int bufs = runcycles; local 123 if (started < bufs && 138 /* Flush out completed bufs if any */ 141 if (__builtin_expect(completed == bufs, false)) 148 assert(completed <= bufs); 149 assert(started <= bufs); 170 int bufs = runcycles; local 188 if (__builtin_expect(completed == bufs, false)) 193 assert(completed <= bufs); 194 if (completed == bufs) [all...] |
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-helper-util.h | 133 number_buffers = work->word2.s.bufs;
|
H A D | cvmx-wqe.h | 62 uint64_t bufs:8; member in struct:__anon46::__anon47 193 uint64_t bufs:8; 198 uint64_t bufs:8; member in struct:__anon46::__anon48 240 uint64_t bufs:8; 268 uint64_t bufs:8; member in struct:__anon46::__anon50 399 uint64_t bufs:8;
|
/linux-master/arch/riscv/kernel/ |
H A D | unaligned_access_speed.c | 221 struct page **bufs = kcalloc(cpu_count, sizeof(*bufs), GFP_KERNEL); local 223 if (!bufs) { 233 bufs[cpu] = alloc_pages(GFP_KERNEL, MISALIGNED_BUFFER_ORDER); 234 if (!bufs[cpu]) { 241 on_each_cpu(check_unaligned_access_nonboot_cpu, bufs, 1); 244 smp_call_on_cpu(0, check_unaligned_access, bufs[0], true); 255 if (bufs[cpu]) 256 __free_pages(bufs[cpu], MISALIGNED_BUFFER_ORDER); 259 kfree(bufs); [all...] |
/linux-master/arch/x86/include/asm/xen/ |
H A D | hypercall.h | 495 domid_t dom, unsigned int nr_bufs, struct xen_dm_op_buf *bufs) 499 ret = _hypercall3(int, dm_op, dom, nr_bufs, bufs); 494 HYPERVISOR_dm_op( domid_t dom, unsigned int nr_bufs, struct xen_dm_op_buf *bufs) argument
|
/linux-master/block/ |
H A D | blk-throttle.c | 1497 char bufs[4][21] = { "max", "max", "max", "max" }; local 1524 snprintf(bufs[0], sizeof(bufs[0]), "%llu", 1527 snprintf(bufs[1], sizeof(bufs[1]), "%llu", 1530 snprintf(bufs[2], sizeof(bufs[2]), "%u", 1533 snprintf(bufs[3], sizeof(bufs[3]), "%u", 1550 dname, bufs[ [all...] |
/linux-master/crypto/ |
H A D | testmgr.c | 544 char *bufs[XBUFSIZE]; member in struct:test_sglist 553 return __testmgr_alloc_buf(tsgl->bufs, 1 /* two pages per buffer */); 558 return __testmgr_free_buf(tsgl->bufs, 1 /* two pages per buffer */); 564 * @tsgl: the scatterlist to build. @tsgl->bufs[] contains an array of 2-page 636 addr = &tsgl->bufs[i][offset];
|
/linux-master/drivers/acpi/ |
H A D | property.c | 421 props->bufs = (void *)(props + 1); 422 props->properties = (void *)(props->bufs + properties->package.count); 481 props->bufs[i] = buf.pointer; 604 if (props->bufs) 606 ACPI_FREE(props->bufs[i]);
|
/linux-master/drivers/dma/ |
H A D | dmatest.c | 343 static void dmatest_init_srcs(u8 **bufs, unsigned int start, unsigned int len, argument 349 for (; (buf = *bufs); bufs++) { 360 static void dmatest_init_dsts(u8 **bufs, unsigned int start, unsigned int len, argument 366 for (; (buf = *bufs); bufs++) { 399 static unsigned int dmatest_verify(u8 **bufs, unsigned int start, argument 410 for (; (buf = *bufs); bufs++) {
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | submit.c | 262 struct drm_tegra_submit_buf *bufs; local 266 bufs = alloc_copy_user_array(u64_to_user_ptr(args->bufs_ptr), args->num_bufs, 267 sizeof(*bufs)); 268 if (IS_ERR(bufs)) { 269 SUBMIT_ERR(context, "failed to copy bufs array from userspace"); 270 return PTR_ERR(bufs); 281 struct drm_tegra_submit_buf *buf = &bufs[i]; 322 kvfree(bufs);
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_alloc.c | 132 int hns_roce_get_kmem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs, argument 149 bufs[total++] = hns_roce_buf_dma_addr(buf, offset); 156 int hns_roce_get_umem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs, argument 165 bufs[total++] = rdma_block_iter_dma_address(&biter);
|
H A D | hns_roce_device.h | 1228 int hns_roce_get_kmem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs, 1231 int hns_roce_get_umem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs,
|
/linux-master/drivers/md/ |
H A D | dm-verity-fec.c | 109 return &fio->bufs[i][j * v->fec->rsn]; 140 * Decode the RS blocks we have in bufs. Each RS block results in 225 * interleave contents to available bufs 286 * deinterleave and copy the bytes that fit into bufs, 317 if (fio->bufs[n]) 320 fio->bufs[n] = mempool_alloc(&v->fec->prealloc_pool, GFP_NOWAIT); 321 if (unlikely(!fio->bufs[n])) { 329 if (fio->bufs[n]) 332 fio->bufs[n] = mempool_alloc(&v->fec->extra_pool, GFP_NOWAIT); 334 if (unlikely(!fio->bufs[ [all...] |
H A D | dm-verity-fec.h | 57 u8 *bufs[DM_VERITY_FEC_BUF_MAX]; /* bufs for deinterleaving */ member in struct:dm_verity_fec_io
|
/linux-master/drivers/media/common/videobuf2/ |
H A D | videobuf2-core.c | 424 WARN_ON(index >= q->max_num_buffers || q->bufs[index] || vb->vb2_queue); 426 q->bufs[index] = vb; 437 vb->vb2_queue->bufs[vb->index] = NULL; 876 if (!q->bufs) 877 q->bufs = kcalloc(q->max_num_buffers, sizeof(*q->bufs), GFP_KERNEL); 878 if (!q->bufs) 1009 if (!q->bufs) 1010 q->bufs = kcalloc(q->max_num_buffers, sizeof(*q->bufs), GFP_KERNE 2697 struct vb2_fileio_buf bufs[VB2_MAX_FRAME]; member in struct:vb2_fileio_data [all...] |
/linux-master/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 371 ret = vb2_core_expbuf(&ctx->vb_q, &exp->fd, q->type, q->bufs[exp->index],
|
/linux-master/drivers/media/pci/intel/ipu3/ |
H A D | ipu3-cio2.c | 563 b = q->bufs[q->bufs_first]; 569 q->bufs[q->bufs_first] = NULL; 788 if (q->bufs[i]) { 790 vb2_buffer_done(&q->bufs[i]->vbb.vb2_buf, 792 q->bufs[i] = NULL; 823 q->bufs[i] = NULL; 941 if (!q->bufs[next]) { 942 q->bufs[next] = b; 1896 if (q->bufs[j]) 1905 arrange(q->bufs, sizeo [all...] |
H A D | ipu3-cio2.h | 372 struct cio2_buffer *bufs[CIO2_MAX_BUFFERS]; member in struct:cio2_queue
|
/linux-master/drivers/media/pci/pt1/ |
H A D | pt1.c | 60 struct pt1_buffer bufs[PT1_NR_BUFS]; member in struct:pt1_table 508 page = pt1->tables[pt1->table_index].bufs[pt1->buf_index].page; 581 pt1_cleanup_buffer(pt1, &table->bufs[i]); 599 ret = pt1_init_buffer(pt1, &table->bufs[i], &buf_pfn); 613 pt1_cleanup_buffer(pt1, &table->bufs[i]); 1285 pt1->tables[i].bufs[j].page->upackets[PT1_NR_UPACKETS-1]
|