Searched refs:gp_disa_ctx (Results 1 – 1 of 1) sorted by relevance
27 static struct wlan_disa_ctx *gp_disa_ctx; variable32 if (gp_disa_ctx) { in disa_allocate_ctx()38 gp_disa_ctx = qdf_mem_malloc(sizeof(*gp_disa_ctx)); in disa_allocate_ctx()39 if (!gp_disa_ctx) in disa_allocate_ctx()42 qdf_spinlock_create(&gp_disa_ctx->lock); in disa_allocate_ctx()49 if (!gp_disa_ctx) { in disa_free_ctx()54 qdf_spinlock_destroy(&gp_disa_ctx->lock); in disa_free_ctx()55 qdf_mem_free(gp_disa_ctx); in disa_free_ctx()56 gp_disa_ctx = NULL; in disa_free_ctx()61 return gp_disa_ctx; in disa_get_context()