Home
last modified time | relevance | path

Searched refs:osd_data (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/net/ceph/
Dosd_client.c123 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.12.1/fs/ceph/
Daddr.c213 struct ceph_osd_data *osd_data = osd_req_op_extent_osd_data(req, 0); in finish_netfs_read() local
220 req->r_end_latency, osd_data->length, err); in finish_netfs_read()
239 osd_data->pages, subreq->start, in finish_netfs_read()
247 if (osd_data->type == CEPH_OSD_DATA_TYPE_PAGES) { in finish_netfs_read()
248 ceph_put_page_vector(osd_data->pages, in finish_netfs_read()
249 calc_pages_for(osd_data->alignment, in finish_netfs_read()
250 osd_data->length), false); in finish_netfs_read()
850 struct ceph_osd_data *osd_data; in writepages_finish() local
890 osd_data = osd_req_op_extent_osd_data(req, i); in writepages_finish()
891 BUG_ON(osd_data->type != CEPH_OSD_DATA_TYPE_PAGES); in writepages_finish()
[all …]
Dfile.c1338 struct ceph_osd_data *osd_data = osd_req_op_extent_osd_data(req, 0); in ceph_aio_complete_req() local
1341 unsigned int len = osd_data->bvec_pos.iter.bi_size; in ceph_aio_complete_req()
1345 BUG_ON(osd_data->type != CEPH_OSD_DATA_TYPE_BVECS); in ceph_aio_complete_req()
1346 BUG_ON(!osd_data->num_bvecs); in ceph_aio_complete_req()
1387 iov_iter_bvec(&i, ITER_DEST, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req()
1388 osd_data->num_bvecs, len); in ceph_aio_complete_req()
1404 put_bvecs(osd_data->bvec_pos.bvecs, osd_data->num_bvecs, in ceph_aio_complete_req()
/linux-6.12.1/include/linux/ceph/
Dosd_client.h155 struct ceph_osd_data osd_data; member
162 struct ceph_osd_data osd_data; member
200 struct ceph_osd_data osd_data; member
/linux-6.12.1/drivers/block/
Drbd.c1954 struct ceph_osd_data *osd_data; in rbd_object_map_update_finish() local
1973 osd_data = osd_req_op_data(osd_req, 1, cls, request_data); in rbd_object_map_update_finish()
1974 rbd_assert(osd_data->type == CEPH_OSD_DATA_TYPE_PAGES); in rbd_object_map_update_finish()
1976 p = page_address(osd_data->pages[0]); in rbd_object_map_update_finish()