Lines Matching refs:name
43 #define DEBUGFS_FILE(name) \
44 static const struct seq_operations _##name##_seq_ops = { \
45 .start = _##name##_seq_start, \
46 .next = _##name##_seq_next, \
47 .stop = _##name##_seq_stop, \
48 .show = _##name##_seq_show \
50 static int _##name##_open(struct inode *inode, struct file *s) \
54 ret = seq_open(s, &_##name##_seq_ops); \
61 static const struct file_operations _##name##_file_ops = { \
63 .open = _##name##_open, \
244 char name[10];
246 snprintf(name, sizeof(name), "qib%d", dd_from_dev(ibd)->unit);
247 root = debugfs_create_dir(name, qib_dbg_root);