Lines Matching refs:sr_extent
1256 kfree(sr->sr_extent); in ceph_init_sparse_read()
5790 op->extent.sparse_ext = sr->sr_extent; in prep_next_sparse_read()
5791 sr->sr_extent = NULL; in prep_next_sparse_read()
5825 sr->sr_extent = op->extent.sparse_ext; in prep_next_sparse_read()
5838 struct ceph_sparse_extent *ext = &sr->sr_extent[i]; in convert_extent_map()
5881 if (!sr->sr_extent || count > sr->sr_ext_len) { in osd_sparse_read()
5893 kfree(sr->sr_extent); in osd_sparse_read()
5894 sr->sr_extent = kmalloc_array(count, in osd_sparse_read()
5895 sizeof(*sr->sr_extent), in osd_sparse_read()
5897 if (!sr->sr_extent) in osd_sparse_read()
5901 ret = count * sizeof(*sr->sr_extent); in osd_sparse_read()
5902 *pbuf = (char *)sr->sr_extent; in osd_sparse_read()
5918 len += sr->sr_extent[i].len; in osd_sparse_read()
5932 eoff = sr->sr_extent[sr->sr_index].off; in osd_sparse_read()
5933 elen = sr->sr_extent[sr->sr_index].len; in osd_sparse_read()