Searched refs:i_head_snapc (Results 1 – 7 of 7) sorted by relevance
1171 follows = flushing ? ci->i_head_snapc->seq : 0; in __send_cap()1385 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()1387 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()1391 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()2276 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in __take_cap_refs()2278 ci->i_head_snapc = ceph_get_snap_context( in __take_cap_refs()2372 !ci->i_head_snapc && in try_get_cap_refs()2618 BUG_ON(!ci->i_head_snapc); in ceph_put_cap_refs()2619 ceph_put_snap_context(ci->i_head_snapc); in ceph_put_cap_refs()2620 ci->i_head_snapc = NULL; in ceph_put_cap_refs()[all …]
472 old_snapc = ci->i_head_snapc; in ceph_queue_cap_snap()570 if (ci->i_head_snapc) { in ceph_queue_cap_snap()571 ci->i_head_snapc = ceph_get_snap_context(new_snapc); in ceph_queue_cap_snap()
101 BUG_ON(!ci->i_head_snapc); in ceph_set_page_dirty()102 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_set_page_dirty()461 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()1063 if (snapc && snapc != ci->i_head_snapc) { in ceph_update_writeable_page()
964 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()1102 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_removexattr()
1083 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()1084 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
319 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
426 ci->i_head_snapc = NULL; in ceph_alloc_inode()1807 if (!ci->i_head_snapc && in ceph_setattr()