hi_vb_pool_config
Function
Defines the configuration information about a VB pool.
Definition
typedef struct {
hi_u64 blk_size;
hi_u32 blk_cnt;
hi_vb_remap_mode remap_mode;
hi_char mmz_name[HI_MAX_MMZ_NAME_LEN];
} hi_vb_pool_config;For details about basic data types hi_u32, hi_u64, and hi_char, see Basic Data Types.
Members
Member |
Description |
|---|---|
blk_size |
Size of a memory block, in bytes. |
blk_cnt |
Number of memory blocks. |
remap_mode |
Currently, this parameter has a fixed value of VB_REMAP_MODE_NONE. For details, see hi_vb_remap_mode. |
mmz_name |
Name of a memory pool. HI_MAX_MMZ_NAME_LEN indicates the maximum length of the memory name, which is 32. |
Parent topic: Common