Home
last modified time | relevance | path

Searched refs:i_ceph_flags (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/fs/ceph/
H A Dio.c26 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT) { in ceph_block_o_direct()
28 ci->i_ceph_flags &= ~CEPH_I_ODIRECT; in ceph_block_o_direct()
57 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT)) in ceph_start_io_read()
111 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT)) { in ceph_block_buffered()
113 ci->i_ceph_flags |= CEPH_I_ODIRECT; in ceph_block_buffered()
143 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT) in ceph_start_io_direct()
H A Dsuper.h325 unsigned long i_ceph_flags; member
601 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE)) { in ceph_set_error_write()
603 ci->i_ceph_flags |= CEPH_I_ERROR_WRITE; in ceph_set_error_write()
610 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE) { in ceph_clear_error_write()
612 ci->i_ceph_flags &= ~CEPH_I_ERROR_WRITE; in ceph_clear_error_write()
H A Dlocks.c46 ci->i_ceph_flags &= ~CEPH_I_ERROR_FILELOCK; in ceph_fl_release_lock()
252 if (ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) { in ceph_lock()
311 if (ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) { in ceph_flock()
H A Dcaps.c511 ci->i_ceph_flags, ci->i_hold_caps_max); in __cap_delay_requeue()
515 if (ci->i_ceph_flags & CEPH_I_FLUSH) in __cap_delay_requeue()
536 ci->i_ceph_flags |= CEPH_I_FLUSH; in __cap_delay_requeue_front()
1373 ci->i_ceph_flags &= ~CEPH_I_FLUSH; in __prep_cap()
1589 ci->i_ceph_flags &= ~CEPH_I_FLUSH_SNAPS;
1648 if (!(ci->i_ceph_flags & CEPH_I_FLUSH_SNAPS)) { in ceph_flush_snaps()
1677 if (ci->i_ceph_flags & CEPH_I_KICK_FLUSH) in ceph_flush_snaps()
1942 if (ci->i_ceph_flags & CEPH_I_FLUSH) in ceph_check_caps()
2080 if (ci->i_ceph_flags & CEPH_I_FLUSH_SNAPS) { in ceph_check_caps()
2141 (ci->i_ceph_flags in ceph_check_caps()
[all...]
H A Dfile.c553 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in ceph_async_create_cb()
554 ci->i_ceph_flags &= ~CEPH_I_ASYNC_CREATE; in ceph_async_create_cb()
555 wake_up_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT); in ceph_async_create_cb()
668 ceph_inode(inode)->i_ceph_flags = CEPH_I_ASYNC_CREATE; in ceph_finish_async_create()
1803 (ci->i_ceph_flags & CEPH_I_ERROR_WRITE)) { in ceph_write_iter()
H A Dmds_client.h575 return wait_on_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT, in ceph_wait_on_async_create()
H A Dxattr.c907 ci->i_ceph_flags |= CEPH_I_SEC_INITED; in __ceph_getxattr()
1203 ret = !(ci->i_ceph_flags & CEPH_I_SEC_INITED) && in ceph_security_xattr_deadlock()
H A Daddr.c2094 flags = ci->i_ceph_flags; in ceph_pool_perm_check()
2127 ci->i_ceph_flags |= flags; in ceph_pool_perm_check()
2130 flags = ci->i_ceph_flags; in ceph_pool_perm_check()
H A Dinode.c449 ci->i_ceph_flags = 0; in ceph_alloc_inode()
873 ci->i_ceph_flags &= ~CEPH_I_POOL_PERM; in ceph_fill_inode()
H A Dsnap.c643 ci->i_ceph_flags |= CEPH_I_FLUSH_SNAPS; in __ceph_finish_cap_snap()
H A Ddir.c767 dout(" dir %p flags are 0x%lx\n", dir, ci->i_ceph_flags); in ceph_lookup()
H A Dmds_client.c1708 ci->i_ceph_flags |= CEPH_I_ERROR_FILELOCK; in remove_session_caps_cb()
3782 ((ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) ? 0 : 1); in reconnect_caps_cb()
/kernel/linux/linux-6.6/fs/ceph/
H A Dio.c26 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT) { in ceph_block_o_direct()
28 ci->i_ceph_flags &= ~CEPH_I_ODIRECT; in ceph_block_o_direct()
57 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT)) in ceph_start_io_read()
111 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT)) { in ceph_block_buffered()
113 ci->i_ceph_flags |= CEPH_I_ODIRECT; in ceph_block_buffered()
143 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT) in ceph_start_io_direct()
H A Dcaps.c513 ci->i_ceph_flags, ci->i_hold_caps_max); in __cap_delay_requeue()
517 if (ci->i_ceph_flags & CEPH_I_FLUSH) in __cap_delay_requeue()
538 ci->i_ceph_flags |= CEPH_I_FLUSH; in __cap_delay_requeue_front()
1387 ci->i_ceph_flags &= ~CEPH_I_FLUSH; in __prep_cap()
1639 ci->i_ceph_flags &= ~CEPH_I_FLUSH_SNAPS;
1699 if (!(ci->i_ceph_flags & CEPH_I_FLUSH_SNAPS)) { in ceph_flush_snaps()
1723 if (ci->i_ceph_flags & CEPH_I_KICK_FLUSH) in ceph_flush_snaps()
1986 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in ceph_check_caps()
1987 ci->i_ceph_flags |= CEPH_I_ASYNC_CHECK_CAPS; in ceph_check_caps()
1994 if (ci->i_ceph_flags in ceph_check_caps()
[all...]
H A Dlocks.c61 ci->i_ceph_flags &= ~CEPH_I_ERROR_FILELOCK; in ceph_fl_release_lock()
269 if (ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) { in ceph_lock()
328 if (ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) { in ceph_flock()
H A Dsuper.h355 unsigned long i_ceph_flags; member
658 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE)) { in ceph_set_error_write()
660 ci->i_ceph_flags |= CEPH_I_ERROR_WRITE; in ceph_set_error_write()
667 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE) { in ceph_clear_error_write()
669 ci->i_ceph_flags &= ~CEPH_I_ERROR_WRITE; in ceph_clear_error_write()
1108 unsigned long flags = READ_ONCE(ceph_inode(inode)->i_ceph_flags); in ceph_inode_is_shutdown()
H A Dfile.c541 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in wake_async_create_waiters()
542 ci->i_ceph_flags &= ~CEPH_I_ASYNC_CREATE; in wake_async_create_waiters()
543 wake_up_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT); in wake_async_create_waiters()
545 if (ci->i_ceph_flags & CEPH_I_ASYNC_CHECK_CAPS) { in wake_async_create_waiters()
546 ci->i_ceph_flags &= ~CEPH_I_ASYNC_CHECK_CAPS; in wake_async_create_waiters()
705 ceph_inode(inode)->i_ceph_flags = CEPH_I_ASYNC_CREATE; in ceph_finish_async_create()
2324 (ci->i_ceph_flags & CEPH_I_ERROR_WRITE)) { in ceph_write_iter()
H A Dmds_client.h610 return wait_on_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT, in ceph_wait_on_async_create()
H A Daddr.c2176 flags = ci->i_ceph_flags; in ceph_pool_perm_check()
2209 ci->i_ceph_flags |= flags; in ceph_pool_perm_check()
2212 flags = ci->i_ceph_flags; in ceph_pool_perm_check()
H A Dxattr.c1047 ci->i_ceph_flags |= CEPH_I_SEC_INITED; in __ceph_getxattr()
1351 ret = !(ci->i_ceph_flags & CEPH_I_SEC_INITED) && in ceph_security_xattr_deadlock()
H A Dinode.c574 ci->i_ceph_flags = 0; in ceph_alloc_inode()
1081 ci->i_ceph_flags &= ~CEPH_I_POOL_PERM; in ceph_fill_inode()
3057 ci->i_ceph_flags |= CEPH_I_SHUTDOWN; in ceph_inode_shutdown()
H A Dsnap.c692 ci->i_ceph_flags |= CEPH_I_FLUSH_SNAPS; in __ceph_finish_cap_snap()
H A Ddir.c805 dout(" dir %p flags are 0x%lx\n", dir, ci->i_ceph_flags); in ceph_lookup()
H A Dmds_client.c3395 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE && mds != cap->mds) { in __do_request()
4354 ((ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) ? 0 : 1); in reconnect_caps_cb()

Completed in 84 milliseconds