Searched refs:i_head_snapc (Results 1 – 7 of 7) sorted by relevance
1440 arg->follows = flushing ? ci->i_head_snapc->seq : 0; in __prep_cap()1826 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()1828 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()1832 inode, ceph_vinop(inode), ci->i_head_snapc, in __ceph_mark_dirty_caps()2792 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()2794 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()2902 !ci->i_head_snapc && in try_get_cap_refs()3289 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()3290 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()3291 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()[all …]
544 old_snapc = ci->i_head_snapc; in ceph_queue_cap_snap()643 ci->i_head_snapc = NULL; in ceph_queue_cap_snap()645 ci->i_head_snapc = ceph_get_snap_context(new_snapc); in ceph_queue_cap_snap()
107 BUG_ON(!ci->i_head_snapc); in ceph_dirty_folio()108 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_dirty_folio()608 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()633 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()1465 if (!snapc || snapc == ci->i_head_snapc) in ceph_find_incompatible()
417 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
1245 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()
625 ci->i_head_snapc = NULL; in ceph_alloc_inode()2529 if (!ci->i_head_snapc && in __ceph_setattr()
4657 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in reconnect_caps_cb()