18#ifndef ZEPHYR_INCLUDE_DRIVERS_MM_DRV_BANK_H
19#define ZEPHYR_INCLUDE_DRIVERS_MM_DRV_BANK_H
uint32_t sys_mm_drv_bank_page_mapped(struct sys_mm_drv_bank *bank)
Track the mapping of a page in the specified memory bank.
void sys_mm_drv_bank_stats_reset_max(struct sys_mm_drv_bank *bank)
Reset the max number of pages mapped in the bank.
void sys_mm_drv_bank_stats_get(struct sys_mm_drv_bank *bank, struct sys_memory_stats *stats)
Retrieve the memory usage stats for the specified memory bank.
uint32_t sys_mm_drv_bank_page_unmapped(struct sys_mm_drv_bank *bank)
Track the unmapping of a page in the specified memory bank.
void sys_mm_drv_bank_init(struct sys_mm_drv_bank *bank, uint32_t bank_pages)
Initialize a memory bank's data structure.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Definition mem_stats.h:24
Information about memory banks.
Definition mm_drv_bank.h:42
uint32_t mapped_pages
Number of mapped pages.
Definition mm_drv_bank.h:47
uint32_t max_mapped_pages
Maximum number of mapped pages since last counter reset.
Definition mm_drv_bank.h:50
uint32_t unmapped_pages
Number of unmapped pages.
Definition mm_drv_bank.h:44