Lines Matching refs:ci

18 	struct ceph_inode_info *ci = ceph_inode(file_inode(file));  in ceph_ioctl_get_layout()  local
24 l.stripe_unit = ceph_file_layout_su(ci->i_layout); in ceph_ioctl_get_layout()
25 l.stripe_count = ceph_file_layout_stripe_count(ci->i_layout); in ceph_ioctl_get_layout()
26 l.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_get_layout()
27 l.data_pool = le32_to_cpu(ci->i_layout.fl_pg_pool); in ceph_ioctl_get_layout()
69 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_set_layout() local
85 nl.stripe_count = ceph_file_layout_stripe_count(ci->i_layout); in ceph_ioctl_set_layout()
89 nl.stripe_unit = ceph_file_layout_su(ci->i_layout); in ceph_ioctl_set_layout()
93 nl.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_set_layout()
97 nl.data_pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_ioctl_set_layout()
182 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_ioctl_get_dataloc() local
197 r = ceph_calc_file_object_mapping(&ci->i_layout, dl.file_offset, len, in ceph_ioctl_get_dataloc()
205 dl.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_get_dataloc()
206 dl.block_size = ceph_file_layout_su(ci->i_layout); in ceph_ioctl_get_dataloc()
215 oloc.pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_ioctl_get_dataloc()
246 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_ioctl_lazyio() local
249 spin_lock(&ci->i_ceph_lock); in ceph_ioctl_lazyio()
250 ci->i_nr_by_mode[fi->fmode]--; in ceph_ioctl_lazyio()
252 ci->i_nr_by_mode[fi->fmode]++; in ceph_ioctl_lazyio()
253 spin_unlock(&ci->i_ceph_lock); in ceph_ioctl_lazyio()
256 ceph_check_caps(ci, 0, NULL); in ceph_ioctl_lazyio()