/linux/fs/ceph/ |
H A D | snap.c | 66 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() 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() 291 static int adjust_snap_realm_parent(struct ceph_mds_client *mdsc, in adjust_snap_realm_parent() [all …]
|
H A D | mds_client.c | 934 struct ceph_mds_session *__ceph_lookup_mds_session(struct ceph_mds_client *mdsc, in __ceph_lookup_mds_session() 942 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session() 950 static int __verify_registered_session(struct ceph_mds_client *mdsc, in __verify_registered_session() 963 static struct ceph_mds_session *register_session(struct ceph_mds_client *mdsc, in register_session() 1036 static void __unregister_session(struct ceph_mds_client *mdsc, in __unregister_session() 1060 void ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc, in ceph_mdsc_iterate_sessions() 1163 static void __register_request(struct ceph_mds_client *mdsc, in __register_request() 1204 static void __unregister_request(struct ceph_mds_client *mdsc, in __unregister_request() 1282 static int __choose_mds(struct ceph_mds_client *mdsc, in __choose_mds() 1538 create_session_full_msg(struct ceph_mds_client *mdsc, int op, u64 seq) in create_session_full_msg() [all …]
|
H A D | quota.c | 15 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_adjust_quota_realms_count() local 25 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in ceph_has_realms_with_quotas() local 40 void ceph_handle_quota(struct ceph_mds_client *mdsc, in ceph_handle_quota() argument 85 find_quotarealm_inode(struct ceph_mds_client * mdsc,u64 ino) find_quotarealm_inode() argument 130 lookup_quotarealm_inode(struct ceph_mds_client * mdsc,struct super_block * sb,struct ceph_snap_realm * realm) lookup_quotarealm_inode() argument 179 ceph_cleanup_quotarealms_inodes(struct ceph_mds_client * mdsc) ceph_cleanup_quotarealms_inodes() 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) get_quota_realm() argument 281 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old->i_sb); ceph_quota_is_same_realm() local 329 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); check_quota_exceeded() local 492 struct ceph_mds_client *mdsc = fsc->mdsc; ceph_quota_update_statfs() local [all...] |
H A D | caps.c | 130 void ceph_caps_init(struct ceph_mds_client *mdsc) in ceph_caps_init() 136 void ceph_caps_finalize(struct ceph_mds_client *mdsc) in ceph_caps_finalize() 155 void ceph_adjust_caps_max_min(struct ceph_mds_client *mdsc, in ceph_adjust_caps_max_min() 169 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps() 203 int ceph_reserve_caps(struct ceph_mds_client *mdsc, in ceph_reserve_caps() 309 void ceph_unreserve_caps(struct ceph_mds_client *mdsc, in ceph_unreserve_caps() 331 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap() 387 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap() 418 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status() local 497 static void __cap_set_timeouts(struct ceph_mds_client *mdsc, in __cap_set_timeouts() [all …]
|
H A D | dir.c | 42 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dentry->d_sb); in ceph_d_init() local 322 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir() local 799 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_lookup() local 914 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mknod() local 1024 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_symlink() local 1098 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_mkdir() local 1182 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_link() local 1235 static void ceph_async_unlink_cb(struct ceph_mds_client *mdsc, in ceph_async_unlink_cb() 1334 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink() local 1455 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old_dir->i_sb); in ceph_rename() local [all …]
|
H A D | ioctl.c | 38 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() local 143 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in ceph_ioctl_set_layout_policy() local 247 struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; in ceph_ioctl_lazyio() local 278 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(file_inode(file)->i_sb); in vet_mds_for_fscrypt() local
|
H A D | metric.c | 17 static bool ceph_mdsc_send_metrics(struct ceph_mds_client *mdsc, in ceph_mdsc_send_metrics() 186 static void metric_get_session(struct ceph_mds_client *mdsc) in metric_get_session() 217 struct ceph_mds_client *mdsc = in metric_delayed_work() local
|
H A D | super.c | 1064 struct ceph_mds_client *mdsc = fsc->mdsc; in open_root_dentry() local 1490 static bool __inc_stopping_blocker(struct ceph_mds_client *mdsc) in __inc_stopping_blocker() 1502 static void __dec_stopping_blocker(struct ceph_mds_client *mdsc) in __dec_stopping_blocker() 1512 bool ceph_inc_mds_stopping_blocker(struct ceph_mds_client *mdsc, in ceph_inc_mds_stopping_blocker() 1522 void ceph_dec_mds_stopping_blocker(struct ceph_mds_client *mdsc) in ceph_dec_mds_stopping_blocker() 1528 bool ceph_inc_osd_stopping_blocker(struct ceph_mds_client *mdsc) in ceph_inc_osd_stopping_blocker() 1533 void ceph_dec_osd_stopping_blocker(struct ceph_mds_client *mdsc) in ceph_dec_osd_stopping_blocker() 1542 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_kill_sb() local
|
H A D | export.c | 128 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)->mdsc; in __lookup_inode() local 210 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)->mdsc; in __snapfh_to_dentry() local 321 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)->mdsc; in __get_parent() local 546 struct ceph_mds_client *mdsc; in ceph_get_name() local
|
H A D | inode.c | 48 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_set_ino_cb() local 134 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in ceph_get_inode() local 689 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_evict_inode() local 902 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc, in decode_encrypted_symlink() 927 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc, in decode_encrypted_symlink() 945 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_fill_inode() local 2472 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in __ceph_setattr() local 2902 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr() local 2950 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_do_getvxattr() local
|
H A D | locks.c | 79 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_lock_message() local 159 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc, in ceph_lock_wait_for_completion()
|
H A D | file.c | 23 static __le32 ceph_flags_sys2wire(struct ceph_mds_client *mdsc, u32 flags) in ceph_flags_sys2wire() 182 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in prepare_open_request() local 302 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_renew_caps() local 364 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() local 598 static void ceph_async_create_cb(struct ceph_mds_client *mdsc, in ceph_async_create_cb() 671 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_finish_async_create() local 785 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() local
|
H A D | mdsmap.c | 118 struct ceph_mdsmap *ceph_mdsmap_decode(struct ceph_mds_client *mdsc, void **p, in ceph_mdsmap_decode()
|
H A D | addr.c | 275 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_netfs_issue_op_inline() local 2022 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_pool_perm_get() local 2259 void ceph_pool_perm_destroy(struct ceph_mds_client *mdsc) in ceph_pool_perm_destroy()
|