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.c1461 arg->follows = flushing ? ci->i_head_snapc->seq : 0; in __prep_cap()
1848 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()
1850 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()
1854 inode, ceph_vinop(inode), ci->i_head_snapc, in __ceph_mark_dirty_caps()
2831 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()
2833 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()
2941 !ci->i_head_snapc && in try_get_cap_refs()
3341 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3342 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()
3343 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
[all …]
H A Daddr.c111 BUG_ON(!ci->i_head_snapc); in ceph_dirty_folio()
112 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_dirty_folio()
672 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()
697 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()
1842 if (!snapc || snapc == ci->i_head_snapc) in ceph_find_incompatible()
2276 if (!ci->i_head_snapc) { in ceph_uninline_data()
2277 ci->i_head_snapc = ceph_get_snap_context( in ceph_uninline_data()
2280 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.c1472 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()
1473 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
2552 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()
2553 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
2710 BUG_ON(!ci->i_head_snapc); in ceph_zero_partial_object()
2711 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_zero_partial_object()
H A Dsuper.h468 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
H A Dxattr.c1244 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()
H A Dinode.c672 ci->i_head_snapc = NULL; in ceph_alloc_inode()
2633 if (!ci->i_head_snapc && in __ceph_setattr()
H A Dmds_client.c4965 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in reconnect_caps_cb()