30#ifndef __CUDBG_LIB_H__
31#define __CUDBG_LIB_H__
34#define min_t(type, _a, _b) (((type)(_a) < (type)(_b)) ? (type)(_a) : (type)(_b))
static int collect_obq_sge_rx_q1(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_ibq_ncsi(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_tid(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_mc1_meminfo(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_ma_la(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_tcp_stats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_reg_dump(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_meminfo(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
int get_entity_hdr(void *outbuf, int i, u32 size, struct cudbg_entity_hdr **)
static int collect_clk_info(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_obq_ulp3(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_tp_la(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_dump_context(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_wc_stats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_obq_sge_rx_q0(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_obq_ulp2(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int(* process_entity[])(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_mc0_meminfo(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cpl_stats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_mbox_log(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_full(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_sw_state(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_hma_indirect(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_obq_ulp0(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_lb_stats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_ulptx_la(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_ulprx_la(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_edc0_meminfo(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_rss(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_obq_ulp1(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cctrl(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
void reset_skip_entity(void)
static int collect_fw_devlog(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_path_mtu(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_up_cim_indirect(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
void skip_entity(int entity_code)
static int collect_cim_obq_ncsi(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_tx_rate(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_mps_tcam(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_qcfg(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
int is_large_entity(int entity_code)
static int collect_cim_ibq_ulp(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_pbt_tables(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_sge_indirect(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_pcie_config(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_ibq_tp1(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_obq_sge(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_la(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_edc1_meminfo(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_rss_pf_config(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_fcoe_stats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_ibq_sge1(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int read_cim_ibq(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *, int)
static int collect_rss_vf_config(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_tp_indirect(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_macstats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_pm_indirect(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_ddp_stats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_rss_config(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_tp_err_stats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_rss_key(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_ibq_sge0(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
int collect_wtp_data(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_pif_la(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int read_cim_obq(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *, int)
static int collect_pm_stats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_ma_indirect(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_hw_sched(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_vpd_data(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_rdma_stats(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_le_tcam(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_cim_ibq_tp0(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)
static int collect_pcie_indirect(struct cudbg_init *, struct cudbg_buffer *, struct cudbg_error *)