Lines Matching refs:file
39 unsigned int type, bool increment, struct file *file, int page) in mtrr_file_add() argument
41 unsigned int *fcount = FILE_FCOUNT(file); in mtrr_file_add()
49 FILE_FCOUNT(file) = fcount; in mtrr_file_add()
65 struct file *file, int page) in mtrr_file_del() argument
67 unsigned int *fcount = FILE_FCOUNT(file); in mtrr_file_del()
94 mtrr_write(struct file *file, const char __user *buf, size_t len, loff_t * ppos) in mtrr_write() argument
166 mtrr_ioctl(struct file *file, unsigned int cmd, unsigned long __arg) in mtrr_ioctl() argument
239 file, 0); in mtrr_ioctl()
255 err = mtrr_file_del(sentry.base, sentry.size, file, 0); in mtrr_ioctl()
292 file, 1); in mtrr_ioctl()
309 err = mtrr_file_del(sentry.base, sentry.size, file, 1); in mtrr_ioctl()
363 static int mtrr_close(struct inode *ino, struct file *file) in mtrr_close() argument
365 unsigned int *fcount = FILE_FCOUNT(file); in mtrr_close()
377 FILE_FCOUNT(file) = NULL; in mtrr_close()
379 return single_release(ino, file); in mtrr_close()
384 static int mtrr_open(struct inode *inode, struct file *file) in mtrr_open() argument
390 return single_open(file, mtrr_seq_show, NULL); in mtrr_open()