Searched refs:i_head_snapc (Results 1 – 8 of 8) sorted by relevance
1332 arg.follows = flushing ? ci->i_head_snapc->seq : 0; in __send_cap()1628 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()1630 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()1634 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()2473 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in __take_cap_refs()2475 ci->i_head_snapc = ceph_get_snap_context( in __take_cap_refs()2569 !ci->i_head_snapc && in try_get_cap_refs()2876 BUG_ON(!ci->i_head_snapc); in ceph_put_cap_refs()2877 ceph_put_snap_context(ci->i_head_snapc); in ceph_put_cap_refs()2878 ci->i_head_snapc = NULL; in ceph_put_cap_refs()[all …]
475 old_snapc = ci->i_head_snapc; in ceph_queue_cap_snap()571 if (ci->i_head_snapc) { in ceph_queue_cap_snap()572 ci->i_head_snapc = ceph_get_snap_context(new_snapc); in ceph_queue_cap_snap()
104 BUG_ON(!ci->i_head_snapc); in ceph_set_page_dirty()105 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_set_page_dirty()527 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()550 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()1249 if (snapc && snapc != ci->i_head_snapc) { in ceph_update_writeable_page()
863 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()864 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()1480 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()1481 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
341 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
476 ci->i_head_snapc = NULL; in ceph_alloc_inode()1969 if (!ci->i_head_snapc && in __ceph_setattr()
1067 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()
3003 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in encode_caps_cb()