Lines Matching refs:ibd
99 struct qib_ibdev *ibd = (struct qib_ibdev *)s->private; in _opcode_stats_seq_show() local
100 struct qib_devdata *dd = dd_from_dev(ibd); in _opcode_stats_seq_show()
121 struct qib_ibdev *ibd = (struct qib_ibdev *)s->private; in DEBUGFS_FILE() local
122 struct qib_devdata *dd = dd_from_dev(ibd); in DEBUGFS_FILE()
133 struct qib_ibdev *ibd = (struct qib_ibdev *)s->private; in _ctx_stats_seq_next() local
134 struct qib_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_next()
155 struct qib_ibdev *ibd = (struct qib_ibdev *)s->private; in _ctx_stats_seq_show() local
156 struct qib_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_show()
241 void qib_dbg_ibdev_init(struct qib_ibdev *ibd) in DEBUGFS_FILE()
246 snprintf(name, sizeof(name), "qib%d", dd_from_dev(ibd)->unit); in DEBUGFS_FILE()
248 ibd->qib_ibdev_dbg = root; in DEBUGFS_FILE()
250 debugfs_create_file("opcode_stats", 0400, root, ibd, in DEBUGFS_FILE()
252 debugfs_create_file("ctx_stats", 0400, root, ibd, &_ctx_stats_file_ops); in DEBUGFS_FILE()
253 debugfs_create_file("qp_stats", 0400, root, ibd, &_qp_stats_file_ops); in DEBUGFS_FILE()
256 void qib_dbg_ibdev_exit(struct qib_ibdev *ibd) in qib_dbg_ibdev_exit() argument
260 debugfs_remove_recursive(ibd->qib_ibdev_dbg); in qib_dbg_ibdev_exit()
262 ibd->qib_ibdev_dbg = NULL; in qib_dbg_ibdev_exit()