Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ceph/
Dcaps.c1388 arg->follows = flushing ? ci->i_head_snapc->seq : 0; in __prep_cap()
1727 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()
1729 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()
1733 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()
2611 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()
2613 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()
2713 !ci->i_head_snapc && in try_get_cap_refs()
3086 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3087 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()
3088 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
[all …]
Dsnap.c498 old_snapc = ci->i_head_snapc; in ceph_queue_cap_snap()
598 ci->i_head_snapc = NULL; in ceph_queue_cap_snap()
600 ci->i_head_snapc = ceph_get_snap_context(new_snapc); in ceph_queue_cap_snap()
Daddr.c103 BUG_ON(!ci->i_head_snapc); in ceph_set_page_dirty()
104 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_set_page_dirty()
543 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()
566 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()
1270 if (!snapc || snapc == ci->i_head_snapc) in ceph_find_incompatible()
Dfile.c1143 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()
1144 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
1801 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()
1802 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
Dsuper.h385 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
Dmds_client.c1670 ceph_put_snap_context(ci->i_head_snapc); in remove_session_caps_cb()
1671 ci->i_head_snapc = NULL; in remove_session_caps_cb()
3757 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in reconnect_caps_cb()
Dinode.c488 ci->i_head_snapc = NULL; in ceph_alloc_inode()
2061 if (!ci->i_head_snapc && in __ceph_setattr()
Dxattr.c1072 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()