Lines Matching refs:cudbg_init
104 static void cxgb4_cudbg_collect_entity(struct cudbg_init *pdbg_init, in cxgb4_cudbg_collect_entity()
142 static int cudbg_alloc_compress_buff(struct cudbg_init *pdbg_init) in cudbg_alloc_compress_buff()
158 static void cudbg_free_compress_buff(struct cudbg_init *pdbg_init) in cudbg_free_compress_buff()
168 struct cudbg_init cudbg_init; in cxgb4_cudbg_collect() local
174 memset(&cudbg_init, 0, sizeof(struct cudbg_init)); in cxgb4_cudbg_collect()
175 cudbg_init.adap = adap; in cxgb4_cudbg_collect()
176 cudbg_init.outbuf = buf; in cxgb4_cudbg_collect()
177 cudbg_init.outbuf_size = size; in cxgb4_cudbg_collect()
201 cudbg_init.compress_type = CUDBG_COMPRESSION_ZLIB; in cxgb4_cudbg_collect()
202 rc = cudbg_alloc_compress_buff(&cudbg_init); in cxgb4_cudbg_collect()
208 cudbg_init.compress_type = CUDBG_COMPRESSION_NONE; in cxgb4_cudbg_collect()
212 cudbg_init.compress_type = CUDBG_COMPRESSION_NONE; in cxgb4_cudbg_collect()
215 cudbg_hdr->compress_type = cudbg_init.compress_type; in cxgb4_cudbg_collect()
220 cxgb4_cudbg_collect_entity(&cudbg_init, &dbg_buff, in cxgb4_cudbg_collect()
227 cxgb4_cudbg_collect_entity(&cudbg_init, &dbg_buff, in cxgb4_cudbg_collect()
234 cxgb4_cudbg_collect_entity(&cudbg_init, &dbg_buff, in cxgb4_cudbg_collect()
240 cudbg_free_compress_buff(&cudbg_init); in cxgb4_cudbg_collect()
242 if (cudbg_init.compress_type != CUDBG_COMPRESSION_NONE) in cxgb4_cudbg_collect()