Lines Matching refs:file
2325 struct file *swap_file = sis->swap_file; in destroy_swap_extents()
2412 struct file *swap_file = sis->swap_file; in setup_swap_extents()
2533 struct file *swap_file, *victim; in SYSCALL_DEFINE1()
2694 static unsigned swaps_poll(struct file *file, poll_table *wait) in swaps_poll() argument
2696 struct seq_file *seq = file->private_data; in swaps_poll()
2698 poll_wait(file, &proc_poll_wait, wait); in swaps_poll()
2762 struct file *file; in swap_show() local
2770 file = si->swap_file; in swap_show()
2771 len = seq_file_path(swap, file, " \t\n\\"); in swap_show()
2774 S_ISBLK(file_inode(file)->i_mode) ? in swap_show()
2789 static int swaps_open(struct inode *inode, struct file *file) in swaps_open() argument
2794 ret = seq_open(file, &swaps_op); in swaps_open()
2798 seq = file->private_data; in swaps_open()
3111 struct file *swap_file = NULL; in SYSCALL_DEFINE2()