Home
last modified time | relevance | path

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

/linux/fs/ceph/
H A Dmds_client.h264 struct ceph_mds_client *s_mdsc;
316 struct ceph_mds_client;
321 typedef void (*ceph_mds_request_callback_t) (struct ceph_mds_client *mdsc,
326 typedef int (*ceph_mds_request_wait_callback_t) (struct ceph_mds_client *mdsc,
335 struct ceph_mds_client *r_mdsc;
492 struct ceph_mds_client { struct
620 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); argument
628 int ceph_mdsc_schedule_reset(struct ceph_mds_client *mdsc,
630 int ceph_mdsc_wait_for_reset(struct ceph_mds_client *mdsc);
633 extern void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc);
[all …]
H A Dsuper.h164 struct ceph_mds_client *mdsc;
561 static inline struct ceph_mds_client *
564 return (struct ceph_mds_client *)ceph_sb_to_fs_client(sb)->mdsc; in ceph_sb_to_mdsc()
884 extern void ceph_caps_init(struct ceph_mds_client *mdsc);
885 extern void ceph_caps_finalize(struct ceph_mds_client *mdsc);
886 extern void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc,
888 extern int ceph_reserve_caps(struct ceph_mds_client *mdsc,
890 extern void ceph_unreserve_caps(struct ceph_mds_client *mdsc,
1058 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc,
1060 extern void ceph_get_snap_realm(struct ceph_mds_client *mdsc,
[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()
173 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc, in ceph_lookup_snap_realm()
183 static void __put_snap_realm(struct ceph_mds_client *mdsc,
189 static void __destroy_snap_realm(struct ceph_mds_client *mdsc, in __destroy_snap_realm()
214 static void __put_snap_realm(struct ceph_mds_client *mdsc, in __put_snap_realm()
230 void ceph_put_snap_realm(struct ceph_mds_client *mdsc, in ceph_put_snap_realm()
253 static void __cleanup_empty_realms(struct ceph_mds_client *mdsc) in __cleanup_empty_realms()
271 void ceph_cleanup_global_and_empty_realms(struct ceph_mds_client *mdsc) in ceph_cleanup_global_and_empty_realms()
[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()
85 find_quotarealm_inode(struct ceph_mds_client *mdsc, u64 ino) in find_quotarealm_inode()
130 static struct inode *lookup_quotarealm_inode(struct ceph_mds_client *mdsc, in lookup_quotarealm_inode()
179 void ceph_cleanup_quotarealms_inodes(struct ceph_mds_client *mdsc) in ceph_cleanup_quotarealms_inodes()
214 static int get_quota_realm(struct ceph_mds_client *mdsc, struct inode *inode, in get_quota_realm()
288 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old->i_sb); in ceph_quota_is_same_realm()
336 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in check_quota_exceeded()
506 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs()
H A Dmds_client.c66 static void __wake_requests(struct ceph_mds_client *mdsc,
74 static void ceph_metric_bind_session(struct ceph_mds_client *mdsc, in ceph_metric_bind_session()
120 struct ceph_mds_client *mdsc) in parse_reply_info_in()
410 struct ceph_mds_client *mdsc) in parse_reply_info_trace()
458 struct ceph_mds_client *mdsc) in parse_reply_info_readdir()
1031 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
1039 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
1047 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
1060 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
1135 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
[all …]
H A Dcaps.c49 static u64 __get_oldest_flush_tid(struct ceph_mds_client *mdsc);
50 static void __kick_flushing_caps(struct ceph_mds_client *mdsc,
131 void ceph_caps_init(struct ceph_mds_client *mdsc) in ceph_caps_init()
137 void ceph_caps_finalize(struct ceph_mds_client *mdsc) in ceph_caps_finalize()
156 void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc, in ceph_adjust_caps_max_min()
170 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps()
204 int ceph_reserve_caps(struct ceph_mds_client *mdsc, in ceph_reserve_caps()
310 void ceph_unreserve_caps(struct ceph_mds_client *mdsc, in ceph_unreserve_caps()
332 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
388 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
[all …]
H A Dmdsmap.h8 struct ceph_mds_client;
75 struct ceph_mdsmap *ceph_mdsmap_decode(struct ceph_mds_client *mdsc, void **p,
H A Dsubvolume_metrics.h12 struct ceph_mds_client;
83 void ceph_subvolume_metrics_record_io(struct ceph_mds_client *mdsc,
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_fs_client(inode->i_sb)->mdsc; in ceph_ioctl_set_layout()
146 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in ceph_ioctl_set_layout_policy()
253 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in ceph_ioctl_lazyio()
291 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(file_inode(file)->i_sb); in vet_mds_for_fscrypt()
H A Ddir.c42 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dentry->d_sb); in ceph_d_init()
323 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
810 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_lookup()
927 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mknod()
1038 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_symlink()
1112 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mkdir()
1203 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_link()
1256 static void ceph_async_unlink_cb(struct ceph_mds_client *mdsc, in ceph_async_unlink_cb()
1352 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1485 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old_dir->i_sb); in ceph_rename()
[all …]
H A Dlocks.c14 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc,
77 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()
252 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_lock()
322 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_flock()
H A Ddebugfs.c88 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show()
302 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show()
350 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show()
399 struct ceph_mds_client *mdsc = fsc->mdsc; in reset_status_show()
459 struct ceph_mds_client *mdsc = fsc->mdsc; in reset_trigger_write()
483 struct ceph_mds_client *mdsc = fsc->mdsc; in subvolume_metrics_show()
548 struct ceph_mds_client *mdsc = fsc->mdsc; in metric_features_show()
H A Dmetric.c91 static bool ceph_mdsc_send_metrics(struct ceph_mds_client *mdsc, in ceph_mdsc_send_metrics()
334 static void metric_get_session(struct ceph_mds_client *mdsc) in metric_get_session()
376 struct ceph_mds_client *mdsc = in metric_delayed_work()
377 container_of(m, struct ceph_mds_client, metric); in metric_delayed_work()
H A Dexport.c133 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)->mdsc; in __lookup_inode()
215 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)->mdsc; in __snapfh_to_dentry()
326 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)->mdsc; in __get_parent()
560 struct ceph_mds_client *mdsc; in ceph_get_name()
H A Dsuper.c1070 struct ceph_mds_client *mdsc = fsc->mdsc; in open_root_dentry()
1502 static bool __inc_stopping_blocker(struct ceph_mds_client *mdsc) in __inc_stopping_blocker()
1514 static void __dec_stopping_blocker(struct ceph_mds_client *mdsc) in __dec_stopping_blocker()
1524 bool ceph_inc_mds_stopping_blocker(struct ceph_mds_client *mdsc, in ceph_inc_mds_stopping_blocker()
1534 void ceph_dec_mds_stopping_blocker(struct ceph_mds_client *mdsc) in ceph_dec_mds_stopping_blocker()
1540 bool ceph_inc_osd_stopping_blocker(struct ceph_mds_client *mdsc) in ceph_inc_osd_stopping_blocker()
1545 void ceph_dec_osd_stopping_blocker(struct ceph_mds_client *mdsc) in ceph_dec_osd_stopping_blocker()
1554 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_kill_sb()
H A Dinode.c48 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_set_ino_cb()
180 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in ceph_get_inode()
738 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_evict_inode()
976 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc, in decode_encrypted_symlink()
1001 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc, in decode_encrypted_symlink()
1019 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_fill_inode()
2577 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in __ceph_setattr()
3000 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
3048 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_do_getvxattr()
H A Dfile.c42 static __le32 ceph_flags_sys2wire(struct ceph_mds_client *mdsc, u32 flags) in ceph_flags_sys2wire()
201 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in prepare_open_request()
321 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_renew_caps()
384 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
616 static void ceph_async_create_cb(struct ceph_mds_client *mdsc, in ceph_async_create_cb()
687 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_finish_async_create()
801 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
H A Dsubvolume_metrics.c370 void ceph_subvolume_metrics_record_io(struct ceph_mds_client *mdsc, in ceph_subvolume_metrics_record_io()
H A Daddr.c86 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_dirty_folio()
287 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_netfs_issue_op_inline()
907 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in writepages_finish()
2410 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_pool_perm_get()
2647 void ceph_pool_perm_destroy(struct ceph_mds_client *mdsc) in ceph_pool_perm_destroy()
H A Dmdsmap.c119 struct ceph_mdsmap *ceph_mdsmap_decode(struct ceph_mds_client *mdsc, void **p, in ceph_mdsmap_decode()
H A Dxattr.c1114 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr()
1182 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in __ceph_setxattr()
/linux/include/trace/events/
H A Dceph.h53 TP_PROTO(struct ceph_mds_client *mdsc,
90 TP_PROTO(struct ceph_mds_client *mdsc,
118 TP_PROTO(struct ceph_mds_client *mdsc,
163 TP_PROTO(struct ceph_mds_client *mdsc,
190 TP_PROTO(struct ceph_mds_client *mdsc,
235 TP_PROTO(const struct ceph_mds_client *mdsc, const char *reason),
251 TP_PROTO(const struct ceph_mds_client *mdsc, int ret),
266 TP_PROTO(const struct ceph_mds_client *mdsc, int blocked_count),
282 TP_PROTO(const struct ceph_mds_client *mdsc, int ret),
/linux/include/linux/ceph/
H A Dlibceph.h107 struct ceph_mds_client;