Lines Matching refs:i_head_snapc
1381 arg->follows = flushing ? ci->i_head_snapc->seq : 0; in __prep_cap()
1720 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()
1722 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()
1726 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()
2600 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()
2602 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()
2702 !ci->i_head_snapc && in try_get_cap_refs()
3075 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3076 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()
3077 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
3133 if (ci->i_head_snapc == snapc) { in ceph_put_wrbuffer_cap_refs()
3139 BUG_ON(!ci->i_head_snapc); in ceph_put_wrbuffer_cap_refs()
3140 ceph_put_snap_context(ci->i_head_snapc); in ceph_put_wrbuffer_cap_refs()
3141 ci->i_head_snapc = NULL; in ceph_put_wrbuffer_cap_refs()
3614 BUG_ON(!ci->i_head_snapc); in handle_cap_flush_ack()
3615 ceph_put_snap_context(ci->i_head_snapc); in handle_cap_flush_ack()
3616 ci->i_head_snapc = NULL; in handle_cap_flush_ack()