Lines Matching refs:ceph_mds_client
45 static u64 __get_oldest_flush_tid(struct ceph_mds_client *mdsc);
46 static void __kick_flushing_caps(struct ceph_mds_client *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()
489 static void __cap_set_timeouts(struct ceph_mds_client *mdsc, in __cap_set_timeouts()
510 static void __cap_delay_requeue(struct ceph_mds_client *mdsc, in __cap_delay_requeue()
536 static void __cap_delay_requeue_front(struct ceph_mds_client *mdsc, in __cap_delay_requeue_front()
553 static void __cap_delay_cancel(struct ceph_mds_client *mdsc, in __cap_delay_cancel()
612 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in ceph_add_cap()
1055 struct ceph_mds_client *mdsc = in __ceph_remove_cap()
1269 static int __send_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap, in __send_cap()
1459 struct ceph_mds_client *mdsc = session->s_mdsc; in __ceph_flush_snaps()
1552 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in ceph_flush_snaps()
1617 struct ceph_mds_client *mdsc = in __ceph_mark_dirty_caps()
1675 static u64 __get_oldest_flush_tid(struct ceph_mds_client *mdsc) in __get_oldest_flush_tid()
1690 static bool __finish_cap_flush(struct ceph_mds_client *mdsc, in __finish_cap_flush()
1727 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in __mark_caps_flushing()
1821 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_check_caps()
2090 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in try_flush_caps()
2291 struct ceph_mds_client *mdsc = in ceph_write_inode()
2302 static void __kick_flushing_caps(struct ceph_mds_client *mdsc, in __kick_flushing_caps()
2385 void ceph_early_kick_flushing_caps(struct ceph_mds_client *mdsc, in ceph_early_kick_flushing_caps()
2433 void ceph_kick_flushing_caps(struct ceph_mds_client *mdsc, in ceph_kick_flushing_caps()
2463 static void kick_flushing_inode_caps(struct ceph_mds_client *mdsc, in kick_flushing_inode_caps()
2544 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in try_get_cap_refs()
3375 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in handle_cap_flush_ack()
3478 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in handle_cap_flushsnap_ack()
3579 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in handle_cap_export()
3711 static void handle_cap_import(struct ceph_mds_client *mdsc, in handle_cap_import()
3799 struct ceph_mds_client *mdsc = session->s_mdsc; in ceph_handle_caps()
4032 void ceph_check_delayed_caps(struct ceph_mds_client *mdsc) in ceph_check_delayed_caps()
4067 void ceph_flush_dirty_caps(struct ceph_mds_client *mdsc) in ceph_flush_dirty_caps()
4143 struct ceph_mds_client *mdsc = in ceph_drop_caps_for_unlink()