Searched refs:capsnap (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/ceph/ |
D | snap.c | 526 struct ceph_cap_snap *capsnap = *pcapsnap; in ceph_queue_cap_snap() local 573 capsnap->need_flush = true; in ceph_queue_cap_snap() 584 __func__, inode, ceph_vinop(inode), capsnap, old_snapc, in ceph_queue_cap_snap() 585 ceph_cap_string(dirty), capsnap->need_flush ? "" : "no_flush"); in ceph_queue_cap_snap() 588 capsnap->follows = old_snapc->seq; in ceph_queue_cap_snap() 589 capsnap->issued = __ceph_caps_issued(ci, NULL); in ceph_queue_cap_snap() 590 capsnap->dirty = dirty; in ceph_queue_cap_snap() 592 capsnap->mode = inode->i_mode; in ceph_queue_cap_snap() 593 capsnap->uid = inode->i_uid; in ceph_queue_cap_snap() 594 capsnap->gid = inode->i_gid; in ceph_queue_cap_snap() [all …]
|
D | caps.c | 1423 struct ceph_cap_snap *capsnap; in __prep_cap() local 1424 list_for_each_entry_reverse(capsnap, &ci->i_cap_snaps, ci_item) { in __prep_cap() 1425 if (capsnap->cap_flush.tid) in __prep_cap() 1427 if (capsnap->need_flush) { in __prep_cap() 1466 struct ceph_cap_snap *capsnap, in __send_flush_snap() argument 1479 arg.follows = capsnap->follows; in __send_flush_snap() 1480 arg.flush_tid = capsnap->cap_flush.tid; in __send_flush_snap() 1483 arg.size = capsnap->size; in __send_flush_snap() 1485 arg.xattr_version = capsnap->xattr_version; in __send_flush_snap() 1486 arg.xattr_buf = capsnap->xattr_blob; in __send_flush_snap() [all …]
|
D | addr.c | 99 struct ceph_cap_snap *capsnap = in ceph_dirty_folio() local 103 snapc = ceph_get_snap_context(capsnap->context); in ceph_dirty_folio() 104 capsnap->dirty_pages++; in ceph_dirty_folio() 465 struct ceph_cap_snap *capsnap = NULL; in get_oldest_context() local 468 list_for_each_entry(capsnap, &ci->i_cap_snaps, ci_item) { in get_oldest_context() 469 dout(" cap_snap %p snapc %p has %d dirty pages\n", capsnap, in get_oldest_context() 470 capsnap->context, capsnap->dirty_pages); in get_oldest_context() 471 if (!capsnap->dirty_pages) in get_oldest_context() 475 if (snapc && capsnap->context != page_snapc) in get_oldest_context() 479 if (capsnap->writing) { in get_oldest_context() [all …]
|
D | super.h | 233 static inline void ceph_put_cap_snap(struct ceph_cap_snap *capsnap) in ceph_put_cap_snap() argument 235 if (refcount_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap() 236 if (capsnap->xattr_blob) in ceph_put_cap_snap() 237 ceph_buffer_put(capsnap->xattr_blob); in ceph_put_cap_snap() 238 kmem_cache_free(ceph_cap_snap_cachep, capsnap); in ceph_put_cap_snap() 949 struct ceph_cap_snap *capsnap); 1194 struct ceph_cap_snap *capsnap, 1197 struct ceph_cap_snap *capsnap,
|
D | file.c | 1206 struct ceph_cap_snap *capsnap = in ceph_aio_retry_work() local 1210 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work() 1860 struct ceph_cap_snap *capsnap = in ceph_write_iter() local 1864 snapc = ceph_get_snap_context(capsnap->context); in ceph_write_iter()
|
D | mds_client.c | 3957 struct ceph_cap_snap *capsnap = in reconnect_caps_cb() local 3960 snap_follows = capsnap->follows; in reconnect_caps_cb()
|