Lines Matching refs:ceph_mds_client
48 static u64 __get_oldest_flush_tid(struct ceph_mds_client *mdsc);
49 static void __kick_flushing_caps(struct ceph_mds_client *mdsc,
130 void ceph_caps_init(struct ceph_mds_client *mdsc) in ceph_caps_init()
136 void ceph_caps_finalize(struct ceph_mds_client *mdsc) in ceph_caps_finalize()
155 void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc, in ceph_adjust_caps_max_min()
169 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps()
203 int ceph_reserve_caps(struct ceph_mds_client *mdsc, in ceph_reserve_caps()
309 void ceph_unreserve_caps(struct ceph_mds_client *mdsc, in ceph_unreserve_caps()
331 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
387 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
418 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status()
497 static void __cap_set_timeouts(struct ceph_mds_client *mdsc, in __cap_set_timeouts()
517 static void __cap_delay_requeue(struct ceph_mds_client *mdsc, in __cap_delay_requeue()
544 static void __cap_delay_requeue_front(struct ceph_mds_client *mdsc, in __cap_delay_requeue_front()
563 static void __cap_delay_cancel(struct ceph_mds_client *mdsc, in __cap_delay_cancel()
656 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in ceph_add_cap()
1141 struct ceph_mds_client *mdsc; in __ceph_remove_cap()
1211 void ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap, in ceph_remove_cap()
1261 struct ceph_mds_client *mdsc = arg->session->s_mdsc; in encode_cap_msg()
1381 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in __ceph_remove_caps()
1636 struct ceph_mds_client *mdsc = session->s_mdsc; in __ceph_flush_snaps()
1734 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in ceph_flush_snaps()
1799 struct ceph_mds_client *mdsc = in __ceph_mark_dirty_caps()
1871 static u64 __get_oldest_flush_tid(struct ceph_mds_client *mdsc) in __get_oldest_flush_tid()
1886 static bool __detach_cap_flush_from_mdsc(struct ceph_mds_client *mdsc, in __detach_cap_flush_from_mdsc()
1926 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in __mark_caps_flushing()
2026 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_check_caps()
2297 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in try_flush_caps()
2375 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in flush_mdlog_and_wait_inode_unsafe_requests()
2563 struct ceph_mds_client *mdsc = in ceph_write_inode()
2574 static void __kick_flushing_caps(struct ceph_mds_client *mdsc, in __kick_flushing_caps()
2657 void ceph_early_kick_flushing_caps(struct ceph_mds_client *mdsc, in ceph_early_kick_flushing_caps()
2709 void ceph_kick_flushing_caps(struct ceph_mds_client *mdsc, in ceph_kick_flushing_caps()
2748 struct ceph_mds_client *mdsc = session->s_mdsc; in ceph_kick_flushing_inode_caps()
2831 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in try_get_cap_refs()
3080 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_get_caps()
3831 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in handle_cap_flush_ack()
3941 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in __ceph_remove_capsnap()
3987 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in handle_cap_flushsnap_ack()
4082 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in handle_cap_export()
4213 static void handle_cap_import(struct ceph_mds_client *mdsc, in handle_cap_import()
4343 struct ceph_mds_client *mdsc = session->s_mdsc; in ceph_handle_caps()
4622 unsigned long ceph_check_delayed_caps(struct ceph_mds_client *mdsc) in ceph_check_delayed_caps()
4677 struct ceph_mds_client *mdsc = s->s_mdsc; in flush_dirty_session_caps()
4700 void ceph_flush_dirty_caps(struct ceph_mds_client *mdsc) in ceph_flush_dirty_caps()
4710 struct ceph_mds_client *mdsc = s->s_mdsc; in flush_cap_releases()
4722 void ceph_flush_cap_releases(struct ceph_mds_client *mdsc) in ceph_flush_cap_releases()
4728 struct ceph_mds_client *mdsc, int fmode) in __ceph_touch_fmode()
4744 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->netfs.inode.i_sb); in ceph_get_fmode()
4778 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->netfs.inode.i_sb); in ceph_put_fmode()
4823 struct ceph_mds_client *mdsc = in ceph_drop_caps_for_unlink()
4999 static int remove_capsnaps(struct ceph_mds_client *mdsc, struct inode *inode) in remove_capsnaps()
5027 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_purge_inode_cap()