Home
last modified time | relevance | path

Searched refs:arena (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/nvdimm/
Dbtt.c28 static struct device *to_dev(struct arena_info *arena) in to_dev() argument
30 return &arena->nd_btt->dev; in to_dev()
38 static int arena_read_bytes(struct arena_info *arena, resource_size_t offset, in arena_read_bytes() argument
41 struct nd_btt *nd_btt = arena->nd_btt; in arena_read_bytes()
49 static int arena_write_bytes(struct arena_info *arena, resource_size_t offset, in arena_write_bytes() argument
52 struct nd_btt *nd_btt = arena->nd_btt; in arena_write_bytes()
60 static int btt_info_write(struct arena_info *arena, struct btt_sb *super) in btt_info_write() argument
69 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write()
70 "arena->infooff: %#llx is unaligned\n", arena->infooff); in btt_info_write()
71 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write()
[all …]
/Linux-v5.15/arch/alpha/kernel/
Dpci_iommu.c63 struct pci_iommu_arena *arena; in iommu_arena_new_node() local
74 arena = memblock_alloc(sizeof(*arena), SMP_CACHE_BYTES); in iommu_arena_new_node()
75 if (!arena) in iommu_arena_new_node()
77 sizeof(*arena)); in iommu_arena_new_node()
78 arena->ptes = memblock_alloc(mem_size, align); in iommu_arena_new_node()
79 if (!arena->ptes) in iommu_arena_new_node()
83 spin_lock_init(&arena->lock); in iommu_arena_new_node()
84 arena->hose = hose; in iommu_arena_new_node()
85 arena->dma_base = base; in iommu_arena_new_node()
86 arena->size = window_size; in iommu_arena_new_node()
[all …]
Dcore_titan.c584 struct pci_iommu_arena *arena; member
601 aper->arena = agp->hose->sg_pci; in titan_agp_setup()
603 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup()
612 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup()
625 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
629 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
630 status = iommu_release(aper->arena, aper->pg_start, in titan_agp_cleanup()
686 return iommu_bind(aper->arena, aper->pg_start + pg_start, in titan_agp_bind_memory()
694 return iommu_unbind(aper->arena, aper->pg_start + pg_start, in titan_agp_unbind_memory()
702 unsigned long baddr = addr - aper->arena->dma_base; in titan_agp_translate()
[all …]
Dcore_marvel.c854 struct pci_iommu_arena *arena; member
870 aper->arena = agp->hose->sg_pci; in marvel_agp_setup()
872 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup()
882 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in marvel_agp_setup()
895 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
899 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
900 status = iommu_release(aper->arena, aper->pg_start, in marvel_agp_cleanup()
978 return iommu_bind(aper->arena, aper->pg_start + pg_start, in marvel_agp_bind_memory()
986 return iommu_unbind(aper->arena, aper->pg_start + pg_start, in marvel_agp_unbind_memory()
994 unsigned long baddr = addr - aper->arena->dma_base; in marvel_agp_translate()
[all …]
Dcore_cia.c356 struct pci_iommu_arena *arena = pci_isa_hose->sg_isa; in verify_tb_operation() local
375 addr0 = arena->dma_base; in verify_tb_operation()
449 cia_pci_tbi(arena->hose, 0, -1); in verify_tb_operation()
464 arena->ptes[4] = pte0; in verify_tb_operation()
488 arena->ptes[5] = pte0; in verify_tb_operation()
501 arena->align_entry = 4; in verify_tb_operation()
524 arena->ptes[4] = 0; in verify_tb_operation()
525 arena->ptes[5] = 0; in verify_tb_operation()
539 alpha_mv.mv_pci_tbi(arena->hose, 0, -1); in verify_tb_operation()
/Linux-v5.15/Documentation/driver-api/nvdimm/
Dbtt.rst35 Each arena follows the same layout for its metadata, and all references in an
36 arena are internal to it (with the exception of one field that points to the
37 next arena). The following depicts the "On-disk" metadata layout::
105 ABA Arena Block Address - Block offset/number within an arena
106 Premap ABA The block offset into an arena, which was decided upon by range
112 arena.
117 the external LBA at 768G. This falls into the second arena, and of the 512G
118 worth of blocks that this arena contributes, this block is at 256G. Thus, the
157 While 'nfree' describes the number of concurrent IOs an arena can process
183 The RTT is a simple, per arena table with 'nfree' entries. Every reader inserts
[all …]
/Linux-v5.15/Documentation/arm64/
Darm-acpi.rst63 Linux is in any way secondary to Microsoft in this arena. The move of