Lines Matching full:bank
54 * @brief Initialize a memory bank's data structure
62 * @param[in,out] bank Pointer to the memory bank structure used for tracking
63 * @param[in] bank_pages Number of pages in the memory bank
65 void sys_mm_drv_bank_init(struct sys_mm_drv_bank *bank, uint32_t bank_pages);
68 * @brief Track the mapping of a page in the specified memory bank
71 * specified memory bank.
73 * @param[in,out] bank Pointer to the memory bank's data structure
75 * @return The number of pages mapped within the memory bank
77 uint32_t sys_mm_drv_bank_page_mapped(struct sys_mm_drv_bank *bank);
80 * @brief Track the unmapping of a page in the specified memory bank
83 * specified memory bank.
85 * @param[in,out] bank Pointer to the memory bank's data structure
87 * @return The number of unmapped pages within the memory bank
89 uint32_t sys_mm_drv_bank_page_unmapped(struct sys_mm_drv_bank *bank);
92 * @brief Reset the max number of pages mapped in the bank
95 * the specified memory bank to the current number of pages mapped in
96 * that memory bank.
98 * @param[in,out] bank Pointer to the memory bank's data structure
100 void sys_mm_drv_bank_stats_reset_max(struct sys_mm_drv_bank *bank);
103 * @brief Retrieve the memory usage stats for the specified memory bank
105 * This routine extracts the system memory stats from the memory bank.
107 * @param[in] bank Pointer to the memory bank's data structure
110 void sys_mm_drv_bank_stats_get(struct sys_mm_drv_bank *bank,