/linux-5.19.10/fs/fuse/ |
D | dax.c | 131 struct fuse_dax_mapping *dmap; in alloc_dax_mapping() local 134 dmap = list_first_entry_or_null(&fcd->free_ranges, in alloc_dax_mapping() 136 if (dmap) { in alloc_dax_mapping() 137 list_del_init(&dmap->list); in alloc_dax_mapping() 144 return dmap; in alloc_dax_mapping() 149 struct fuse_dax_mapping *dmap) in __dmap_remove_busy_list() argument 151 list_del_init(&dmap->busy_list); in __dmap_remove_busy_list() 157 struct fuse_dax_mapping *dmap) in dmap_remove_busy_list() argument 160 __dmap_remove_busy_list(fcd, dmap); in dmap_remove_busy_list() 166 struct fuse_dax_mapping *dmap) in __dmap_add_to_free_pool() argument [all …]
|
/linux-5.19.10/drivers/soc/ti/ |
D | omap_prm.c | 60 const struct omap_prm_domain_map *dmap; member 159 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton, 163 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact, 168 .pwrstctrl = 0, .pwrstst = 0x4, .dmap = &omap_prm_all, 172 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon, 176 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton, 183 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact, 188 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto, 192 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact 196 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto [all …]
|
/linux-5.19.10/drivers/md/ |
D | dm-clone-metadata.c | 127 struct dirty_map dmap[2]; member 473 static int __dirty_map_init(struct dirty_map *dmap, unsigned long nr_words, in __dirty_map_init() argument 476 dmap->changed = 0; in __dirty_map_init() 478 dmap->dirty_words = kvzalloc(bitmap_size(nr_words), GFP_KERNEL); in __dirty_map_init() 479 if (!dmap->dirty_words) in __dirty_map_init() 482 dmap->dirty_regions = kvzalloc(bitmap_size(nr_regions), GFP_KERNEL); in __dirty_map_init() 483 if (!dmap->dirty_regions) { in __dirty_map_init() 484 kvfree(dmap->dirty_words); in __dirty_map_init() 491 static void __dirty_map_exit(struct dirty_map *dmap) in __dirty_map_exit() argument 493 kvfree(dmap->dirty_words); in __dirty_map_exit() [all …]
|
D | dm-zoned-metadata.c | 1689 struct dmz_map *dmap; in dmz_load_mapping() local 1708 dmap = (struct dmz_map *) dmap_mblk->data; in dmz_load_mapping() 1714 dzone_id = le32_to_cpu(dmap[e].dzone_id); in dmz_load_mapping() 1742 bzone_id = le32_to_cpu(dmap[e].bzone_id); in dmz_load_mapping() 1839 struct dmz_map *dmap = (struct dmz_map *) dmap_mblk->data; in dmz_set_chunk_mapping() local 1842 dmap[map_idx].dzone_id = cpu_to_le32(dzone_id); in dmz_set_chunk_mapping() 1843 dmap[map_idx].bzone_id = cpu_to_le32(bzone_id); in dmz_set_chunk_mapping() 2051 struct dmz_map *dmap = (struct dmz_map *) dmap_mblk->data; in dmz_get_chunk_mapping() local 2061 dzone_id = le32_to_cpu(dmap[dmap_idx].dzone_id); in dmz_get_chunk_mapping()
|
/linux-5.19.10/sound/soc/tegra/ |
D | tegra_pcm.c | 80 struct snd_dmaengine_dai_dma_data *dmap; in tegra_pcm_open() local 88 dmap = snd_soc_dai_get_dma_data(cpu_dai, substream); in tegra_pcm_open() 101 chan = dma_request_slave_channel(cpu_dai->dev, dmap->chan_name); in tegra_pcm_open() 105 dmap->chan_name); in tegra_pcm_open() 113 dmap->chan_name); in tegra_pcm_open() 143 struct snd_dmaengine_dai_dma_data *dmap; in tegra_pcm_hw_params() local 151 dmap = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in tegra_pcm_hw_params() 152 if (!dmap) in tegra_pcm_hw_params() 166 slave_config.dst_addr = dmap->addr; in tegra_pcm_hw_params() 170 slave_config.src_addr = dmap->addr; in tegra_pcm_hw_params()
|
/linux-5.19.10/drivers/gpu/drm/ttm/ |
D | ttm_resource.c | 480 struct iosys_map *dmap, in ttm_kmap_iter_iomap_map_local() argument 507 iosys_map_set_vaddr_iomem(dmap, addr); in ttm_kmap_iter_iomap_map_local() 562 struct iosys_map *dmap, in ttm_kmap_iter_linear_io_map_local() argument 568 *dmap = iter_io->dmap; in ttm_kmap_iter_linear_io_map_local() 569 iosys_map_incr(dmap, i * PAGE_SIZE); in ttm_kmap_iter_linear_io_map_local() 605 iosys_map_set_vaddr(&iter_io->dmap, mem->bus.addr); in ttm_kmap_iter_linear_io_init() 611 memset(&iter_io->dmap, 0, sizeof(iter_io->dmap)); in ttm_kmap_iter_linear_io_init() 613 iosys_map_set_vaddr_iomem(&iter_io->dmap, in ttm_kmap_iter_linear_io_init() 617 iosys_map_set_vaddr(&iter_io->dmap, in ttm_kmap_iter_linear_io_init() 624 if (iosys_map_is_null(&iter_io->dmap)) in ttm_kmap_iter_linear_io_init() [all …]
|
D | ttm_tt.c | 409 struct iosys_map *dmap, in ttm_kmap_iter_tt_map_local() argument 415 iosys_map_set_vaddr(dmap, kmap_local_page_prot(iter_tt->tt->pages[i], in ttm_kmap_iter_tt_map_local()
|
/linux-5.19.10/fs/xfs/ |
D | xfs_reflink.c | 1021 struct xfs_bmbt_irec *dmap, in xfs_reflink_remap_extent() argument 1032 bool dmap_written = xfs_bmap_is_written_extent(dmap); in xfs_reflink_remap_extent() 1060 resblks + dmap->br_blockcount, 0, false, &tp); in xfs_reflink_remap_extent() 1075 error = xfs_bmapi_read(ip, dmap->br_startoff, dmap->br_blockcount, in xfs_reflink_remap_extent() 1079 ASSERT(nimaps == 1 && smap.br_startoff == dmap->br_startoff); in xfs_reflink_remap_extent() 1086 dmap->br_blockcount = min(dmap->br_blockcount, smap.br_blockcount); in xfs_reflink_remap_extent() 1087 ASSERT(dmap->br_blockcount == smap.br_blockcount); in xfs_reflink_remap_extent() 1096 if (dmap->br_startblock == smap.br_startblock) { in xfs_reflink_remap_extent() 1097 if (dmap->br_state != smap.br_state) in xfs_reflink_remap_extent() 1103 if (dmap->br_state == XFS_EXT_UNWRITTEN && in xfs_reflink_remap_extent() [all …]
|
/linux-5.19.10/fs/nilfs2/ |
D | page.c | 240 int nilfs_copy_dirty_pages(struct address_space *dmap, in nilfs_copy_dirty_pages() argument 260 dpage = grab_cache_page(dmap, page->index); in nilfs_copy_dirty_pages() 294 void nilfs_copy_back_pages(struct address_space *dmap, in nilfs_copy_back_pages() argument 312 dpage = find_lock_page(dmap, offset); in nilfs_copy_back_pages() 330 xa_lock_irq(&dmap->i_pages); in nilfs_copy_back_pages() 331 p = __xa_store(&dmap->i_pages, offset, page, GFP_NOFS); in nilfs_copy_back_pages() 337 page->mapping = dmap; in nilfs_copy_back_pages() 338 dmap->nrpages++; in nilfs_copy_back_pages() 340 __xa_set_mark(&dmap->i_pages, offset, in nilfs_copy_back_pages() 343 xa_unlock_irq(&dmap->i_pages); in nilfs_copy_back_pages()
|
/linux-5.19.10/fs/jfs/ |
D | jfs_dmap.c | 64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, 73 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, 75 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, 78 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, 80 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, 91 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, 93 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, 101 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, 103 static int dbInitDmap(struct dmap * dp, s64 blkno, int nblocks); 104 static int dbInitDmapTree(struct dmap * dp); [all …]
|
D | jfs_dmap.h | 147 struct dmap { struct
|
/linux-5.19.10/include/drm/ttm/ |
D | ttm_kmap_iter.h | 32 struct iosys_map *dmap, pgoff_t i); 42 struct iosys_map *dmap);
|
D | ttm_resource.h | 262 struct iosys_map dmap; member
|
/linux-5.19.10/drivers/misc/sgi-gru/ |
D | grufault.c | 143 struct gru_tlb_fault_map *dmap) in get_clear_fault_map() argument 158 dmap->fault_bits[i] = k; in get_clear_fault_map() 522 struct gru_tlb_fault_map imap, dmap; in gru_intr() local 536 get_clear_fault_map(gru, &imap, &dmap); in gru_intr() 541 dmap.fault_bits[0], dmap.fault_bits[1]); in gru_intr() 543 for_each_cbr_in_tfm(cbrnum, dmap.fault_bits) { in gru_intr()
|
/linux-5.19.10/drivers/staging/media/ipu3/ |
D | ipu3.c | 76 &imgu_pipe->queues[i].dmap); in imgu_dummybufs_cleanup() 97 &imgu_pipe->queues[i].dmap, size)) { in imgu_dummybufs_preallocate() 137 &imgu_pipe->queues[i].dmap, in imgu_dummybufs_init() 145 imgu_pipe->queues[i].dmap.daddr); in imgu_dummybufs_init() 162 if (WARN_ON(!imgu_pipe->queues[queue].dmap.vaddr)) in imgu_dummybufs_get() 175 imgu_pipe->queues[queue].dmap.daddr); in imgu_dummybufs_get()
|
D | ipu3.h | 105 struct imgu_css_map dmap; member
|
/linux-5.19.10/drivers/edac/ |
D | pnd2_edac.c | 439 static struct d_cr_dmap dmap[DNV_NUM_CHANNELS]; variable 495 RD_REGP(&dmap[i], d_cr_dmap, dnv_dports[i]) || in dnv_get_registers() 1000 daddr->rank = dnv_get_bit(pmiaddr, dmap[pmiidx].rs0 + 13, 0); in dnv_pmi2mem() 1002 daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1); in dnv_pmi2mem() 1010 daddr->bank = dnv_get_bit(pmiaddr, dmap[pmiidx].ba0 + 6, 0); in dnv_pmi2mem() 1011 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].ba1 + 6, 1); in dnv_pmi2mem() 1012 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg0 + 6, 2); in dnv_pmi2mem() 1014 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg1 + 6, 3); in dnv_pmi2mem()
|
/linux-5.19.10/drivers/iommu/ |
D | tegra-smmu.c | 559 dma_addr_t *dmap) in tegra_smmu_pte_lookup() argument 571 *dmap = smmu_pde_to_dma(smmu, pd[pd_index]); in tegra_smmu_pte_lookup() 577 dma_addr_t *dmap, struct page *page) in as_get_pte() argument 604 *dmap = dma; in as_get_pte() 608 *dmap = smmu_pde_to_dma(smmu, pd[pde]); in as_get_pte()
|
/linux-5.19.10/drivers/net/ethernet/apple/ |
D | bmac.c | 178 dbdma_continue(volatile struct dbdma_regs __iomem *dmap) in dbdma_continue() argument 180 dbdma_st32(&dmap->control, in dbdma_continue() 186 dbdma_reset(volatile struct dbdma_regs __iomem *dmap) in dbdma_reset() argument 188 dbdma_st32(&dmap->control, in dbdma_reset() 191 while (dbdma_ld32(&dmap->status) & RUN) in dbdma_reset()
|
/linux-5.19.10/drivers/media/platform/xilinx/ |
D | xilinx-vipp.c | 495 struct xvip_dma *dmap; in xvip_graph_cleanup() local 501 list_for_each_entry_safe(dma, dmap, &xdev->dmas, list) { in xvip_graph_cleanup()
|
/linux-5.19.10/fs/ocfs2/dlm/ |
D | dlmdomain.c | 49 static inline void byte_copymap(u8 dmap[], unsigned long smap[], in byte_copymap() argument 57 memset(dmap, 0, ((sz + 7) >> 3)); in byte_copymap() 60 byte_set_bit(nn, dmap); in byte_copymap()
|
/linux-5.19.10/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_types.h | 604 uint32 dmap : 1; member
|
/linux-5.19.10/fs/f2fs/ |
D | segment.c | 1821 unsigned long *dmap = SIT_I(sbi)->tmp_map; in add_discard_addrs() local 1841 dmap[i] = force ? ~ckpt_map[i] & ~discard_map[i] : in add_discard_addrs() 1846 start = __find_rev_next_bit(dmap, max_blocks, end + 1); in add_discard_addrs() 1850 end = __find_rev_next_zero_bit(dmap, max_blocks, start + 1); in add_discard_addrs()
|