Home
last modified time | relevance | path

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

/Linux-v5.4/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.c551 struct ceph_snap_context *snapc = req->r_snapc; in request_reinit()
576 struct ceph_snap_context *snapc, in ceph_osdc_alloc_request()
1069 struct ceph_snap_context *snapc, in ceph_osdc_new_request()
5277 struct ceph_snap_context *snapc, in ceph_osdc_writepages()
/Linux-v5.4/include/linux/ceph/
Dlibceph.h163 struct ceph_snap_context { struct
170 extern struct ceph_snap_context *ceph_create_snap_context(u32 snap_count, argument
172 extern struct ceph_snap_context *ceph_get_snap_context(
173 struct ceph_snap_context *sc);
174 extern void ceph_put_snap_context(struct ceph_snap_context *sc);
Dosd_client.h20 struct ceph_snap_context;
208 struct ceph_snap_context *r_snapc; /* for writes */
474 struct ceph_snap_context *snapc,
486 struct ceph_snap_context *snapc,
523 struct ceph_snap_context *sc,
/Linux-v5.4/fs/ceph/
Daddr.c62 static inline struct ceph_snap_context *page_snap_context(struct page *page) in page_snap_context()
78 struct ceph_snap_context *snapc; in ceph_set_page_dirty()
145 struct ceph_snap_context *snapc = page_snap_context(page); in ceph_invalidatepage()
489 static struct ceph_snap_context *
491 struct ceph_snap_context *page_snapc) in get_oldest_context()
494 struct ceph_snap_context *snapc = NULL; in get_oldest_context()
550 struct ceph_snap_context *snapc = page_snap_context(page); in get_writepages_data_length()
584 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock()
702 struct ceph_snap_context *snapc = req->r_snapc; in writepages_finish()
787 struct ceph_snap_context *snapc = NULL, *last_snapc = NULL, *pgsnapc; in ceph_writepages_start()
[all …]
Dsuper.h197 struct ceph_snap_context *context;
359 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or
821 struct ceph_snap_context *cached_context;
1061 struct ceph_snap_context *snapc);
Dsnap.c312 struct ceph_snap_context *snapc; in build_snap_context()
440 static bool has_new_snaps(struct ceph_snap_context *o, in has_new_snaps()
441 struct ceph_snap_context *n) in has_new_snaps()
467 struct ceph_snap_context *old_snapc, *new_snapc; in ceph_queue_cap_snap()
Dfile.c867 struct ceph_snap_context *snapc; in ceph_aio_retry_work()
927 struct ceph_snap_context *snapc, in ceph_direct_read_write()
1130 struct ceph_snap_context *snapc) in ceph_sync_write()
1504 struct ceph_snap_context *snapc; in ceph_write_iter()
Dcaps.c2957 struct ceph_snap_context *snapc) in ceph_put_wrbuffer_cap_refs()
/Linux-v5.4/drivers/block/
Drbd.c157 struct ceph_snap_context *snapc;
338 struct ceph_snap_context *snapc; /* for writes */
487 static struct ceph_snap_context rbd_empty_snapc = {
1062 size = SIZE_MAX - sizeof (struct ceph_snap_context); in rbd_dev_ondisk_valid()
1110 struct ceph_snap_context *snapc; in rbd_header_from_disk()
1243 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_dev_snap_index()
1566 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request()
1734 struct ceph_snap_context *snapc) in rbd_img_request_create()
3270 struct ceph_snap_context *snapc = obj_req->img_request->snapc; in rbd_obj_copyup_object_maps()
4795 struct ceph_snap_context *snapc = NULL; in rbd_queue_workfn()
[all …]