Home
last modified time | relevance | path

Searched refs:ceph_mds_client (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/fs/ceph/
H A Dmds_client.h192 struct ceph_mds_client *s_mdsc;
243 struct ceph_mds_client;
248 typedef void (*ceph_mds_request_callback_t) (struct ceph_mds_client *mdsc,
253 typedef int (*ceph_mds_request_wait_callback_t) (struct ceph_mds_client *mdsc,
262 struct ceph_mds_client *r_mdsc;
412 struct ceph_mds_client { struct
518 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds);
526 extern int ceph_send_msg_mds(struct ceph_mds_client *mdsc,
530 extern void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc);
531 extern void ceph_mdsc_force_umount(struct ceph_mds_client *mds
[all...]
H A Dsuper.h136 struct ceph_mds_client *mdsc;
502 static inline struct ceph_mds_client *
505 return (struct ceph_mds_client *)ceph_sb_to_client(sb)->mdsc; in ceph_sb_to_mdsc()
804 extern void ceph_caps_init(struct ceph_mds_client *mdsc);
805 extern void ceph_caps_finalize(struct ceph_mds_client *mdsc);
806 extern void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc,
808 extern int ceph_reserve_caps(struct ceph_mds_client *mdsc,
810 extern void ceph_unreserve_caps(struct ceph_mds_client *mdsc,
978 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc,
980 extern void ceph_get_snap_realm(struct ceph_mds_client *mds
[all...]
H A 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 int get_quota_realm(struct ceph_mds_client *mdsc, struct inode *inode, in get_quota_realm()
276 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old->i_sb); in ceph_quota_is_same_realm()
324 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in check_quota_exceeded()
485 struct ceph_mds_client *mds in ceph_quota_update_statfs()
[all...]
H A Dmds_client.c62 static void __wake_requests(struct ceph_mds_client *mdsc,
928 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
936 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
944 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
957 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
1029 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
1053 void ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_iterate_sessions()
1137 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) in lookup_get_request()
1154 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
1192 static void __unregister_request(struct ceph_mds_client *mds
[all...]
H A Dsnap.c66 void ceph_get_snap_realm(struct ceph_mds_client *mdsc, in ceph_get_snap_realm()
114 struct ceph_mds_client *mdsc, in ceph_create_snap_realm()
150 static struct ceph_snap_realm *__lookup_snap_realm(struct ceph_mds_client *mdsc, in __lookup_snap_realm()
172 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc, in ceph_lookup_snap_realm()
182 static void __put_snap_realm(struct ceph_mds_client *mdsc,
188 static void __destroy_snap_realm(struct ceph_mds_client *mdsc, in __destroy_snap_realm()
212 static void __put_snap_realm(struct ceph_mds_client *mdsc, in __put_snap_realm()
228 void ceph_put_snap_realm(struct ceph_mds_client *mdsc, in ceph_put_snap_realm()
251 static void __cleanup_empty_realms(struct ceph_mds_client *mdsc) in __cleanup_empty_realms()
269 void ceph_cleanup_global_and_empty_realms(struct ceph_mds_client *mds
[all...]
H A Dcaps.c47 static u64 __get_oldest_flush_tid(struct ceph_mds_client *mdsc);
48 static void __kick_flushing_caps(struct ceph_mds_client *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()
307 void ceph_unreserve_caps(struct ceph_mds_client *mdsc, in ceph_unreserve_caps()
328 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
383 void ceph_put_cap(struct ceph_mds_client *mds
[all...]
H A Ddir.c42 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dentry->d_sb); in ceph_d_init()
314 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
775 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_lookup()
887 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mknod()
995 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_symlink()
1066 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mkdir()
1146 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_link()
1198 static void ceph_async_unlink_cb(struct ceph_mds_client *mdsc, in ceph_async_unlink_cb()
1294 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1386 struct ceph_mds_client *mds in ceph_rename()
[all...]
H A Dioctl.c38 static long __validate_layout(struct ceph_mds_client *mdsc, in __validate_layout()
68 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in ceph_ioctl_set_layout()
143 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in ceph_ioctl_set_layout_policy()
247 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in ceph_ioctl_lazyio()
275 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(file_inode(file)->i_sb); in vet_mds_for_fscrypt()
H A Dmetric.c17 static bool ceph_mdsc_send_metrics(struct ceph_mds_client *mdsc, in ceph_mdsc_send_metrics()
185 static void metric_get_session(struct ceph_mds_client *mdsc) in metric_get_session()
216 struct ceph_mds_client *mdsc = in metric_delayed_work()
217 container_of(m, struct ceph_mds_client, metric); in metric_delayed_work()
H A Dsuper.c1048 struct ceph_mds_client *mdsc = fsc->mdsc; in open_root_dentry()
1469 static bool __inc_stopping_blocker(struct ceph_mds_client *mdsc) in __inc_stopping_blocker()
1481 static void __dec_stopping_blocker(struct ceph_mds_client *mdsc) in __dec_stopping_blocker()
1491 bool ceph_inc_mds_stopping_blocker(struct ceph_mds_client *mdsc, in ceph_inc_mds_stopping_blocker()
1501 void ceph_dec_mds_stopping_blocker(struct ceph_mds_client *mdsc) in ceph_dec_mds_stopping_blocker()
1507 bool ceph_inc_osd_stopping_blocker(struct ceph_mds_client *mdsc) in ceph_inc_osd_stopping_blocker()
1512 void ceph_dec_osd_stopping_blocker(struct ceph_mds_client *mdsc) in ceph_dec_osd_stopping_blocker()
1520 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_kill_sb()
H A Dexport.c126 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __lookup_inode()
208 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __snapfh_to_dentry()
320 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __get_parent()
537 struct ceph_mds_client *mdsc; in ceph_get_name()
H A Ddebugfs.c55 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show()
271 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show()
319 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show()
H A Dlocks.c14 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc,
79 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_lock_message()
157 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc, in ceph_lock_wait_for_completion()
/kernel/linux/linux-5.10/fs/ceph/
H A Dmds_client.h170 struct ceph_mds_client *s_mdsc;
223 struct ceph_mds_client;
228 typedef void (*ceph_mds_request_callback_t) (struct ceph_mds_client *mdsc,
233 typedef int (*ceph_mds_request_wait_callback_t) (struct ceph_mds_client *mdsc,
242 struct ceph_mds_client *r_mdsc;
383 struct ceph_mds_client { struct
485 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds);
493 extern int ceph_send_msg_mds(struct ceph_mds_client *mdsc,
497 extern void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc);
498 extern void ceph_mdsc_force_umount(struct ceph_mds_client *mds
[all...]
H A Dsuper.h119 struct ceph_mds_client *mdsc;
454 static inline struct ceph_mds_client *
457 return (struct ceph_mds_client *)ceph_sb_to_client(sb)->mdsc; in ceph_sb_to_mdsc()
747 extern void ceph_caps_init(struct ceph_mds_client *mdsc);
748 extern void ceph_caps_finalize(struct ceph_mds_client *mdsc);
749 extern void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc,
751 extern int ceph_reserve_caps(struct ceph_mds_client *mdsc,
753 extern void ceph_unreserve_caps(struct ceph_mds_client *mdsc,
917 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc,
919 extern void ceph_get_snap_realm(struct ceph_mds_client *mds
[all...]
H A 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()
37 void ceph_handle_quota(struct ceph_mds_client *mdsc, in ceph_handle_quota()
82 find_quotarealm_inode(struct ceph_mds_client *mdsc, u64 ino) in find_quotarealm_inode()
126 static struct inode *lookup_quotarealm_inode(struct ceph_mds_client *mdsc, in lookup_quotarealm_inode()
174 void ceph_cleanup_quotarealms_inodes(struct ceph_mds_client *mdsc) in ceph_cleanup_quotarealms_inodes()
209 static struct ceph_snap_realm *get_quota_realm(struct ceph_mds_client *mdsc, in get_quota_realm()
269 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old->i_sb); in ceph_quota_is_same_realm()
316 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in check_quota_exceeded()
478 struct ceph_mds_client *mds in ceph_quota_update_statfs()
[all...]
H A Dmds_client.c60 static void __wake_requests(struct ceph_mds_client *mdsc,
681 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
689 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
697 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
710 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
788 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
812 void ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_iterate_sessions()
893 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) in lookup_get_request()
910 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
949 static void __unregister_request(struct ceph_mds_client *mds
[all...]
H A 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()
144 static struct ceph_snap_realm *__lookup_snap_realm(struct ceph_mds_client *mdsc, in __lookup_snap_realm()
166 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc, in ceph_lookup_snap_realm()
176 static void __put_snap_realm(struct ceph_mds_client *mdsc,
182 static void __destroy_snap_realm(struct ceph_mds_client *mdsc, in __destroy_snap_realm()
206 static void __put_snap_realm(struct ceph_mds_client *mdsc, in __put_snap_realm()
222 void ceph_put_snap_realm(struct ceph_mds_client *mdsc, in ceph_put_snap_realm()
245 static void __cleanup_empty_realms(struct ceph_mds_client *mdsc) in __cleanup_empty_realms()
263 void ceph_cleanup_empty_realms(struct ceph_mds_client *mds
[all...]
H A Dmetric.c11 static bool ceph_mdsc_send_metrics(struct ceph_mds_client *mdsc, in ceph_mdsc_send_metrics()
99 static void metric_get_session(struct ceph_mds_client *mdsc) in metric_get_session()
130 struct ceph_mds_client *mdsc = in metric_delayed_work()
131 container_of(m, struct ceph_mds_client, metric); in metric_delayed_work()
H A 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()
H A 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 *mds
[all...]
H A 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()
749 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_lookup()
838 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mknod()
899 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_symlink()
951 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mkdir()
1018 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_link()
1052 static void ceph_async_unlink_cb(struct ceph_mds_client *mdsc, in ceph_async_unlink_cb()
1130 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1199 struct ceph_mds_client *mds in ceph_rename()
[all...]
H A Ddebugfs.c55 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show()
146 struct ceph_mds_client *mdsc = fsc->mdsc; in metric_show()
226 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show()
274 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show()
H A Dexport.c125 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __lookup_inode()
201 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __snapfh_to_dentry()
307 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __get_parent()
524 struct ceph_mds_client *mdsc; in ceph_get_name()
H A Dlocks.c13 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc,
62 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_lock_message()
140 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc, in ceph_lock_wait_for_completion()

Completed in 32 milliseconds

12