Lines Matching defs:g_debbuf
888 static _cdebbuf *g_debbuf;
897 cdb = g_debbuf;
923 if (likely(cdb == g_debbuf)) {
951 if (likely(cdb == g_debbuf))
1014 g_debbuf = kmalloc(sizeof(_cdebbuf), GFP_KERNEL);
1015 if (!g_debbuf) {
1019 g_debbuf->buf = kmalloc(CDEBUG_GSIZE, GFP_KERNEL);
1020 if (!g_debbuf->buf) {
1022 kfree(g_debbuf);
1025 g_debbuf->size = CDEBUG_GSIZE;
1026 g_debbuf->buf[0] = 0;
1027 g_debbuf->p = g_debbuf->buf;
1028 g_debbuf->pos = 0;
1034 if (g_debbuf)
1035 kfree(g_debbuf->buf);
1036 kfree(g_debbuf);
1042 static _cdebbuf g_debbuf = {"CONFIG_CAPI_TRACE not enabled", NULL, 0, 0};
1046 return &g_debbuf;
1051 return &g_debbuf;