Home
last modified time | relevance | path

Searched refs:i_head_snapc (Results 1 – 8 of 8) sorted by relevance

/linux/fs/ceph/
H A Dcaps.c1427 arg->follows = flushing ? ci->i_head_snapc->seq : 0; in __prep_cap()
1813 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()
1815 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()
1819 inode, ceph_vinop(inode), ci->i_head_snapc, in __ceph_mark_dirty_caps()
2779 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()
2781 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()
2889 !ci->i_head_snapc && in try_get_cap_refs()
3276 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3277 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()
3278 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
[all …]
H A Daddr.c110 BUG_ON(!ci->i_head_snapc); in ceph_dirty_folio()
111 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_dirty_folio()
664 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()
689 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()
1799 if (!snapc || snapc == ci->i_head_snapc) in ceph_find_incompatible()
2233 if (!ci->i_head_snapc) { in ceph_uninline_data()
2234 ci->i_head_snapc = ceph_get_snap_context( in ceph_uninline_data()
2237 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_uninline_data()
H A Dsnap.c544 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()
H A Dfile.c1427 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()
1428 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
2437 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()
2438 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
2594 BUG_ON(!ci->i_head_snapc); in ceph_zero_partial_object()
2595 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_zero_partial_object()
H A Dsuper.h443 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
H A Dxattr.c1243 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()
H A Dinode.c671 ci->i_head_snapc = NULL; in ceph_alloc_inode()
2590 if (!ci->i_head_snapc && in __ceph_setattr()
H A Dmds_client.c4713 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in reconnect_caps_cb()