Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvdimm/
H A Dbtt.c73 ret = arena_write_bytes(arena, arena->info2off, super, in btt_info_write()
78 return arena_write_bytes(arena, arena->infooff, super, in btt_info_write()
84 return arena_read_bytes(arena, arena->infooff, super, in btt_info_read()
412 size_t mapsize = arena->logoff - arena->mapoff; in btt_map_init()
452 size_t logsize = arena->info2off - arena->logoff; in btt_log_init()
784 arena->external_nlba = arena->internal_nlba - arena->nfree; in alloc_arena()
791 arena->dataoff = arena->infooff + BTT_PG_SIZE; in alloc_arena()
792 arena->mapoff = arena->dataoff + datasize; in alloc_arena()
793 arena->logoff = arena->mapoff + mapsize; in alloc_arena()
794 arena->info2off = arena->logoff + logsize; in alloc_arena()
[all …]
/openbmc/linux/arch/alpha/kernel/
H A Dpci_iommu.c74 arena = memblock_alloc(sizeof(*arena), SMP_CACHE_BYTES); in iommu_arena_new_node()
75 if (!arena) in iommu_arena_new_node()
79 if (!arena->ptes) in iommu_arena_new_node()
93 return arena; in iommu_arena_new_node()
278 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in pci_map_single_1()
380 if (!arena || dma_addr < arena->dma_base) in alpha_pci_unmap_page()
387 dma_addr, arena->dma_base, arena->size); in alpha_pci_unmap_page()
670 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in alpha_pci_map_sg()
735 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in alpha_pci_unmap_sg()
811 if (arena && arena->dma_base + arena->size - 1 <= mask) in alpha_pci_supported()
[all …]
H A 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 …]
H A 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 …]
H A 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()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A 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()
/openbmc/linux/Documentation/driver-api/nvdimm/
H A 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
228 1. Convert external LBA to arena number + pre-map ABA
[all …]
/openbmc/u-boot/include/
H A Dmalloc.h597 int arena; /* total space allocated from system */ member
/openbmc/u-boot/doc/
H A DREADME.memory-test37 malloc arena, video buffer, log buffer, etc. If you let it, it
/openbmc/u-boot/common/
H A Ddlmalloc.src594 int arena; /* total space allocated from system */
685 * When sbrk is called to extend the top of the arena to satisfy
693 so that the end of the arena is always a system page boundary.
1567 #define sbrked_mem (current_mallinfo.arena)
2097 or the base of its memory arena.)
H A Ddlmalloc.c698 #define sbrked_mem (current_mallinfo.arena)
/openbmc/linux/Documentation/arch/arm64/
H A Darm-acpi.rst64 Linux is in any way secondary to Microsoft in this arena. The move of