drivers/android/binder.c
1069
struct dbitmap *dmap = &proc->dmap;
drivers/android/binder.c
1076
if (!dbitmap_enabled(dmap)) {
drivers/android/binder.c
1081
if (dbitmap_acquire_next_zero_bit(dmap, offset, &bit) == 0) {
drivers/android/binder.c
1090
nbits = dbitmap_grow_nbits(dmap);
drivers/android/binder.c
1094
dbitmap_grow(dmap, new, nbits);
drivers/android/binder.c
1184
struct dbitmap *dmap = &ref->proc->dmap;
drivers/android/binder.c
1192
if (dbitmap_enabled(dmap))
drivers/android/binder.c
1193
dbitmap_clear_bit(dmap, ref->data.desc);
drivers/android/binder.c
1368
nbits = dbitmap_shrink_nbits(&proc->dmap);
drivers/android/binder.c
1376
dbitmap_shrink(&proc->dmap, new, nbits);
drivers/android/binder.c
5327
dbitmap_free(&proc->dmap);
drivers/android/binder.c
6067
dbitmap_init(&proc->dmap);
drivers/android/binder_internal.h
435
struct dbitmap dmap;
drivers/android/dbitmap.h
100
return dmap->nbits << 1;
drivers/android/dbitmap.h
104
dbitmap_grow(struct dbitmap *dmap, unsigned long *new, unsigned int nbits)
drivers/android/dbitmap.h
111
if (!dbitmap_enabled(dmap) || nbits <= dmap->nbits) {
drivers/android/dbitmap.h
123
dbitmap_free(dmap);
drivers/android/dbitmap.h
127
dbitmap_replace(dmap, new, nbits);
drivers/android/dbitmap.h
136
dbitmap_acquire_next_zero_bit(struct dbitmap *dmap, unsigned long offset,
drivers/android/dbitmap.h
141
n = find_next_zero_bit(dmap->map, dmap->nbits, offset);
drivers/android/dbitmap.h
142
if (n == dmap->nbits)
drivers/android/dbitmap.h
146
set_bit(n, dmap->map);
drivers/android/dbitmap.h
152
dbitmap_clear_bit(struct dbitmap *dmap, unsigned long bit)
drivers/android/dbitmap.h
154
clear_bit(bit, dmap->map);
drivers/android/dbitmap.h
157
static inline int dbitmap_init(struct dbitmap *dmap)
drivers/android/dbitmap.h
159
dmap->map = bitmap_zalloc(NBITS_MIN, GFP_KERNEL);
drivers/android/dbitmap.h
160
if (!dmap->map) {
drivers/android/dbitmap.h
161
dmap->nbits = 0;
drivers/android/dbitmap.h
165
dmap->nbits = NBITS_MIN;
drivers/android/dbitmap.h
31
static inline int dbitmap_enabled(struct dbitmap *dmap)
drivers/android/dbitmap.h
33
return !!dmap->nbits;
drivers/android/dbitmap.h
36
static inline void dbitmap_free(struct dbitmap *dmap)
drivers/android/dbitmap.h
38
dmap->nbits = 0;
drivers/android/dbitmap.h
39
kfree(dmap->map);
drivers/android/dbitmap.h
40
dmap->map = NULL;
drivers/android/dbitmap.h
44
static inline unsigned int dbitmap_shrink_nbits(struct dbitmap *dmap)
drivers/android/dbitmap.h
48
if (dmap->nbits <= NBITS_MIN)
drivers/android/dbitmap.h
57
bit = find_last_bit(dmap->map, dmap->nbits);
drivers/android/dbitmap.h
58
if (bit < (dmap->nbits >> 2))
drivers/android/dbitmap.h
59
return dmap->nbits >> 1;
drivers/android/dbitmap.h
62
if (bit == dmap->nbits)
drivers/android/dbitmap.h
70
dbitmap_replace(struct dbitmap *dmap, unsigned long *new, unsigned int nbits)
drivers/android/dbitmap.h
72
bitmap_copy(new, dmap->map, min(dmap->nbits, nbits));
drivers/android/dbitmap.h
73
kfree(dmap->map);
drivers/android/dbitmap.h
74
dmap->map = new;
drivers/android/dbitmap.h
75
dmap->nbits = nbits;
drivers/android/dbitmap.h
79
dbitmap_shrink(struct dbitmap *dmap, unsigned long *new, unsigned int nbits)
drivers/android/dbitmap.h
89
if (!dbitmap_enabled(dmap) || dbitmap_shrink_nbits(dmap) != nbits) {
drivers/android/dbitmap.h
94
dbitmap_replace(dmap, new, nbits);
drivers/android/dbitmap.h
98
static inline unsigned int dbitmap_grow_nbits(struct dbitmap *dmap)
drivers/edac/pnd2_edac.c
418
static struct d_cr_dmap dmap[DNV_NUM_CHANNELS];
drivers/edac/pnd2_edac.c
474
RD_REGP(&dmap[i], d_cr_dmap, dnv_dports[i]) ||
drivers/edac/pnd2_edac.c
979
daddr->rank = dnv_get_bit(pmiaddr, dmap[pmiidx].rs0 + 13, 0);
drivers/edac/pnd2_edac.c
981
daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1);
drivers/edac/pnd2_edac.c
989
daddr->bank = dnv_get_bit(pmiaddr, dmap[pmiidx].ba0 + 6, 0);
drivers/edac/pnd2_edac.c
990
daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].ba1 + 6, 1);
drivers/edac/pnd2_edac.c
991
daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg0 + 6, 2);
drivers/edac/pnd2_edac.c
993
daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg1 + 6, 3);
drivers/gpu/drm/drm_draw.c
102
iosys_map_wr(dmap, y * dpitch + x * sizeof(u16), u16, fg16);
drivers/gpu/drm/drm_draw.c
106
void drm_draw_blit24(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw.c
119
iosys_map_wr(dmap, off, u8, (fg32 & 0x000000FF) >> 0);
drivers/gpu/drm/drm_draw.c
120
iosys_map_wr(dmap, off + 1, u8, (fg32 & 0x0000FF00) >> 8);
drivers/gpu/drm/drm_draw.c
121
iosys_map_wr(dmap, off + 2, u8, (fg32 & 0x00FF0000) >> 16);
drivers/gpu/drm/drm_draw.c
128
void drm_draw_blit32(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw.c
138
iosys_map_wr(dmap, y * dpitch + x * sizeof(u32), u32, fg32);
drivers/gpu/drm/drm_draw.c
145
void drm_draw_fill16(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw.c
153
iosys_map_wr(dmap, y * dpitch + x * sizeof(u16), u16, color);
drivers/gpu/drm/drm_draw.c
157
void drm_draw_fill24(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw.c
168
iosys_map_wr(dmap, off, u8, (color & 0x000000FF) >> 0);
drivers/gpu/drm/drm_draw.c
169
iosys_map_wr(dmap, off + 1, u8, (color & 0x0000FF00) >> 8);
drivers/gpu/drm/drm_draw.c
170
iosys_map_wr(dmap, off + 2, u8, (color & 0x00FF0000) >> 16);
drivers/gpu/drm/drm_draw.c
176
void drm_draw_fill32(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw.c
184
iosys_map_wr(dmap, y * dpitch + x * sizeof(u32), u32, color);
drivers/gpu/drm/drm_draw.c
92
void drm_draw_blit16(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw_internal.h
31
void drm_draw_blit16(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw_internal.h
36
void drm_draw_blit24(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw_internal.h
41
void drm_draw_blit32(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw_internal.h
46
void drm_draw_fill16(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw_internal.h
50
void drm_draw_fill24(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/drm_draw_internal.h
54
void drm_draw_fill32(struct iosys_map *dmap, unsigned int dpitch,
drivers/gpu/drm/ttm/ttm_resource.c
721
struct iosys_map *dmap,
drivers/gpu/drm/ttm/ttm_resource.c
748
iosys_map_set_vaddr_iomem(dmap, addr);
drivers/gpu/drm/ttm/ttm_resource.c
803
struct iosys_map *dmap,
drivers/gpu/drm/ttm/ttm_resource.c
809
*dmap = iter_io->dmap;
drivers/gpu/drm/ttm/ttm_resource.c
810
iosys_map_incr(dmap, i * PAGE_SIZE);
drivers/gpu/drm/ttm/ttm_resource.c
846
iosys_map_set_vaddr(&iter_io->dmap, mem->bus.addr);
drivers/gpu/drm/ttm/ttm_resource.c
850
memset(&iter_io->dmap, 0, sizeof(iter_io->dmap));
drivers/gpu/drm/ttm/ttm_resource.c
852
iosys_map_set_vaddr_iomem(&iter_io->dmap,
drivers/gpu/drm/ttm/ttm_resource.c
856
iosys_map_set_vaddr(&iter_io->dmap,
drivers/gpu/drm/ttm/ttm_resource.c
863
if (iosys_map_is_null(&iter_io->dmap))
drivers/gpu/drm/ttm/ttm_resource.c
864
iosys_map_set_vaddr_iomem(&iter_io->dmap,
drivers/gpu/drm/ttm/ttm_resource.c
868
if (iosys_map_is_null(&iter_io->dmap)) {
drivers/gpu/drm/ttm/ttm_resource.c
897
if (iter_io->needs_unmap && iosys_map_is_set(&iter_io->dmap)) {
drivers/gpu/drm/ttm/ttm_resource.c
898
if (iter_io->dmap.is_iomem)
drivers/gpu/drm/ttm/ttm_resource.c
899
iounmap(iter_io->dmap.vaddr_iomem);
drivers/gpu/drm/ttm/ttm_resource.c
901
memunmap(iter_io->dmap.vaddr);
drivers/gpu/drm/ttm/ttm_tt.c
488
struct iosys_map *dmap,
drivers/gpu/drm/ttm/ttm_tt.c
494
iosys_map_set_vaddr(dmap, kmap_local_page_prot(iter_tt->tt->pages[i],
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
604
uint32 dmap : 1;
drivers/iommu/tegra-smmu.c
586
dma_addr_t *dmap)
drivers/iommu/tegra-smmu.c
596
*dmap = smmu_pde_to_dma(smmu, as->pd->val[pd_index]);
drivers/iommu/tegra-smmu.c
602
dma_addr_t *dmap, struct tegra_pt *pt)
drivers/iommu/tegra-smmu.c
629
*dmap = dma;
drivers/iommu/tegra-smmu.c
631
*dmap = smmu_pde_to_dma(smmu, as->pd->val[pde]);
drivers/md/dm-clone-metadata.c
127
struct dirty_map dmap[2];
drivers/md/dm-clone-metadata.c
468
static int __dirty_map_init(struct dirty_map *dmap, unsigned long nr_words,
drivers/md/dm-clone-metadata.c
471
dmap->changed = 0;
drivers/md/dm-clone-metadata.c
473
dmap->dirty_words = kvzalloc(bitmap_size(nr_words), GFP_KERNEL);
drivers/md/dm-clone-metadata.c
474
if (!dmap->dirty_words)
drivers/md/dm-clone-metadata.c
477
dmap->dirty_regions = kvzalloc(bitmap_size(nr_regions), GFP_KERNEL);
drivers/md/dm-clone-metadata.c
478
if (!dmap->dirty_regions) {
drivers/md/dm-clone-metadata.c
479
kvfree(dmap->dirty_words);
drivers/md/dm-clone-metadata.c
486
static void __dirty_map_exit(struct dirty_map *dmap)
drivers/md/dm-clone-metadata.c
488
kvfree(dmap->dirty_words);
drivers/md/dm-clone-metadata.c
489
kvfree(dmap->dirty_regions);
drivers/md/dm-clone-metadata.c
494
if (__dirty_map_init(&cmd->dmap[0], cmd->nr_words, cmd->nr_regions)) {
drivers/md/dm-clone-metadata.c
499
if (__dirty_map_init(&cmd->dmap[1], cmd->nr_words, cmd->nr_regions)) {
drivers/md/dm-clone-metadata.c
501
__dirty_map_exit(&cmd->dmap[0]);
drivers/md/dm-clone-metadata.c
505
cmd->current_dmap = &cmd->dmap[0];
drivers/md/dm-clone-metadata.c
513
__dirty_map_exit(&cmd->dmap[0]);
drivers/md/dm-clone-metadata.c
514
__dirty_map_exit(&cmd->dmap[1]);
drivers/md/dm-clone-metadata.c
734
static int __flush_dmap(struct dm_clone_metadata *cmd, struct dirty_map *dmap)
drivers/md/dm-clone-metadata.c
741
word = find_next_bit(dmap->dirty_words, cmd->nr_words, word);
drivers/md/dm-clone-metadata.c
746
r = __update_metadata_word(cmd, dmap->dirty_regions, word);
drivers/md/dm-clone-metadata.c
751
__clear_bit(word, dmap->dirty_words);
drivers/md/dm-clone-metadata.c
762
dmap->changed = 0;
drivers/md/dm-clone-metadata.c
771
struct dirty_map *dmap, *next_dmap;
drivers/md/dm-clone-metadata.c
781
dmap = cmd->current_dmap;
drivers/md/dm-clone-metadata.c
784
next_dmap = (dmap == &cmd->dmap[0]) ? &cmd->dmap[1] : &cmd->dmap[0];
drivers/md/dm-clone-metadata.c
801
cmd->committing_dmap = dmap;
drivers/md/dm-clone-metadata.c
836
struct dirty_map *dmap;
drivers/md/dm-clone-metadata.c
854
dmap = cmd->current_dmap;
drivers/md/dm-clone-metadata.c
856
__set_bit(word, dmap->dirty_words);
drivers/md/dm-clone-metadata.c
857
__set_bit(region_nr, dmap->dirty_regions);
drivers/md/dm-clone-metadata.c
859
dmap->changed = 1;
drivers/md/dm-clone-metadata.c
871
struct dirty_map *dmap;
drivers/md/dm-clone-metadata.c
888
dmap = cmd->current_dmap;
drivers/md/dm-clone-metadata.c
892
__set_bit(word, dmap->dirty_words);
drivers/md/dm-clone-metadata.c
893
__set_bit(region_nr, dmap->dirty_regions);
drivers/md/dm-clone-metadata.c
895
dmap->changed = 1;
drivers/md/dm-clone-metadata.c
936
r = cmd->dmap[0].changed || cmd->dmap[1].changed;
drivers/md/dm-zoned-metadata.c
1683
struct dmz_map *dmap;
drivers/md/dm-zoned-metadata.c
1701
dmap = dmap_mblk->data;
drivers/md/dm-zoned-metadata.c
1707
dzone_id = le32_to_cpu(dmap[e].dzone_id);
drivers/md/dm-zoned-metadata.c
1735
bzone_id = le32_to_cpu(dmap[e].bzone_id);
drivers/md/dm-zoned-metadata.c
1832
struct dmz_map *dmap = dmap_mblk->data;
drivers/md/dm-zoned-metadata.c
1835
dmap[map_idx].dzone_id = cpu_to_le32(dzone_id);
drivers/md/dm-zoned-metadata.c
1836
dmap[map_idx].bzone_id = cpu_to_le32(bzone_id);
drivers/md/dm-zoned-metadata.c
2045
struct dmz_map *dmap = dmap_mblk->data;
drivers/md/dm-zoned-metadata.c
2055
dzone_id = le32_to_cpu(dmap[dmap_idx].dzone_id);
drivers/media/pci/intel/ipu6/ipu6-dma.c
174
iova = alloc_iova(&mmu->dmap->iovad, count,
drivers/media/pci/intel/ipu6/ipu6-dma.c
175
PHYS_PFN(mmu->dmap->mmu_info->aperture_end), 0);
drivers/media/pci/intel/ipu6/ipu6-dma.c
196
ret = ipu6_mmu_map(mmu->dmap->mmu_info,
drivers/media/pci/intel/ipu6/ipu6-dma.c
225
pci_dma_addr = ipu6_mmu_iova_to_phys(mmu->dmap->mmu_info,
drivers/media/pci/intel/ipu6/ipu6-dma.c
230
ipu6_mmu_unmap(mmu->dmap->mmu_info, ipu6_iova, PAGE_SIZE);
drivers/media/pci/intel/ipu6/ipu6-dma.c
236
__free_iova(&mmu->dmap->iovad, iova);
drivers/media/pci/intel/ipu6/ipu6-dma.c
249
struct iova *iova = find_iova(&mmu->dmap->iovad, PHYS_PFN(dma_handle));
drivers/media/pci/intel/ipu6/ipu6-dma.c
278
pci_dma_addr = ipu6_mmu_iova_to_phys(mmu->dmap->mmu_info,
drivers/media/pci/intel/ipu6/ipu6-dma.c
284
ipu6_mmu_unmap(mmu->dmap->mmu_info, PFN_PHYS(iova->pfn_lo),
drivers/media/pci/intel/ipu6/ipu6-dma.c
291
__free_iova(&mmu->dmap->iovad, iova);
drivers/media/pci/intel/ipu6/ipu6-dma.c
336
struct iova *iova = find_iova(&mmu->dmap->iovad,
drivers/media/pci/intel/ipu6/ipu6-dma.c
357
pci_dma_addr = ipu6_mmu_iova_to_phys(mmu->dmap->mmu_info,
drivers/media/pci/intel/ipu6/ipu6-dma.c
366
ipu6_mmu_unmap(mmu->dmap->mmu_info, PFN_PHYS(iova->pfn_lo),
drivers/media/pci/intel/ipu6/ipu6-dma.c
370
__free_iova(&mmu->dmap->iovad, iova);
drivers/media/pci/intel/ipu6/ipu6-dma.c
400
iova = alloc_iova(&mmu->dmap->iovad, npages,
drivers/media/pci/intel/ipu6/ipu6-dma.c
401
PHYS_PFN(mmu->dmap->mmu_info->aperture_end), 0);
drivers/media/pci/intel/ipu6/ipu6-dma.c
417
ret = ipu6_mmu_map(mmu->dmap->mmu_info, PFN_PHYS(iova_addr),
drivers/media/pci/intel/ipu6/ipu6-mmu.c
424
iova = alloc_iova(&mmu->dmap->iovad, n_pages,
drivers/media/pci/intel/ipu6/ipu6-mmu.c
425
PHYS_PFN(mmu->dmap->mmu_info->aperture_end), 0);
drivers/media/pci/intel/ipu6/ipu6-mmu.c
431
dma = dma_map_page(mmu->dmap->mmu_info->dev, mmu->trash_page, 0,
drivers/media/pci/intel/ipu6/ipu6-mmu.c
433
if (dma_mapping_error(mmu->dmap->mmu_info->dev, dma)) {
drivers/media/pci/intel/ipu6/ipu6-mmu.c
434
dev_err(mmu->dmap->mmu_info->dev, "Failed to map trash page\n");
drivers/media/pci/intel/ipu6/ipu6-mmu.c
447
ret = ipu6_mmu_map(mmu->dmap->mmu_info, PFN_PHYS(iova_addr),
drivers/media/pci/intel/ipu6/ipu6-mmu.c
464
ipu6_mmu_unmap(mmu->dmap->mmu_info, PFN_PHYS(iova->pfn_lo),
drivers/media/pci/intel/ipu6/ipu6-mmu.c
466
dma_unmap_page(mmu->dmap->mmu_info->dev, mmu->pci_trash_page,
drivers/media/pci/intel/ipu6/ipu6-mmu.c
469
__free_iova(&mmu->dmap->iovad, iova);
drivers/media/pci/intel/ipu6/ipu6-mmu.c
479
mmu_info = mmu->dmap->mmu_info;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
614
struct ipu6_dma_mapping *dmap;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
616
dmap = kzalloc_obj(*dmap);
drivers/media/pci/intel/ipu6/ipu6-mmu.c
617
if (!dmap)
drivers/media/pci/intel/ipu6/ipu6-mmu.c
620
dmap->mmu_info = ipu6_mmu_alloc(isp);
drivers/media/pci/intel/ipu6/ipu6-mmu.c
621
if (!dmap->mmu_info) {
drivers/media/pci/intel/ipu6/ipu6-mmu.c
622
kfree(dmap);
drivers/media/pci/intel/ipu6/ipu6-mmu.c
626
init_iova_domain(&dmap->iovad, SZ_4K, 1);
drivers/media/pci/intel/ipu6/ipu6-mmu.c
627
dmap->mmu_info->dmap = dmap;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
633
return dmap;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
707
struct ipu6_dma_mapping *dmap = mmu->dmap;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
708
struct ipu6_mmu_info *mmu_info = dmap->mmu_info;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
713
iova = find_iova(&dmap->iovad, PHYS_PFN(mmu->iova_trash_page));
drivers/media/pci/intel/ipu6/ipu6-mmu.c
718
__free_iova(&dmap->iovad, iova);
drivers/media/pci/intel/ipu6/ipu6-mmu.c
788
mmu->dmap = alloc_dma_mapping(isp);
drivers/media/pci/intel/ipu6/ipu6-mmu.c
789
if (!mmu->dmap) {
drivers/media/pci/intel/ipu6/ipu6-mmu.c
799
struct ipu6_dma_mapping *dmap = mmu->dmap;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
802
mmu->dmap = NULL;
drivers/media/pci/intel/ipu6/ipu6-mmu.c
804
put_iova_domain(&dmap->iovad);
drivers/media/pci/intel/ipu6/ipu6-mmu.c
805
kfree(dmap);
drivers/media/pci/intel/ipu6/ipu6-mmu.h
35
struct ipu6_dma_mapping *dmap;
drivers/media/pci/intel/ipu6/ipu6-mmu.h
48
struct ipu6_dma_mapping *dmap;
drivers/media/platform/xilinx/xilinx-vipp.c
473
struct xvip_dma *dmap;
drivers/media/platform/xilinx/xilinx-vipp.c
479
list_for_each_entry_safe(dma, dmap, &xdev->dmas, list) {
drivers/misc/sgi-gru/grufault.c
143
struct gru_tlb_fault_map *dmap)
drivers/misc/sgi-gru/grufault.c
158
dmap->fault_bits[i] = k;
drivers/misc/sgi-gru/grufault.c
522
struct gru_tlb_fault_map imap, dmap;
drivers/misc/sgi-gru/grufault.c
536
get_clear_fault_map(gru, &imap, &dmap);
drivers/misc/sgi-gru/grufault.c
541
dmap.fault_bits[0], dmap.fault_bits[1]);
drivers/misc/sgi-gru/grufault.c
543
for_each_cbr_in_tfm(cbrnum, dmap.fault_bits) {
drivers/net/ethernet/apple/bmac.c
177
dbdma_continue(volatile struct dbdma_regs __iomem *dmap)
drivers/net/ethernet/apple/bmac.c
179
dbdma_st32(&dmap->control,
drivers/net/ethernet/apple/bmac.c
185
dbdma_reset(volatile struct dbdma_regs __iomem *dmap)
drivers/net/ethernet/apple/bmac.c
187
dbdma_st32(&dmap->control,
drivers/net/ethernet/apple/bmac.c
190
while (dbdma_ld32(&dmap->status) & RUN)
drivers/pmdomain/ti/omap_prm.c
161
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton,
drivers/pmdomain/ti/omap_prm.c
165
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact,
drivers/pmdomain/ti/omap_prm.c
170
.pwrstctrl = 0, .pwrstst = 0x4, .dmap = &omap_prm_all,
drivers/pmdomain/ti/omap_prm.c
174
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
178
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton,
drivers/pmdomain/ti/omap_prm.c
185
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact,
drivers/pmdomain/ti/omap_prm.c
190
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
194
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact
drivers/pmdomain/ti/omap_prm.c
198
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto
drivers/pmdomain/ti/omap_prm.c
202
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton
drivers/pmdomain/ti/omap_prm.c
206
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton,
drivers/pmdomain/ti/omap_prm.c
211
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto
drivers/pmdomain/ti/omap_prm.c
215
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon
drivers/pmdomain/ti/omap_prm.c
219
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto
drivers/pmdomain/ti/omap_prm.c
232
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton,
drivers/pmdomain/ti/omap_prm.c
236
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact,
drivers/pmdomain/ti/omap_prm.c
241
.pwrstctrl = 0, .pwrstst = 0x4, .dmap = &omap_prm_nooff,
drivers/pmdomain/ti/omap_prm.c
245
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon
drivers/pmdomain/ti/omap_prm.c
249
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton,
drivers/pmdomain/ti/omap_prm.c
255
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact,
drivers/pmdomain/ti/omap_prm.c
260
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto
drivers/pmdomain/ti/omap_prm.c
264
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact
drivers/pmdomain/ti/omap_prm.c
268
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto
drivers/pmdomain/ti/omap_prm.c
272
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton
drivers/pmdomain/ti/omap_prm.c
276
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto
drivers/pmdomain/ti/omap_prm.c
280
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon
drivers/pmdomain/ti/omap_prm.c
284
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto
drivers/pmdomain/ti/omap_prm.c
297
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton,
drivers/pmdomain/ti/omap_prm.c
301
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
306
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
312
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
316
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
322
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
327
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
331
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
335
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
339
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
345
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
349
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
353
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
357
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
361
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
366
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
371
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
376
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
381
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
386
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
390
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
408
.pwrstctrl = 0xc, .pwrstst = 0x8, .dmap = &omap_prm_noinact,
drivers/pmdomain/ti/omap_prm.c
415
.pwrstctrl = 0x4, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
421
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact,
drivers/pmdomain/ti/omap_prm.c
430
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
434
.pwrstctrl = 0, .pwrstst = 0x10, .dmap = &omap_prm_noinact,
drivers/pmdomain/ti/omap_prm.c
439
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
458
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact,
drivers/pmdomain/ti/omap_prm.c
462
.pwrstctrl = 0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
467
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
471
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
475
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
drivers/pmdomain/ti/omap_prm.c
479
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact,
drivers/pmdomain/ti/omap_prm.c
485
.pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
drivers/pmdomain/ti/omap_prm.c
61
const struct omap_prm_domain_map *dmap;
drivers/pmdomain/ti/omap_prm.c
707
prmd->cap = prmd->prm->data->dmap;
drivers/staging/media/ipu3/ipu3.c
138
&imgu_pipe->queues[i].dmap,
drivers/staging/media/ipu3/ipu3.c
146
imgu_pipe->queues[i].dmap.daddr);
drivers/staging/media/ipu3/ipu3.c
163
if (WARN_ON(!imgu_pipe->queues[queue].dmap.vaddr))
drivers/staging/media/ipu3/ipu3.c
176
imgu_pipe->queues[queue].dmap.daddr);
drivers/staging/media/ipu3/ipu3.c
77
&imgu_pipe->queues[i].dmap);
drivers/staging/media/ipu3/ipu3.c
98
&imgu_pipe->queues[i].dmap, size)) {
drivers/staging/media/ipu3/ipu3.h
105
struct imgu_css_map dmap;
drivers/staging/media/ipu7/ipu7-dma.c
174
iova = alloc_iova(&mmu->dmap->iovad, count,
drivers/staging/media/ipu7/ipu7-dma.c
175
PHYS_PFN(mmu->dmap->mmu_info->aperture_end), 0);
drivers/staging/media/ipu7/ipu7-dma.c
196
ret = ipu7_mmu_map(mmu->dmap->mmu_info,
drivers/staging/media/ipu7/ipu7-dma.c
225
pci_dma_addr = ipu7_mmu_iova_to_phys(mmu->dmap->mmu_info,
drivers/staging/media/ipu7/ipu7-dma.c
230
ipu7_mmu_unmap(mmu->dmap->mmu_info, ipu7_iova, PAGE_SIZE);
drivers/staging/media/ipu7/ipu7-dma.c
236
__free_iova(&mmu->dmap->iovad, iova);
drivers/staging/media/ipu7/ipu7-dma.c
249
struct iova *iova = find_iova(&mmu->dmap->iovad, PHYS_PFN(dma_handle));
drivers/staging/media/ipu7/ipu7-dma.c
278
pci_dma_addr = ipu7_mmu_iova_to_phys(mmu->dmap->mmu_info,
drivers/staging/media/ipu7/ipu7-dma.c
284
ipu7_mmu_unmap(mmu->dmap->mmu_info, PFN_PHYS(iova->pfn_lo),
drivers/staging/media/ipu7/ipu7-dma.c
291
__free_iova(&mmu->dmap->iovad, iova);
drivers/staging/media/ipu7/ipu7-dma.c
336
struct iova *iova = find_iova(&mmu->dmap->iovad,
drivers/staging/media/ipu7/ipu7-dma.c
357
pci_dma_addr = ipu7_mmu_iova_to_phys(mmu->dmap->mmu_info,
drivers/staging/media/ipu7/ipu7-dma.c
366
ipu7_mmu_unmap(mmu->dmap->mmu_info, PFN_PHYS(iova->pfn_lo),
drivers/staging/media/ipu7/ipu7-dma.c
370
__free_iova(&mmu->dmap->iovad, iova);
drivers/staging/media/ipu7/ipu7-dma.c
407
lo = iova_pfn(&mmu->dmap->iovad, IPU_FW_CODE_REGION_START);
drivers/staging/media/ipu7/ipu7-dma.c
408
hi = iova_pfn(&mmu->dmap->iovad, IPU_FW_CODE_REGION_END) - 1U;
drivers/staging/media/ipu7/ipu7-dma.c
409
iova = reserve_iova(&mmu->dmap->iovad, lo, hi);
drivers/staging/media/ipu7/ipu7-dma.c
416
iova = alloc_iova(&mmu->dmap->iovad, npages,
drivers/staging/media/ipu7/ipu7-dma.c
417
PHYS_PFN(mmu->dmap->mmu_info->aperture_end),
drivers/staging/media/ipu7/ipu7-dma.c
435
ret = ipu7_mmu_map(mmu->dmap->mmu_info, PFN_PHYS(iova_addr),
drivers/staging/media/ipu7/ipu7-mmu.c
407
iova = alloc_iova(&mmu->dmap->iovad, n_pages,
drivers/staging/media/ipu7/ipu7-mmu.c
408
PHYS_PFN(mmu->dmap->mmu_info->aperture_end), 0);
drivers/staging/media/ipu7/ipu7-mmu.c
414
dma = dma_map_page(mmu->dmap->mmu_info->dev, mmu->trash_page, 0,
drivers/staging/media/ipu7/ipu7-mmu.c
416
if (dma_mapping_error(mmu->dmap->mmu_info->dev, dma)) {
drivers/staging/media/ipu7/ipu7-mmu.c
417
dev_err(mmu->dmap->mmu_info->dev, "Failed to map trash page\n");
drivers/staging/media/ipu7/ipu7-mmu.c
430
ret = ipu7_mmu_map(mmu->dmap->mmu_info, PFN_PHYS(iova_addr),
drivers/staging/media/ipu7/ipu7-mmu.c
447
ipu7_mmu_unmap(mmu->dmap->mmu_info, PFN_PHYS(iova->pfn_lo),
drivers/staging/media/ipu7/ipu7-mmu.c
449
dma_unmap_page(mmu->dmap->mmu_info->dev, mmu->pci_trash_page,
drivers/staging/media/ipu7/ipu7-mmu.c
452
__free_iova(&mmu->dmap->iovad, iova);
drivers/staging/media/ipu7/ipu7-mmu.c
461
mmu_info = mmu->dmap->mmu_info;
drivers/staging/media/ipu7/ipu7-mmu.c
654
struct ipu7_dma_mapping *dmap;
drivers/staging/media/ipu7/ipu7-mmu.c
657
dmap = kzalloc_obj(*dmap);
drivers/staging/media/ipu7/ipu7-mmu.c
658
if (!dmap)
drivers/staging/media/ipu7/ipu7-mmu.c
661
dmap->mmu_info = ipu7_mmu_alloc(isp);
drivers/staging/media/ipu7/ipu7-mmu.c
662
if (!dmap->mmu_info) {
drivers/staging/media/ipu7/ipu7-mmu.c
663
kfree(dmap);
drivers/staging/media/ipu7/ipu7-mmu.c
669
PFN_DOWN(dmap->mmu_info->aperture_start));
drivers/staging/media/ipu7/ipu7-mmu.c
670
init_iova_domain(&dmap->iovad, SZ_4K, base_pfn);
drivers/staging/media/ipu7/ipu7-mmu.c
671
dmap->mmu_info->dmap = dmap;
drivers/staging/media/ipu7/ipu7-mmu.c
677
return dmap;
drivers/staging/media/ipu7/ipu7-mmu.c
752
struct ipu7_dma_mapping *dmap = mmu->dmap;
drivers/staging/media/ipu7/ipu7-mmu.c
753
struct ipu7_mmu_info *mmu_info = dmap->mmu_info;
drivers/staging/media/ipu7/ipu7-mmu.c
758
iova = find_iova(&dmap->iovad, PHYS_PFN(mmu->iova_trash_page));
drivers/staging/media/ipu7/ipu7-mmu.c
763
__free_iova(&dmap->iovad, iova);
drivers/staging/media/ipu7/ipu7-mmu.c
835
mmu->dmap = alloc_dma_mapping(isp);
drivers/staging/media/ipu7/ipu7-mmu.c
836
if (!mmu->dmap) {
drivers/staging/media/ipu7/ipu7-mmu.c
846
struct ipu7_dma_mapping *dmap = mmu->dmap;
drivers/staging/media/ipu7/ipu7-mmu.c
849
mmu->dmap = NULL;
drivers/staging/media/ipu7/ipu7-mmu.c
851
put_iova_domain(&dmap->iovad);
drivers/staging/media/ipu7/ipu7-mmu.c
852
kfree(dmap);
drivers/staging/media/ipu7/ipu7-mmu.h
376
struct ipu7_dma_mapping *dmap;
drivers/staging/media/ipu7/ipu7-mmu.h
389
struct ipu7_dma_mapping *dmap;
fs/dax.c
2160
const struct iomap *dmap = &it_dest->iomap;
fs/dax.c
2165
len = min(len, min(smap->length, dmap->length));
fs/dax.c
2167
if (smap->type == IOMAP_HOLE && dmap->type == IOMAP_HOLE) {
fs/dax.c
2172
if (smap->type == IOMAP_HOLE || dmap->type == IOMAP_HOLE) {
fs/dax.c
2183
ret = dax_iomap_direct_access(dmap, pos2, ALIGN(pos2 + len, PAGE_SIZE),
fs/f2fs/segment.c
2081
unsigned long *dmap = SIT_I(sbi)->tmp_map;
fs/f2fs/segment.c
2104
dmap[i] = force ? ~ckpt_map[i] & ~discard_map[i] :
fs/f2fs/segment.c
2109
start = __find_rev_next_bit(dmap, BLKS_PER_SEG(sbi), end + 1);
fs/f2fs/segment.c
2113
end = __find_rev_next_zero_bit(dmap,
fs/fuse/dax.c
1000
dmap = inode_inline_reclaim_one_dmap(fcd, inode, &retry);
fs/fuse/dax.c
1005
if (dmap)
fs/fuse/dax.c
1006
return dmap;
fs/fuse/dax.c
1041
struct fuse_dax_mapping *dmap;
fs/fuse/dax.c
1050
dmap = node_to_dmap(node);
fs/fuse/dax.c
1053
if (refcount_read(&dmap->refcnt) > 1)
fs/fuse/dax.c
1056
ret = reclaim_one_dmap_locked(inode, dmap);
fs/fuse/dax.c
1062
dmap_reinit_add_to_free_pool(fcd, dmap);
fs/fuse/dax.c
1103
struct fuse_dax_mapping *dmap, *pos, *temp;
fs/fuse/dax.c
1113
dmap = NULL;
fs/fuse/dax.c
1140
dmap = pos;
fs/fuse/dax.c
1141
list_move_tail(&dmap->busy_list, &fcd->busy_ranges);
fs/fuse/dax.c
1142
start_idx = end_idx = dmap->itn.start;
fs/fuse/dax.c
1146
if (!dmap)
fs/fuse/dax.c
130
struct fuse_dax_mapping *dmap;
fs/fuse/dax.c
133
dmap = list_first_entry_or_null(&fcd->free_ranges,
fs/fuse/dax.c
135
if (dmap) {
fs/fuse/dax.c
136
list_del_init(&dmap->list);
fs/fuse/dax.c
143
return dmap;
fs/fuse/dax.c
148
struct fuse_dax_mapping *dmap)
fs/fuse/dax.c
150
list_del_init(&dmap->busy_list);
fs/fuse/dax.c
156
struct fuse_dax_mapping *dmap)
fs/fuse/dax.c
159
__dmap_remove_busy_list(fcd, dmap);
fs/fuse/dax.c
165
struct fuse_dax_mapping *dmap)
fs/fuse/dax.c
167
list_add_tail(&dmap->list, &fcd->free_ranges);
fs/fuse/dax.c
173
struct fuse_dax_mapping *dmap)
fs/fuse/dax.c
177
__dmap_add_to_free_pool(fcd, dmap);
fs/fuse/dax.c
182
struct fuse_dax_mapping *dmap, bool writable,
fs/fuse/dax.c
199
inarg.moffset = dmap->window_offset;
fs/fuse/dax.c
212
dmap->writable = writable;
fs/fuse/dax.c
219
dmap->inode = inode;
fs/fuse/dax.c
220
dmap->itn.start = dmap->itn.last = start_idx;
fs/fuse/dax.c
222
interval_tree_insert(&dmap->itn, &fi->dax->tree);
fs/fuse/dax.c
225
list_add_tail(&dmap->busy_list, &fcd->busy_ranges);
fs/fuse/dax.c
256
struct fuse_dax_mapping *dmap;
fs/fuse/dax.c
265
list_for_each_entry(dmap, to_remove, list) {
fs/fuse/dax.c
266
ptr->moffset = dmap->window_offset;
fs/fuse/dax.c
267
ptr->len = dmap->length;
fs/fuse/dax.c
292
struct fuse_dax_mapping *dmap)
fs/fuse/dax.c
295
dmap->itn.start, dmap->itn.last, dmap->window_offset,
fs/fuse/dax.c
296
dmap->length);
fs/fuse/dax.c
297
__dmap_remove_busy_list(fcd, dmap);
fs/fuse/dax.c
298
dmap->inode = NULL;
fs/fuse/dax.c
299
dmap->itn.start = dmap->itn.last = 0;
fs/fuse/dax.c
300
__dmap_add_to_free_pool(fcd, dmap);
fs/fuse/dax.c
314
struct fuse_dax_mapping *dmap, *n;
fs/fuse/dax.c
326
dmap = node_to_dmap(node);
fs/fuse/dax.c
328
WARN_ON(refcount_read(&dmap->refcnt) > 1);
fs/fuse/dax.c
329
interval_tree_remove(&dmap->itn, &fi->dax->tree);
fs/fuse/dax.c
331
list_add(&dmap->list, &to_remove);
fs/fuse/dax.c
346
list_for_each_entry_safe(dmap, n, &to_remove, list) {
fs/fuse/dax.c
347
list_del_init(&dmap->list);
fs/fuse/dax.c
348
dmap_reinit_add_to_free_pool(fcd, dmap);
fs/fuse/dax.c
354
struct fuse_dax_mapping *dmap)
fs/fuse/dax.c
362
forget_one.moffset = dmap->window_offset;
fs/fuse/dax.c
363
forget_one.len = dmap->length;
fs/fuse/dax.c
396
struct iomap *iomap, struct fuse_dax_mapping *dmap,
fs/fuse/dax.c
402
offset = pos - (dmap->itn.start << FUSE_DAX_SHIFT);
fs/fuse/dax.c
403
len = min(length, dmap->length - offset);
fs/fuse/dax.c
410
iomap->addr = dmap->window_offset + offset;
fs/fuse/dax.c
420
refcount_inc(&dmap->refcnt);
fs/fuse/dax.c
424
iomap->private = dmap;
fs/fuse/dax.c
438
struct fuse_dax_mapping *dmap, *alloc_dmap = NULL;
fs/fuse/dax.c
479
dmap = node_to_dmap(node);
fs/fuse/dax.c
480
fuse_fill_iomap(inode, pos, length, iomap, dmap, flags);
fs/fuse/dax.c
504
struct fuse_dax_mapping *dmap;
fs/fuse/dax.c
526
dmap = node_to_dmap(node);
fs/fuse/dax.c
532
if (refcount_dec_and_test(&dmap->refcnt)) {
fs/fuse/dax.c
542
if (dmap->writable) {
fs/fuse/dax.c
547
ret = fuse_setup_one_mapping(inode, pos >> FUSE_DAX_SHIFT, dmap, true,
fs/fuse/dax.c
552
fuse_fill_iomap(inode, pos, length, iomap, dmap, flags);
fs/fuse/dax.c
567
struct fuse_dax_mapping *dmap;
fs/fuse/dax.c
591
dmap = node_to_dmap(node);
fs/fuse/dax.c
592
if (writable && !dmap->writable) {
fs/fuse/dax.c
602
refcount_inc(&dmap->refcnt);
fs/fuse/dax.c
609
fuse_fill_iomap(inode, pos, length, iomap, dmap, flags);
fs/fuse/dax.c
639
struct fuse_dax_mapping *dmap = iomap->private;
fs/fuse/dax.c
641
if (dmap) {
fs/fuse/dax.c
642
if (refcount_dec_and_test(&dmap->refcnt)) {
fs/fuse/dax.c
832
struct fuse_dax_mapping *dmap)
fs/fuse/dax.c
835
loff_t start_pos = dmap->itn.start << FUSE_DAX_SHIFT;
fs/fuse/dax.c
856
struct fuse_dax_mapping *dmap)
fs/fuse/dax.c
865
ret = dmap_writeback_invalidate(inode, dmap);
fs/fuse/dax.c
870
interval_tree_remove(&dmap->itn, &fi->dax->tree);
fs/fuse/dax.c
877
ret = dmap_removemapping_one(inode, dmap);
fs/fuse/dax.c
880
dmap->window_offset, dmap->length, ret);
fs/fuse/dax.c
891
struct fuse_dax_mapping *dmap;
fs/fuse/dax.c
896
dmap = node_to_dmap(node);
fs/fuse/dax.c
898
if (refcount_read(&dmap->refcnt) > 1)
fs/fuse/dax.c
901
return dmap;
fs/fuse/dax.c
916
struct fuse_dax_mapping *dmap;
fs/fuse/dax.c
926
dmap = inode_lookup_first_dmap(inode);
fs/fuse/dax.c
927
if (dmap) {
fs/fuse/dax.c
928
start_idx = dmap->itn.start;
fs/fuse/dax.c
934
if (!dmap)
fs/fuse/dax.c
944
dmap = ERR_PTR(ret);
fs/fuse/dax.c
957
dmap = node_to_dmap(node);
fs/fuse/dax.c
959
if (refcount_read(&dmap->refcnt) > 1) {
fs/fuse/dax.c
960
dmap = NULL;
fs/fuse/dax.c
966
ret = reclaim_one_dmap_locked(inode, dmap);
fs/fuse/dax.c
968
dmap = ERR_PTR(ret);
fs/fuse/dax.c
973
dmap_remove_busy_list(fcd, dmap);
fs/fuse/dax.c
974
dmap->inode = NULL;
fs/fuse/dax.c
975
dmap->itn.start = dmap->itn.last = 0;
fs/fuse/dax.c
978
__func__, inode, dmap->window_offset, dmap->length);
fs/fuse/dax.c
984
return dmap;
fs/fuse/dax.c
990
struct fuse_dax_mapping *dmap;
fs/fuse/dax.c
996
dmap = alloc_dax_mapping(fcd);
fs/fuse/dax.c
997
if (dmap)
fs/fuse/dax.c
998
return dmap;
fs/jfs/jfs_dmap.c
101
static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
103
static int dbInitDmap(struct dmap * dp, s64 blkno, int nblocks);
fs/jfs/jfs_dmap.c
1032
dp = (struct dmap *) mp->data;
fs/jfs/jfs_dmap.c
104
static int dbInitDmapTree(struct dmap * dp);
fs/jfs/jfs_dmap.c
1071
static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
1204
struct dmap * dp, s64 blkno, int nblocks, int l2nb, s64 * results)
fs/jfs/jfs_dmap.c
1805
struct dmap *dp;
fs/jfs/jfs_dmap.c
1816
dp = (struct dmap *) mp->data;
fs/jfs/jfs_dmap.c
1850
dp = (struct dmap *) mp->data;
fs/jfs/jfs_dmap.c
1907
dp = (struct dmap *) mp->data;
fs/jfs/jfs_dmap.c
1957
struct dmap * dp, int nblocks, int l2nb, s64 * results)
fs/jfs/jfs_dmap.c
2022
static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
2077
static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
2139
static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
2286
static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
3194
struct dmap *dp;
fs/jfs/jfs_dmap.c
3222
dp = (struct dmap *) mp->data;
fs/jfs/jfs_dmap.c
3246
static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
3376
struct dmap *dp;
fs/jfs/jfs_dmap.c
347
struct dmap *dp;
fs/jfs/jfs_dmap.c
3553
dp = (struct dmap *) mp->data;
fs/jfs/jfs_dmap.c
3730
static int dbInitDmap(struct dmap * dp, s64 Blkno, int nblocks)
fs/jfs/jfs_dmap.c
3832
static int dbInitDmapTree(struct dmap * dp)
fs/jfs/jfs_dmap.c
390
dp = (struct dmap *) mp->data;
fs/jfs/jfs_dmap.c
446
struct dmap *dp;
fs/jfs/jfs_dmap.c
485
dp = (struct dmap *) mp->data;
fs/jfs/jfs_dmap.c
64
static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
721
struct dmap *dp;
fs/jfs/jfs_dmap.c
73
static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
75
static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
78
static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
80
static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks,
fs/jfs/jfs_dmap.c
800
dp = (struct dmap *) mp->data;
fs/jfs/jfs_dmap.c
91
static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
93
static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
fs/jfs/jfs_dmap.c
978
struct dmap *dp;
fs/nilfs2/page.c
243
int nilfs_copy_dirty_pages(struct address_space *dmap,
fs/nilfs2/page.c
264
dfolio = filemap_grab_folio(dmap, folio->index);
fs/nilfs2/page.c
298
void nilfs_copy_back_pages(struct address_space *dmap,
fs/nilfs2/page.c
316
dfolio = filemap_lock_folio(dmap, index);
fs/nilfs2/page.c
334
xa_lock_irq(&dmap->i_pages);
fs/nilfs2/page.c
335
f = __xa_store(&dmap->i_pages, index, folio, GFP_NOFS);
fs/nilfs2/page.c
341
folio->mapping = dmap;
fs/nilfs2/page.c
342
dmap->nrpages++;
fs/nilfs2/page.c
344
__xa_set_mark(&dmap->i_pages, index,
fs/nilfs2/page.c
347
xa_unlock_irq(&dmap->i_pages);
fs/ocfs2/dlm/dlmdomain.c
49
static inline void byte_copymap(u8 dmap[], unsigned long smap[],
fs/ocfs2/dlm/dlmdomain.c
57
memset(dmap, 0, ((sz + 7) >> 3));
fs/ocfs2/dlm/dlmdomain.c
60
byte_set_bit(nn, dmap);
fs/xfs/xfs_reflink.c
1315
struct xfs_bmbt_irec *dmap,
fs/xfs/xfs_reflink.c
1326
bool dmap_written = xfs_bmap_is_written_extent(dmap);
fs/xfs/xfs_reflink.c
1356
rblocks = dmap->br_blockcount;
fs/xfs/xfs_reflink.c
1358
dblocks = resblks + dmap->br_blockcount;
fs/xfs/xfs_reflink.c
1377
error = xfs_bmapi_read(ip, dmap->br_startoff, dmap->br_blockcount,
fs/xfs/xfs_reflink.c
1381
ASSERT(nimaps == 1 && smap.br_startoff == dmap->br_startoff);
fs/xfs/xfs_reflink.c
1388
dmap->br_blockcount = min(dmap->br_blockcount, smap.br_blockcount);
fs/xfs/xfs_reflink.c
1389
ASSERT(dmap->br_blockcount == smap.br_blockcount);
fs/xfs/xfs_reflink.c
1398
if (dmap->br_startblock == smap.br_startblock) {
fs/xfs/xfs_reflink.c
1399
if (dmap->br_state != smap.br_state) {
fs/xfs/xfs_reflink.c
1407
if (dmap->br_state == XFS_EXT_UNWRITTEN &&
fs/xfs/xfs_reflink.c
1414
dmap->br_startblock);
fs/xfs/xfs_reflink.c
1444
rblocks = dmap->br_blockcount;
fs/xfs/xfs_reflink.c
1446
dblocks = dmap->br_blockcount;
fs/xfs/xfs_reflink.c
1494
xfs_refcount_increase_extent(tp, isrt, dmap);
fs/xfs/xfs_reflink.c
1495
xfs_bmap_map_extent(tp, ip, XFS_DATA_FORK, dmap);
fs/xfs/xfs_reflink.c
1496
qdelta += dmap->br_blockcount;
fs/xfs/xfs_reflink.c
1502
newlen = XFS_FSB_TO_B(mp, dmap->br_startoff + dmap->br_blockcount);
include/drm/ttm/ttm_kmap_iter.h
32
struct iosys_map *dmap, pgoff_t i);
include/drm/ttm/ttm_kmap_iter.h
42
struct iosys_map *dmap);
include/drm/ttm/ttm_resource.h
387
struct iosys_map dmap;
sound/soc/tegra/tegra_pcm.c
101
chan = dma_request_chan(cpu_dai->dev, dmap->chan_name);
sound/soc/tegra/tegra_pcm.c
105
dmap->chan_name);
sound/soc/tegra/tegra_pcm.c
113
dmap->chan_name);
sound/soc/tegra/tegra_pcm.c
146
struct snd_dmaengine_dai_dma_data *dmap;
sound/soc/tegra/tegra_pcm.c
154
dmap = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream);
sound/soc/tegra/tegra_pcm.c
155
if (!dmap)
sound/soc/tegra/tegra_pcm.c
169
slave_config.dst_addr = dmap->addr;
sound/soc/tegra/tegra_pcm.c
173
slave_config.src_addr = dmap->addr;
sound/soc/tegra/tegra_pcm.c
80
struct snd_dmaengine_dai_dma_data *dmap;
sound/soc/tegra/tegra_pcm.c
88
dmap = snd_soc_dai_get_dma_data(cpu_dai, substream);