Searched refs:i_ceph_flags (Results 1 – 12 of 12) sorted by relevance
31 is_odirect = READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT; in ceph_block_o_direct()33 clear_bit(CEPH_I_ODIRECT_BIT, &ci->i_ceph_flags); in ceph_block_o_direct()73 is_odirect = READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT; in ceph_start_io_read()141 is_odirect = READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT; in ceph_block_buffered()143 set_bit(CEPH_I_ODIRECT_BIT, &ci->i_ceph_flags); in ceph_block_buffered()185 is_odirect = READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT; in ceph_start_io_direct()
524 inode, ceph_vinop(inode), ci->i_ceph_flags, in __cap_delay_requeue()529 if (ci->i_ceph_flags & CEPH_I_FLUSH) in __cap_delay_requeue()552 ci->i_ceph_flags |= CEPH_I_FLUSH; in __cap_delay_requeue_front()1412 ci->i_ceph_flags &= ~CEPH_I_FLUSH; in __prep_cap()1669 ci->i_ceph_flags &= ~CEPH_I_FLUSH_SNAPS; in __ceph_flush_snaps()1732 if (!(ci->i_ceph_flags & CEPH_I_FLUSH_SNAPS)) { in ceph_flush_snaps()1756 if (ci->i_ceph_flags & CEPH_I_KICK_FLUSH) in ceph_flush_snaps()2028 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in ceph_check_caps()2029 ci->i_ceph_flags |= CEPH_I_ASYNC_CHECK_CAPS; in ceph_check_caps()2036 if (ci->i_ceph_flags & CEPH_I_FLUSH) in ceph_check_caps()[all …]
383 unsigned long i_ceph_flags; member694 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE)) { in ceph_set_error_write()696 ci->i_ceph_flags |= CEPH_I_ERROR_WRITE; in ceph_set_error_write()703 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE) { in ceph_clear_error_write()705 ci->i_ceph_flags &= ~CEPH_I_ERROR_WRITE; in ceph_clear_error_write()1141 unsigned long flags = READ_ONCE(ceph_inode(inode)->i_ceph_flags); in ceph_inode_is_shutdown()
61 ci->i_ceph_flags &= ~CEPH_I_ERROR_FILELOCK; in ceph_fl_release_lock()275 if (ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) { in ceph_lock()335 if (ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) { in ceph_flock()
581 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in wake_async_create_waiters()582 clear_and_wake_up_bit(CEPH_ASYNC_CREATE_BIT, &ci->i_ceph_flags); in wake_async_create_waiters()584 if (ci->i_ceph_flags & CEPH_I_ASYNC_CHECK_CAPS) { in wake_async_create_waiters()585 ci->i_ceph_flags &= ~CEPH_I_ASYNC_CHECK_CAPS; in wake_async_create_waiters()750 ceph_inode(inode)->i_ceph_flags = CEPH_I_ASYNC_CREATE; in ceph_finish_async_create()2425 (ci->i_ceph_flags & CEPH_I_ERROR_WRITE)) { in ceph_write_iter()
661 return wait_on_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT, in ceph_wait_on_async_create()
1057 ci->i_ceph_flags |= CEPH_I_SEC_INITED; in __ceph_getxattr()1367 ret = !(ci->i_ceph_flags & CEPH_I_SEC_INITED) && in ceph_security_xattr_deadlock()
2564 flags = ci->i_ceph_flags; in ceph_pool_perm_check()2595 ci->i_ceph_flags |= flags; in ceph_pool_perm_check()2598 flags = ci->i_ceph_flags; in ceph_pool_perm_check()
632 ci->i_ceph_flags = 0; in ceph_alloc_inode()1145 ci->i_ceph_flags &= ~CEPH_I_POOL_PERM; in ceph_fill_inode()3202 ci->i_ceph_flags |= CEPH_I_SHUTDOWN; in ceph_inode_shutdown()
703 ci->i_ceph_flags |= CEPH_I_FLUSH_SNAPS; in __ceph_finish_cap_snap()
831 ceph_vinop(dir), ci->i_ceph_flags); in ceph_lookup()
3616 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE && mds != cap->mds) { in __do_request()4696 ((ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) ? 0 : 1); in reconnect_caps_cb()