Searched refs:osd_data (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/net/ceph/ |
D | osd_client.c | 123 static void ceph_osd_data_init(struct ceph_osd_data *osd_data) in ceph_osd_data_init() argument 125 memset(osd_data, 0, sizeof (*osd_data)); in ceph_osd_data_init() 126 osd_data->type = CEPH_OSD_DATA_TYPE_NONE; in ceph_osd_data_init() 132 static void ceph_osd_data_pages_init(struct ceph_osd_data *osd_data, in ceph_osd_data_pages_init() argument 136 osd_data->type = CEPH_OSD_DATA_TYPE_PAGES; in ceph_osd_data_pages_init() 137 osd_data->pages = pages; in ceph_osd_data_pages_init() 138 osd_data->length = length; in ceph_osd_data_pages_init() 139 osd_data->alignment = alignment; in ceph_osd_data_pages_init() 140 osd_data->pages_from_pool = pages_from_pool; in ceph_osd_data_pages_init() 141 osd_data->own_pages = own_pages; in ceph_osd_data_pages_init() [all …]
|
/linux-6.1.9/fs/ceph/ |
D | addr.c | 220 struct ceph_osd_data *osd_data = osd_req_op_extent_osd_data(req, 0); in finish_netfs_read() local 226 req->r_end_latency, osd_data->length, err); in finish_netfs_read() 242 num_pages = calc_pages_for(osd_data->alignment, osd_data->length); in finish_netfs_read() 243 ceph_put_page_vector(osd_data->pages, num_pages, false); in finish_netfs_read() 700 struct ceph_osd_data *osd_data; in writepages_finish() local 738 osd_data = osd_req_op_extent_osd_data(req, i); in writepages_finish() 739 BUG_ON(osd_data->type != CEPH_OSD_DATA_TYPE_PAGES); in writepages_finish() 740 len += osd_data->length; in writepages_finish() 741 num_pages = calc_pages_for((u64)osd_data->alignment, in writepages_finish() 742 (u64)osd_data->length); in writepages_finish() [all …]
|
D | file.c | 1121 struct ceph_osd_data *osd_data = osd_req_op_extent_osd_data(req, 0); in ceph_aio_complete_req() local 1123 unsigned int len = osd_data->bvec_pos.iter.bi_size; in ceph_aio_complete_req() 1125 BUG_ON(osd_data->type != CEPH_OSD_DATA_TYPE_BVECS); in ceph_aio_complete_req() 1126 BUG_ON(!osd_data->num_bvecs); in ceph_aio_complete_req() 1164 iov_iter_bvec(&i, READ, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req() 1165 osd_data->num_bvecs, len); in ceph_aio_complete_req() 1181 put_bvecs(osd_data->bvec_pos.bvecs, osd_data->num_bvecs, in ceph_aio_complete_req()
|
/linux-6.1.9/include/linux/ceph/ |
D | osd_client.h | 101 struct ceph_osd_data osd_data; member 108 struct ceph_osd_data osd_data; member 146 struct ceph_osd_data osd_data; member
|
/linux-6.1.9/drivers/block/ |
D | rbd.c | 1931 struct ceph_osd_data *osd_data; in rbd_object_map_update_finish() local 1950 osd_data = osd_req_op_data(osd_req, 1, cls, request_data); in rbd_object_map_update_finish() 1951 rbd_assert(osd_data->type == CEPH_OSD_DATA_TYPE_PAGES); in rbd_object_map_update_finish() 1953 p = page_address(osd_data->pages[0]); in rbd_object_map_update_finish()
|