Searched refs:wlan_static_databuf (Results 1 – 5 of 5) sorted by relevance
101 void *wlan_static_databuf = NULL; variable129 return wlan_static_databuf; in dhd_wlan_mem_prealloc()295 wlan_static_databuf = kmalloc(DHD_PREALLOC_DATABUF_SIZE, GFP_KERNEL); in dhd_init_wlan_mem()296 if (!wlan_static_databuf) in dhd_init_wlan_mem()387 if (wlan_static_databuf) in dhd_init_wlan_mem()388 kfree(wlan_static_databuf); in dhd_init_wlan_mem()483 if (wlan_static_databuf) in dhd_static_buf_exit()484 kfree(wlan_static_databuf); in dhd_static_buf_exit()
108 void *wlan_static_databuf = NULL; variable138 return wlan_static_databuf; in dhd_wlan_mem_prealloc()322 wlan_static_databuf = kmalloc(DHD_PREALLOC_DATABUF_SIZE, GFP_KERNEL); in dhd_init_wlan_mem()323 if (!wlan_static_databuf) in dhd_init_wlan_mem()426 if (wlan_static_databuf) in dhd_init_wlan_mem()427 kfree(wlan_static_databuf); in dhd_init_wlan_mem()528 if (wlan_static_databuf) in dhd_static_buf_exit()529 kfree(wlan_static_databuf); in dhd_static_buf_exit()
118 void *wlan_static_databuf; variable150 return wlan_static_databuf; in bcmdhd_mem_prealloc()318 wlan_static_databuf = kmalloc(DHD_PREALLOC_DATABUF_SIZE, GFP_KERNEL); in bcmdhd_init_wlan_mem()319 if (!wlan_static_databuf) { in bcmdhd_init_wlan_mem()410 if (wlan_static_databuf) { in bcmdhd_init_wlan_mem()411 kfree(wlan_static_databuf); in bcmdhd_init_wlan_mem()
155 void *wlan_static_databuf[MAX_NUM_ADAPTERS] = {NULL}; variable201 return wlan_static_databuf[index]; in dhd_wlan_mem_prealloc()362 if (wlan_static_databuf[index]) { in dhd_deinit_wlan_mem()363 kfree(wlan_static_databuf[index]); in dhd_deinit_wlan_mem()495 wlan_static_databuf[index] = kmalloc(DHD_PREALLOC_DATABUF_SIZE, GFP_KERNEL); in dhd_init_wlan_mem()496 if (!wlan_static_databuf[index]) { in dhd_init_wlan_mem()