ceph_file_layout
static bool rbd_layout_is_fancy(struct ceph_file_layout *l)
struct ceph_file_layout layout; /* used for all rbd requests */
struct ceph_file_layout *lo = &ci->i_layout;
struct ceph_file_layout *lo, u64 *pino)
struct ceph_file_layout *lo)
struct ceph_file_layout lo;
struct ceph_file_layout i_layout;
struct ceph_file_layout i_cached_layout; // for async creates
int ceph_file_layout_is_valid(const struct ceph_file_layout *layout)
void ceph_file_layout_from_legacy(struct ceph_file_layout *fl,
void ceph_file_layout_to_legacy(struct ceph_file_layout *fl,
struct ceph_file_layout *fl = &ci->i_layout;
extern int ceph_file_layout_is_valid(const struct ceph_file_layout *layout);
extern void ceph_file_layout_from_legacy(struct ceph_file_layout *fl,
extern void ceph_file_layout_to_legacy(struct ceph_file_layout *fl,
struct ceph_file_layout *layout,
void ceph_calc_file_object_mapping(struct ceph_file_layout *l,
int ceph_file_to_extents(struct ceph_file_layout *l, u64 off, u64 len,
int ceph_iterate_extents(struct ceph_file_layout *l, u64 off, u64 len,
int ceph_extent_to_file(struct ceph_file_layout *l,
u64 ceph_get_num_objects(struct ceph_file_layout *l, u64 size);
struct ceph_file_layout;
static int calc_layout(struct ceph_file_layout *layout, u64 off, u64 *plen,
struct ceph_file_layout *layout,
int ceph_file_to_extents(struct ceph_file_layout *l, u64 off, u64 len,
int ceph_iterate_extents(struct ceph_file_layout *l, u64 off, u64 len,
int ceph_extent_to_file(struct ceph_file_layout *l,
void ceph_calc_file_object_mapping(struct ceph_file_layout *l,
u64 ceph_get_num_objects(struct ceph_file_layout *l, u64 size)