/Linux-v5.10/drivers/net/caif/ |
D | caif_virtio.c | 134 struct buf_info { struct 148 static void free_buf_info(struct cfv_info *cfv, struct buf_info *buf_info) in free_buf_info() argument 150 if (!buf_info) in free_buf_info() 152 gen_pool_free(cfv->genpool, (unsigned long) buf_info->vaddr, in free_buf_info() 153 buf_info->size); in free_buf_info() 154 kfree(buf_info); in free_buf_info() 169 struct buf_info *buf_info; in cfv_release_used_buf() local 173 buf_info = virtqueue_get_buf(vq_tx, &len); in cfv_release_used_buf() 177 if (!buf_info) in cfv_release_used_buf() 180 free_buf_info(cfv, buf_info); in cfv_release_used_buf() [all …]
|
/Linux-v5.10/drivers/bus/mhi/core/ |
D | main.c | 137 struct mhi_buf_info *buf_info) in mhi_map_single_no_bb() argument 139 buf_info->p_addr = dma_map_single(mhi_cntrl->cntrl_dev, in mhi_map_single_no_bb() 140 buf_info->v_addr, buf_info->len, in mhi_map_single_no_bb() 141 buf_info->dir); in mhi_map_single_no_bb() 142 if (dma_mapping_error(mhi_cntrl->cntrl_dev, buf_info->p_addr)) in mhi_map_single_no_bb() 149 struct mhi_buf_info *buf_info) in mhi_map_single_use_bb() argument 151 void *buf = mhi_alloc_coherent(mhi_cntrl, buf_info->len, in mhi_map_single_use_bb() 152 &buf_info->p_addr, GFP_ATOMIC); in mhi_map_single_use_bb() 157 if (buf_info->dir == DMA_TO_DEVICE) in mhi_map_single_use_bb() 158 memcpy(buf, buf_info->v_addr, buf_info->len); in mhi_map_single_use_bb() [all …]
|
D | internal.h | 714 struct mhi_buf_info *buf_info); 716 struct mhi_buf_info *buf_info); 718 struct mhi_buf_info *buf_info); 720 struct mhi_buf_info *buf_info);
|
/Linux-v5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_g2d.c | 218 struct g2d_buf_info buf_info; member 274 struct g2d_buf_info *buf_info; in g2d_init_cmdlist() local 301 buf_info = &node[nr].buf_info; in g2d_init_cmdlist() 303 buf_info->reg_types[i] = REG_TYPE_NONE; in g2d_init_cmdlist() 692 struct g2d_buf_info *buf_info = &node->buf_info; in g2d_map_cmdlist_gem() local 697 for (i = 0; i < buf_info->map_nr; i++) { in g2d_map_cmdlist_gem() 715 buf_desc = &buf_info->descs[reg_type]; in g2d_map_cmdlist_gem() 717 if (buf_info->types[reg_type] == BUF_TYPE_GEM) { in g2d_map_cmdlist_gem() 734 buf_info->obj[reg_type] = exynos_gem; in g2d_map_cmdlist_gem() 755 &buf_info->obj[reg_type]); in g2d_map_cmdlist_gem() [all …]
|
/Linux-v5.10/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 336 BUG_ON(tq->buf_info[eop_idx].sop_idx != tq->tx_ring.next2comp); in vmxnet3_unmap_pkt() 339 skb = tq->buf_info[eop_idx].skb; in vmxnet3_unmap_pkt() 341 tq->buf_info[eop_idx].skb = NULL; in vmxnet3_unmap_pkt() 346 vmxnet3_unmap_tx_buf(tq->buf_info + tq->tx_ring.next2comp, in vmxnet3_unmap_pkt() 408 tbi = tq->buf_info + tq->tx_ring.next2comp; in vmxnet3_tq_cleanup() 420 BUG_ON(tq->buf_info[i].skb != NULL || in vmxnet3_tq_cleanup() 421 tq->buf_info[i].map_type != VMXNET3_MAP_NONE); in vmxnet3_tq_cleanup() 454 if (tq->buf_info) { in vmxnet3_tq_destroy() 456 tq->tx_ring.size * sizeof(tq->buf_info[0]), in vmxnet3_tq_destroy() 457 tq->buf_info, tq->buf_info_pa); in vmxnet3_tq_destroy() [all …]
|
D | vmxnet3_int.h | 242 struct vmxnet3_tx_buf_info *buf_info; member 300 struct vmxnet3_rx_buf_info *buf_info[2]; member
|
/Linux-v5.10/include/linux/ |
D | sdla.h | 220 struct buf_info { struct
|
/Linux-v5.10/drivers/scsi/bfa/ |
D | bfad_bsg.c | 3243 struct bfad_buf_info *buf_base, *buf_info; in bfad_fcxp_map_sg() local 3257 buf_info = buf_base; in bfad_fcxp_map_sg() 3258 buf_info->size = payload_len; in bfad_fcxp_map_sg() 3259 buf_info->virt = dma_alloc_coherent(&bfad->pcidev->dev, in bfad_fcxp_map_sg() 3260 buf_info->size, &buf_info->phys, in bfad_fcxp_map_sg() 3262 if (!buf_info->virt) in bfad_fcxp_map_sg() 3266 memcpy(buf_info->virt, payload_kbuf, buf_info->size); in bfad_fcxp_map_sg() 3271 sg_table->sg_len = buf_info->size; in bfad_fcxp_map_sg() 3272 sg_table->sg_addr = (void *)(size_t) buf_info->phys; in bfad_fcxp_map_sg() 3288 struct bfad_buf_info *buf_info = buf_base; in bfad_fcxp_free_mem() local [all …]
|
/Linux-v5.10/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_dec.c | 1316 struct mtk_video_dec_buf *buf_info = container_of( in vb2ops_vdec_stop_streaming() local 1318 if (!buf_info->lastframe) in vb2ops_vdec_stop_streaming()
|
/Linux-v5.10/drivers/net/wan/ |
D | sdla.c | 756 struct buf_info *pbufi; in sdla_receive()
|
/Linux-v5.10/kernel/bpf/ |
D | verifier.c | 3158 const char *buf_info, in __check_buffer_access() argument 3165 regno, buf_info, off, size); in __check_buffer_access() 3201 const char *buf_info, in check_buffer_access() argument 3206 err = __check_buffer_access(env, buf_info, reg, regno, off, size); in check_buffer_access()
|