Home
last modified time | relevance | path

Searched refs:i_cap_snaps (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/fs/ceph/
Dsuper.h387 struct list_head i_cap_snaps; /* snapped state pending flush to mds */ member
955 return !list_empty(&ci->i_cap_snaps) && in __ceph_have_pending_cap_snap()
956 list_last_entry(&ci->i_cap_snaps, struct ceph_cap_snap, in __ceph_have_pending_cap_snap()
Dcaps.c1421 !list_empty(&ci->i_cap_snaps)) { in __prep_cap()
1423 list_for_each_entry_reverse(capsnap, &ci->i_cap_snaps, ci_item) { in __prep_cap()
1539 list_for_each_entry(capsnap, &ci->i_cap_snaps, ci_item) { in __ceph_flush_snaps()
3069 if (!list_is_last(&capsnap->ci_item, &ci->i_cap_snaps)) in ceph_try_drop_cap_snap()
3141 list_last_entry(&ci->i_cap_snaps, in __ceph_put_cap_refs()
3235 list_for_each_entry(iter, &ci->i_cap_snaps, ci_item) { in ceph_put_wrbuffer_cap_refs()
3799 list_for_each_entry(iter, &ci->i_cap_snaps, ci_item) { in handle_cap_flushsnap_ack()
4634 while (!list_empty(&ci->i_cap_snaps)) { in remove_capsnaps()
4635 capsnap = list_first_entry(&ci->i_cap_snaps, in remove_capsnaps()
4732 if (!list_empty(&ci->i_cap_snaps)) in ceph_purge_inode_cap()
Daddr.c100 list_last_entry(&ci->i_cap_snaps, in ceph_dirty_folio()
470 list_for_each_entry(capsnap, &ci->i_cap_snaps, ci_item) { in get_oldest_context()
529 list_for_each_entry(capsnap, &ci->i_cap_snaps, ci_item) { in get_writepages_data_length()
Dsnap.c614 list_add_tail(&capsnap->ci_item, &ci->i_cap_snaps); in ceph_queue_cap_snap()
Dfile.c1193 list_last_entry(&ci->i_cap_snaps, in ceph_aio_retry_work()
1850 list_last_entry(&ci->i_cap_snaps, in ceph_write_iter()
Dmds_client.c1903 !list_empty(&ci->i_cap_snaps)) in trim_caps_cb()
3797 if (list_empty(&ci->i_cap_snaps)) { in reconnect_caps_cb()
3801 list_first_entry(&ci->i_cap_snaps, in reconnect_caps_cb()
Dinode.c508 INIT_LIST_HEAD(&ci->i_cap_snaps); in ceph_alloc_inode()