/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_rx.c | 55 c->bufs[c->prod_cnt & c->mask] = *buf; 75 buf = &c->bufs[c->cons_cnt & c->mask]; 281 return &q->bufs[q->rq_cons & q->rq_mask]; 538 struct funeth_rxbuf *b = q->bufs; 551 struct funeth_rxbuf *b = q->bufs; 561 q->cur_buf = q->bufs; 570 c->bufs = kvzalloc_node(depth * sizeof(*c->bufs), GFP_KERNEL, node); 571 return c->bufs ? 0 : -ENOMEM; 577 struct funeth_rxbuf *b = q->cache.bufs; [all...] |
H A D | funeth_txrx.h | 156 struct funeth_rxbuf *bufs; /* base of Rx buffer state ring */ member in struct:funeth_rx_cache 176 struct funeth_rxbuf *bufs; /* base of Rx buffer state ring */ member in struct:funeth_rxq
|
/linux-master/tools/virtio/ |
H A D | virtio_test.c | 170 bool delayed, int batch, int reset_n, int bufs) 195 while (started < bufs && 218 if (started >= bufs) 227 /* Flush out completed bufs if any */ 258 assert(completed <= bufs); 259 assert(started <= bufs); 260 if (completed == bufs) 169 run_test(struct vdev_info *dev, struct vq_info *vq, bool delayed, int batch, int reset_n, int bufs) argument
|
/linux-master/sound/core/oss/ |
H A D | pcm_plugin.h | 158 void **bufs, snd_pcm_uframes_t frames); 160 void **bufs, snd_pcm_uframes_t frames);
|
/linux-master/sound/core/ |
H A D | pcm_compat.c | 316 /* snd_xfern needs remapping of bufs */ 319 u32 bufs; /* this is void **; */ member in struct:snd_xfern32 335 void __user **bufs __free(kfree) = NULL; 348 if (get_user(buf, &data32->bufs) || 352 bufs = kmalloc_array(ch, sizeof(void __user *), GFP_KERNEL); 353 if (bufs == NULL) 359 bufs[i] = compat_ptr(ptr); 363 err = snd_pcm_lib_writev(substream, bufs, frames); 365 err = snd_pcm_lib_readv(substream, bufs, frames);
|
/linux-master/io_uring/ |
H A D | kbuf.c | 151 buf = &br->bufs[head]; 386 struct io_buffer *bufs[IO_BUFFER_ALLOC_BATCH]; local 411 ARRAY_SIZE(bufs), (void **) bufs); 417 bufs[0] = kmem_cache_alloc(io_buf_cachep, GFP_KERNEL); 418 if (!bufs[0]) 424 list_add_tail(&bufs[--allocated]->list, &ctx->io_buffers_cache); 506 flex_array_size(br, bufs, reg->ring_entries),
|
/linux-master/drivers/media/usb/usbtv/ |
H A D | usbtv.h | 101 struct list_head bufs; member in struct:usbtv
|
/linux-master/drivers/md/ |
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
|
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...] |
/linux-master/fs/jbd2/ |
H A D | commit.c | 355 int bufs; local 575 bufs = 0; 607 J_ASSERT (bufs == 0); 628 wbuf[bufs++] = descriptor; 665 jh, &wbuf[bufs], blocknr); 670 jbd2_file_log_bh(&io_bufs, wbuf[bufs]); 684 jbd2_block_tag_csum_set(journal, tag, wbuf[bufs], 688 bufs++; 700 if (bufs == journal->j_wbufsize || 704 jbd2_debug(4, "JBD2: Submit %d IOs\n", bufs); [all...] |
H A D | recovery.c | 74 struct buffer_head * bufs[MAXBUF]; local 102 bufs[nbufs++] = bh; 104 bh_readahead_batch(nbufs, bufs, 0); 105 journal_brelse_array(bufs, nbufs); 113 bh_readahead_batch(nbufs, bufs, 0); 118 journal_brelse_array(bufs, nbufs);
|
/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/include/media/ |
H A D | videobuf2-core.h | 562 * @bufs: videobuf2 buffer structures 631 struct vb2_buffer **bufs; member in struct:vb2_queue 1261 if (!q->bufs) 1268 return q->bufs[index];
|
/linux-master/drivers/staging/rtl8723bs/include/ |
H A D | osdep_service.h | 116 void *bufs[]; member in struct:rtw_cbuf
|
/linux-master/drivers/staging/media/rkvdec/ |
H A D | rkvdec.h | 40 } bufs; member in struct:rkvdec_run
|
/linux-master/drivers/scsi/arm/ |
H A D | powertec.c | 141 int bufs, map_dir, dma_dir; local 143 bufs = copy_SCp_to_sg(&info->sg[0], SCp, NR_SG); 153 dma_map_sg(dev, info->sg, bufs, map_dir); 156 set_dma_sg(dmach, info->sg, bufs);
|
H A D | cumana_2.c | 169 int bufs, map_dir, dma_dir, alatch_dir; local 171 bufs = copy_SCp_to_sg(&info->sg[0], SCp, NR_SG); 183 dma_map_sg(dev, info->sg, bufs, map_dir); 186 set_dma_sg(dmach, info->sg, bufs);
|
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_txrx.c | 236 buf_info = &desc_info->bufs[0]; 285 buf_info = &desc_info->bufs[0]; 324 buf_info = desc_info->bufs; 362 buf_info = desc_info->bufs; 651 if (ionic_run_xdp(stats, netdev, xdp_prog, q, desc_info->bufs, len)) 806 buf_info = &desc_info->bufs[0]; 883 for (j = 0; j < ARRAY_SIZE(desc_info->bufs); j++) { 884 buf_info = &desc_info->bufs[j]; 1090 struct ionic_buf_info *buf_info = desc_info->bufs; 1127 dma_unmap_single(dev, desc_info->bufs[ [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ddp.c | 1301 * @bufs: pointer to an array of buffers 1311 ice_dwnld_cfg_bufs_no_lock(struct ice_hw *hw, struct ice_buf *bufs, u32 start, argument 1319 if (!bufs || !count) 1326 bh = (struct ice_buf_hdr *)(bufs + start); 1334 bh = (struct ice_buf_hdr *)(bufs + start + i); 1385 struct ice_buf_table *bufs; local 1393 bufs = ice_find_buf_table(seg); 1394 buf_count = le32_to_cpu(bufs->buf_count); 1399 return ice_dwnld_cfg_bufs_no_lock(hw, bufs->buf_array, start, count, 1529 * @bufs 1536 ice_dwnld_cfg_bufs(struct ice_hw *hw, struct ice_buf *bufs, u32 count) argument 1717 ice_update_pkg_no_lock(struct ice_hw *hw, struct ice_buf *bufs, u32 count) argument 1749 ice_update_pkg(struct ice_hw *hw, struct ice_buf *bufs, u32 count) argument [all...] |
H A D | ice_ddp.h | 449 int ice_update_pkg_no_lock(struct ice_hw *hw, struct ice_buf *bufs, u32 count); 450 int ice_update_pkg(struct ice_hw *hw, struct ice_buf *bufs, u32 count);
|
/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);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_buffers.c | 340 hdroom->bufs.buf[i].lossy = true; 344 hdroom->bufs.buf[hdroom->prios.prio[prio].buf_idx].lossy = false; 418 struct mlxsw_sp_hdroom_buf *buf = &hdroom->bufs.buf[i]; 459 dirty = memcmp(&mlxsw_sp_port->hdroom->bufs, &hdroom->bufs, sizeof(hdroom->bufs)); 465 const struct mlxsw_sp_hdroom_buf *buf = &hdroom->bufs.buf[i]; 478 mlxsw_sp_port->hdroom->bufs = hdroom->bufs; 533 taken_headroom_cells += hdroom->bufs [all...] |
/linux-master/drivers/net/ethernet/atheros/alx/ |
H A D | main.c | 55 struct alx_buffer *txb = &txq->bufs[entry]; 82 cur_buf = &rxq->bufs[cur]; 127 cur_buf = &rxq->bufs[cur]; 182 skb = txq->bufs[sw_read_idx].skb; 241 rxb = &rxq->bufs[rxq->read_idx]; 492 if (!txq->bufs) 498 memset(txq->bufs, 0, txq->count * sizeof(struct alx_buffer)); 511 if (!rxq->bufs) 515 cur_buf = rxq->bufs + i; 619 txq->bufs [all...] |
/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/fs/ |
H A D | splice.c | 217 struct pipe_buffer *buf = &pipe->bufs[head & mask]; 259 pipe->bufs[head & mask] = *buf; 454 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 499 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 719 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 755 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 852 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 897 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; 1144 struct pipe_buffer *buf = &pipe->bufs[i]; 1813 ibuf = &ipipe->bufs[i_tai [all...] |