Home
last modified time | relevance | path

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

/openbmc/linux/fs/ceph/
H A Dcaps.c1405 arg->follows = flushing ? ci->i_head_snapc->seq : 0; in __prep_cap()
1781 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()
1783 ci->i_head_snapc = ceph_get_snap_context( in __ceph_mark_dirty_caps()
1787 &ci->netfs.inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()
2714 if (ci->i_wr_ref == 0 && !ci->i_head_snapc) { in ceph_take_cap_refs()
2716 ci->i_head_snapc = ceph_get_snap_context( in ceph_take_cap_refs()
2820 !ci->i_head_snapc && in try_get_cap_refs()
3195 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3196 ceph_put_snap_context(ci->i_head_snapc); in __ceph_put_cap_refs()
3197 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
[all …]
H A Dsnap.c538 old_snapc = ci->i_head_snapc; in ceph_queue_cap_snap()
637 ci->i_head_snapc = NULL; in ceph_queue_cap_snap()
639 ci->i_head_snapc = ceph_get_snap_context(new_snapc); in ceph_queue_cap_snap()
H A Daddr.c106 BUG_ON(!ci->i_head_snapc); in ceph_dirty_folio()
107 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_dirty_folio()
607 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()
632 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()
1447 if (!snapc || snapc == ci->i_head_snapc) in ceph_find_incompatible()
H A Dfile.c1338 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()
1339 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
2339 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()
2340 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
H A Dsuper.h416 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
H A Dinode.c613 ci->i_head_snapc = NULL; in ceph_alloc_inode()
2458 if (!ci->i_head_snapc && in __ceph_setattr()
H A Dxattr.c1229 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()
H A Dmds_client.c4371 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in reconnect_caps_cb()