fs.h (7d9071a095023cd1db8fa18fa0d648dc1a5210e0) | fs.h (c94c2acf84dc16cf4b989bb0bc849785b7ff52f5) |
---|---|
1#ifndef _LINUX_FS_H 2#define _LINUX_FS_H 3 4#include <linux/linkage.h> 5#include <linux/wait.h> 6#include <linux/kdev_t.h> 7#include <linux/dcache.h> 8#include <linux/path.h> --- 38 unchanged lines hidden (view full) --- 47struct kstatfs; 48struct vm_area_struct; 49struct vfsmount; 50struct cred; 51struct swap_info_struct; 52struct seq_file; 53struct workqueue_struct; 54struct iov_iter; | 1#ifndef _LINUX_FS_H 2#define _LINUX_FS_H 3 4#include <linux/linkage.h> 5#include <linux/wait.h> 6#include <linux/kdev_t.h> 7#include <linux/dcache.h> 8#include <linux/path.h> --- 38 unchanged lines hidden (view full) --- 47struct kstatfs; 48struct vm_area_struct; 49struct vfsmount; 50struct cred; 51struct swap_info_struct; 52struct seq_file; 53struct workqueue_struct; 54struct iov_iter; |
55struct vm_fault; | |
56 57extern void __init inode_init(void); 58extern void __init inode_init_early(void); 59extern void __init files_init(void); 60extern void __init files_maxfiles_init(void); 61 62extern struct files_stat_struct files_stat; 63extern unsigned long get_max_files(void); --- 2609 unchanged lines hidden (view full) --- 2673extern loff_t generic_file_llseek(struct file *file, loff_t offset, int whence); 2674extern loff_t generic_file_llseek_size(struct file *file, loff_t offset, 2675 int whence, loff_t maxsize, loff_t eof); 2676extern loff_t fixed_size_llseek(struct file *file, loff_t offset, 2677 int whence, loff_t size); 2678extern int generic_file_open(struct inode * inode, struct file * filp); 2679extern int nonseekable_open(struct inode * inode, struct file * filp); 2680 | 55 56extern void __init inode_init(void); 57extern void __init inode_init_early(void); 58extern void __init files_init(void); 59extern void __init files_maxfiles_init(void); 60 61extern struct files_stat_struct files_stat; 62extern unsigned long get_max_files(void); --- 2609 unchanged lines hidden (view full) --- 2672extern loff_t generic_file_llseek(struct file *file, loff_t offset, int whence); 2673extern loff_t generic_file_llseek_size(struct file *file, loff_t offset, 2674 int whence, loff_t maxsize, loff_t eof); 2675extern loff_t fixed_size_llseek(struct file *file, loff_t offset, 2676 int whence, loff_t size); 2677extern int generic_file_open(struct inode * inode, struct file * filp); 2678extern int nonseekable_open(struct inode * inode, struct file * filp); 2679 |
2681ssize_t dax_do_io(struct kiocb *, struct inode *, struct iov_iter *, loff_t, 2682 get_block_t, dio_iodone_t, int flags); 2683int dax_clear_blocks(struct inode *, sector_t block, long size); 2684int dax_zero_page_range(struct inode *, loff_t from, unsigned len, get_block_t); 2685int dax_truncate_page(struct inode *, loff_t from, get_block_t); 2686int dax_fault(struct vm_area_struct *, struct vm_fault *, get_block_t, 2687 dax_iodone_t); 2688int __dax_fault(struct vm_area_struct *, struct vm_fault *, get_block_t, 2689 dax_iodone_t); 2690int dax_pfn_mkwrite(struct vm_area_struct *, struct vm_fault *); 2691#define dax_mkwrite(vma, vmf, gb, iod) dax_fault(vma, vmf, gb, iod) 2692#define __dax_mkwrite(vma, vmf, gb, iod) __dax_fault(vma, vmf, gb, iod) 2693 | |
2694#ifdef CONFIG_BLOCK 2695typedef void (dio_submit_t)(int rw, struct bio *bio, struct inode *inode, 2696 loff_t file_offset); 2697 2698enum { 2699 /* need locking between buffered and direct access */ 2700 DIO_LOCKING = 0x01, 2701 --- 356 unchanged lines hidden --- | 2680#ifdef CONFIG_BLOCK 2681typedef void (dio_submit_t)(int rw, struct bio *bio, struct inode *inode, 2682 loff_t file_offset); 2683 2684enum { 2685 /* need locking between buffered and direct access */ 2686 DIO_LOCKING = 0x01, 2687 --- 356 unchanged lines hidden --- |