Home
last modified time | relevance | path

Searched refs:dbuf (Results 1 – 25 of 39) sorted by relevance

12

/linux/net/core/
A Dutils.c132 d = dbuf; in in4_pton()
164 memcpy(dst, dbuf, sizeof(dbuf)); in in4_pton()
196 memset(dbuf, 0, sizeof(dbuf)); in in6_pton()
199 d = dbuf; in in6_pton()
229 if (dc - dbuf >= sizeof(dbuf)) in in6_pton()
262 if (!dc && d + 2 < dbuf + sizeof(dbuf)) { in in6_pton()
266 if (d + 2 >= dbuf + sizeof(dbuf)) { in in6_pton()
270 if ((dc && d + 4 < dbuf + sizeof(dbuf)) || in in6_pton()
271 d + 4 == dbuf + sizeof(dbuf)) { in in6_pton()
274 if (d >= dbuf + sizeof(dbuf)) { in in6_pton()
[all …]
/linux/drivers/media/common/videobuf2/
A Dvideobuf2-vmalloc.c32 struct dma_buf *dbuf; member
312 vb2_vmalloc_put(dbuf->priv); in vb2_vmalloc_dmabuf_ops_release()
345 struct dma_buf *dbuf; in vb2_vmalloc_get_dmabuf() local
356 dbuf = dma_buf_export(&exp_info); in vb2_vmalloc_get_dmabuf()
357 if (IS_ERR(dbuf)) in vb2_vmalloc_get_dmabuf()
363 return dbuf; in vb2_vmalloc_get_dmabuf()
391 dma_buf_vunmap(buf->dbuf, &map); in vb2_vmalloc_unmap_dmabuf()
401 dma_buf_vunmap(buf->dbuf, &map); in vb2_vmalloc_detach_dmabuf()
408 struct dma_buf *dbuf, in vb2_vmalloc_attach_dmabuf() argument
413 if (dbuf->size < size) in vb2_vmalloc_attach_dmabuf()
[all …]
A Dvideobuf2-dma-sg.c374 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_attach()
470 vb2_dma_sg_put(dbuf->priv); in vb2_dma_sg_dmabuf_ops_release()
477 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_begin_cpu_access()
488 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_end_cpu_access()
497 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_vmap()
527 struct dma_buf *dbuf; in vb2_dma_sg_get_dmabuf() local
538 dbuf = dma_buf_export(&exp_info); in vb2_dma_sg_get_dmabuf()
539 if (IS_ERR(dbuf)) in vb2_dma_sg_get_dmabuf()
545 return dbuf; in vb2_dma_sg_get_dmabuf()
627 if (dbuf->size < size) in vb2_dma_sg_attach_dmabuf()
[all …]
A Dvideobuf2-dma-contig.c324 struct vb2_dc_buf *buf = dbuf->priv; in vb2_dc_dmabuf_ops_attach()
432 vb2_dc_put(dbuf->priv); in vb2_dc_dmabuf_ops_release()
454 buf = dbuf->priv; in vb2_dc_dmabuf_ops_vmap()
467 return vb2_dc_mmap(dbuf->priv, vma); in vb2_dc_dmabuf_ops_mmap()
512 struct dma_buf *dbuf; in vb2_dc_get_dmabuf() local
526 dbuf = dma_buf_export(&exp_info); in vb2_dc_get_dmabuf()
527 if (IS_ERR(dbuf)) in vb2_dc_get_dmabuf()
533 return dbuf; in vb2_dc_get_dmabuf()
776 struct dma_buf *dbuf, unsigned long size) in vb2_dc_attach_dmabuf() argument
781 if (dbuf->size < size) in vb2_dc_attach_dmabuf()
[all …]
A Dvideobuf2-core.c301 dma_buf_put(p->dbuf); in __vb2_plane_dmabuf_put()
303 p->dbuf = NULL; in __vb2_plane_dmabuf_put()
1256 dma_buf_put(dbuf); in __prepare_dmabuf()
1262 if (dbuf == vb->planes[plane].dbuf && in __prepare_dmabuf()
1264 dma_buf_put(dbuf); in __prepare_dmabuf()
1287 dbuf, in __prepare_dmabuf()
1292 dma_buf_put(dbuf); in __prepare_dmabuf()
1296 vb->planes[plane].dbuf = dbuf; in __prepare_dmabuf()
2193 struct dma_buf *dbuf; in vb2_core_expbuf() local
2238 if (IS_ERR_OR_NULL(dbuf)) { in vb2_core_expbuf()
[all …]
/linux/drivers/gpu/drm/
A Ddrm_format_helper.c200 dbuf[x] = swab16(val16); in drm_fb_xrgb8888_to_rgb565_line()
202 dbuf[x] = val16; in drm_fb_xrgb8888_to_rgb565_line()
272 void *dbuf; in drm_fb_xrgb8888_to_rgb565_dstclip() local
274 dbuf = kmalloc(dst_len, GFP_KERNEL); in drm_fb_xrgb8888_to_rgb565_dstclip()
275 if (!dbuf) in drm_fb_xrgb8888_to_rgb565_dstclip()
282 memcpy_toio(dst, dbuf, dst_len); in drm_fb_xrgb8888_to_rgb565_dstclip()
287 kfree(dbuf); in drm_fb_xrgb8888_to_rgb565_dstclip()
362 void *dbuf; in drm_fb_xrgb8888_to_rgb888_dstclip() local
365 if (!dbuf) in drm_fb_xrgb8888_to_rgb888_dstclip()
372 memcpy_toio(dst, dbuf, dst_len); in drm_fb_xrgb8888_to_rgb888_dstclip()
[all …]
/linux/tools/virtio/
A Dvringh_test.c331 int *dbuf, err; in parallel_test() local
337 assert(*dbuf == finished - 1); in parallel_test()
339 assert(*dbuf == finished); in parallel_test()
347 *dbuf = xfers; in parallel_test()
349 *dbuf = -1; in parallel_test()
355 sg_set_buf(&sg[0], (void *)dbuf, 1); in parallel_test()
385 dbuf, GFP_KERNEL); in parallel_test()
408 int *dbuf; in parallel_test() local
412 dbuf = virtqueue_get_buf(vq, &len); in parallel_test()
413 if (dbuf) { in parallel_test()
[all …]
/linux/drivers/scsi/lpfc/
A Dlpfc_mem.c509 &hbqbp->dbuf.phys); in lpfc_els_hbq_alloc()
510 if (!hbqbp->dbuf.virt) { in lpfc_els_hbq_alloc()
533 dma_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys); in lpfc_els_hbq_free()
567 &dma_buf->dbuf.phys); in lpfc_sli4_rb_alloc()
568 if (!dma_buf->dbuf.virt) { in lpfc_sli4_rb_alloc()
594 dma_pool_free(phba->lpfc_drb_pool, dmab->dbuf.virt, dmab->dbuf.phys); in lpfc_sli4_rb_free()
625 GFP_KERNEL, &dma_buf->dbuf.phys); in lpfc_sli4_nvmet_alloc()
626 if (!dma_buf->dbuf.virt) { in lpfc_sli4_nvmet_alloc()
653 dmab->dbuf.virt, dmab->dbuf.phys); in lpfc_sli4_nvmet_free()
686 list_del(&hbq_entry->dbuf.list); in lpfc_in_buf_free()
[all …]
A Dlpfc_sli.c2380 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all()
2546 dbuf.list); in lpfc_sli_hbqbuf_fill_hbqs()
2561 dbuf.list); in lpfc_sli_hbqbuf_fill_hbqs()
3173 return &hbq_entry->dbuf; in lpfc_sli_get_buff()
3262 axchg->payload = nvmebuf->dbuf.virt; in lpfc_nvme_unsol_ls_handler()
18605 &dmabuf->dbuf.list, list) { in lpfc_cleanup_rcv_buffers()
18649 &dmabuf->dbuf.list, list) { in lpfc_rcv_seq_check_edtov()
18683 INIT_LIST_HEAD(&dmabuf->dbuf.list); in lpfc_fc_frame_add()
18712 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); in lpfc_fc_frame_add()
18721 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); in lpfc_fc_frame_add()
[all …]
A Dlpfc.h167 struct lpfc_dmabuf dbuf; member
178 struct lpfc_dmabuf dbuf; member
/linux/lib/
A Ddecompress_bunzip2.c104 unsigned int *dbuf, dbufSize; member
164 unsigned int *dbuf, origPtr; in get_next_block() local
166 dbuf = bd->dbuf; in get_next_block()
447 dbuf[dbufCount++] = uc; in get_next_block()
506 bd->writePos = dbuf[origPtr]; in get_next_block()
525 const unsigned int *dbuf; in read_bunzip() local
533 dbuf = bd->dbuf; in read_bunzip()
571 pos = dbuf[pos]; in read_bunzip()
672 if (!bd->dbuf) in start_bunzip()
732 if (bd->dbuf) in bunzip2()
[all …]
/linux/drivers/net/appletalk/
A Dltpc.c245 void *dbuf, int dbuflen);
276 unsigned char *dbuf; member
549 qels[0].dbuf = resdbuf; in idle()
600 qels[0].dbuf = resdbuf; in idle()
615 memcpy(ltdmabuf,q->dbuf,q->dbuflen); in idle()
623 memcpy(q->dbuf,ltdmabuf,q->dbuflen); in idle()
651 void *dbuf, int dbuflen) in do_write() argument
660 qels[i].dbuf = dbuf; in do_write()
675 void *dbuf, int dbuflen) in do_read() argument
684 qels[i].dbuf = dbuf; in do_read()
/linux/drivers/gpu/drm/xen/
A Dxen_drm_front.c45 struct xen_drm_front_dbuf *dbuf, u64 dbuf_cookie) in dbuf_add_to_list() argument
47 dbuf->dbuf_cookie = dbuf_cookie; in dbuf_add_to_list()
48 list_add(&dbuf->list, &front_info->dbuf_list); in dbuf_add_to_list()
164 struct xen_drm_front_dbuf *dbuf; in xen_drm_front_dbuf_create() local
174 dbuf = kzalloc(sizeof(*dbuf), GFP_KERNEL); in xen_drm_front_dbuf_create()
175 if (!dbuf) in xen_drm_front_dbuf_create()
178 dbuf_add_to_list(front_info, dbuf, dbuf_cookie); in xen_drm_front_dbuf_create()
184 buf_cfg.pgdir = &dbuf->shbuf; in xen_drm_front_dbuf_create()
196 xen_front_pgdir_shbuf_get_dir_start(&dbuf->shbuf); in xen_drm_front_dbuf_create()
216 ret = xen_front_pgdir_shbuf_map(&dbuf->shbuf); in xen_drm_front_dbuf_create()
/linux/net/netfilter/ipvs/
A Dip_vs_conn.c1130 char dbuf[IP_VS_ADDRSTRLEN]; in ip_vs_conn_seq_show() local
1146 snprintf(dbuf, sizeof(dbuf), "%pI6", &cp->daddr.in6); in ip_vs_conn_seq_show()
1149 snprintf(dbuf, sizeof(dbuf), "%08X", in ip_vs_conn_seq_show()
1159 dbuf, ntohs(cp->dport), in ip_vs_conn_seq_show()
1172 dbuf, ntohs(cp->dport), in ip_vs_conn_seq_show()
1198 char dbuf[IP_VS_ADDRSTRLEN]; in ip_vs_conn_sync_seq_show() local
1212 snprintf(dbuf, sizeof(dbuf), "%pI6", &cp->daddr.in6); in ip_vs_conn_sync_seq_show()
1215 snprintf(dbuf, sizeof(dbuf), "%08X", in ip_vs_conn_sync_seq_show()
1225 dbuf, ntohs(cp->dport), in ip_vs_conn_sync_seq_show()
1238 dbuf, ntohs(cp->dport), in ip_vs_conn_sync_seq_show()
/linux/fs/reiserfs/
A Dxattr.c196 struct reiserfs_dentry_buf *dbuf = in fill_with_dentries() local
200 WARN_ON_ONCE(!inode_is_locked(d_inode(dbuf->xadir))); in fill_with_dentries()
202 if (dbuf->count == ARRAY_SIZE(dbuf->dentries)) in fill_with_dentries()
209 dentry = lookup_one_len(name, dbuf->xadir, namelen); in fill_with_dentries()
211 dbuf->err = PTR_ERR(dentry); in fill_with_dentries()
218 dentry, dbuf->xadir); in fill_with_dentries()
220 dbuf->err = -EIO; in fill_with_dentries()
224 dbuf->dentries[dbuf->count++] = dentry; in fill_with_dentries()
/linux/drivers/gpu/drm/i915/
A Di915_pci.c645 .dbuf.size = 896 - 4, /* 4 blocks for bypass path allocation */ \
646 .dbuf.slice_mask = BIT(DBUF_S1)
681 .dbuf.slice_mask = BIT(DBUF_S1), \
718 .dbuf.size = 512 - 4, /* 4 blocks for bypass path allocation */
725 .dbuf.size = 1024 - 4, /* 4 blocks for bypass path allocation */
815 .dbuf.size = 2048, \
816 .dbuf.slice_mask = BIT(DBUF_S1) | BIT(DBUF_S2), \
937 .dbuf.size = 4096, \
938 .dbuf.slice_mask = BIT(DBUF_S1) | BIT(DBUF_S2) | BIT(DBUF_S3) | \
A Dintel_pm.h90 …to_intel_dbuf_state(intel_atomic_get_old_global_obj_state(state, &to_i915(state->base.dev)->dbuf.o…
92 …to_intel_dbuf_state(intel_atomic_get_new_global_obj_state(state, &to_i915(state->base.dev)->dbuf.o…
A Dintel_device_info.h212 } dbuf; member
/linux/drivers/base/firmware_loader/
A Dmain.c113 void *dbuf, in __allocate_fw_priv() argument
121 if ((opt_flags & FW_OPT_PARTIAL) && !dbuf) in __allocate_fw_priv()
140 fw_priv->data = dbuf; in __allocate_fw_priv()
169 void *dbuf, in alloc_lookup_fw_priv() argument
192 tmp = __allocate_fw_priv(fw_name, fwc, dbuf, size, offset, opt_flags); in alloc_lookup_fw_priv()
666 struct device *device, void *dbuf, size_t size, in _request_firmware_prepare() argument
680 if (firmware_request_builtin_buf(firmware, name, dbuf, size)) { in _request_firmware_prepare()
685 ret = alloc_lookup_fw_priv(name, &fw_cache, &fw_priv, dbuf, size, in _request_firmware_prepare()
/linux/drivers/misc/mei/
A Ddma-ring.c131 unsigned char *dbuf = dev->dr_dscr[DMA_DSCR_DEVICE].vaddr; in mei_dma_copy_from() local
136 memcpy(buf, dbuf + b_offset, b_n); in mei_dma_copy_from()
/linux/drivers/crypto/bcm/
A Dutil.c275 u8 dbuf[16]; in __dump_sg() local
283 sg_copy_part_to_buf(sg, dbuf, count, idx); in __dump_sg()
286 4, 1, dbuf, count, false); in __dump_sg()
/linux/include/media/
A Dvideobuf2-core.h138 struct dma_buf *dbuf,
180 struct dma_buf *dbuf; member
/linux/drivers/usb/gadget/udc/
A Domap_udc.c2465 unsigned buf, unsigned maxp, int dbuf) in omap_ep_setup() argument
2506 dbuf = 1; in omap_ep_setup()
2513 dbuf = 0; in omap_ep_setup()
2531 if (dbuf && addr) in omap_ep_setup()
2541 name, addr, epn_rxtx, maxp, dbuf ? "x2" : "", buf); in omap_ep_setup()
2550 if (dbuf) in omap_ep_setup()
2561 ep->double_buf = dbuf; in omap_ep_setup()
/linux/drivers/mmc/host/
A Dcavium.c299 u64 dbuf) in do_read() argument
307 writeq((0x10000 | (dbuf << 6)), host->base + MIO_EMM_BUF_IDX(host)); in do_read()
/linux/drivers/scsi/qla2xxx/
A Dqla_sup.c1528 uint8_t *dbuf = vmalloc(RMW_BUFFER_SIZE); in qla25xx_write_nvram_data() local
1530 if (!dbuf) in qla25xx_write_nvram_data()
1532 ha->isp_ops->read_optrom(vha, dbuf, ha->flt_region_vpd_nvram << 2, in qla25xx_write_nvram_data()
1534 memcpy(dbuf + (naddr << 2), buf, bytes); in qla25xx_write_nvram_data()
1535 ha->isp_ops->write_optrom(vha, dbuf, ha->flt_region_vpd_nvram << 2, in qla25xx_write_nvram_data()
1537 vfree(dbuf); in qla25xx_write_nvram_data()

Completed in 96 milliseconds

12