Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/ceph/
H A 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()
2686 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()
2688 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()
2788 !ci->i_head_snapc && in try_get_cap_refs()
3161 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3162 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()
3163 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
[all …]
H A 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()
H A 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()
H A Dfile.c1157 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()
1158 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
1815 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()
1816 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
H A Dsuper.h385 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
H A Dmds_client.c1701 ceph_put_snap_context(ci->i_head_snapc); in remove_session_caps_cb()
1702 ci->i_head_snapc = NULL; in remove_session_caps_cb()
3789 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in reconnect_caps_cb()
H A Dinode.c488 ci->i_head_snapc = NULL; in ceph_alloc_inode()
2061 if (!ci->i_head_snapc && in __ceph_setattr()
H A Dxattr.c1080 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()