Lines Matching defs:mdsc
127 void ceph_caps_init(struct ceph_mds_client *mdsc) in ceph_caps_init()
133 void ceph_caps_finalize(struct ceph_mds_client *mdsc) in ceph_caps_finalize()
152 void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc, in ceph_adjust_caps_max_min()
166 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps()
200 int ceph_reserve_caps(struct ceph_mds_client *mdsc, in ceph_reserve_caps()
305 void ceph_unreserve_caps(struct ceph_mds_client *mdsc, in ceph_unreserve_caps()
326 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
381 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
410 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status() local
489 static void __cap_set_timeouts(struct ceph_mds_client *mdsc, in __cap_set_timeouts()
507 static void __cap_delay_requeue(struct ceph_mds_client *mdsc, in __cap_delay_requeue()
531 static void __cap_delay_requeue_front(struct ceph_mds_client *mdsc, in __cap_delay_requeue_front()
548 static void __cap_delay_cancel(struct ceph_mds_client *mdsc, in __cap_delay_cancel()
636 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in ceph_add_cap() local
1108 struct ceph_mds_client *mdsc; in __ceph_remove_cap() local
1532 struct ceph_mds_client *mdsc = session->s_mdsc; in __ceph_flush_snaps() local
1625 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in ceph_flush_snaps() local
1683 struct ceph_mds_client *mdsc = in __ceph_mark_dirty_caps() local
1752 static u64 __get_oldest_flush_tid(struct ceph_mds_client *mdsc) in __get_oldest_flush_tid()
1767 static bool __detach_cap_flush_from_mdsc(struct ceph_mds_client *mdsc, in __detach_cap_flush_from_mdsc()
1807 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in __mark_caps_flushing() local
1903 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_check_caps() local
2140 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in try_flush_caps() local
2218 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in unsafe_request_wait() local
2397 struct ceph_mds_client *mdsc = in ceph_write_inode() local
2408 static void __kick_flushing_caps(struct ceph_mds_client *mdsc, in __kick_flushing_caps()
2486 void ceph_early_kick_flushing_caps(struct ceph_mds_client *mdsc, in ceph_early_kick_flushing_caps()
2534 void ceph_kick_flushing_caps(struct ceph_mds_client *mdsc, in ceph_kick_flushing_caps()
2569 struct ceph_mds_client *mdsc = session->s_mdsc; in ceph_kick_flushing_inode_caps() local
2647 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in try_get_cap_refs() local
2884 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_get_caps() local
3583 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in handle_cap_flush_ack() local
3689 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in __ceph_remove_capsnap() local
3733 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in handle_cap_flushsnap_ack() local
3817 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in handle_cap_export() local
3942 static void handle_cap_import(struct ceph_mds_client *mdsc, in handle_cap_import()
4025 struct ceph_mds_client *mdsc = session->s_mdsc; in ceph_handle_caps() local
4264 unsigned long ceph_check_delayed_caps(struct ceph_mds_client *mdsc) in ceph_check_delayed_caps()
4308 struct ceph_mds_client *mdsc = s->s_mdsc; in flush_dirty_session_caps() local
4329 void ceph_flush_dirty_caps(struct ceph_mds_client *mdsc) in ceph_flush_dirty_caps()
4335 struct ceph_mds_client *mdsc, int fmode) in __ceph_touch_fmode()
4351 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->vfs_inode.i_sb); in ceph_get_fmode() local
4385 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->vfs_inode.i_sb); in ceph_put_fmode() local
4430 struct ceph_mds_client *mdsc = in ceph_drop_caps_for_unlink() local
4565 static int remove_capsnaps(struct ceph_mds_client *mdsc, struct inode *inode) in remove_capsnaps()
4591 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_purge_inode_cap() local