Lines Matching defs:mdsc
129 void ceph_caps_init(struct ceph_mds_client *mdsc) in ceph_caps_init()
135 void ceph_caps_finalize(struct ceph_mds_client *mdsc) in ceph_caps_finalize()
154 void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc, in ceph_adjust_caps_max_min()
168 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps()
202 int ceph_reserve_caps(struct ceph_mds_client *mdsc, in ceph_reserve_caps()
308 void ceph_unreserve_caps(struct ceph_mds_client *mdsc, in ceph_unreserve_caps()
330 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
386 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
417 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status() local
496 static void __cap_set_timeouts(struct ceph_mds_client *mdsc, in __cap_set_timeouts()
516 static void __cap_delay_requeue(struct ceph_mds_client *mdsc, in __cap_delay_requeue()
543 static void __cap_delay_requeue_front(struct ceph_mds_client *mdsc, in __cap_delay_requeue_front()
562 static void __cap_delay_cancel(struct ceph_mds_client *mdsc, in __cap_delay_cancel()
655 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in ceph_add_cap() local
1140 struct ceph_mds_client *mdsc; in __ceph_remove_cap() local
1210 void ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap, in ceph_remove_cap()
1260 struct ceph_mds_client *mdsc = arg->session->s_mdsc; in encode_cap_msg() local
1380 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in __ceph_remove_caps() local
1635 struct ceph_mds_client *mdsc = session->s_mdsc; in __ceph_flush_snaps() local
1733 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in ceph_flush_snaps() local
1798 struct ceph_mds_client *mdsc = in __ceph_mark_dirty_caps() local
1870 static u64 __get_oldest_flush_tid(struct ceph_mds_client *mdsc) in __get_oldest_flush_tid()
1885 static bool __detach_cap_flush_from_mdsc(struct ceph_mds_client *mdsc, in __detach_cap_flush_from_mdsc()
1925 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in __mark_caps_flushing() local
2023 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_check_caps() local
2288 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in try_flush_caps() local
2366 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in flush_mdlog_and_wait_inode_unsafe_requests() local
2554 struct ceph_mds_client *mdsc = in ceph_write_inode() local
2565 static void __kick_flushing_caps(struct ceph_mds_client *mdsc, in __kick_flushing_caps()
2648 void ceph_early_kick_flushing_caps(struct ceph_mds_client *mdsc, in ceph_early_kick_flushing_caps()
2700 void ceph_kick_flushing_caps(struct ceph_mds_client *mdsc, in ceph_kick_flushing_caps()
2739 struct ceph_mds_client *mdsc = session->s_mdsc; in ceph_kick_flushing_inode_caps() local
2822 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in try_get_cap_refs() local
3070 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_get_caps() local
3811 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in handle_cap_flush_ack() local
3921 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in __ceph_remove_capsnap() local
3967 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in handle_cap_flushsnap_ack() local
4062 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in handle_cap_export() local
4193 static void handle_cap_import(struct ceph_mds_client *mdsc, in handle_cap_import()
4323 struct ceph_mds_client *mdsc = session->s_mdsc; in ceph_handle_caps() local
4602 unsigned long ceph_check_delayed_caps(struct ceph_mds_client *mdsc) in ceph_check_delayed_caps()
4649 struct ceph_mds_client *mdsc = s->s_mdsc; in flush_dirty_session_caps() local
4672 void ceph_flush_dirty_caps(struct ceph_mds_client *mdsc) in ceph_flush_dirty_caps()
4678 struct ceph_mds_client *mdsc, int fmode) in __ceph_touch_fmode()
4694 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->netfs.inode.i_sb); in ceph_get_fmode() local
4728 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->netfs.inode.i_sb); in ceph_put_fmode() local
4773 struct ceph_mds_client *mdsc = in ceph_drop_caps_for_unlink() local
4949 static int remove_capsnaps(struct ceph_mds_client *mdsc, struct inode *inode) in remove_capsnaps()
4977 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_purge_inode_cap() local