Home
last modified time | relevance | path

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

/Linux-v5.10/fs/ceph/
Dcaps.c1381 arg->follows = flushing ? ci->i_head_snapc->seq : 0; in __prep_cap()
1720 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()
1722 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()
1726 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()
2600 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()
2602 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()
2702 !ci->i_head_snapc && in try_get_cap_refs()
3075 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3076 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()
3077 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
[all …]
Dsnap.c481 old_snapc = ci->i_head_snapc; in ceph_queue_cap_snap()
581 ci->i_head_snapc = NULL; in ceph_queue_cap_snap()
583 ci->i_head_snapc = ceph_get_snap_context(new_snapc); in ceph_queue_cap_snap()
Daddr.c107 BUG_ON(!ci->i_head_snapc); in ceph_set_page_dirty()
108 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_set_page_dirty()
551 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()
574 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()
1278 if (!snapc || snapc == ci->i_head_snapc) in ceph_find_incompatible()
Dfile.c1120 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()
1121 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
1778 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()
1779 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
Dsuper.h384 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
Dmds_client.c1644 ceph_put_snap_context(ci->i_head_snapc); in remove_session_caps_cb()
1645 ci->i_head_snapc = NULL; in remove_session_caps_cb()
3726 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in reconnect_caps_cb()
Dinode.c484 ci->i_head_snapc = NULL; in ceph_alloc_inode()
2056 if (!ci->i_head_snapc && in __ceph_setattr()
Dxattr.c1072 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()