Home
last modified time | relevance | path

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

/linux-6.15/fs/ceph/
H A Dcaps.c1812 if (!ci->i_head_snapc) { in __ceph_mark_dirty_caps()
2888 !ci->i_head_snapc && in try_get_cap_refs()
3275 BUG_ON(!ci->i_head_snapc); in __ceph_put_cap_refs()
3277 ci->i_head_snapc = NULL; in __ceph_put_cap_refs()
3360 if (ci->i_head_snapc == snapc) { in ceph_put_wrbuffer_cap_refs()
3366 BUG_ON(!ci->i_head_snapc); in ceph_put_wrbuffer_cap_refs()
3367 ceph_put_snap_context(ci->i_head_snapc); in ceph_put_wrbuffer_cap_refs()
3368 ci->i_head_snapc = NULL; in ceph_put_wrbuffer_cap_refs()
3894 BUG_ON(!ci->i_head_snapc); in handle_cap_flush_ack()
3896 ci->i_head_snapc = NULL; in handle_cap_flush_ack()
[all …]
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 Daddr.c110 BUG_ON(!ci->i_head_snapc); in ceph_dirty_folio()
111 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_dirty_folio()
653 snapc = ceph_get_snap_context(ci->i_head_snapc); in get_oldest_context()
678 if (snapc != ci->i_head_snapc) { in get_writepages_data_length()
1797 if (!snapc || snapc == ci->i_head_snapc) in ceph_find_incompatible()
H A Dfile.c1433 BUG_ON(!ci->i_head_snapc); in ceph_aio_retry_work()
1434 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
2442 BUG_ON(!ci->i_head_snapc); in ceph_write_iter()
2443 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
H A Dsuper.h417 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or member
H A Dxattr.c1245 if (!lock_snap_rwsem && !ci->i_head_snapc) { in __ceph_setxattr()
H A Dinode.c625 ci->i_head_snapc = NULL; in ceph_alloc_inode()
2534 if (!ci->i_head_snapc && in __ceph_setattr()
H A Dmds_client.c4651 snap_follows = ci->i_head_snapc ? ci->i_head_snapc->seq : 0; in reconnect_caps_cb()