Home
last modified time | relevance | path

Searched refs:ceph_mds_client (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/fs/ceph/
Dmds_client.h181 struct ceph_mds_client *s_mdsc;
232 struct ceph_mds_client;
237 typedef void (*ceph_mds_request_callback_t) (struct ceph_mds_client *mdsc,
242 typedef int (*ceph_mds_request_wait_callback_t) (struct ceph_mds_client *mdsc,
251 struct ceph_mds_client *r_mdsc;
386 struct ceph_mds_client { struct
488 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); argument
496 extern int ceph_send_msg_mds(struct ceph_mds_client *mdsc,
500 extern void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc);
501 extern void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc);
[all …]
Dsuper.h122 struct ceph_mds_client *mdsc;
461 static inline struct ceph_mds_client *
464 return (struct ceph_mds_client *)ceph_sb_to_client(sb)->mdsc; in ceph_sb_to_mdsc()
761 extern void ceph_caps_init(struct ceph_mds_client *mdsc);
762 extern void ceph_caps_finalize(struct ceph_mds_client *mdsc);
763 extern void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc,
765 extern int ceph_reserve_caps(struct ceph_mds_client *mdsc,
767 extern void ceph_unreserve_caps(struct ceph_mds_client *mdsc,
936 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc,
938 extern void ceph_get_snap_realm(struct ceph_mds_client *mdsc,
[all …]
Dquota.c15 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_adjust_quota_realms_count()
25 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in ceph_has_realms_with_quotas()
40 void ceph_handle_quota(struct ceph_mds_client *mdsc, in ceph_handle_quota()
84 find_quotarealm_inode(struct ceph_mds_client *mdsc, u64 ino) in find_quotarealm_inode()
128 static struct inode *lookup_quotarealm_inode(struct ceph_mds_client *mdsc, in lookup_quotarealm_inode()
176 void ceph_cleanup_quotarealms_inodes(struct ceph_mds_client *mdsc) in ceph_cleanup_quotarealms_inodes()
211 static struct ceph_snap_realm *get_quota_realm(struct ceph_mds_client *mdsc, in get_quota_realm()
272 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old->i_sb); in ceph_quota_is_same_realm()
319 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in check_quota_exceeded()
480 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs()
Dsnap.c65 void ceph_get_snap_realm(struct ceph_mds_client *mdsc, in ceph_get_snap_realm()
113 struct ceph_mds_client *mdsc, in ceph_create_snap_realm()
149 static struct ceph_snap_realm *__lookup_snap_realm(struct ceph_mds_client *mdsc, in __lookup_snap_realm()
171 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc, in ceph_lookup_snap_realm()
181 static void __put_snap_realm(struct ceph_mds_client *mdsc,
187 static void __destroy_snap_realm(struct ceph_mds_client *mdsc, in __destroy_snap_realm()
211 static void __put_snap_realm(struct ceph_mds_client *mdsc, in __put_snap_realm()
227 void ceph_put_snap_realm(struct ceph_mds_client *mdsc, in ceph_put_snap_realm()
250 static void __cleanup_empty_realms(struct ceph_mds_client *mdsc) in __cleanup_empty_realms()
268 void ceph_cleanup_global_and_empty_realms(struct ceph_mds_client *mdsc) in ceph_cleanup_global_and_empty_realms()
[all …]
Dmds_client.c61 static void __wake_requests(struct ceph_mds_client *mdsc,
775 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
783 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
791 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
804 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
873 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
897 void ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_iterate_sessions()
978 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) in DEFINE_RB_FUNCS()
995 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
1033 static void __unregister_request(struct ceph_mds_client *mdsc, in __unregister_request()
[all …]
Dcaps.c45 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()
[all …]
Dioctl.c37 static long __validate_layout(struct ceph_mds_client *mdsc, in __validate_layout()
67 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in ceph_ioctl_set_layout()
142 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in ceph_ioctl_set_layout_policy()
246 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in ceph_ioctl_lazyio()
Ddir.c41 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dentry->d_sb); in ceph_d_init()
311 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
751 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_lookup()
851 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mknod()
917 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_symlink()
976 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mkdir()
1049 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_link()
1088 static void ceph_async_unlink_cb(struct ceph_mds_client *mdsc, in ceph_async_unlink_cb()
1184 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1276 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old_dir->i_sb); in ceph_rename()
[all …]
Dmetric.c17 static bool ceph_mdsc_send_metrics(struct ceph_mds_client *mdsc, in ceph_mdsc_send_metrics()
177 static void metric_get_session(struct ceph_mds_client *mdsc) in metric_get_session()
208 struct ceph_mds_client *mdsc = in metric_delayed_work()
209 container_of(m, struct ceph_mds_client, metric); in metric_delayed_work()
Dexport.c125 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __lookup_inode()
207 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __snapfh_to_dentry()
319 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __get_parent()
536 struct ceph_mds_client *mdsc; in ceph_get_name()
Dlocks.c13 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc,
66 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_lock_message()
144 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc, in ceph_lock_wait_for_completion()
Ddebugfs.c55 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show()
265 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show()
313 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show()
Dfile.c184 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in prepare_open_request()
302 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_renew_caps()
360 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
547 static void ceph_async_create_cb(struct ceph_mds_client *mdsc, in ceph_async_create_cb()
617 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_finish_async_create()
729 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
Dinode.c45 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_set_ino_cb()
564 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_evict_inode()
764 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_fill_inode()
2017 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in __ceph_setattr()
2301 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
2347 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_do_getvxattr()
Daddr.c254 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_netfs_issue_op_inline()
1794 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_pool_perm_get()
2031 void ceph_pool_perm_destroy(struct ceph_mds_client *mdsc) in ceph_pool_perm_destroy()
Dxattr.c1067 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr()
1134 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in __ceph_setxattr()
Dsuper.c1014 struct ceph_mds_client *mdsc = fsc->mdsc; in open_root_dentry()
/Linux-v6.1/include/linux/ceph/
Dlibceph.h117 struct ceph_mds_client;