Home
last modified time | relevance | path

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

/Linux-v5.4/fs/ceph/
Dmds_client.h158 struct ceph_mds_client *s_mdsc;
206 struct ceph_mds_client;
211 typedef void (*ceph_mds_request_callback_t) (struct ceph_mds_client *mdsc,
216 typedef int (*ceph_mds_request_wait_callback_t) (struct ceph_mds_client *mdsc,
225 struct ceph_mds_client *r_mdsc;
346 struct ceph_mds_client { struct
443 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); argument
456 extern int ceph_send_msg_mds(struct ceph_mds_client *mdsc,
460 extern void ceph_mdsc_close_sessions(struct ceph_mds_client *mdsc);
461 extern void ceph_mdsc_force_umount(struct ceph_mds_client *mdsc);
[all …]
Dsuper.h113 struct ceph_mds_client *mdsc;
688 extern void ceph_caps_init(struct ceph_mds_client *mdsc);
689 extern void ceph_caps_finalize(struct ceph_mds_client *mdsc);
690 extern void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc,
692 extern int ceph_reserve_caps(struct ceph_mds_client *mdsc,
694 extern void ceph_unreserve_caps(struct ceph_mds_client *mdsc,
860 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc,
862 extern void ceph_get_snap_realm(struct ceph_mds_client *mdsc,
864 extern void ceph_put_snap_realm(struct ceph_mds_client *mdsc,
866 extern int ceph_update_snap_trace(struct ceph_mds_client *m,
[all …]
Dquota.c15 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in ceph_adjust_quota_realms_count()
24 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; 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_inode_to_client(old)->mdsc; in ceph_quota_is_same_realm()
316 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; 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()
111 struct ceph_mds_client *mdsc, in ceph_create_snap_realm()
140 static struct ceph_snap_realm *__lookup_snap_realm(struct ceph_mds_client *mdsc, in __lookup_snap_realm()
160 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc, in ceph_lookup_snap_realm()
170 static void __put_snap_realm(struct ceph_mds_client *mdsc,
176 static void __destroy_snap_realm(struct ceph_mds_client *mdsc, in __destroy_snap_realm()
198 static void __put_snap_realm(struct ceph_mds_client *mdsc, in __put_snap_realm()
210 void ceph_put_snap_realm(struct ceph_mds_client *mdsc, in ceph_put_snap_realm()
235 static void __cleanup_empty_realms(struct ceph_mds_client *mdsc) in __cleanup_empty_realms()
251 void ceph_cleanup_empty_realms(struct ceph_mds_client *mdsc) in ceph_cleanup_empty_realms()
[all …]
Dmds_client.c58 static void __wake_requests(struct ceph_mds_client *mdsc,
566 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session()
574 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session()
582 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session()
595 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session()
671 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session()
747 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) in DEFINE_RB_FUNCS()
764 static void __register_request(struct ceph_mds_client *mdsc, in __register_request()
798 static void __unregister_request(struct ceph_mds_client *mdsc, in __unregister_request()
878 static int __choose_mds(struct ceph_mds_client *mdsc, in __choose_mds()
[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 …]
Ddir.c309 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
737 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_lookup()
826 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mknod()
888 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_symlink()
937 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mkdir()
1005 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_link()
1045 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1087 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_rename()
1153 struct ceph_mds_client *mdsc; in __ceph_dentry_lease_touch()
1169 static void __dentry_dir_lease_touch(struct ceph_mds_client* mdsc, in __dentry_dir_lease_touch()
[all …]
Ddebugfs.c52 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show()
140 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show()
175 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show()
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()
Dexport.c125 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __lookup_inode()
188 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __snapfh_to_dentry()
290 struct ceph_mds_client *mdsc = ceph_sb_to_client(sb)->mdsc; in __get_parent()
502 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_client(inode->i_sb)->mdsc; in ceph_lock_message()
144 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc, in ceph_lock_wait_for_completion()
Dfile.c184 struct ceph_mds_client *mdsc = fsc->mdsc; in prepare_open_request()
290 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in ceph_renew_caps()
348 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
442 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
Dinode.c554 struct ceph_mds_client *mdsc = in ceph_evict_inode()
735 struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; in fill_inode()
1995 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in __ceph_setattr()
2244 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
Dxattr.c951 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr()
1015 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in __ceph_setxattr()
Daddr.c1818 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_pool_perm_get()
2053 void ceph_pool_perm_destroy(struct ceph_mds_client *mdsc) in ceph_pool_perm_destroy()
Dsuper.c891 struct ceph_mds_client *mdsc = fsc->mdsc; in open_root_dentry()
/Linux-v5.4/include/linux/ceph/
Dlibceph.h111 struct ceph_mds_client;