Lines Matching defs:file
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
25 static int cache_seq_show(struct seq_file *file, void *iter)
27 unsigned int cache_type = (unsigned int)file->private;
43 seq_printf(file, "disabled\n");
70 seq_printf(file, "-----------------------------------------\n");
71 seq_printf(file, "Way %d\n", way);
72 seq_printf(file, "-----------------------------------------\n");
84 seq_printf(file, "%3d: %c 0x%lx\n",
97 static int cache_debugfs_open(struct inode *inode, struct file *file)
99 return single_open(file, cache_seq_show, inode->i_private);