Lines Matching full:file
24 /* This ioctl will allocate pmem space, backing the file, it will fail
25 * if the file already has an allocation, pass it the len as the argument
28 /* This will connect a one pmem file to another, pass the file that is already
61 int is_pmem_file(struct file *file);
63 unsigned long *end, struct file **filp);
64 int get_pmem_user_addr(struct file *file, unsigned long *start,
66 void put_pmem_file(struct file* file);
67 void flush_pmem_file(struct file *file, unsigned long start, unsigned long len);
69 long (*ioctl)(struct file *, unsigned int, unsigned long),
70 int (*release)(struct inode *, struct file *));
71 int pmem_remap(struct pmem_region *region, struct file *file,
75 static inline int is_pmem_file(struct file *file) { return 0; }
78 struct file **filp) { return -ENOSYS; }
79 static inline int get_pmem_user_addr(struct file *file, unsigned long *start,
81 static inline void put_pmem_file(struct file* file) { return; }
82 static inline void flush_pmem_file(struct file *file, unsigned long start,
85 long (*ioctl)(struct file *, unsigned int, unsigned long),
86 int (*release)(struct inode *, struct file *)) { return -ENOSYS; }
88 static inline int pmem_remap(struct pmem_region *region, struct file *file,