• Home
  • Raw
  • Download

Lines Matching refs:file

17 static long ceph_ioctl_get_layout(struct file *file, void __user *arg)  in ceph_ioctl_get_layout()  argument
19 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_get_layout()
23 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_get_layout()
64 static long ceph_ioctl_set_layout(struct file *file, void __user *arg) in ceph_ioctl_set_layout() argument
66 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout()
70 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_set_layout()
78 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_set_layout()
136 static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg) in ceph_ioctl_set_layout_policy() argument
138 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout_policy()
179 static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg) in ceph_ioctl_get_dataloc() argument
182 struct inode *inode = file_inode(file); in ceph_ioctl_get_dataloc()
241 static long ceph_ioctl_lazyio(struct file *file) in ceph_ioctl_lazyio() argument
243 struct ceph_file_info *fi = file->private_data; in ceph_ioctl_lazyio()
244 struct inode *inode = file_inode(file); in ceph_ioctl_lazyio()
252 dout("ioctl_layzio: file %p marked lazy\n", file); in ceph_ioctl_lazyio()
256 dout("ioctl_layzio: file %p already lazy\n", file); in ceph_ioctl_lazyio()
261 static long ceph_ioctl_syncio(struct file *file) in ceph_ioctl_syncio() argument
263 struct ceph_file_info *fi = file->private_data; in ceph_ioctl_syncio()
269 long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ceph_ioctl() argument
271 dout("ioctl file %p cmd %u arg %lu\n", file, cmd, arg); in ceph_ioctl()
274 return ceph_ioctl_get_layout(file, (void __user *)arg); in ceph_ioctl()
277 return ceph_ioctl_set_layout(file, (void __user *)arg); in ceph_ioctl()
280 return ceph_ioctl_set_layout_policy(file, (void __user *)arg); in ceph_ioctl()
283 return ceph_ioctl_get_dataloc(file, (void __user *)arg); in ceph_ioctl()
286 return ceph_ioctl_lazyio(file); in ceph_ioctl()
289 return ceph_ioctl_syncio(file); in ceph_ioctl()