Searched refs:i_ceph_flags (Results 1 – 12 of 12) sorted by relevance
| /linux/fs/ceph/ |
| H A D | io.c | 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()
|
| H A D | caps.c | 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 set_bit(CEPH_I_FLUSH_BIT, &ci->i_ceph_flags); in __cap_delay_requeue_front() 1443 clear_bit(CEPH_I_FLUSH_BIT, &ci->i_ceph_flags); in __prep_cap() 1455 if ((ci->i_ceph_flags & CEPH_I_FLUSH_FORCE) != 0 && !__ceph_is_any_revoking(ci)) in __prep_cap() 1456 clear_bit(CEPH_I_FLUSH_FORCE_BIT, &ci->i_ceph_flags); in __prep_cap() 1704 clear_bit(CEPH_I_FLUSH_SNAPS_BIT, &ci->i_ceph_flags); in __ceph_flush_snaps() 1767 if (!(ci->i_ceph_flags & CEPH_I_FLUSH_SNAPS)) { in ceph_flush_snaps() 1791 if (ci->i_ceph_flags & CEPH_I_KICK_FLUSH) in ceph_flush_snaps() 2065 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in ceph_check_caps() [all …]
|
| H A D | locks.c | 60 clear_bit(CEPH_I_ERROR_FILELOCK_BIT, &ci->i_ceph_flags); in ceph_fl_release_lock() 273 if (test_bit(CEPH_I_ERROR_FILELOCK_BIT, &ci->i_ceph_flags)) { in ceph_lock() 336 if (test_bit(CEPH_I_ERROR_FILELOCK_BIT, &ci->i_ceph_flags)) { in ceph_flock()
|
| H A D | super.h | 399 unsigned long i_ceph_flags; member 747 set_bit(CEPH_I_ERROR_WRITE_BIT, &ci->i_ceph_flags); in ceph_set_error_write() 752 clear_bit(CEPH_I_ERROR_WRITE_BIT, &ci->i_ceph_flags); in ceph_clear_error_write() 1187 unsigned long flags = READ_ONCE(ceph_inode(inode)->i_ceph_flags); in ceph_inode_is_shutdown()
|
| H A D | addr.c | 2608 flags = ci->i_ceph_flags; in ceph_pool_perm_check() 2633 set_bit(CEPH_I_POOL_PERM_BIT, &ci->i_ceph_flags); in ceph_pool_perm_check() 2635 set_bit(CEPH_I_POOL_RD_BIT, &ci->i_ceph_flags); in ceph_pool_perm_check() 2637 set_bit(CEPH_I_POOL_WR_BIT, &ci->i_ceph_flags); in ceph_pool_perm_check() 2642 flags = ci->i_ceph_flags; in ceph_pool_perm_check()
|
| H A D | mds_client.h | 726 return wait_on_bit(&ci->i_ceph_flags, CEPH_I_ASYNC_CREATE_BIT, in ceph_wait_on_async_create()
|
| H A D | file.c | 601 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in wake_async_create_waiters() 603 clear_and_wake_up_bit(CEPH_I_ASYNC_CREATE_BIT, &ci->i_ceph_flags); in wake_async_create_waiters() 606 &ci->i_ceph_flags)) in wake_async_create_waiters() 771 &ceph_inode(inode)->i_ceph_flags); in ceph_finish_async_create() 2540 test_bit(CEPH_I_ERROR_WRITE_BIT, &ci->i_ceph_flags)) { in ceph_write_iter()
|
| H A D | xattr.c | 1058 set_bit(CEPH_I_SEC_INITED_BIT, &ci->i_ceph_flags); in __ceph_getxattr() 1385 ret = !(ci->i_ceph_flags & CEPH_I_SEC_INITED) && in ceph_security_xattr_deadlock()
|
| H A D | inode.c | 632 ci->i_ceph_flags = 0; in ceph_alloc_inode() 1184 clear_bit(CEPH_I_POOL_PERM_BIT, &ci->i_ceph_flags); in ceph_fill_inode() 3245 set_bit(CEPH_I_SHUTDOWN_BIT, &ci->i_ceph_flags); in ceph_inode_shutdown()
|
| H A D | snap.c | 703 set_bit(CEPH_I_FLUSH_SNAPS_BIT, &ci->i_ceph_flags); in __ceph_finish_cap_snap()
|
| H A D | dir.c | 842 ceph_vinop(dir), ci->i_ceph_flags); in ceph_lookup()
|
| H A D | mds_client.c | 3807 if (test_bit(CEPH_I_ASYNC_CREATE_BIT, &ci->i_ceph_flags) && in __do_request() 4948 &ci->i_ceph_flags) ? 0 : 1); in reconnect_caps_cb()
|