Searched refs:i_head_snapc (Results 1 – 8 of 8) sorted by relevance
1345 arg.follows = flushing ? ci->i_head_snapc->seq : 0; in __send_cap()1649 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()1651 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()1655 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()2513 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in __take_cap_refs()2515 ci->i_head_snapc = ceph_get_snap_context( in __take_cap_refs()2609 !ci->i_head_snapc && in try_get_cap_refs()2916 BUG_ON(!ci->i_head_snapc); in ceph_put_cap_refs()2917 ceph_put_snap_context(ci->i_head_snapc); in ceph_put_cap_refs()2918 ci->i_head_snapc = NULL; in ceph_put_cap_refs()[all …]
476 old_snapc = ci->i_head_snapc; in ceph_queue_cap_snap()576 ci->i_head_snapc = NULL; in ceph_queue_cap_snap()578 ci->i_head_snapc = ceph_get_snap_context(new_snapc); in ceph_queue_cap_snap()
100 BUG_ON(!ci->i_head_snapc); in ceph_set_page_dirty()101 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_set_page_dirty()519 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()542 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()1242 if (snapc && snapc != ci->i_head_snapc) { in ceph_update_writeable_page()
867 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()868 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()1491 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()1492 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
1299 ceph_put_snap_context(ci->i_head_snapc); in remove_session_caps_cb()1300 ci->i_head_snapc = NULL; in remove_session_caps_cb()3050 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in encode_caps_cb()
476 ci->i_head_snapc = NULL; in ceph_alloc_inode()1989 if (!ci->i_head_snapc && in __ceph_setattr()
1081 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()