/Linux-v4.19/net/core/ |
D | utils.c | 128 u8 dbuf[4]; in in4_pton() local 136 d = dbuf; in in4_pton() 168 memcpy(dst, dbuf, sizeof(dbuf)); in in4_pton() 194 u8 dbuf[16]; in in6_pton() local 200 memset(dbuf, 0, sizeof(dbuf)); in in6_pton() 203 d = dbuf; in in6_pton() 233 if (dc - dbuf >= sizeof(dbuf)) in in6_pton() 266 if (!dc && d + 2 < dbuf + sizeof(dbuf)) { in in6_pton() 270 if (d + 2 >= dbuf + sizeof(dbuf)) { in in6_pton() 274 if ((dc && d + 4 < dbuf + sizeof(dbuf)) || in in6_pton() [all …]
|
/Linux-v4.19/drivers/media/common/videobuf2/ |
D | videobuf2-vmalloc.c | 32 struct dma_buf *dbuf; member 212 static int vb2_vmalloc_dmabuf_ops_attach(struct dma_buf *dbuf, in vb2_vmalloc_dmabuf_ops_attach() argument 216 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_attach() 251 static void vb2_vmalloc_dmabuf_ops_detach(struct dma_buf *dbuf, in vb2_vmalloc_dmabuf_ops_detach() argument 317 static void vb2_vmalloc_dmabuf_ops_release(struct dma_buf *dbuf) in vb2_vmalloc_dmabuf_ops_release() argument 320 vb2_vmalloc_put(dbuf->priv); in vb2_vmalloc_dmabuf_ops_release() 323 static void *vb2_vmalloc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_vmalloc_dmabuf_ops_kmap() argument 325 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_kmap() 330 static void *vb2_vmalloc_dmabuf_ops_vmap(struct dma_buf *dbuf) in vb2_vmalloc_dmabuf_ops_vmap() argument 332 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_vmap() [all …]
|
D | videobuf2-dma-sg.c | 374 static int vb2_dma_sg_dmabuf_ops_attach(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_attach() argument 381 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_attach() 412 static void vb2_dma_sg_dmabuf_ops_detach(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_detach() argument 478 static void vb2_dma_sg_dmabuf_ops_release(struct dma_buf *dbuf) in vb2_dma_sg_dmabuf_ops_release() argument 481 vb2_dma_sg_put(dbuf->priv); in vb2_dma_sg_dmabuf_ops_release() 484 static void *vb2_dma_sg_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dma_sg_dmabuf_ops_kmap() argument 486 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_kmap() 491 static void *vb2_dma_sg_dmabuf_ops_vmap(struct dma_buf *dbuf) in vb2_dma_sg_dmabuf_ops_vmap() argument 493 struct vb2_dma_sg_buf *buf = dbuf->priv; in vb2_dma_sg_dmabuf_ops_vmap() 498 static int vb2_dma_sg_dmabuf_ops_mmap(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_mmap() argument [all …]
|
D | videobuf2-dma-contig.c | 225 static int vb2_dc_dmabuf_ops_attach(struct dma_buf *dbuf, in vb2_dc_dmabuf_ops_attach() argument 232 struct vb2_dc_buf *buf = dbuf->priv; in vb2_dc_dmabuf_ops_attach() 263 static void vb2_dc_dmabuf_ops_detach(struct dma_buf *dbuf, in vb2_dc_dmabuf_ops_detach() argument 329 static void vb2_dc_dmabuf_ops_release(struct dma_buf *dbuf) in vb2_dc_dmabuf_ops_release() argument 332 vb2_dc_put(dbuf->priv); in vb2_dc_dmabuf_ops_release() 335 static void *vb2_dc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dc_dmabuf_ops_kmap() argument 337 struct vb2_dc_buf *buf = dbuf->priv; in vb2_dc_dmabuf_ops_kmap() 342 static void *vb2_dc_dmabuf_ops_vmap(struct dma_buf *dbuf) in vb2_dc_dmabuf_ops_vmap() argument 344 struct vb2_dc_buf *buf = dbuf->priv; in vb2_dc_dmabuf_ops_vmap() 349 static int vb2_dc_dmabuf_ops_mmap(struct dma_buf *dbuf, in vb2_dc_dmabuf_ops_mmap() argument [all …]
|
D | videobuf2-core.c | 276 dma_buf_put(p->dbuf); in __vb2_plane_dmabuf_put() 278 p->dbuf = NULL; in __vb2_plane_dmabuf_put() 1118 struct dma_buf *dbuf = dma_buf_get(planes[plane].m.fd); in __prepare_dmabuf() local 1120 if (IS_ERR_OR_NULL(dbuf)) { in __prepare_dmabuf() 1129 planes[plane].length = dbuf->size; in __prepare_dmabuf() 1135 dma_buf_put(dbuf); in __prepare_dmabuf() 1141 if (dbuf == vb->planes[plane].dbuf && in __prepare_dmabuf() 1143 dma_buf_put(dbuf); in __prepare_dmabuf() 1164 dbuf, planes[plane].length, q->dma_dir); in __prepare_dmabuf() 1168 dma_buf_put(dbuf); in __prepare_dmabuf() [all …]
|
/Linux-v4.19/lib/ |
D | decompress_bunzip2.c | 104 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() 477 dbuf[dbufCount++] = (unsigned int)uc; in get_next_block() 495 uc = (unsigned char)(dbuf[i] & 0xff); in get_next_block() 496 dbuf[byteCount[uc]] |= (i << 8); 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() [all …]
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 526 hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, in lpfc_els_hbq_alloc() 527 &hbqbp->dbuf.phys); in lpfc_els_hbq_alloc() 528 if (!hbqbp->dbuf.virt) { in lpfc_els_hbq_alloc() 551 dma_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys); in lpfc_els_hbq_free() 584 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc() 585 &dma_buf->dbuf.phys); in lpfc_sli4_rb_alloc() 586 if (!dma_buf->dbuf.virt) { in lpfc_sli4_rb_alloc() 612 dma_pool_free(phba->lpfc_drb_pool, dmab->dbuf.virt, dmab->dbuf.phys); in lpfc_sli4_rb_free() 644 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_nvmet_drb_pool, in lpfc_sli4_nvmet_alloc() 645 GFP_KERNEL, &dma_buf->dbuf.phys); in lpfc_sli4_nvmet_alloc() [all …]
|
D | lpfc_nvmet.c | 358 payload = (uint32_t *)(nvmebuf->dbuf.virt); in lpfc_nvmet_ctxbuf_post() 830 lpfc_in_buf_free(phba, &nvmebuf->dbuf); in lpfc_nvmet_xmt_ls_rsp() 861 lpfc_in_buf_free(phba, &nvmebuf->dbuf); in lpfc_nvmet_xmt_ls_rsp() 874 lpfc_in_buf_free(phba, &nvmebuf->dbuf); in lpfc_nvmet_xmt_ls_rsp() 1759 payload = (uint32_t *)(nvmebuf->dbuf.virt); in lpfc_nvmet_unsol_ls_buffer() 1773 lpfc_in_buf_free(phba, &nvmebuf->dbuf); in lpfc_nvmet_unsol_ls_buffer() 1816 lpfc_in_buf_free(phba, &nvmebuf->dbuf); in lpfc_nvmet_unsol_ls_buffer() 1982 payload = (uint32_t *)(nvmebuf->dbuf.virt); in lpfc_nvmet_unsol_fcp_buffer() 2107 nvmebuf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_nvmet_unsol_ls_event() 2110 lpfc_in_buf_free(phba, &nvmebuf->dbuf); in lpfc_nvmet_unsol_ls_event()
|
D | lpfc_sli.c | 1998 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_free_all() 1999 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all() 2046 dma_addr_t physaddr = hbq_buf->dbuf.phys; in lpfc_sli_hbq_to_firmware_s3() 2065 list_add_tail(&hbq_buf->dbuf.list, &hbqp->hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s3() 2099 drqe.address_lo = putPaddrLow(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4() 2100 drqe.address_hi = putPaddrHigh(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4() 2105 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4() 2157 list_add_tail(&hbq_buffer->dbuf.list, &hbq_buf_list); in lpfc_sli_hbqbuf_fill_hbqs() 2165 dbuf.list); in lpfc_sli_hbqbuf_fill_hbqs() 2180 dbuf.list); in lpfc_sli_hbqbuf_fill_hbqs() [all …]
|
D | lpfc.h | 159 struct lpfc_dmabuf dbuf; member 170 struct lpfc_dmabuf dbuf; member
|
/Linux-v4.19/tools/virtio/ |
D | vringh_test.c | 330 int *dbuf, err; in parallel_test() local 334 while ((dbuf = virtqueue_get_buf(vq, &len)) != NULL) { in parallel_test() 336 assert(*dbuf == finished - 1); in parallel_test() 338 assert(*dbuf == finished); in parallel_test() 343 dbuf = data + (xfers % (RINGSIZE + 1)); in parallel_test() 346 *dbuf = xfers; in parallel_test() 348 *dbuf = -1; in parallel_test() 350 switch ((xfers / sizeof(*dbuf)) % 4) { in parallel_test() 354 sg_set_buf(&sg[0], (void *)dbuf, 1); in parallel_test() 355 sg_set_buf(&sg[1], (void *)dbuf + 1, 2); in parallel_test() [all …]
|
/Linux-v4.19/arch/hexagon/mm/ |
D | strnlen_user.S | 30 #define dbuf r15:14 macro 80 dbuf = memd(start); define 84 P0 = vcmpb.eq(dbuf,dcmp);
|
/Linux-v4.19/drivers/net/appletalk/ |
D | ltpc.c | 243 void *dbuf, int dbuflen); 274 unsigned char *dbuf; member 547 qels[0].dbuf = resdbuf; in idle() 596 qels[0].dbuf = resdbuf; in idle() 611 memcpy(ltdmabuf,q->dbuf,q->dbuflen); in idle() 619 memcpy(q->dbuf,ltdmabuf,q->dbuflen); in idle() 647 void *dbuf, int dbuflen) in do_write() argument 656 qels[i].dbuf = dbuf; in do_write() 671 void *dbuf, int dbuflen) in do_read() argument 680 qels[i].dbuf = dbuf; in do_read()
|
/Linux-v4.19/net/netfilter/ipvs/ |
D | ip_vs_conn.c | 1095 char dbuf[IP_VS_ADDRSTRLEN]; in ip_vs_conn_seq_show() local 1111 snprintf(dbuf, sizeof(dbuf), "%pI6", &cp->daddr.in6); in ip_vs_conn_seq_show() 1114 snprintf(dbuf, sizeof(dbuf), "%08X", in ip_vs_conn_seq_show() 1124 dbuf, ntohs(cp->dport), in ip_vs_conn_seq_show() 1137 dbuf, ntohs(cp->dport), in ip_vs_conn_seq_show() 1163 char dbuf[IP_VS_ADDRSTRLEN]; in ip_vs_conn_sync_seq_show() local 1177 snprintf(dbuf, sizeof(dbuf), "%pI6", &cp->daddr.in6); in ip_vs_conn_sync_seq_show() 1180 snprintf(dbuf, sizeof(dbuf), "%08X", in ip_vs_conn_sync_seq_show() 1190 dbuf, ntohs(cp->dport), in ip_vs_conn_sync_seq_show() 1203 dbuf, ntohs(cp->dport), in ip_vs_conn_sync_seq_show()
|
/Linux-v4.19/drivers/gpu/drm/xen/ |
D | xen_drm_front.c | 41 struct xen_drm_front_dbuf *dbuf; in dbuf_add_to_list() local 43 dbuf = kzalloc(sizeof(*dbuf), GFP_KERNEL); in dbuf_add_to_list() 44 if (!dbuf) in dbuf_add_to_list() 47 dbuf->dbuf_cookie = dbuf_cookie; in dbuf_add_to_list() 48 dbuf->shbuf = shbuf; in dbuf_add_to_list() 49 list_add(&dbuf->list, &front_info->dbuf_list); in dbuf_add_to_list()
|
/Linux-v4.19/fs/reiserfs/ |
D | xattr.c | 195 struct reiserfs_dentry_buf *dbuf = in fill_with_dentries() local 199 WARN_ON_ONCE(!inode_is_locked(d_inode(dbuf->xadir))); in fill_with_dentries() 201 if (dbuf->count == ARRAY_SIZE(dbuf->dentries)) in fill_with_dentries() 208 dentry = lookup_one_len(name, dbuf->xadir, namelen); in fill_with_dentries() 216 dentry, dbuf->xadir); in fill_with_dentries() 221 dbuf->dentries[dbuf->count++] = dentry; in fill_with_dentries()
|
/Linux-v4.19/drivers/misc/mic/vop/ |
D | vop_vringh.c | 531 void __iomem *dbuf = vpdev->hw_ops->ioremap(vpdev, daddr, len); in vop_virtio_copy_to_user() local 540 if (copy_to_user(ubuf, (void __force *)dbuf, len)) { in vop_virtio_copy_to_user() 580 dbuf += partlen; in vop_virtio_copy_to_user() 588 vpdev->hw_ops->iounmap(vpdev, dbuf); in vop_virtio_copy_to_user() 591 __func__, ubuf, dbuf, len, vr_idx); in vop_virtio_copy_to_user() 606 void __iomem *dbuf = vpdev->hw_ops->ioremap(vpdev, daddr, len); in vop_virtio_copy_from_user() local 652 dbuf += partlen; in vop_virtio_copy_from_user() 662 if (copy_from_user((void __force *)dbuf, ubuf, len)) { in vop_virtio_copy_from_user() 671 vpdev->hw_ops->iounmap(vpdev, dbuf); in vop_virtio_copy_from_user() 674 __func__, ubuf, dbuf, len, vr_idx); in vop_virtio_copy_from_user()
|
/Linux-v4.19/drivers/base/firmware_loader/ |
D | main.c | 169 void *dbuf, size_t size) in __allocate_fw_priv() argument 185 fw_priv->data = dbuf; in __allocate_fw_priv() 211 struct fw_priv **fw_priv, void *dbuf, in alloc_lookup_fw_priv() argument 228 tmp = __allocate_fw_priv(fw_name, fwc, dbuf, size); in alloc_lookup_fw_priv() 502 struct device *device, void *dbuf, size_t size, in _request_firmware_prepare() argument 516 if (fw_get_builtin_firmware(firmware, name, dbuf, size)) { in _request_firmware_prepare() 521 ret = alloc_lookup_fw_priv(name, &fw_cache, &fw_priv, dbuf, size, in _request_firmware_prepare()
|
/Linux-v4.19/drivers/crypto/bcm/ |
D | util.c | 326 u8 dbuf[16]; in __dump_sg() local 334 sg_copy_part_to_buf(sg, dbuf, count, idx); in __dump_sg() 337 4, 1, dbuf, count, false); in __dump_sg()
|
/Linux-v4.19/include/media/ |
D | videobuf2-core.h | 133 struct dma_buf *dbuf, 174 struct dma_buf *dbuf; member
|
/Linux-v4.19/fs/afs/ |
D | dir.c | 114 struct afs_xdr_dir_page *dbuf; in afs_dir_check_page() local 133 dbuf = kmap(page); in afs_dir_check_page() 135 if (dbuf->blocks[tmp].hdr.magic != AFS_DIR_MAGIC) { in afs_dir_check_page() 138 ntohs(dbuf->blocks[tmp].hdr.magic)); in afs_dir_check_page() 148 ((u8 *)&dbuf->blocks[tmp])[AFS_DIR_BLOCK_SIZE - 1] = 0; in afs_dir_check_page() 413 struct afs_xdr_dir_page *dbuf; in afs_dir_iterate() local 452 dbuf = kmap(page); in afs_dir_iterate() 456 dblock = &dbuf->blocks[(blkoff % PAGE_SIZE) / in afs_dir_iterate()
|
/Linux-v4.19/fs/gfs2/ |
D | log.c | 460 unsigned int dbuf; in calc_reserved() local 465 dbuf = tr->tr_num_databuf_new - tr->tr_num_databuf_rm; in calc_reserved() 466 reserved = mbuf + dbuf; in calc_reserved() 469 reserved += DIV_ROUND_UP(dbuf, databuf_limit(sdp)); in calc_reserved()
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_sup.c | 1495 uint8_t *dbuf; in qla25xx_write_nvram_data() local 1497 dbuf = vmalloc(RMW_BUFFER_SIZE); in qla25xx_write_nvram_data() 1498 if (!dbuf) in qla25xx_write_nvram_data() 1500 ha->isp_ops->read_optrom(vha, dbuf, ha->flt_region_vpd_nvram << 2, in qla25xx_write_nvram_data() 1502 memcpy(dbuf + (naddr << 2), buf, bytes); in qla25xx_write_nvram_data() 1503 ha->isp_ops->write_optrom(vha, dbuf, ha->flt_region_vpd_nvram << 2, in qla25xx_write_nvram_data() 1505 vfree(dbuf); in qla25xx_write_nvram_data()
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | omap_udc.c | 2464 unsigned buf, unsigned maxp, int dbuf) in omap_ep_setup() argument 2505 dbuf = 1; in omap_ep_setup() 2512 dbuf = 0; in omap_ep_setup() 2530 if (dbuf && addr) in omap_ep_setup() 2540 name, addr, epn_rxtx, maxp, dbuf ? "x2" : "", buf); in omap_ep_setup() 2549 if (dbuf) in omap_ep_setup() 2560 ep->double_buf = dbuf; in omap_ep_setup()
|
/Linux-v4.19/drivers/net/ethernet/intel/ice/ |
D | ice_lan_tx_rx.h | 272 u16 dbuf; /* bigger than needed, see above for reason */ member
|