Home
last modified time | relevance | path

Searched refs:i_head_snapc (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/fs/ceph/
Dcaps.c1376 arg->follows = flushing ? ci->i_head_snapc->seq : 0; in __prep_cap()
1708 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()
1710 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()
1714 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()
2607 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()
2609 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()
2709 !ci->i_head_snapc && in try_get_cap_refs()
3070 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3071 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()
3072 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
[all …]
Dsnap.c498 old_snapc = ci->i_head_snapc; in ceph_queue_cap_snap()
598 ci->i_head_snapc = NULL; in ceph_queue_cap_snap()
600 ci->i_head_snapc = ceph_get_snap_context(new_snapc); in ceph_queue_cap_snap()
Daddr.c107 BUG_ON(!ci->i_head_snapc); in ceph_set_page_dirty()
108 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_set_page_dirty()
435 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()
458 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()
1162 if (!snapc || snapc == ci->i_head_snapc) in ceph_find_incompatible()
Dfile.c1127 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()
1128 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
1778 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()
1779 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
Dsuper.h386 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
Dinode.c500 ci->i_head_snapc = NULL; in ceph_alloc_inode()
2022 if (!ci->i_head_snapc && in __ceph_setattr()
Dmds_client.c1680 ceph_put_snap_context(ci->i_head_snapc); in remove_session_caps_cb()
1681 ci->i_head_snapc = NULL; in remove_session_caps_cb()
3834 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in reconnect_caps_cb()
Dxattr.c1173 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()