Home
last modified time | relevance | path

Searched refs:i_ceph_flags (Results 1 – 10 of 10) sorted by relevance

/linux/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.c523 inode, ceph_vinop(inode), ci->i_ceph_flags, in __cap_delay_requeue()
528 if (ci->i_ceph_flags & CEPH_I_FLUSH) in __cap_delay_requeue()
551 ci->i_ceph_flags |= CEPH_I_FLUSH; in __cap_delay_requeue_front()
1411 ci->i_ceph_flags &= ~CEPH_I_FLUSH; in __prep_cap()
1668 ci->i_ceph_flags &= ~CEPH_I_FLUSH_SNAPS; in __ceph_flush_snaps()
1731 if (!(ci->i_ceph_flags & CEPH_I_FLUSH_SNAPS)) { in ceph_flush_snaps()
1755 if (ci->i_ceph_flags & CEPH_I_KICK_FLUSH) in ceph_flush_snaps()
2027 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in ceph_check_caps()
2028 ci->i_ceph_flags |= CEPH_I_ASYNC_CHECK_CAPS; in ceph_check_caps()
2035 if (ci->i_ceph_flags & CEPH_I_FLUSH) in ceph_check_caps()
[all …]
H A Dlocks.c61 ci->i_ceph_flags &= ~CEPH_I_ERROR_FILELOCK; in ceph_fl_release_lock()
272 if (ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) { in ceph_lock()
332 if (ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) { in ceph_flock()
H A Dfile.c582 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE) { in wake_async_create_waiters()
583 ci->i_ceph_flags &= ~CEPH_I_ASYNC_CREATE; in wake_async_create_waiters()
584 wake_up_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT); in wake_async_create_waiters()
586 if (ci->i_ceph_flags & CEPH_I_ASYNC_CHECK_CAPS) { in wake_async_create_waiters()
587 ci->i_ceph_flags &= ~CEPH_I_ASYNC_CHECK_CAPS; in wake_async_create_waiters()
754 ceph_inode(inode)->i_ceph_flags = CEPH_I_ASYNC_CREATE; in ceph_finish_async_create()
2430 (ci->i_ceph_flags & CEPH_I_ERROR_WRITE)) { in ceph_write_iter()
H A Dmds_client.h648 return wait_on_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT, in ceph_wait_on_async_create()
H A Daddr.c2219 flags = ci->i_ceph_flags; in ceph_pool_perm_check()
2250 ci->i_ceph_flags |= flags; in ceph_pool_perm_check()
2253 flags = ci->i_ceph_flags; in ceph_pool_perm_check()
H A Dinode.c586 ci->i_ceph_flags = 0; in ceph_alloc_inode()
1109 ci->i_ceph_flags &= ~CEPH_I_POOL_PERM; in ceph_fill_inode()
3147 ci->i_ceph_flags |= CEPH_I_SHUTDOWN; in ceph_inode_shutdown()
H A Dsnap.c703 ci->i_ceph_flags |= CEPH_I_FLUSH_SNAPS; in __ceph_finish_cap_snap()
H A Ddir.c831 ceph_vinop(dir), ci->i_ceph_flags); in ceph_lookup()
H A Dmds_client.c3552 if (ci->i_ceph_flags & CEPH_I_ASYNC_CREATE && mds != cap->mds) { in __do_request()
4634 ((ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) ? 0 : 1); in reconnect_caps_cb()