/linux-4.19.296/fs/afs/ |
D | netdevices.c | 20 int afs_get_ipv4_interfaces(struct afs_net *net, struct afs_interface *bufs, in afs_get_ipv4_interfaces() argument 37 bufs[n].address.s_addr = ifa->ifa_address; in afs_get_ipv4_interfaces() 38 bufs[n].netmask.s_addr = ifa->ifa_mask; in afs_get_ipv4_interfaces() 39 bufs[n].mtu = dev->mtu; in afs_get_ipv4_interfaces()
|
/linux-4.19.296/fs/ |
D | pipe.c | 291 int bufs = pipe->nrbufs; in pipe_read() local 292 if (bufs) { in pipe_read() 294 struct pipe_buffer *buf = pipe->bufs + curbuf; in pipe_read() 329 pipe->nrbufs = --bufs; in pipe_read() 336 if (bufs) /* More to do? */ in pipe_read() 408 struct pipe_buffer *buf = pipe->bufs + lastbuf; in pipe_write() 429 int bufs; in pipe_write() local 437 bufs = pipe->nrbufs; in pipe_write() 438 if (bufs < pipe->buffers) { in pipe_write() 439 int newbuf = (pipe->curbuf + bufs) & (pipe->buffers-1); in pipe_write() [all …]
|
D | splice.c | 202 struct pipe_buffer *buf = pipe->bufs + newbuf; in splice_to_pipe() 241 pipe->bufs[newbuf] = *buf; in add_to_pipe() 406 pipe->bufs[to.idx].offset = offset; in default_file_splice_read() 407 pipe->bufs[to.idx].len -= offset; in default_file_splice_read() 490 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in splice_from_pipe_feed() 726 struct pipe_buffer *buf = pipe->bufs + idx; in iter_file_splice_write() 760 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in iter_file_splice_write() 1007 struct pipe_buffer *buf = pipe->bufs + i; in splice_direct_to_actor() 1581 ibuf = ipipe->bufs + ipipe->curbuf; in splice_pipe_to_pipe() 1583 obuf = opipe->bufs + nbuf; in splice_pipe_to_pipe() [all …]
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | videobuf-core.c | 206 if (NULL == q->bufs[i]) in videobuf_queue_is_busy() 208 if (q->bufs[i]->map) { in videobuf_queue_is_busy() 212 if (q->bufs[i]->state == VIDEOBUF_QUEUED) { in videobuf_queue_is_busy() 216 if (q->bufs[i]->state == VIDEOBUF_ACTIVE) { in videobuf_queue_is_busy() 248 if (q->bufs[i] && q->bufs[i]->map) { in __videobuf_free() 254 if (NULL == q->bufs[i]) in __videobuf_free() 256 q->ops->buf_release(q, q->bufs[i]); in __videobuf_free() 257 kfree(q->bufs[i]); in __videobuf_free() 258 q->bufs[i] = NULL; in __videobuf_free() 277 if (NULL == q->bufs[i]) in videobuf_queue_cancel() [all …]
|
D | videobuf-dma-sg.c | 415 if (NULL == q->bufs[i]) in videobuf_vm_close() 417 mem = q->bufs[i]->priv; in videobuf_vm_close() 423 if (q->bufs[i]->map != map) in videobuf_vm_close() 425 q->bufs[i]->map = NULL; in videobuf_vm_close() 426 q->bufs[i]->baddr = 0; in videobuf_vm_close() 427 q->ops->buf_release(q, q->bufs[i]); in videobuf_vm_close() 609 if (buf == q->bufs[first]) { in __videobuf_mmap_mapper() 610 size = PAGE_ALIGN(q->bufs[first]->bsize); in __videobuf_mmap_mapper() 632 if (NULL == q->bufs[i]) in __videobuf_mmap_mapper() 634 q->bufs[i]->map = map; in __videobuf_mmap_mapper() [all …]
|
D | videobuf-vmalloc.c | 85 if (NULL == q->bufs[i]) in videobuf_vm_close() 88 if (q->bufs[i]->map != map) in videobuf_vm_close() 91 mem = q->bufs[i]->priv; in videobuf_vm_close() 111 q->bufs[i]->map = NULL; in videobuf_vm_close() 112 q->bufs[i]->baddr = 0; in videobuf_vm_close()
|
D | videobuf-dma-contig.c | 97 if (NULL == q->bufs[i]) in videobuf_vm_close() 100 if (q->bufs[i]->map != map) in videobuf_vm_close() 103 mem = q->bufs[i]->priv; in videobuf_vm_close() 123 q->bufs[i]->map = NULL; in videobuf_vm_close() 124 q->bufs[i]->baddr = 0; in videobuf_vm_close()
|
/linux-4.19.296/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 309 struct vb2_buffer *prev = q->bufs[vb->index - 1]; in __setup_offsets() 363 q->bufs[vb->index] = vb; in __vb2_queue_alloc() 371 q->bufs[vb->index] = NULL; in __vb2_queue_alloc() 386 q->bufs[vb->index] = NULL; in __vb2_queue_alloc() 409 vb = q->bufs[buffer]; in __vb2_free_mem() 442 if (q->bufs[buffer] == NULL) in __vb2_queue_free() 444 if (q->bufs[buffer]->state == VB2_BUF_STATE_PREPARING) { in __vb2_queue_free() 453 struct vb2_buffer *vb = q->bufs[buffer]; in __vb2_queue_free() 488 struct vb2_buffer *vb = q->bufs[buffer]; in __vb2_queue_free() 527 kfree(q->bufs[buffer]); in __vb2_queue_free() [all …]
|
D | videobuf2-v4l2.c | 169 if (q->bufs[b->index] == NULL) { in vb2_queue_or_prepare_buf() 180 return __verify_planes_array(q->bufs[b->index], b); in vb2_queue_or_prepare_buf() 477 vb = q->bufs[b->index]; in vb2_querybuf()
|
/linux-4.19.296/lib/ |
D | iov_iter.c | 332 p = &pipe->bufs[idx]; in sanity() 346 pipe->bufs[idx].ops, in sanity() 347 pipe->bufs[idx].page, in sanity() 348 pipe->bufs[idx].offset, in sanity() 349 pipe->bufs[idx].len); in sanity() 381 buf = &pipe->bufs[idx]; in copy_page_to_iter_pipe() 390 buf = &pipe->bufs[idx]; in copy_page_to_iter_pipe() 481 if (off && (!allocated(&i->pipe->bufs[idx]) || off == PAGE_SIZE)) { in data_start() 509 pipe->bufs[idx].len += size; in push_pipe() 512 pipe->bufs[idx].len = PAGE_SIZE; in push_pipe() [all …]
|
/linux-4.19.296/include/soc/fsl/ |
D | bman.h | 114 int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num); 127 int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num);
|
/linux-4.19.296/fs/jbd2/ |
D | commit.c | 362 int bufs; in jbd2_journal_commit_transaction() local 568 bufs = 0; in jbd2_journal_commit_transaction() 600 J_ASSERT (bufs == 0); in jbd2_journal_commit_transaction() 621 wbuf[bufs++] = descriptor; in jbd2_journal_commit_transaction() 659 jh, &wbuf[bufs], blocknr); in jbd2_journal_commit_transaction() 664 jbd2_file_log_bh(&io_bufs, wbuf[bufs]); in jbd2_journal_commit_transaction() 678 jbd2_block_tag_csum_set(journal, tag, wbuf[bufs], in jbd2_journal_commit_transaction() 682 bufs++; in jbd2_journal_commit_transaction() 694 if (bufs == journal->j_wbufsize || in jbd2_journal_commit_transaction() 698 jbd_debug(4, "JBD2: Submit %d IOs\n", bufs); in jbd2_journal_commit_transaction() [all …]
|
D | recovery.c | 74 struct buffer_head * bufs[MAXBUF]; in do_readahead() local 102 bufs[nbufs++] = bh; in do_readahead() 104 ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); in do_readahead() 105 journal_brelse_array(bufs, nbufs); in do_readahead() 113 ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); in do_readahead() 118 journal_brelse_array(bufs, nbufs); in do_readahead()
|
/linux-4.19.296/fs/fuse/ |
D | dev.c | 1418 struct pipe_buffer *bufs; in fuse_dev_splice_read() local 1425 bufs = kvmalloc_array(pipe->buffers, sizeof(struct pipe_buffer), in fuse_dev_splice_read() 1427 if (!bufs) in fuse_dev_splice_read() 1431 cs.pipebufs = bufs; in fuse_dev_splice_read() 1447 bufs[page_nr].ops = &nosteal_pipe_buf_ops; in fuse_dev_splice_read() 1448 bufs[page_nr].flags = 0; in fuse_dev_splice_read() 1449 ret = add_to_pipe(pipe, &bufs[page_nr++]); in fuse_dev_splice_read() 1457 put_page(bufs[page_nr].page); in fuse_dev_splice_read() 1459 kvfree(bufs); in fuse_dev_splice_read() 2003 struct pipe_buffer *bufs; in fuse_dev_splice_write() local [all …]
|
/linux-4.19.296/include/sound/ |
D | pcm.h | 1107 void __user **bufs, snd_pcm_uframes_t frames) in snd_pcm_lib_writev() argument 1109 return __snd_pcm_lib_xfer(substream, (void *)bufs, false, frames, false); in snd_pcm_lib_writev() 1114 void __user **bufs, snd_pcm_uframes_t frames) in snd_pcm_lib_readv() argument 1116 return __snd_pcm_lib_xfer(substream, (void *)bufs, false, frames, false); in snd_pcm_lib_readv() 1135 void **bufs, snd_pcm_uframes_t frames) in snd_pcm_kernel_writev() argument 1137 return __snd_pcm_lib_xfer(substream, bufs, false, frames, true); in snd_pcm_kernel_writev() 1142 void **bufs, snd_pcm_uframes_t frames) in snd_pcm_kernel_readv() argument 1144 return __snd_pcm_lib_xfer(substream, bufs, false, frames, true); in snd_pcm_kernel_readv()
|
/linux-4.19.296/include/xen/arm/ |
D | hypercall.h | 59 struct xen_dm_op_buf *bufs);
|
/linux-4.19.296/block/ |
D | blk-throttle.c | 1529 char bufs[4][21] = { "max", "max", "max", "max" }; in tg_prfill_limit() local 1556 snprintf(bufs[0], sizeof(bufs[0]), "%llu", in tg_prfill_limit() 1559 snprintf(bufs[1], sizeof(bufs[1]), "%llu", in tg_prfill_limit() 1562 snprintf(bufs[2], sizeof(bufs[2]), "%u", in tg_prfill_limit() 1565 snprintf(bufs[3], sizeof(bufs[3]), "%u", in tg_prfill_limit() 1582 dname, bufs[0], bufs[1], bufs[2], bufs[3], idle_time, in tg_prfill_limit()
|
/linux-4.19.296/include/linux/ |
D | pipe_fs_i.h | 61 struct pipe_buffer *bufs; member
|
/linux-4.19.296/fs/fscache/ |
D | cookie.c | 82 int bufs; in fscache_set_key() local 84 bufs = DIV_ROUND_UP(index_key_len, sizeof(*buf)); in fscache_set_key() 87 buf = kcalloc(bufs, sizeof(*buf), GFP_KERNEL); in fscache_set_key() 96 cookie->key_hash = fscache_hash(0, buf, bufs); in fscache_set_key()
|
/linux-4.19.296/include/drm/ |
D | drm_legacy.h | 103 struct drm_buf_entry bufs[DRM_MAX_ORDER + 1]; /**< buffers, grouped by their size order */ member
|
/linux-4.19.296/drivers/s390/net/ |
D | qeth_core_main.c | 330 q->bufs[i].buffer = q->qdio_bufs[i]; in qeth_alloc_qdio_queue() 446 if (q->bufs[bidx]->next_pending != NULL) { in qeth_cleanup_handled_pending() 447 struct qeth_qdio_out_buffer *head = q->bufs[bidx]; in qeth_cleanup_handled_pending() 448 struct qeth_qdio_out_buffer *c = q->bufs[bidx]->next_pending; in qeth_cleanup_handled_pending() 1258 if (!q->bufs[j]) in qeth_clear_outq_buffers() 1261 qeth_clear_output_buffer(q, q->bufs[j]); in qeth_clear_outq_buffers() 1263 kmem_cache_free(qeth_qdio_outbuf_cache, q->bufs[j]); in qeth_clear_outq_buffers() 1264 q->bufs[j] = NULL; in qeth_clear_outq_buffers() 2460 newbuf->next_pending = q->bufs[bidx]; in qeth_init_qdio_out_buf() 2462 q->bufs[bidx] = newbuf; in qeth_init_qdio_out_buf() [all …]
|
/linux-4.19.296/include/media/ |
D | videobuf-core.h | 147 struct videobuf_buffer *bufs[VIDEO_MAX_FRAME]; member
|
D | videobuf2-core.h | 539 struct vb2_buffer *bufs[VB2_MAX_FRAME]; member
|
/linux-4.19.296/drivers/virtio/ |
D | virtio_ring.c | 873 u16 bufs; in virtqueue_enable_cb_delayed() local 888 bufs = (u16)(vq->avail_idx_shadow - vq->last_used_idx) * 3 / 4; in virtqueue_enable_cb_delayed() 892 cpu_to_virtio16(_vq->vdev, vq->last_used_idx + bufs)); in virtqueue_enable_cb_delayed() 894 if (unlikely((u16)(virtio16_to_cpu(_vq->vdev, vq->vring.used->idx) - vq->last_used_idx) > bufs)) { in virtqueue_enable_cb_delayed()
|
/linux-4.19.296/fs/cifs/ |
D | connect.c | 966 char *bufs[MAX_COMPOUND]; in cifs_demultiplex_thread() local 1035 memset(bufs, 0, sizeof(bufs)); in cifs_demultiplex_thread() 1043 bufs, in cifs_demultiplex_thread() 1047 bufs[0] = buf; in cifs_demultiplex_thread() 1084 server->ops->is_oplock_break(bufs[i], in cifs_demultiplex_thread() 1086 smb2_add_credits_from_hdr(bufs[i], server); in cifs_demultiplex_thread() 1092 cifs_dump_mem("Received Data is: ", bufs[i], in cifs_demultiplex_thread() 1096 server->ops->dump_detail(bufs[i], in cifs_demultiplex_thread() 1098 smb2_add_credits_from_hdr(bufs[i], server); in cifs_demultiplex_thread()
|