Home
last modified time | relevance | path

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

/openbmc/linux/fs/ceph/
H A Dsuper.h414 struct list_head i_cap_snaps; /* snapped state pending flush to mds */ member
1010 return !list_empty(&ci->i_cap_snaps) && in __ceph_have_pending_cap_snap()
1011 list_last_entry(&ci->i_cap_snaps, struct ceph_cap_snap, in __ceph_have_pending_cap_snap()
H A Dcaps.c1449 !list_empty(&ci->i_cap_snaps)) { in __prep_cap()
1451 list_for_each_entry_reverse(capsnap, &ci->i_cap_snaps, ci_item) { in __prep_cap()
1605 list_for_each_entry(capsnap, &ci->i_cap_snaps, ci_item) { in __ceph_flush_snaps()
3128 if (!list_is_last(&capsnap->ci_item, &ci->i_cap_snaps)) in ceph_try_drop_cap_snap()
3206 list_last_entry(&ci->i_cap_snaps, in __ceph_put_cap_refs()
3300 list_for_each_entry(iter, &ci->i_cap_snaps, ci_item) { in ceph_put_wrbuffer_cap_refs()
3894 list_for_each_entry(iter, &ci->i_cap_snaps, ci_item) { in handle_cap_flushsnap_ack()
4844 while (!list_empty(&ci->i_cap_snaps)) { in remove_capsnaps()
4845 capsnap = list_first_entry(&ci->i_cap_snaps, in remove_capsnaps()
4942 if (!list_empty(&ci->i_cap_snaps)) in ceph_purge_inode_cap()
H A Daddr.c100 list_last_entry(&ci->i_cap_snaps, in ceph_dirty_folio()
572 list_for_each_entry(capsnap, &ci->i_cap_snaps, ci_item) { in get_oldest_context()
633 list_for_each_entry(capsnap, &ci->i_cap_snaps, ci_item) { in get_writepages_data_length()
H A Dsnap.c618 list_add_tail(&capsnap->ci_item, &ci->i_cap_snaps); in ceph_queue_cap_snap()
H A Dfile.c1333 list_last_entry(&ci->i_cap_snaps, in ceph_aio_retry_work()
2331 list_last_entry(&ci->i_cap_snaps, in ceph_write_iter()
H A Dmds_client.c2154 !list_empty(&ci->i_cap_snaps)) in trim_caps_cb()
4371 if (list_empty(&ci->i_cap_snaps)) { in reconnect_caps_cb()
4375 list_first_entry(&ci->i_cap_snaps, in reconnect_caps_cb()
H A Dinode.c612 INIT_LIST_HEAD(&ci->i_cap_snaps); in ceph_alloc_inode()