Home
last modified time | relevance | path

Searched refs:dbuf (Results 1 – 25 of 44) 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
216 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_attach()
307 vb2_vmalloc_put(dbuf->priv); in vb2_vmalloc_dmabuf_ops_release()
313 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_vmap()
341 struct dma_buf *dbuf; in vb2_vmalloc_get_dmabuf() local
352 dbuf = dma_buf_export(&exp_info); in vb2_vmalloc_get_dmabuf()
353 if (IS_ERR(dbuf)) in vb2_vmalloc_get_dmabuf()
359 return dbuf; in vb2_vmalloc_get_dmabuf()
404 struct dma_buf *dbuf, in vb2_vmalloc_attach_dmabuf() argument
409 if (dbuf->size < size) in vb2_vmalloc_attach_dmabuf()
[all …]
A Dvideobuf2-dma-sg.c375 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_attach()
462 vb2_dma_sg_put(dbuf->priv); in vb2_dma_sg_dmabuf_ops_release()
469 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_begin_cpu_access()
480 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_end_cpu_access()
493 buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_vmap()
526 struct dma_buf *dbuf; in vb2_dma_sg_get_dmabuf() local
537 dbuf = dma_buf_export(&exp_info); in vb2_dma_sg_get_dmabuf()
538 if (IS_ERR(dbuf)) in vb2_dma_sg_get_dmabuf()
544 return dbuf; in vb2_dma_sg_get_dmabuf()
626 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()
423 vb2_dc_put(dbuf->priv); in vb2_dc_dmabuf_ops_release()
445 buf = dbuf->priv; in vb2_dc_dmabuf_ops_vmap()
458 return vb2_dc_mmap(dbuf->priv, vma); in vb2_dc_dmabuf_ops_mmap()
503 struct dma_buf *dbuf; in vb2_dc_get_dmabuf() local
517 dbuf = dma_buf_export(&exp_info); in vb2_dc_get_dmabuf()
518 if (IS_ERR(dbuf)) in vb2_dc_get_dmabuf()
524 return dbuf; in vb2_dc_get_dmabuf()
770 struct dma_buf *dbuf, unsigned long size) in vb2_dc_attach_dmabuf() argument
775 if (dbuf->size < size) in vb2_dc_attach_dmabuf()
[all …]
A Dvideobuf2-core.c313 dma_buf_put(p->dbuf); in __vb2_plane_dmabuf_put()
315 p->dbuf = NULL; in __vb2_plane_dmabuf_put()
1400 planes[plane].dbuf = dbuf; in __prepare_dmabuf()
1422 if (dbuf == vb->planes[plane].dbuf && in __prepare_dmabuf()
1445 if (planes[plane].dbuf == vb->planes[i].dbuf && in __prepare_dmabuf()
1448 vb->planes[plane].dbuf = vb->planes[i].dbuf; in __prepare_dmabuf()
1461 planes[plane].dbuf, in __prepare_dmabuf()
1469 vb->planes[plane].dbuf = planes[plane].dbuf; in __prepare_dmabuf()
2432 struct dma_buf *dbuf; in vb2_core_expbuf() local
2470 if (IS_ERR_OR_NULL(dbuf)) { in vb2_core_expbuf()
[all …]
/linux/drivers/gpu/drm/
A Ddrm_format_helper.c192 void *dbuf; in __drm_fb_xfrm_toio() local
200 if (!dbuf) in __drm_fb_xfrm_toio()
303 u16 *dbuf16 = dbuf; in drm_fb_swab16_line()
313 u32 *dbuf32 = dbuf; in drm_fb_swab32_line()
371 u8 *dbuf8 = dbuf; in drm_fb_xrgb8888_to_rgb332_line()
420 __le16 *dbuf16 = dbuf; in drm_fb_xrgb8888_to_rgb565_line()
439 __le16 *dbuf16 = dbuf; in drm_fb_xrgb8888_to_rgb565_swab_line()
498 __le16 *dbuf16 = dbuf; in drm_fb_xrgb8888_to_xrgb1555_line()
656 u8 *dbuf8 = dbuf; in drm_fb_xrgb8888_to_rgb888_line()
927 u8 *dbuf8 = dbuf; in drm_fb_xrgb8888_to_gray8_line()
[all …]
/linux/drivers/scsi/lpfc/
A Dlpfc_mem.c519 &hbqbp->dbuf.phys); in lpfc_els_hbq_alloc()
520 if (!hbqbp->dbuf.virt) { in lpfc_els_hbq_alloc()
543 dma_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys); in lpfc_els_hbq_free()
577 &dma_buf->dbuf.phys); in lpfc_sli4_rb_alloc()
578 if (!dma_buf->dbuf.virt) { in lpfc_sli4_rb_alloc()
604 dma_pool_free(phba->lpfc_drb_pool, dmab->dbuf.virt, dmab->dbuf.phys); in lpfc_sli4_rb_free()
635 GFP_KERNEL, &dma_buf->dbuf.phys); in lpfc_sli4_nvmet_alloc()
636 if (!dma_buf->dbuf.virt) { in lpfc_sli4_nvmet_alloc()
663 dmab->dbuf.virt, dmab->dbuf.phys); in lpfc_sli4_nvmet_free()
696 list_del(&hbq_entry->dbuf.list); in lpfc_in_buf_free()
[all …]
A Dlpfc_sli.c2404 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all()
2570 dbuf.list); in lpfc_sli_hbqbuf_fill_hbqs()
2585 dbuf.list); in lpfc_sli_hbqbuf_fill_hbqs()
3202 return &hbq_entry->dbuf; in lpfc_sli_get_buff()
3291 axchg->payload = nvmebuf->dbuf.virt; in lpfc_nvme_unsol_ls_handler()
18648 &dmabuf->dbuf.list, list) { in lpfc_cleanup_rcv_buffers()
18692 &dmabuf->dbuf.list, list) { in lpfc_rcv_seq_check_edtov()
18726 INIT_LIST_HEAD(&dmabuf->dbuf.list); in lpfc_fc_frame_add()
18755 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); in lpfc_fc_frame_add()
18764 list_add_tail(&dmabuf->dbuf.list, &seq_dmabuf->dbuf.list); in lpfc_fc_frame_add()
[all …]
/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()
448 dbuf[dbufCount++] = uc; in get_next_block()
507 bd->writePos = dbuf[origPtr]; in get_next_block()
526 const unsigned int *dbuf; in read_bunzip() local
534 dbuf = bd->dbuf; in read_bunzip()
572 pos = dbuf[pos]; in read_bunzip()
673 if (!bd->dbuf) in start_bunzip()
733 if (bd->dbuf) in bunzip2()
[all …]
/linux/tools/virtio/
A Dvringh_test.c335 int *dbuf, err; in parallel_test() local
341 assert(*dbuf == finished - 1); in parallel_test()
343 assert(*dbuf == finished); in parallel_test()
351 *dbuf = xfers; in parallel_test()
353 *dbuf = -1; in parallel_test()
359 sg_set_buf(&sg[0], (void *)dbuf, 1); in parallel_test()
389 dbuf, GFP_KERNEL); in parallel_test()
412 int *dbuf; in parallel_test() local
416 dbuf = virtqueue_get_buf(vq, &len); in parallel_test()
417 if (dbuf) { in parallel_test()
[all …]
/linux/drivers/gpu/drm/xen/
A Dxen_drm_front.c44 struct xen_drm_front_dbuf *dbuf, u64 dbuf_cookie) in dbuf_add_to_list() argument
46 dbuf->dbuf_cookie = dbuf_cookie; in dbuf_add_to_list()
47 list_add(&dbuf->list, &front_info->dbuf_list); in dbuf_add_to_list()
163 struct xen_drm_front_dbuf *dbuf; in xen_drm_front_dbuf_create() local
173 dbuf = kzalloc(sizeof(*dbuf), GFP_KERNEL); in xen_drm_front_dbuf_create()
174 if (!dbuf) in xen_drm_front_dbuf_create()
177 dbuf_add_to_list(front_info, dbuf, dbuf_cookie); in xen_drm_front_dbuf_create()
183 buf_cfg.pgdir = &dbuf->shbuf; in xen_drm_front_dbuf_create()
195 xen_front_pgdir_shbuf_get_dir_start(&dbuf->shbuf); in xen_drm_front_dbuf_create()
215 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.c197 struct reiserfs_dentry_buf *dbuf = in fill_with_dentries() local
201 WARN_ON_ONCE(!inode_is_locked(d_inode(dbuf->xadir))); in fill_with_dentries()
203 if (dbuf->count == ARRAY_SIZE(dbuf->dentries)) in fill_with_dentries()
210 dentry = lookup_one_len(name, dbuf->xadir, namelen); in fill_with_dentries()
212 dbuf->err = PTR_ERR(dentry); in fill_with_dentries()
219 dentry, dbuf->xadir); in fill_with_dentries()
221 dbuf->err = -EIO; in fill_with_dentries()
225 dbuf->dentries[dbuf->count++] = dentry; in fill_with_dentries()
/linux/drivers/gpu/drm/i915/display/
A Dskl_watermark.h76 …uf_state(intel_atomic_get_old_global_obj_state(state, &to_i915(state->base.dev)->display.dbuf.obj))
78 …uf_state(intel_atomic_get_new_global_obj_state(state, &to_i915(state->base.dev)->display.dbuf.obj))
A Dintel_display_device.c588 .dbuf.size = 896 - 4, /* 4 blocks for bypass path allocation */
589 .dbuf.slice_mask = BIT(DBUF_S1),
718 .dbuf.slice_mask = BIT(DBUF_S1), \
751 .dbuf.size = 512 - 4, /* 4 blocks for bypass path allocation */
766 .dbuf.size = 1024 - 4, /* 4 blocks for bypass path allocation */
776 .dbuf.size = 2048, \
777 .dbuf.slice_mask = BIT(DBUF_S1) | BIT(DBUF_S2), \
863 .dbuf.size = 2048, \
864 .dbuf.slice_mask = BIT(DBUF_S1) | BIT(DBUF_S2), \
1023 .dbuf.size = 4096, \
[all …]
A Dskl_watermark.c527 return DISPLAY_INFO(i915)->dbuf.size / in intel_dbuf_slice_size()
528 hweight8(DISPLAY_INFO(i915)->dbuf.slice_mask); in intel_dbuf_slice_size()
547 WARN_ON(ddb->end > DISPLAY_INFO(i915)->dbuf.size); in skl_ddb_entry_for_slices()
2557 DISPLAY_INFO(i915)->dbuf.slice_mask, in skl_compute_ddb()
2975 to_intel_dbuf_state(i915->display.dbuf.obj.state); in skl_wm_get_hw_state()
3039 dbuf_state->enabled_slices = i915->display.dbuf.enabled_slices; in skl_wm_get_hw_state()
3045 to_intel_dbuf_state(i915->display.dbuf.obj.state); in skl_dbuf_is_misconfigured()
3146 hw_enabled_slices != i915->display.dbuf.enabled_slices) in intel_wm_state_verify()
3149 i915->display.dbuf.enabled_slices, in intel_wm_state_verify()
3435 dbuf_state = intel_atomic_get_global_obj_state(state, &i915->display.dbuf.obj); in intel_atomic_get_dbuf_state()
[all …]
A Dintel_display_core.h365 } dbuf; member
/linux/drivers/misc/mei/
A Ddma-ring.c133 unsigned char *dbuf = dev->dr_dscr[DMA_DSCR_DEVICE].vaddr; in mei_dma_copy_from() local
138 memcpy(buf, dbuf + b_offset, b_n); in mei_dma_copy_from()
/linux/drivers/tty/serial/
A Damba-pl011.c809 struct pl011_dmabuf *dbuf; in pl011_dma_rx_trigger_dma() local
815 dbuf = uap->dmarx.use_buf_b ? in pl011_dma_rx_trigger_dma()
817 desc = dmaengine_prep_slave_single(rxchan, dbuf->dma, dbuf->len, in pl011_dma_rx_trigger_dma()
857 struct pl011_dmabuf *dbuf = use_buf_b ? in pl011_dma_rx_chars() local
867 dmataken = dbuf->len - dmarx->last_residue; in pl011_dma_rx_chars()
890 dmarx->last_residue = dbuf->len; in pl011_dma_rx_chars()
925 struct pl011_dmabuf *dbuf = dmarx->use_buf_b ? in pl011_dma_rx_irq() local
948 pending = dbuf->len - state.residue; in pl011_dma_rx_irq()
994 pending = dbuf->len - state.residue; in pl011_dma_rx_callback()
1046 struct pl011_dmabuf *dbuf; in pl011_dma_rx_poll() local
[all …]
/linux/drivers/base/firmware_loader/
A Dmain.c115 void *dbuf, in __allocate_fw_priv() argument
123 if ((opt_flags & FW_OPT_PARTIAL) && !dbuf) in __allocate_fw_priv()
142 fw_priv->data = dbuf; in __allocate_fw_priv()
169 struct fw_priv **fw_priv, void *dbuf, size_t size, in alloc_lookup_fw_priv() argument
190 tmp = __allocate_fw_priv(fw_name, fwc, dbuf, size, offset, opt_flags); in alloc_lookup_fw_priv()
743 struct device *device, void *dbuf, size_t size, in _request_firmware_prepare() argument
757 if (firmware_request_builtin_buf(firmware, name, dbuf, size)) { in _request_firmware_prepare()
762 ret = alloc_lookup_fw_priv(name, &fw_cache, &fw_priv, dbuf, size, in _request_firmware_prepare()
A Dfirmware.h163 struct fw_priv **fw_priv, void *dbuf, size_t size,
/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,
182 struct dma_buf *dbuf; member
/linux/drivers/media/platform/nvidia/tegra-vde/
A Dv4l2.c177 get_dma_buf(vb->planes[i].dbuf); in tegra_buf_init()
179 err = tegra_vde_dmabuf_cache_map(vde, vb->planes[i].dbuf, in tegra_buf_init()
183 dma_buf_put(vb->planes[i].dbuf); in tegra_buf_init()
/linux/drivers/usb/gadget/udc/
A Domap_udc.c2461 unsigned buf, unsigned maxp, int dbuf) in omap_ep_setup() argument
2502 dbuf = 1; in omap_ep_setup()
2509 dbuf = 0; in omap_ep_setup()
2527 if (dbuf && addr) in omap_ep_setup()
2537 name, addr, epn_rxtx, maxp, dbuf ? "x2" : "", buf); in omap_ep_setup()
2546 if (dbuf) in omap_ep_setup()
2557 ep->double_buf = dbuf; in omap_ep_setup()

Completed in 91 milliseconds

12