Lines Matching refs:file
2295 struct file *swap_file = sis->swap_file; in destroy_swap_extents()
2383 struct file *swap_file = sis->swap_file; in setup_swap_extents()
2521 struct file *swap_file, *victim; in SYSCALL_DEFINE1()
2694 static __poll_t 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()
2758 struct file *file; in swap_show() local
2766 file = si->swap_file; in swap_show()
2767 len = seq_file_path(swap, file, " \t\n\\"); in swap_show()
2770 S_ISBLK(file_inode(file)->i_mode) ? in swap_show()
2785 static int swaps_open(struct inode *inode, struct file *file) in swaps_open() argument
2790 ret = seq_open(file, &swaps_op); in swaps_open()
2794 seq = file->private_data; in swaps_open()
3106 struct file *swap_file = NULL; in SYSCALL_DEFINE2()