Searched refs:i_ceph_flags (Results 1 – 12 of 12) sorted by relevance
26 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()
511 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()1362 ci->i_ceph_flags &= ~CEPH_I_FLUSH; in __prep_cap()1577 ci->i_ceph_flags &= ~CEPH_I_FLUSH_SNAPS; in __ceph_flush_snaps()1636 if (!(ci->i_ceph_flags & CEPH_I_FLUSH_SNAPS)) { in ceph_flush_snaps()1660 if (ci->i_ceph_flags & CEPH_I_KICK_FLUSH) in ceph_flush_snaps()1921 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in ceph_check_caps()1928 if (ci->i_ceph_flags & CEPH_I_FLUSH) in ceph_check_caps()2062 if (ci->i_ceph_flags & CEPH_I_FLUSH_SNAPS) { in ceph_check_caps()[all …]
46 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()
339 unsigned long i_ceph_flags; member615 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE)) { in ceph_set_error_write()617 ci->i_ceph_flags |= CEPH_I_ERROR_WRITE; in ceph_set_error_write()624 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE) { in ceph_clear_error_write()626 ci->i_ceph_flags &= ~CEPH_I_ERROR_WRITE; in ceph_clear_error_write()1052 unsigned long flags = READ_ONCE(ceph_inode(inode)->i_ceph_flags); in ceph_inode_is_shutdown()
581 return wait_on_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT, in ceph_wait_on_async_create()
539 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in wake_async_create_waiters()540 ci->i_ceph_flags &= ~CEPH_I_ASYNC_CREATE; in wake_async_create_waiters()541 wake_up_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT); in wake_async_create_waiters()700 ceph_inode(inode)->i_ceph_flags = CEPH_I_ASYNC_CREATE; in ceph_finish_async_create()1854 (ci->i_ceph_flags & CEPH_I_ERROR_WRITE)) { in ceph_write_iter()
1989 flags = ci->i_ceph_flags; in ceph_pool_perm_check()2022 ci->i_ceph_flags |= flags; in ceph_pool_perm_check()2025 flags = ci->i_ceph_flags; in ceph_pool_perm_check()
1014 ci->i_ceph_flags |= CEPH_I_SEC_INITED; in __ceph_getxattr()1318 ret = !(ci->i_ceph_flags & CEPH_I_SEC_INITED) && in ceph_security_xattr_deadlock()
470 ci->i_ceph_flags = 0; in ceph_alloc_inode()910 ci->i_ceph_flags &= ~CEPH_I_POOL_PERM; in ceph_fill_inode()2534 ci->i_ceph_flags |= CEPH_I_SHUTDOWN; in ceph_inode_shutdown()
688 ci->i_ceph_flags |= CEPH_I_FLUSH_SNAPS; in __ceph_finish_cap_snap()
769 dout(" dir %p flags are 0x%lx\n", dir, ci->i_ceph_flags); in ceph_lookup()
3009 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE && mds != cap->mds) { in __do_request()3942 ((ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) ? 0 : 1); in reconnect_caps_cb()