Home
last modified time | relevance | path

Searched refs:ceph_snap_context (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/net/ceph/
Dsnapshot.c27 struct ceph_snap_context *ceph_create_snap_context(u32 snap_count, in ceph_create_snap_context()
30 struct ceph_snap_context *snapc; in ceph_create_snap_context()
33 size = sizeof (struct ceph_snap_context); in ceph_create_snap_context()
46 struct ceph_snap_context *ceph_get_snap_context(struct ceph_snap_context *sc) in ceph_get_snap_context()
54 void ceph_put_snap_context(struct ceph_snap_context *sc) in ceph_put_snap_context()
Dosd_client.c553 struct ceph_snap_context *snapc = req->r_snapc; in request_reinit()
578 struct ceph_snap_context *snapc, in ceph_osdc_alloc_request()
1070 struct ceph_snap_context *snapc, in ceph_osdc_new_request()
/Linux-v5.15/include/linux/ceph/
Dlibceph.h172 struct ceph_snap_context { struct
179 extern struct ceph_snap_context *ceph_create_snap_context(u32 snap_count, argument
181 extern struct ceph_snap_context *ceph_get_snap_context(
182 struct ceph_snap_context *sc);
183 extern void ceph_put_snap_context(struct ceph_snap_context *sc);
Dosd_client.h21 struct ceph_snap_context;
211 struct ceph_snap_context *r_snapc; /* for writes */
480 struct ceph_snap_context *snapc,
492 struct ceph_snap_context *snapc,
/Linux-v5.15/fs/ceph/
Daddr.c68 static inline struct ceph_snap_context *page_snap_context(struct page *page) in page_snap_context()
84 struct ceph_snap_context *snapc; in ceph_set_page_dirty()
142 struct ceph_snap_context *snapc; in ceph_invalidatepage()
393 static struct ceph_snap_context *
395 struct ceph_snap_context *page_snapc) in get_oldest_context()
398 struct ceph_snap_context *snapc = NULL; in get_oldest_context()
454 struct ceph_snap_context *snapc = page_snap_context(page); in get_writepages_data_length()
488 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock()
627 struct ceph_snap_context *snapc = req->r_snapc; in writepages_finish()
714 struct ceph_snap_context *snapc = NULL, *last_snapc = NULL, *pgsnapc; in ceph_writepages_start()
[all …]
Dsuper.h205 struct ceph_snap_context *context;
386 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or
880 struct ceph_snap_context *cached_context;
1163 struct ceph_snap_context *snapc);
Dsnap.c326 struct ceph_snap_context *snapc; in build_snap_context()
454 static bool has_new_snaps(struct ceph_snap_context *o, in has_new_snaps()
455 struct ceph_snap_context *n) in has_new_snaps()
481 struct ceph_snap_context *old_snapc, *new_snapc; in ceph_queue_cap_snap()
Dfile.c1115 struct ceph_snap_context *snapc; in ceph_aio_retry_work()
1175 struct ceph_snap_context *snapc, in ceph_direct_read_write()
1386 struct ceph_snap_context *snapc) in ceph_sync_write()
1767 struct ceph_snap_context *snapc; in ceph_write_iter()
Dcaps.c3143 struct ceph_snap_context *snapc) in ceph_put_wrbuffer_cap_refs()
/Linux-v5.15/drivers/block/
Drbd.c157 struct ceph_snap_context *snapc;
338 struct ceph_snap_context *snapc; /* for writes */
483 static struct ceph_snap_context rbd_empty_snapc = {
960 size = SIZE_MAX - sizeof (struct ceph_snap_context); in rbd_dev_ondisk_valid()
1008 struct ceph_snap_context *snapc; in rbd_header_from_disk()
1141 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_dev_snap_index()
1410 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request()
3119 struct ceph_snap_context *snapc = obj_req->img_request->snapc; in rbd_obj_copyup_object_maps()
5901 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_v1_snap_id_by_name()
5919 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_v2_snap_id_by_name()
[all …]