Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/nvdimm/
Dbtt.c27 static struct device *to_dev(struct arena_info *arena) in to_dev() argument
29 return &arena->nd_btt->dev; in to_dev()
37 static int arena_read_bytes(struct arena_info *arena, resource_size_t offset, in arena_read_bytes() argument
40 struct nd_btt *nd_btt = arena->nd_btt; in arena_read_bytes()
48 static int arena_write_bytes(struct arena_info *arena, resource_size_t offset, in arena_write_bytes() argument
51 struct nd_btt *nd_btt = arena->nd_btt; in arena_write_bytes()
59 static int btt_info_write(struct arena_info *arena, struct btt_sb *super) in btt_info_write() argument
68 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write()
69 "arena->infooff: %#llx is unaligned\n", arena->infooff); in btt_info_write()
70 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write()
[all …]
/Linux-v6.6/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-v6.6/arch/powerpc/platforms/pseries/
Drtas-work-area.c42 char *arena; member
137 const phys_addr_t pa_start = __pa(rwa_state.arena); in rtas_work_area_allocator_init()
144 if (!rwa_state.arena) in rtas_work_area_allocator_init()
157 err = gen_pool_add(pool, (unsigned long)rwa_state.arena, in rtas_work_area_allocator_init()
208 rwa_state.arena = memblock_alloc_try_nid(size, align, min, limit, nid); in rtas_work_area_reserve_arena()
/Linux-v6.6/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-v6.6/Documentation/arch/arm64/
Darm-acpi.rst64 Linux is in any way secondary to Microsoft in this arena. The move of