Lines Matching refs:i_head_snapc
1388 arg->follows = flushing ? ci->i_head_snapc->seq : 0; in __prep_cap()
1727 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()
1729 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()
1733 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()
2611 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()
2613 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()
2713 !ci->i_head_snapc && in try_get_cap_refs()
3086 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3087 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()
3088 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
3146 if (ci->i_head_snapc == snapc) { in ceph_put_wrbuffer_cap_refs()
3152 BUG_ON(!ci->i_head_snapc); in ceph_put_wrbuffer_cap_refs()
3153 ceph_put_snap_context(ci->i_head_snapc); in ceph_put_wrbuffer_cap_refs()
3154 ci->i_head_snapc = NULL; in ceph_put_wrbuffer_cap_refs()
3637 BUG_ON(!ci->i_head_snapc); in handle_cap_flush_ack()
3638 ceph_put_snap_context(ci->i_head_snapc); in handle_cap_flush_ack()
3639 ci->i_head_snapc = NULL; in handle_cap_flush_ack()