Home
last modified time | relevance | path

Searched refs:ceph_snap_context (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/net/ceph/
H A 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()
H A Dosd_client.c541 struct ceph_snap_context *snapc, in ceph_osdc_alloc_request()
1049 struct ceph_snap_context *snapc, in ceph_osdc_new_request()
/kernel/linux/linux-6.6/net/ceph/
H A 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()
H A Dosd_client.c568 struct ceph_snap_context *snapc, in ceph_osdc_alloc_request()
1084 struct ceph_snap_context *snapc, in ceph_osdc_new_request()
/kernel/linux/linux-5.10/include/linux/ceph/
H A Dlibceph.h162 * The ceph_snap_context is refcounted, and attached to each dirty
166 struct ceph_snap_context { struct
173 extern struct ceph_snap_context *ceph_create_snap_context(u32 snap_count,
175 extern struct ceph_snap_context *ceph_get_snap_context(
176 struct ceph_snap_context *sc);
177 extern void ceph_put_snap_context(struct ceph_snap_context *sc);
H A Dosd_client.h21 struct ceph_snap_context;
211 struct ceph_snap_context *r_snapc; /* for writes */
483 struct ceph_snap_context *snapc,
495 struct ceph_snap_context *snapc,
/kernel/linux/linux-6.6/include/linux/ceph/
H A Dlibceph.h159 * The ceph_snap_context is refcounted, and attached to each dirty
163 struct ceph_snap_context { struct
170 extern struct ceph_snap_context *ceph_create_snap_context(u32 snap_count,
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);
H A Dosd_client.h21 struct ceph_snap_context;
269 struct ceph_snap_context *r_snapc; /* for writes */
551 struct ceph_snap_context *snapc,
563 struct ceph_snap_context *snapc,
/kernel/linux/linux-5.10/fs/ceph/
H A Daddr.c29 * ceph_snap_context for _every_ dirty page. This indicates which
64 static inline struct ceph_snap_context *page_snap_context(struct page *page) in page_snap_context()
80 struct ceph_snap_context *snapc; in ceph_set_page_dirty()
139 struct ceph_snap_context *snapc = page_snap_context(page); in ceph_invalidatepage()
501 static struct ceph_snap_context *
503 struct ceph_snap_context *page_snapc) in get_oldest_context()
506 struct ceph_snap_context *snapc = NULL; in get_oldest_context()
562 struct ceph_snap_context *snapc = page_snap_context(page); in get_writepages_data_length()
596 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock()
735 struct ceph_snap_context *snap in writepages_finish()
[all...]
H A Dsuper.h204 struct ceph_snap_context *context;
385 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or
878 struct ceph_snap_context *cached_context;
1132 struct ceph_snap_context *snapc);
H A 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()
H A Dfile.c1145 struct ceph_snap_context *snapc; in ceph_aio_retry_work()
1205 struct ceph_snap_context *snapc, in ceph_direct_read_write()
1416 struct ceph_snap_context *snapc) in ceph_sync_write()
1804 struct ceph_snap_context *snapc; in ceph_write_iter()
H A Dcaps.c3211 struct ceph_snap_context *snapc) in ceph_put_wrbuffer_cap_refs()
/kernel/linux/linux-6.6/fs/ceph/
H A Daddr.c31 * ceph_snap_context for _every_ dirty page. This indicates which
69 static inline struct ceph_snap_context *page_snap_context(struct page *page) in page_snap_context()
84 struct ceph_snap_context *snapc; in ceph_dirty_folio()
142 struct ceph_snap_context *snapc; in ceph_invalidate_folio()
561 static struct ceph_snap_context *
563 struct ceph_snap_context *page_snapc) in get_oldest_context()
566 struct ceph_snap_context *snapc = NULL; in get_oldest_context()
622 struct ceph_snap_context *snapc; in get_writepages_data_length()
662 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock()
837 struct ceph_snap_context *snap in writepages_finish()
[all...]
H A Dsuper.h228 struct ceph_snap_context *context;
415 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or
939 struct ceph_snap_context *cached_context;
1253 struct ceph_snap_context *snapc);
H A Dsnap.c337 struct ceph_snap_context *snapc; in build_snap_context()
499 static bool has_new_snaps(struct ceph_snap_context *o, in has_new_snaps()
500 struct ceph_snap_context *n) in has_new_snaps()
526 struct ceph_snap_context *old_snapc, *new_snapc; in ceph_queue_cap_snap()
H A Dfile.c1326 struct ceph_snap_context *snapc; in ceph_aio_retry_work()
1386 struct ceph_snap_context *snapc, in ceph_direct_read_write()
1611 struct ceph_snap_context *snapc) in ceph_sync_write()
2325 struct ceph_snap_context *snapc; in ceph_write_iter()
H A Dcaps.c3265 struct ceph_snap_context *snapc) in ceph_put_wrbuffer_cap_refs()
/kernel/linux/linux-5.10/drivers/block/
H A Drbd.c157 struct ceph_snap_context *snapc;
338 struct ceph_snap_context *snapc; /* for writes */
483 static struct ceph_snap_context rbd_empty_snapc = {
1010 size = SIZE_MAX - sizeof (struct ceph_snap_context); in rbd_dev_ondisk_valid()
1067 struct ceph_snap_context *snapc; in rbd_header_from_disk()
1195 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_dev_snap_index()
1491 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request()
3200 struct ceph_snap_context *snapc = obj_req->img_request->snapc; in rbd_obj_copyup_object_maps()
5993 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_v1_snap_id_by_name()
6011 struct ceph_snap_context *snap in rbd_v2_snap_id_by_name()
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Drbd.c157 struct ceph_snap_context *snapc;
338 struct ceph_snap_context *snapc; /* for writes */
483 static struct ceph_snap_context rbd_empty_snapc = {
958 size = SIZE_MAX - sizeof (struct ceph_snap_context); in rbd_dev_ondisk_valid()
1015 struct ceph_snap_context *snapc; in rbd_header_from_disk()
1143 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_dev_snap_index()
1428 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request()
3135 struct ceph_snap_context *snapc = obj_req->img_request->snapc; in rbd_obj_copyup_object_maps()
5920 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_v1_snap_id_by_name()
5938 struct ceph_snap_context *snap in rbd_v2_snap_id_by_name()
[all...]

Completed in 63 milliseconds