/linux-6.12.1/include/linux/ceph/ |
D | libceph.h | 115 struct ceph_client { struct 127 int (*extra_mon_dispatch)(struct ceph_client *, struct ceph_msg *); argument 144 #define from_msgr(ms) container_of(ms, struct ceph_client, msgr) argument 146 static inline bool ceph_msgr2(struct ceph_client *client) in ceph_msgr2() 289 extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid); 299 int ceph_print_client_options(struct seq_file *m, struct ceph_client *client, 303 struct ceph_client *client); 304 struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private); 305 struct ceph_entity_addr *ceph_client_addr(struct ceph_client *client); 306 u64 ceph_client_gid(struct ceph_client *client); [all …]
|
D | debugfs.h | 10 extern void ceph_debugfs_client_init(struct ceph_client *client); 11 extern void ceph_debugfs_client_cleanup(struct ceph_client *client);
|
D | mon_client.h | 11 struct ceph_client; 71 struct ceph_client *client; 110 extern int ceph_monc_init(struct ceph_mon_client *monc, struct ceph_client *cl);
|
D | osd_client.h | 406 struct ceph_client *client; 448 struct ceph_client *client);
|
/linux-6.12.1/net/ceph/ |
D | ceph_common.c | 105 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) in ceph_check_fsid() 132 struct ceph_client *client) in ceph_compare_options() 604 int ceph_print_client_options(struct seq_file *m, struct ceph_client *client, in ceph_print_client_options() 692 struct ceph_entity_addr *ceph_client_addr(struct ceph_client *client) in ceph_client_addr() 698 u64 ceph_client_gid(struct ceph_client *client) in ceph_client_gid() 707 struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private) in ceph_create_client() 709 struct ceph_client *client; in ceph_create_client() 760 void ceph_destroy_client(struct ceph_client *client) in ceph_destroy_client() 780 void ceph_reset_client_addr(struct ceph_client *client) in ceph_reset_client_addr() 791 static bool have_mon_and_osd_map(struct ceph_client *client) in have_mon_and_osd_map() [all …]
|
D | debugfs.c | 37 struct ceph_client *client = s->private; in monmap_show() 57 struct ceph_client *client = s->private; in osdmap_show() 140 struct ceph_client *client = s->private; in monc_show() 344 struct ceph_client *client = s->private; in osdc_show() 380 struct ceph_client *client = s->private; in client_options_show() 407 void ceph_debugfs_client_init(struct ceph_client *client) in ceph_debugfs_client_init() 449 void ceph_debugfs_client_cleanup(struct ceph_client *client) in ceph_debugfs_client_cleanup() 470 void ceph_debugfs_client_init(struct ceph_client *client) in ceph_debugfs_client_init() 474 void ceph_debugfs_client_cleanup(struct ceph_client *client) in ceph_debugfs_client_cleanup()
|
D | mon_client.c | 542 struct ceph_client *client = monc->client; in ceph_monc_handle_map() 1162 int ceph_monc_init(struct ceph_mon_client *monc, struct ceph_client *cl) in ceph_monc_init()
|
/linux-6.12.1/fs/ceph/ |
D | snap.c | 153 struct ceph_client *cl = mdsc->fsc->client; in __lookup_snap_realm() 192 struct ceph_client *cl = mdsc->fsc->client; in __destroy_snap_realm() 295 struct ceph_client *cl = mdsc->fsc->client; in adjust_snap_realm_parent() 340 struct ceph_client *cl = mdsc->fsc->client; in build_snap_context() 437 struct ceph_client *cl = mdsc->fsc->client; in rebuild_snap_realms() 534 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_queue_cap_snap() 667 struct ceph_client *cl = mdsc->fsc->client; in __ceph_finish_cap_snap() 725 struct ceph_client *cl = mdsc->fsc->client; in queue_realm_cap_snaps() 783 struct ceph_client *cl = mdsc->fsc->client; in ceph_update_snap_trace() 790 struct ceph_client *client = mdsc->fsc->client; in ceph_update_snap_trace() [all …]
|
D | locks.c | 80 struct ceph_client *cl = mdsc->fsc->client; in ceph_lock_message() 162 struct ceph_client *cl = mdsc->fsc->client; in ceph_lock_wait_for_completion() 251 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_lock() 318 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_flock() 379 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_count_locks() 406 struct ceph_client *cl = ceph_inode_to_client(inode); in lock_to_ceph_filelock() 445 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_encode_locks_to_buffer()
|
D | caps.c | 206 struct ceph_client *cl = mdsc->fsc->client; in ceph_reserve_caps() 312 struct ceph_client *cl = mdsc->fsc->client; in ceph_unreserve_caps() 334 struct ceph_client *cl = mdsc->fsc->client; in ceph_get_cap() 389 struct ceph_client *cl = mdsc->fsc->client; in ceph_put_cap() 581 struct ceph_client *cl = ceph_inode_to_client(inode); in __check_cap_issue() 657 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_add_cap() 790 struct ceph_client *cl = cap->session->s_mdsc->fsc->client; in __cap_is_valid() 815 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_caps_issued() 872 struct ceph_client *cl = s->s_mdsc->fsc->client; in __touch_cap() 894 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_caps_issued_mask() [all …]
|
D | mds_client.c | 415 struct ceph_client *cl = req->r_mdsc->fsc->client; in parse_reply_info_readdir() 575 struct ceph_client *cl = s->s_mdsc->fsc->client; in ceph_parse_deleg_inos() 751 struct ceph_client *cl = s->s_mdsc->fsc->client; in parse_reply_info() 839 struct ceph_client *cl = fsc->client; in ceph_wait_on_conflict_unlink() 966 struct ceph_client *cl = mdsc->fsc->client; in register_session() 1167 struct ceph_client *cl = mdsc->fsc->client; in __register_request() 1293 struct ceph_client *cl = mdsc->fsc->client; in __choose_mds() 1547 struct ceph_client *cl = mdsc->fsc->client; in create_session_full_msg() 1718 struct ceph_client *cl = mdsc->fsc->client; in ceph_mdsc_open_export_target_session() 1735 struct ceph_client *cl = mdsc->fsc->client; in __open_export_target_sessions() [all …]
|
D | dir.c | 135 struct ceph_client *cl = ceph_inode_to_client(dir); in __dcache_find_get_entry() 192 struct ceph_client *cl = ceph_inode_to_client(dir); in __dcache_readdir() 323 struct ceph_client *cl = fsc->client; in ceph_readdir() 678 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_dir_llseek() 727 struct ceph_client *cl = ceph_inode_to_client(parent); in ceph_handle_snapdir() 759 struct ceph_client *cl = req->r_mdsc->fsc->client; in ceph_finish_lookup() 800 struct ceph_client *cl = fsc->client; in ceph_lookup() 915 struct ceph_client *cl = mdsc->fsc->client; in ceph_mknod() 1025 struct ceph_client *cl = mdsc->fsc->client; in ceph_symlink() 1099 struct ceph_client *cl = mdsc->fsc->client; in ceph_mkdir() [all …]
|
D | quota.c | 46 struct ceph_client *cl = mdsc->fsc->client; in ceph_handle_quota() 89 struct ceph_client *cl = mdsc->fsc->client; in find_quotarealm_inode() 134 struct ceph_client *cl = mdsc->fsc->client; in lookup_quotarealm_inode() 218 struct ceph_client *cl = mdsc->fsc->client; in get_quota_realm() 330 struct ceph_client *cl = mdsc->fsc->client; in check_quota_exceeded()
|
D | inode.c | 135 struct ceph_client *cl = mdsc->fsc->client; in ceph_get_inode() 167 struct ceph_client *cl = ceph_inode_to_client(parent); in ceph_get_snapdir() 259 struct ceph_client *cl = ceph_inode_to_client(inode); in __get_or_create_frag() 323 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __ceph_choose_frag() 382 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fill_dirfrag() 467 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fill_fragtree() 690 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_evict_inode() 760 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fill_file_size() 833 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fill_file_time() 906 struct ceph_client *cl = mdsc->fsc->client; in decode_encrypted_symlink() [all …]
|
D | xattr.c | 61 struct ceph_client *cl = fsc->client; in ceph_vxattrcb_layout() 575 struct ceph_client *cl = ceph_inode_to_client(inode); in __set_xattr() 674 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __get_xattr() 742 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __copy_xattr_names() 766 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __ceph_destroy_xattrs() 795 struct ceph_client *cl = ceph_inode_to_client(inode); in __build_xattrs() 883 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __get_required_blob_size() 910 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_build_xattrs_blob() 974 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_getxattr() 1068 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_listxattr() [all …]
|
D | addr.c | 84 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_dirty_folio() 141 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_invalidate_folio() 212 struct ceph_client *cl = fsc->client; in finish_netfs_read() 343 struct ceph_client *cl = fsc->client; in ceph_netfs_issue_read() 438 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_init_request() 573 struct ceph_client *cl = ceph_inode_to_client(inode); in get_oldest_context() 670 struct ceph_client *cl = fsc->client; in writepage_nounlock() 849 struct ceph_client *cl = ceph_inode_to_client(inode); in writepages_finish() 951 struct ceph_client *cl = fsc->client; in ceph_writepages_start() 1453 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_find_incompatible() [all …]
|
D | crypto.c | 215 struct ceph_client *cl = ceph_inode_to_client(parent); in parse_longname() 266 struct ceph_client *cl = ceph_inode_to_client(parent); in ceph_encode_encrypted_dname() 510 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fscrypt_decrypt_block_inplace() 522 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fscrypt_encrypt_block_inplace() 594 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fscrypt_decrypt_extents()
|
D | file.c | 25 struct ceph_client *cl = mdsc->fsc->client; in ceph_flags_sys2wire() 206 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_init_file_info() 265 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_init_file() 303 struct ceph_client *cl = mdsc->fsc->client; in ceph_renew_caps() 363 struct ceph_client *cl = fsc->client; in ceph_open() 557 struct ceph_client *cl = ceph_inode_to_client(dir); in restore_deleg_ino() 601 struct ceph_client *cl = mdsc->fsc->client; in ceph_async_create_cb() 672 struct ceph_client *cl = mdsc->fsc->client; in ceph_finish_async_create() 784 struct ceph_client *cl = fsc->client; in ceph_atomic_open() 999 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_release() [all …]
|
D | export.c | 39 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_encode_snapfh() 90 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_encode_fh() 211 struct ceph_client *cl = mdsc->fsc->client; in __snapfh_to_dentry() 367 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_get_parent()
|
D | super.c | 124 struct ceph_client *cl = fsc->client; in ceph_sync_fs() 785 static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg) in extra_mon_dispatch() 1053 struct ceph_client *cl = fsc->client; in open_root_dentry() 1145 struct ceph_client *cl = fsc->client; in ceph_real_mount() 1201 struct ceph_client *cl = fsc->client; in ceph_set_super() 1238 struct ceph_client *cl = fsc->client; in ceph_compare_super() 1531 struct ceph_client *cl = fsc->client; in ceph_kill_sb()
|
D | acl.c | 35 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_get_acl()
|
D | super.h | 126 struct ceph_client *client; 510 static inline struct ceph_client * 513 return (struct ceph_client *)ceph_inode_to_fs_client(inode)->client; in ceph_inode_to_client()
|
D | ioctl.c | 248 struct ceph_client *cl = mdsc->fsc->client; in ceph_ioctl_lazyio()
|
D | mdsmap.c | 121 struct ceph_client *cl = mdsc->fsc->client; in ceph_mdsmap_decode()
|
D | metric.c | 34 struct ceph_client *cl = mdsc->fsc->client; in ceph_mdsc_send_metrics()
|