Searched refs:wlan_static_prot (Results 1 – 3 of 3) sorted by relevance
100 void *wlan_static_prot = NULL; variable123 return wlan_static_prot; in dhd_wlan_mem_prealloc()283 wlan_static_prot = kmalloc(DHD_PREALLOC_PROT_SIZE, GFP_KERNEL); in dhd_init_wlan_mem()284 if (!wlan_static_prot) in dhd_init_wlan_mem()381 if (wlan_static_prot) in dhd_init_wlan_mem()382 kfree(wlan_static_prot); in dhd_init_wlan_mem()477 if (wlan_static_prot) in dhd_static_buf_exit()478 kfree(wlan_static_prot); in dhd_static_buf_exit()
154 void *wlan_static_prot[MAX_NUM_ADAPTERS] = {}; variable198 return wlan_static_prot[index]; in dhd_wlan_mem_prealloc()356 if (wlan_static_prot[index]) in dhd_deinit_wlan_mem()357 kfree(wlan_static_prot[index]); in dhd_deinit_wlan_mem()457 wlan_static_prot[index] = kmalloc(DHD_PREALLOC_PROT_SIZE, GFP_KERNEL); in dhd_init_wlan_mem()458 if (!wlan_static_prot[index]) in dhd_init_wlan_mem()
154 void *wlan_static_prot[MAX_NUM_ADAPTERS] = {NULL}; variable198 return wlan_static_prot[index]; in dhd_wlan_mem_prealloc()356 if (wlan_static_prot[index]) in dhd_deinit_wlan_mem()357 kfree(wlan_static_prot[index]); in dhd_deinit_wlan_mem()460 wlan_static_prot[index] = kmalloc(DHD_PREALLOC_PROT_SIZE, GFP_KERNEL); in dhd_init_wlan_mem()461 if (!wlan_static_prot[index]) in dhd_init_wlan_mem()