Searched refs:g_ctrl_blk (Results 1 – 1 of 1) sorted by relevance
120 oal_mem_ctrl_blk_stru g_ctrl_blk; variable219 if ((g_ctrl_blk.idx + size) > g_ctrl_blk.max_size) { in oal_mem_ctrl_blk_alloc()223 puc_alloc = g_ctrl_blk.puc_base_addr + g_ctrl_blk.idx; in oal_mem_ctrl_blk_alloc()224 g_ctrl_blk.idx += size; in oal_mem_ctrl_blk_alloc()380 if (g_ctrl_blk.puc_base_addr != HI_NULL) { in oal_mem_release()381 hi_free(HI_MOD_ID_WIFI_DRV, (hi_void *)g_ctrl_blk.puc_base_addr); in oal_mem_release()382 g_ctrl_blk.puc_base_addr = HI_NULL; in oal_mem_release()400 g_ctrl_blk.idx = 0; in oal_mem_init_ctrl_blk()404 g_ctrl_blk.max_size = (hi_u32)(us_total_cnt * OAL_MEM_CTRL_BLK_SIZE); in oal_mem_init_ctrl_blk()406 g_ctrl_blk.puc_base_addr = (hi_u8 *)hi_malloc(HI_MOD_ID_WIFI_DRV, g_ctrl_blk.max_size); in oal_mem_init_ctrl_blk()[all …]