Searched refs:i_head_snapc (Results 1 – 5 of 5) sorted by relevance
1209 follows = ci->i_head_snapc->seq; in __send_cap()1419 if (!ci->i_head_snapc) in __ceph_mark_dirty_caps()1420 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()1423 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()2380 if (ci->i_head_snapc == snapc) { in ceph_put_wrbuffer_cap_refs()2384 BUG_ON(!ci->i_head_snapc); in ceph_put_wrbuffer_cap_refs()2385 ceph_put_snap_context(ci->i_head_snapc); in ceph_put_wrbuffer_cap_refs()2386 ci->i_head_snapc = NULL; in ceph_put_wrbuffer_cap_refs()2775 BUG_ON(!ci->i_head_snapc); in handle_cap_flush_ack()2776 ceph_put_snap_context(ci->i_head_snapc); in handle_cap_flush_ack()[all …]
490 struct ceph_snap_context *snapc = ci->i_head_snapc; in ceph_queue_cap_snap()534 ci->i_head_snapc = in ceph_queue_cap_snap()536 dout(" new snapc is %p\n", ci->i_head_snapc); in ceph_queue_cap_snap()
98 if (ci->i_head_snapc == NULL) in ceph_set_page_dirty()99 ci->i_head_snapc = ceph_get_snap_context(snapc); in ceph_set_page_dirty()457 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()1052 if (snapc && snapc != ci->i_head_snapc) { in ceph_update_writeable_page()
297 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
427 ci->i_head_snapc = NULL; in ceph_alloc_inode()