Lines Matching refs:file
4 #include <linux/file.h>
125 * display a single VMA to a sequenced file
131 struct file *file;
137 file = vma->vm_file;
139 if (file) {
158 if (file) {
160 seq_path(m, file_user_path(file), "");
252 static int maps_open(struct inode *inode, struct file *file,
257 priv = __seq_open_private(file, ops, sizeof(*priv));
266 seq_release_private(inode, file);
274 static int map_release(struct inode *inode, struct file *file)
276 struct seq_file *seq = file->private_data;
282 return seq_release_private(inode, file);
285 static int pid_maps_open(struct inode *inode, struct file *file)
287 return maps_open(inode, file, &proc_pid_maps_ops);