Home
last modified time | relevance | path

Searched refs:i_layout (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/fs/ceph/
H A Dioctl.c26 l.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_get_layout()
27 l.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_get_layout()
28 l.object_size = ci->i_layout.object_size; in ceph_ioctl_get_layout()
29 l.data_pool = ci->i_layout.pool_id; in ceph_ioctl_get_layout()
87 nl.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_set_layout()
91 nl.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_set_layout()
95 nl.object_size = ci->i_layout.object_size; in ceph_ioctl_set_layout()
99 nl.data_pool = ci->i_layout.pool_id; in ceph_ioctl_set_layout()
199 ceph_calc_file_object_mapping(&ci->i_layout, dl.file_offset, 1, in ceph_ioctl_get_dataloc()
202 dl.object_size = ci->i_layout.object_size; in ceph_ioctl_get_dataloc()
[all …]
H A Dfile.c453 memcpy(&cdst->i_cached_layout, &csrc->i_layout, in cache_file_layout()
456 ceph_try_get_string(csrc->i_layout.pool_ns)); in cache_file_layout()
1012 req = ceph_osdc_new_request(osdc, &ci->i_layout, in __ceph_sync_read()
1444 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1660 ceph_calc_file_object_mapping(&ci->i_layout, write_pos, in ceph_sync_write()
1712 req = ceph_osdc_new_request(osdc, &ci->i_layout, in ceph_sync_write()
1906 req = ceph_osdc_new_request(osdc, &ci->i_layout, in ceph_sync_write()
2293 pool_flags = ceph_pg_pool_flags(osdc->osdmap, ci->i_layout.pool_id); in ceph_write_iter()
2487 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
2513 s32 stripe_unit = ci->i_layout.stripe_unit; in ceph_zero_objects()
[all …]
H A Dxattr.c51 struct ceph_file_layout *fl = &ci->i_layout; in ceph_vxattrcb_layout_exists()
63 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout()
70 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout()
78 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout()
79 ci->i_layout.object_size); in ceph_vxattrcb_layout()
84 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout()
85 ci->i_layout.object_size, pool); in ceph_vxattrcb_layout()
145 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.stripe_unit); in ceph_vxattrcb_layout_stripe_unit()
151 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.stripe_count); in ceph_vxattrcb_layout_stripe_count()
157 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.object_size); in ceph_vxattrcb_layout_object_size()
[all …]
H A Daddr.c189 struct ceph_file_layout *lo = &ci->i_layout; in ceph_netfs_expand_readahead()
237 ceph_calc_file_object_mapping(&ci->i_layout, subreq->start, subreq->len, in ceph_netfs_clamp_length()
370 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, vino, in ceph_netfs_issue_read()
719 req = ceph_osdc_new_request(osdc, &ci->i_layout, ceph_vino(inode), in writepage_nounlock()
1115 ceph_calc_file_object_mapping(&ci->i_layout, in ceph_writepages_start()
1213 &ci->i_layout, vino, in ceph_writepages_start()
1220 &ci->i_layout, vino, in ceph_writepages_start()
1875 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data()
1891 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data()
2183 pool = ci->i_layout.pool_id; in ceph_pool_perm_check()
[all …]
H A Dinode.c586 RCU_INIT_POINTER(ci->i_layout.pool_ns, NULL); in ceph_alloc_inode()
726 ceph_put_string(rcu_dereference_raw(ci->i_layout.pool_ns)); in ceph_evict_inode()
1072 s64 old_pool = ci->i_layout.pool_id; in ceph_fill_inode()
1075 ceph_file_layout_from_legacy(&ci->i_layout, &info->layout); in ceph_fill_inode()
1076 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in ceph_fill_inode()
1078 rcu_assign_pointer(ci->i_layout.pool_ns, pool_ns); in ceph_fill_inode()
1080 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in ceph_fill_inode()
H A Dcrypto.c596 ceph_calc_file_object_mapping(&ci->i_layout, off, map[0].len, in ceph_fscrypt_decrypt_extents()
H A Dcaps.c3559 s64 old_pool = ci->i_layout.pool_id; in handle_cap_grant()
3562 ceph_file_layout_from_legacy(&ci->i_layout, &grant->layout); in handle_cap_grant()
3563 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_grant()
3565 rcu_assign_pointer(ci->i_layout.pool_ns, extra_info->pool_ns); in handle_cap_grant()
3567 if (ci->i_layout.pool_id != old_pool || in handle_cap_grant()
H A Dsuper.h362 struct ceph_file_layout i_layout; member