Searched refs:layout (Results 1 – 2 of 2) sorted by relevance
/net/ceph/ |
D | ceph_fs.c | 11 int ceph_file_layout_is_valid(const struct ceph_file_layout *layout) in ceph_file_layout_is_valid() argument 13 __u32 su = layout->stripe_unit; in ceph_file_layout_is_valid() 14 __u32 sc = layout->stripe_count; in ceph_file_layout_is_valid() 15 __u32 os = layout->object_size; in ceph_file_layout_is_valid()
|
D | osd_client.c | 103 static int calc_layout(struct ceph_file_layout *layout, u64 off, u64 *plen, in calc_layout() argument 110 ceph_calc_file_object_mapping(layout, off, orig_len, objnum, in calc_layout() 1065 struct ceph_file_layout *layout, in ceph_osdc_new_request() argument 1093 r = calc_layout(layout, off, plen, &objnum, &objoff, &objlen); in ceph_osdc_new_request() 1100 u32 object_size = layout->object_size; in ceph_osdc_new_request() 1116 req->r_base_oloc.pool = layout->pool_id; in ceph_osdc_new_request() 1117 req->r_base_oloc.pool_ns = ceph_try_get_string(layout->pool_ns); in ceph_osdc_new_request() 5247 struct ceph_vino vino, struct ceph_file_layout *layout, in ceph_osdc_readpages() argument 5257 req = ceph_osdc_new_request(osdc, layout, vino, off, plen, 0, 1, in ceph_osdc_readpages() 5285 struct ceph_file_layout *layout, in ceph_osdc_writepages() argument [all …]
|