• Home
  • Raw
  • Download

Lines Matching refs:file

16 static long ceph_ioctl_get_layout(struct file *file, void __user *arg)  in ceph_ioctl_get_layout()  argument
18 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_get_layout()
22 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_get_layout()
63 static long ceph_ioctl_set_layout(struct file *file, void __user *arg) in ceph_ioctl_set_layout() argument
65 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout()
69 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_set_layout()
77 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_set_layout()
135 static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg) in ceph_ioctl_set_layout_policy() argument
137 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout_policy()
178 static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg) in ceph_ioctl_get_dataloc() argument
181 struct inode *inode = file_inode(file); in ceph_ioctl_get_dataloc()
245 static long ceph_ioctl_lazyio(struct file *file) in ceph_ioctl_lazyio() argument
247 struct ceph_file_info *fi = file->private_data; in ceph_ioctl_lazyio()
248 struct inode *inode = file_inode(file); in ceph_ioctl_lazyio()
256 dout("ioctl_layzio: file %p marked lazy\n", file); in ceph_ioctl_lazyio()
260 dout("ioctl_layzio: file %p already lazy\n", file); in ceph_ioctl_lazyio()
265 static long ceph_ioctl_syncio(struct file *file) in ceph_ioctl_syncio() argument
267 struct ceph_file_info *fi = file->private_data; in ceph_ioctl_syncio()
273 long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ceph_ioctl() argument
275 dout("ioctl file %p cmd %u arg %lu\n", file, cmd, arg); in ceph_ioctl()
278 return ceph_ioctl_get_layout(file, (void __user *)arg); in ceph_ioctl()
281 return ceph_ioctl_set_layout(file, (void __user *)arg); in ceph_ioctl()
284 return ceph_ioctl_set_layout_policy(file, (void __user *)arg); in ceph_ioctl()
287 return ceph_ioctl_get_dataloc(file, (void __user *)arg); in ceph_ioctl()
290 return ceph_ioctl_lazyio(file); in ceph_ioctl()
293 return ceph_ioctl_syncio(file); in ceph_ioctl()