Home
last modified time | relevance | path

Searched refs:dmap (Results 1 – 24 of 24) sorted by relevance

/linux-6.3-rc2/fs/fuse/
A Ddax.c136 if (dmap) { in alloc_dax_mapping()
144 return dmap; in alloc_dax_mapping()
221 dmap->itn.start = dmap->itn.last = start_idx; in fuse_setup_one_mapping()
295 dmap->itn.start, dmap->itn.last, dmap->window_offset, in dmap_reinit_add_to_free_pool()
299 dmap->itn.start = dmap->itn.last = 0; in dmap_reinit_add_to_free_pool()
641 if (dmap) { in fuse_iomap_end()
916 dmap->window_offset, dmap->length, ret); in reclaim_one_dmap_locked()
970 if (!dmap) in inode_inline_reclaim_one_dmap()
1011 dmap->itn.start = dmap->itn.last = 0; in inode_inline_reclaim_one_dmap()
1033 if (dmap) in alloc_dax_mapping_reclaim()
[all …]
/linux-6.3-rc2/drivers/soc/ti/
A Domap_prm.c60 const struct omap_prm_domain_map *dmap; member
159 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton,
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,
200 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton
213 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon
239 .pwrstctrl = 0, .pwrstst = 0x4, .dmap = &omap_prm_nooff,
243 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon
270 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton
[all …]
/linux-6.3-rc2/drivers/md/
A Ddm-clone-metadata.c127 struct dirty_map dmap[2]; member
476 dmap->changed = 0; in __dirty_map_init()
479 if (!dmap->dirty_words) in __dirty_map_init()
770 dmap->changed = 0; in __flush_dmap()
789 dmap = cmd->current_dmap; in dm_clone_metadata_pre_commit()
792 next_dmap = (dmap == &cmd->dmap[0]) ? &cmd->dmap[1] : &cmd->dmap[0]; in dm_clone_metadata_pre_commit()
844 struct dirty_map *dmap; in dm_clone_set_region_hydrated() local
867 dmap->changed = 1; in dm_clone_set_region_hydrated()
879 struct dirty_map *dmap; in dm_clone_cond_set_range() local
903 dmap->changed = 1; in dm_clone_cond_set_range()
[all …]
A Ddm-zoned-metadata.c1685 struct dmz_map *dmap; in dmz_load_mapping() local
1704 dmap = (struct dmz_map *) dmap_mblk->data; in dmz_load_mapping()
1710 dzone_id = le32_to_cpu(dmap[e].dzone_id); in dmz_load_mapping()
1738 bzone_id = le32_to_cpu(dmap[e].bzone_id); in dmz_load_mapping()
1835 struct dmz_map *dmap = (struct dmz_map *) dmap_mblk->data; in dmz_set_chunk_mapping() local
1838 dmap[map_idx].dzone_id = cpu_to_le32(dzone_id); in dmz_set_chunk_mapping()
1839 dmap[map_idx].bzone_id = cpu_to_le32(bzone_id); in dmz_set_chunk_mapping()
2048 struct dmz_map *dmap = (struct dmz_map *) dmap_mblk->data; in dmz_get_chunk_mapping() local
2058 dzone_id = le32_to_cpu(dmap[dmap_idx].dzone_id); in dmz_get_chunk_mapping()
/linux-6.3-rc2/sound/soc/tegra/
A Dtegra_pcm.c80 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-6.3-rc2/drivers/gpu/drm/ttm/
A Dttm_resource.c541 struct iosys_map *dmap, in ttm_kmap_iter_iomap_map_local() argument
568 iosys_map_set_vaddr_iomem(dmap, addr); in ttm_kmap_iter_iomap_map_local()
623 struct iosys_map *dmap, in ttm_kmap_iter_linear_io_map_local() argument
629 *dmap = iter_io->dmap; in ttm_kmap_iter_linear_io_map_local()
630 iosys_map_incr(dmap, i * PAGE_SIZE); in ttm_kmap_iter_linear_io_map_local()
670 memset(&iter_io->dmap, 0, sizeof(iter_io->dmap)); in ttm_kmap_iter_linear_io_init()
676 iosys_map_set_vaddr(&iter_io->dmap, in ttm_kmap_iter_linear_io_init()
683 if (iosys_map_is_null(&iter_io->dmap)) in ttm_kmap_iter_linear_io_init()
718 if (iter_io->dmap.is_iomem) in ttm_kmap_iter_linear_io_fini()
719 iounmap(iter_io->dmap.vaddr_iomem); in ttm_kmap_iter_linear_io_fini()
[all …]
A Dttm_tt.c410 struct iosys_map *dmap, in ttm_kmap_iter_tt_map_local() argument
416 iosys_map_set_vaddr(dmap, kmap_local_page_prot(iter_tt->tt->pages[i], in ttm_kmap_iter_tt_map_local()
/linux-6.3-rc2/fs/nilfs2/
A Dpage.c240 int nilfs_copy_dirty_pages(struct address_space *dmap, in nilfs_copy_dirty_pages() argument
261 dfolio = filemap_grab_folio(dmap, folio->index); in nilfs_copy_dirty_pages()
295 void nilfs_copy_back_pages(struct address_space *dmap, in nilfs_copy_back_pages() argument
313 dfolio = filemap_lock_folio(dmap, index); in nilfs_copy_back_pages()
331 xa_lock_irq(&dmap->i_pages); in nilfs_copy_back_pages()
332 f = __xa_store(&dmap->i_pages, index, folio, GFP_NOFS); in nilfs_copy_back_pages()
338 folio->mapping = dmap; in nilfs_copy_back_pages()
339 dmap->nrpages++; in nilfs_copy_back_pages()
341 __xa_set_mark(&dmap->i_pages, index, in nilfs_copy_back_pages()
344 xa_unlock_irq(&dmap->i_pages); in nilfs_copy_back_pages()
/linux-6.3-rc2/fs/xfs/
A Dxfs_reflink.c1150 struct xfs_bmbt_irec *dmap, in xfs_reflink_remap_extent() argument
1204 error = xfs_bmapi_read(ip, dmap->br_startoff, dmap->br_blockcount, in xfs_reflink_remap_extent()
1215 dmap->br_blockcount = min(dmap->br_blockcount, smap.br_blockcount); in xfs_reflink_remap_extent()
1226 if (dmap->br_state != smap.br_state) in xfs_reflink_remap_extent()
1232 if (dmap->br_state == XFS_EXT_UNWRITTEN && in xfs_reflink_remap_extent()
1239 XFS_FSB_TO_AGNO(mp, dmap->br_startblock)); in xfs_reflink_remap_extent()
1268 dmap->br_blockcount, 0, false); in xfs_reflink_remap_extent()
1314 xfs_refcount_increase_extent(tp, dmap); in xfs_reflink_remap_extent()
1315 xfs_bmap_map_extent(tp, ip, dmap); in xfs_reflink_remap_extent()
1316 qdelta += dmap->br_blockcount; in xfs_reflink_remap_extent()
[all …]
/linux-6.3-rc2/fs/jfs/
A Djfs_dmap.c344 struct dmap *dp; in dbFree()
387 dp = (struct dmap *) mp->data; in dbFree()
443 struct dmap *dp; in dbUpdatePMap()
482 dp = (struct dmap *) mp->data; in dbUpdatePMap()
718 struct dmap *dp; in dbAlloc()
797 dp = (struct dmap *) mp->data; in dbAlloc()
975 struct dmap *dp; in dbExtend()
1029 dp = (struct dmap *) mp->data; in dbExtend()
1794 struct dmap *dp; in dbAllocCtl()
3158 struct dmap *dp; in dbAllocBottomUp()
[all …]
A Djfs_dmap.h147 struct dmap { struct
/linux-6.3-rc2/include/drm/ttm/
A Dttm_kmap_iter.h32 struct iosys_map *dmap, pgoff_t i);
42 struct iosys_map *dmap);
A Dttm_resource.h294 struct iosys_map dmap; member
/linux-6.3-rc2/drivers/misc/sgi-gru/
A Dgrufault.c143 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-6.3-rc2/drivers/staging/media/ipu3/
A Dipu3.c76 &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()
A Dipu3.h105 struct imgu_css_map dmap; member
/linux-6.3-rc2/drivers/edac/
A Dpnd2_edac.c417 static struct d_cr_dmap dmap[DNV_NUM_CHANNELS]; variable
473 RD_REGP(&dmap[i], d_cr_dmap, dnv_dports[i]) || in dnv_get_registers()
978 daddr->rank = dnv_get_bit(pmiaddr, dmap[pmiidx].rs0 + 13, 0); in dnv_pmi2mem()
980 daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1); in dnv_pmi2mem()
988 daddr->bank = dnv_get_bit(pmiaddr, dmap[pmiidx].ba0 + 6, 0); in dnv_pmi2mem()
989 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].ba1 + 6, 1); in dnv_pmi2mem()
990 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg0 + 6, 2); in dnv_pmi2mem()
992 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg1 + 6, 3); in dnv_pmi2mem()
/linux-6.3-rc2/drivers/iommu/
A Dtegra-smmu.c560 dma_addr_t *dmap) in tegra_smmu_pte_lookup() argument
572 *dmap = smmu_pde_to_dma(smmu, pd[pd_index]); in tegra_smmu_pte_lookup()
578 dma_addr_t *dmap, struct page *page) in as_get_pte() argument
605 *dmap = dma; in as_get_pte()
609 *dmap = smmu_pde_to_dma(smmu, pd[pde]); in as_get_pte()
/linux-6.3-rc2/drivers/net/ethernet/apple/
A Dbmac.c178 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-6.3-rc2/drivers/media/platform/xilinx/
A Dxilinx-vipp.c496 struct xvip_dma *dmap; in xvip_graph_cleanup() local
502 list_for_each_entry_safe(dma, dmap, &xdev->dmas, list) { in xvip_graph_cleanup()
/linux-6.3-rc2/fs/
A Ddax.c1966 const struct iomap *dmap = &it_dest->iomap; in dax_range_compare_iter() local
1971 len = min(len, min(smap->length, dmap->length)); in dax_range_compare_iter()
1973 if (smap->type == IOMAP_HOLE && dmap->type == IOMAP_HOLE) { in dax_range_compare_iter()
1978 if (smap->type == IOMAP_HOLE || dmap->type == IOMAP_HOLE) { in dax_range_compare_iter()
1989 ret = dax_iomap_direct_access(dmap, pos2, ALIGN(pos2 + len, PAGE_SIZE), in dax_range_compare_iter()
/linux-6.3-rc2/fs/ocfs2/dlm/
A Ddlmdomain.c49 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-6.3-rc2/drivers/gpu/drm/vmwgfx/device_include/
A Dsvga3d_types.h604 uint32 dmap : 1; member
/linux-6.3-rc2/fs/f2fs/
A Dsegment.c1858 unsigned long *dmap = SIT_I(sbi)->tmp_map; in add_discard_addrs() local
1878 dmap[i] = force ? ~ckpt_map[i] & ~discard_map[i] : in add_discard_addrs()
1883 start = __find_rev_next_bit(dmap, max_blocks, end + 1); in add_discard_addrs()
1887 end = __find_rev_next_zero_bit(dmap, max_blocks, start + 1); in add_discard_addrs()

Completed in 92 milliseconds