/linux-master/fs/ceph/ |
H A D | ioctl.c | 38 static long __validate_layout(struct ceph_mds_client *mdsc, argument 68 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; local 143 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; local 247 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; local 278 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(file_inode(file)->i_sb); local [all...] |
H A D | mdsmap.c | 118 struct ceph_mdsmap *ceph_mdsmap_decode(struct ceph_mds_client *mdsc, void **p, argument
|
H A D | metric.c | 17 static bool ceph_mdsc_send_metrics(struct ceph_mds_client *mdsc, argument 186 static void metric_get_session(struct ceph_mds_client *mdsc) argument 217 struct ceph_mds_client *mdsc = local [all...] |
H A D | debugfs.c | 55 struct ceph_mds_client *mdsc = fsc->mdsc; local 271 struct ceph_mds_client *mdsc = fsc->mdsc; local 319 struct ceph_mds_client *mdsc = fsc->mdsc; local 366 DEFINE_SHOW_ATTRIBUTE(mdsc); variable [all...] |
H A D | export.c | 128 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)->mdsc; local 210 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)->mdsc; local 321 struct ceph_mds_client *mdsc local 540 struct ceph_mds_client *mdsc; local [all...] |
H A D | quota.c | 15 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 25 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); local 40 void ceph_handle_quota(struct ceph_mds_client *mdsc, argument 85 find_quotarealm_inode(struct ceph_mds_client *mdsc, u64 ino) argument 130 lookup_quotarealm_inode(struct ceph_mds_client *mdsc, struct super_block *sb, struct ceph_snap_realm *realm) argument 179 ceph_cleanup_quotarealms_inodes(struct ceph_mds_client *mdsc) argument 214 get_quota_realm(struct ceph_mds_client *mdsc, struct inode *inode, enum quota_get_realm which_quota, struct ceph_snap_realm **realmp, bool retry) argument 281 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old->i_sb); local 329 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 492 struct ceph_mds_client *mdsc = fsc->mdsc; local [all...] |
H A D | locks.c | 79 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 159 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc, argument [all...] |
H A D | snap.c | 66 void ceph_get_snap_realm(struct ceph_mds_client *mdsc, argument 150 static struct ceph_snap_realm *__lookup_snap_realm(struct ceph_mds_client *mdsc, argument 113 ceph_create_snap_realm( struct ceph_mds_client *mdsc, u64 ino) argument 173 ceph_lookup_snap_realm(struct ceph_mds_client *mdsc, u64 ino) argument 189 __destroy_snap_realm(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm) argument 214 __put_snap_realm(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm) argument 230 ceph_put_snap_realm(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm) argument 253 __cleanup_empty_realms(struct ceph_mds_client *mdsc) argument 271 ceph_cleanup_global_and_empty_realms(struct ceph_mds_client *mdsc) argument 291 adjust_snap_realm_parent(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm, u64 parentino) argument 335 build_snap_context(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm, struct list_head *realm_queue, struct list_head *dirty_realms) argument 433 rebuild_snap_realms(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm, struct list_head *dirty_realms) argument 666 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 722 queue_realm_cap_snaps(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm) argument 779 ceph_update_snap_trace(struct ceph_mds_client *mdsc, void *p, void *e, bool deletion, struct ceph_snap_realm **realm_ret) argument 942 flush_snaps(struct ceph_mds_client *mdsc) argument 980 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; local 1016 ceph_handle_snap(struct ceph_mds_client *mdsc, struct ceph_mds_session *session, struct ceph_msg *msg) argument 1188 ceph_get_snapid_map(struct ceph_mds_client *mdsc, u64 snap) argument 1268 ceph_put_snapid_map(struct ceph_mds_client* mdsc, struct ceph_snapid_map *sm) argument 1287 ceph_trim_snapid_map(struct ceph_mds_client *mdsc) argument 1317 ceph_cleanup_snapid_map(struct ceph_mds_client *mdsc) argument [all...] |
H A D | xattr.c | 1115 struct ceph_mds_client *mdsc = fsc->mdsc; local 1183 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; local [all...] |
H A D | dir.c | 42 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dentry->d_sb); local 322 struct ceph_mds_client *mdsc = fsc->mdsc; local 800 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); local 915 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); local 1025 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); local 1099 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); local 1183 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); local 1236 ceph_async_unlink_cb(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) argument 1335 struct ceph_mds_client *mdsc = fsc->mdsc; local 1428 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old_dir->i_sb); local 1506 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(dn->d_sb)->mdsc; local 1522 __dentry_dir_lease_touch(struct ceph_mds_client* mdsc, struct ceph_dentry_info *di) argument 1540 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(dn->d_sb)->mdsc; local 1570 struct ceph_mds_client *mdsc; local 1600 __dentry_leases_walk(struct ceph_mds_client *mdsc, struct ceph_lease_walk_control *lwc) argument 1729 ceph_trim_dentries(struct ceph_mds_client *mdsc) argument 1808 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(dentry->d_sb)->mdsc; local 1881 dir_lease_is_valid(struct inode *dir, struct dentry *dentry, struct ceph_mds_client *mdsc) argument 1918 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(dentry->d_sb)->mdsc; local 2074 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dentry->d_sb); local [all...] |
H A D | super.c | 1052 struct ceph_mds_client *mdsc = fsc->mdsc; local 1478 __inc_stopping_blocker(struct ceph_mds_client *mdsc) argument 1490 __dec_stopping_blocker(struct ceph_mds_client *mdsc) argument 1500 ceph_inc_mds_stopping_blocker(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 1510 ceph_dec_mds_stopping_blocker(struct ceph_mds_client *mdsc) argument 1516 ceph_inc_osd_stopping_blocker(struct ceph_mds_client *mdsc) argument 1521 ceph_dec_osd_stopping_blocker(struct ceph_mds_client *mdsc) argument 1530 struct ceph_mds_client *mdsc = fsc->mdsc; local [all...] |
H A D | inode.c | 48 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 134 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); local 689 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 901 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc, argument 926 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc, argument 944 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 2471 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; local 2873 struct ceph_mds_client *mdsc = fsc->mdsc; local 2921 struct ceph_mds_client *mdsc = fsc->mdsc; local [all...] |
H A D | file.c | 23 static __le32 ceph_flags_sys2wire(struct ceph_mds_client *mdsc, u32 flags) argument 182 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); local 302 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 364 struct ceph_mds_client *mdsc local 567 ceph_async_create_cb(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) argument 640 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); local 754 struct ceph_mds_client *mdsc = fsc->mdsc; local [all...] |
H A D | addr.c | 278 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 1991 struct ceph_mds_client *mdsc = fsc->mdsc; local 2228 ceph_pool_perm_destroy(struct ceph_mds_client *mdsc) argument [all...] |
H A D | caps.c | 129 void ceph_caps_init(struct ceph_mds_client *mdsc) argument 135 void ceph_caps_finalize(struct ceph_mds_client *mdsc) argument 154 ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc, struct ceph_mount_options *fsopt) argument 168 __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) argument 202 ceph_reserve_caps(struct ceph_mds_client *mdsc, struct ceph_cap_reservation *ctx, int need) argument 308 ceph_unreserve_caps(struct ceph_mds_client *mdsc, struct ceph_cap_reservation *ctx) argument 330 ceph_get_cap(struct ceph_mds_client *mdsc, struct ceph_cap_reservation *ctx) argument 386 ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) argument 417 struct ceph_mds_client *mdsc = fsc->mdsc; local 496 __cap_set_timeouts(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) argument 516 __cap_delay_requeue(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) argument 543 __cap_delay_requeue_front(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) argument 562 __cap_delay_cancel(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) argument 655 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; local 1140 struct ceph_mds_client *mdsc; local 1210 ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap, bool queue_release) argument 1260 struct ceph_mds_client *mdsc = arg->session->s_mdsc; local 1380 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; local 1635 struct ceph_mds_client *mdsc = session->s_mdsc; variable in typeref:struct:ceph_mds_client 1733 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; local 1798 struct ceph_mds_client *mdsc = local 1870 __get_oldest_flush_tid(struct ceph_mds_client *mdsc) argument 1885 __detach_cap_flush_from_mdsc(struct ceph_mds_client *mdsc, struct ceph_cap_flush *cf) argument 1925 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; local 2023 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 2288 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; local 2366 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; local 2554 struct ceph_mds_client *mdsc = local 2648 ceph_early_kick_flushing_caps(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 2700 ceph_kick_flushing_caps(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 2739 struct ceph_mds_client *mdsc = session->s_mdsc; local 2822 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; local 3070 struct ceph_mds_client *mdsc = fsc->mdsc; local 3811 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; variable in typeref:struct:ceph_mds_client 3921 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; local 3967 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; local 4062 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; local 4193 handle_cap_import(struct ceph_mds_client *mdsc, struct inode *inode, struct ceph_mds_caps *im, struct ceph_mds_cap_peer *ph, struct ceph_mds_session *session, struct ceph_cap **target_cap, int *old_issued) argument 4323 struct ceph_mds_client *mdsc = session->s_mdsc; local 4602 ceph_check_delayed_caps(struct ceph_mds_client *mdsc) argument 4657 struct ceph_mds_client *mdsc = s->s_mdsc; local 4680 ceph_flush_dirty_caps(struct ceph_mds_client *mdsc) argument 4685 __ceph_touch_fmode(struct ceph_inode_info *ci, struct ceph_mds_client *mdsc, int fmode) argument 4702 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->netfs.inode.i_sb); local 4736 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->netfs.inode.i_sb); local 4781 struct ceph_mds_client *mdsc = local 4957 remove_capsnaps(struct ceph_mds_client *mdsc, struct inode *inode) argument 4985 struct ceph_mds_client *mdsc = fsc->mdsc; local [all...] |
H A D | super.h | 137 struct ceph_mds_client *mdsc; member in struct:ceph_fs_client [all...] |
H A D | mds_client.c | 934 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, argument 942 static bool __have_session(struct ceph_mds_client *mdsc, int mds) argument 950 static int __verify_registered_session(struct ceph_mds_client *mdsc, argument 963 register_session(struct ceph_mds_client *mdsc, int mds) argument 1036 __unregister_session(struct ceph_mds_client *mdsc, struct ceph_mds_session *s) argument 1060 ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, void (*cb)(struct ceph_mds_session *), bool check_state) argument 1146 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) argument 1163 __register_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req, struct inode *dir) argument 1204 __unregister_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) argument 1282 __choose_mds(struct ceph_mds_client *mdsc, struct ceph_mds_request *req, bool *random) argument 1538 create_session_full_msg(struct ceph_mds_client *mdsc, int op, u64 seq) argument 1661 __open_session(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 1693 __open_export_target_session(struct ceph_mds_client *mdsc, int target) argument 1715 ceph_mdsc_open_export_target_session(struct ceph_mds_client *mdsc, int target) argument 1729 __open_export_target_sessions(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 1750 ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 1774 dispose_cap_releases(struct ceph_mds_client *mdsc, struct list_head *dispose) argument 1786 cleanup_session_requests(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 2022 send_renew_caps(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 2053 send_flushmsg_ack(struct ceph_mds_client *mdsc, struct ceph_mds_session *session, u64 seq) argument 2074 renewed_caps(struct ceph_mds_client *mdsc, struct ceph_mds_session *session, int is_renew) argument 2127 __close_session(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 2171 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 2251 ceph_trim_caps(struct ceph_mds_client *mdsc, struct ceph_mds_session *session, int max_caps) argument 2273 check_caps_flush(struct ceph_mds_client *mdsc, u64 want_flush_tid) argument 2299 wait_caps_flush(struct ceph_mds_client *mdsc, u64 want_flush_tid) argument 2315 ceph_send_cap_releases(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 2423 ceph_flush_cap_releases(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 2455 struct ceph_mds_client *mdsc = local 2462 ceph_queue_cap_reclaim_work(struct ceph_mds_client *mdsc) argument 2475 ceph_reclaim_caps_nr(struct ceph_mds_client *mdsc, int nr) argument 2487 ceph_queue_cap_unlink_work(struct ceph_mds_client *mdsc) argument 2502 struct ceph_mds_client *mdsc = local 2578 ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op, int mode) argument 2614 __get_oldest_req(struct ceph_mds_client *mdsc) argument 2622 __get_oldest_tid(struct ceph_mds_client *mdsc) argument 2707 ceph_mdsc_build_path(struct ceph_mds_client *mdsc, struct dentry *dentry, int *plen, u64 *pbase, int for_wire) argument 2826 build_dentry_path(struct ceph_mds_client *mdsc, struct dentry *dentry, struct inode *dir, const char **ppath, int *ppathlen, u64 *pino, bool *pfreepath, bool parent_locked) argument 2856 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 2879 set_request_path_attr(struct ceph_mds_client *mdsc, struct inode *rinode, struct dentry *rdentry, struct inode *rdiri, const char *rpath, u64 rino, const char **ppath, int *pathlen, u64 *ino, bool *freepath, bool parent_locked) argument 2973 struct ceph_mds_client *mdsc = session->s_mdsc; local 3244 complete_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) argument 3262 struct ceph_mds_client *mdsc = session->s_mdsc; local 3392 __do_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) argument 3598 __wake_requests(struct ceph_mds_client *mdsc, struct list_head *head) argument 3621 kick_requests(struct ceph_mds_client *mdsc, int mds) argument 3644 ceph_mdsc_submit_request(struct ceph_mds_client *mdsc, struct inode *dir, struct ceph_mds_request *req) argument 3691 ceph_mdsc_wait_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req, ceph_mds_request_wait_callback_t wait_func) argument 3747 ceph_mdsc_do_request(struct ceph_mds_client *mdsc, struct inode *dir, struct ceph_mds_request *req) argument 3795 struct ceph_mds_client *mdsc = session->s_mdsc; local 4005 handle_forward(struct ceph_mds_client *mdsc, struct ceph_mds_session *session, struct ceph_msg *msg) argument 4108 struct ceph_mds_client *mdsc = session->s_mdsc; local 4323 replay_unsafe_requests(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 4473 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); local 4662 encode_snap_realms(struct ceph_mds_client *mdsc, struct ceph_reconnect_state *recon_state) argument 4733 send_mds_reconnect(struct ceph_mds_client *mdsc, struct ceph_mds_session *session) argument 4908 check_new_map(struct ceph_mds_client *mdsc, struct ceph_mdsmap *newmap, struct ceph_mdsmap *oldmap) argument 5082 handle_lease(struct ceph_mds_client *mdsc, struct ceph_mds_session *session, struct ceph_msg *msg) argument 5234 maybe_recover_session(struct ceph_mds_client *mdsc) argument 5302 schedule_delayed(struct ceph_mds_client *mdsc, unsigned long delay) argument 5315 struct ceph_mds_client *mdsc = local 5374 struct ceph_mds_client *mdsc; local 5451 wait_requests(struct ceph_mds_client *mdsc) argument 5506 ceph_mdsc_pre_umount(struct ceph_mds_client *mdsc) argument 5529 flush_mdlog_and_wait_mdsc_unsafe_requests(struct ceph_mds_client *mdsc, u64 want_tid) argument 5594 ceph_mdsc_sync(struct ceph_mds_client *mdsc) argument 5627 done_closing_sessions(struct ceph_mds_client *mdsc, int skipped) argument 5637 ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc) argument 5695 ceph_mdsc_force_umount(struct ceph_mds_client *mdsc) argument 5729 ceph_mdsc_stop(struct ceph_mds_client *mdsc) argument 5751 struct ceph_mds_client *mdsc = fsc->mdsc; local 5769 ceph_mdsc_handle_fsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) argument 5843 ceph_mdsc_handle_mdsmap(struct ceph_mds_client *mdsc, struct ceph_msg *msg) argument 5929 struct ceph_mds_client *mdsc = s->s_mdsc; local 5941 struct ceph_mds_client *mdsc = s->s_mdsc; local 6001 struct ceph_mds_client *mdsc = s->s_mdsc; local 6018 struct ceph_mds_client *mdsc = s->s_mdsc; local 6028 struct ceph_mds_client *mdsc = s->s_mdsc; local 6040 struct ceph_mds_client *mdsc = s->s_mdsc; local [all...] |