| /linux/include/linux/ceph/ |
| H A 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 …]
|
| H A 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);
|
| H A 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);
|
| H A D | osd_client.h | 406 struct ceph_client *client; 448 struct ceph_client *client);
|
| /linux/net/ceph/ |
| H A 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() 603 int ceph_print_client_options(struct seq_file *m, struct ceph_client *client, in ceph_print_client_options() 691 struct ceph_entity_addr *ceph_client_addr(struct ceph_client *client) in ceph_client_addr() 697 u64 ceph_client_gid(struct ceph_client *client) in ceph_client_gid() 706 struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private) in ceph_create_client() 708 struct ceph_client *client; in ceph_create_client() 759 void ceph_destroy_client(struct ceph_client *client) in ceph_destroy_client() 779 void ceph_reset_client_addr(struct ceph_client *client) in ceph_reset_client_addr() 790 int __ceph_open_session(struct ceph_client *client) in __ceph_open_session() [all …]
|
| H A D | debugfs.c | 37 struct ceph_client *client = s->private; in monmap_show() 61 struct ceph_client *client = s->private; in osdmap_show() 146 struct ceph_client *client = s->private; in monc_show() 350 struct ceph_client *client = s->private; in osdc_show() 386 struct ceph_client *client = s->private; in client_options_show() 413 void ceph_debugfs_client_init(struct ceph_client *client) in ceph_debugfs_client_init() 455 void ceph_debugfs_client_cleanup(struct ceph_client *client) in ceph_debugfs_client_cleanup() 476 void ceph_debugfs_client_init(struct ceph_client *client) in ceph_debugfs_client_init() 480 void ceph_debugfs_client_cleanup(struct ceph_client *client) in ceph_debugfs_client_cleanup()
|
| H A D | mon_client.c | 542 struct ceph_client *client = monc->client; in ceph_monc_handle_map() 1161 int ceph_monc_init(struct ceph_mon_client *monc, struct ceph_client *cl) in ceph_monc_init()
|
| H A D | messenger_v2.c | 1450 struct ceph_client *client = from_msgr(con->msgr); in prepare_client_ident() 2478 struct ceph_client *client = from_msgr(con->msgr); in process_server_ident() 2562 struct ceph_client *client = from_msgr(con->msgr); in process_ident_missing_features()
|
| /linux/fs/ceph/ |
| H A 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 …]
|
| H A 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() 254 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_lock() 321 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_flock() 382 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_count_locks() 409 struct ceph_client *cl = ceph_inode_to_client(inode); in lock_to_ceph_filelock() 448 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_encode_locks_to_buffer()
|
| H A D | caps.c | 207 struct ceph_client *cl = mdsc->fsc->client; in ceph_reserve_caps() 313 struct ceph_client *cl = mdsc->fsc->client; in ceph_unreserve_caps() 335 struct ceph_client *cl = mdsc->fsc->client; in ceph_get_cap() 390 struct ceph_client *cl = mdsc->fsc->client; in ceph_put_cap() 582 struct ceph_client *cl = ceph_inode_to_client(inode); in __check_cap_issue() 658 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_add_cap() 791 struct ceph_client *cl = cap->session->s_mdsc->fsc->client; in __cap_is_valid() 816 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_caps_issued() 873 struct ceph_client *cl = s->s_mdsc->fsc->client; in __touch_cap() 895 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_caps_issued_mask() [all …]
|
| H A D | mds_client.c | 416 struct ceph_client *cl = req->r_mdsc->fsc->client; in parse_reply_info_readdir() 576 struct ceph_client *cl = s->s_mdsc->fsc->client; in ceph_parse_deleg_inos() 752 struct ceph_client *cl = s->s_mdsc->fsc->client; in parse_reply_info() 840 struct ceph_client *cl = fsc->client; in ceph_wait_on_conflict_unlink() 967 struct ceph_client *cl = mdsc->fsc->client; in register_session() 1169 struct ceph_client *cl = mdsc->fsc->client; in __register_request() 1295 struct ceph_client *cl = mdsc->fsc->client; in __choose_mds() 1549 struct ceph_client *cl = mdsc->fsc->client; in create_session_full_msg() 1720 struct ceph_client *cl = mdsc->fsc->client; in ceph_mdsc_open_export_target_session() 1737 struct ceph_client *cl = mdsc->fsc->client; in __open_export_target_sessions() [all …]
|
| H A D | dir.c | 135 struct ceph_client *cl = ceph_inode_to_client(dir); in __dcache_find_get_entry() 193 struct ceph_client *cl = ceph_inode_to_client(dir); in __dcache_readdir() 324 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() 1026 struct ceph_client *cl = mdsc->fsc->client; in ceph_symlink() 1100 struct ceph_client *cl = mdsc->fsc->client; in ceph_mkdir() [all …]
|
| H A D | addr.c | 84 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_dirty_folio() 144 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_invalidate_folio() 215 struct ceph_client *cl = fsc->client; in finish_netfs_read() 356 struct ceph_client *cl = fsc->client; in ceph_netfs_issue_read() 462 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_init_request() 626 struct ceph_client *cl = ceph_inode_to_client(inode); in get_oldest_context() 724 struct ceph_client *cl = fsc->client; in write_folio_nounlock() 877 struct ceph_client *cl = ceph_inode_to_client(inode); in writepages_finish() 983 struct ceph_client *cl = fsc->client; in is_forced_umount() 1070 struct ceph_client *cl = fsc->client; in ceph_define_writeback_range() [all …]
|
| H A 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()
|
| H A D | crypto.c | 164 struct ceph_client *cl = ceph_inode_to_client(parent); in parse_longname() 208 struct ceph_client *cl = ceph_inode_to_client(parent); in ceph_encode_encrypted_dname() 433 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fscrypt_decrypt_block_inplace() 444 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fscrypt_encrypt_block_inplace() 515 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fscrypt_decrypt_extents()
|
| H A D | inode.c | 181 struct ceph_client *cl = mdsc->fsc->client; in ceph_get_inode() 213 struct ceph_client *cl = ceph_inode_to_client(parent); in ceph_get_snapdir() 305 struct ceph_client *cl = ceph_inode_to_client(inode); in __get_or_create_frag() 369 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __ceph_choose_frag() 428 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fill_dirfrag() 513 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fill_fragtree() 737 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_evict_inode() 807 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fill_file_size() 880 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fill_file_time() 942 struct ceph_client *cl = mdsc->fsc->client; in decode_encrypted_symlink() [all …]
|
| H A D | xattr.c | 61 struct ceph_client *cl = fsc->client; in ceph_vxattrcb_layout() 573 struct ceph_client *cl = ceph_inode_to_client(inode); in __set_xattr() 672 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __get_xattr() 740 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __copy_xattr_names() 764 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __ceph_destroy_xattrs() 793 struct ceph_client *cl = ceph_inode_to_client(inode); in __build_xattrs() 881 struct ceph_client *cl = ceph_inode_to_client(&ci->netfs.inode); in __get_required_blob_size() 908 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_build_xattrs_blob() 972 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_getxattr() 1066 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_listxattr() [all …]
|
| H A 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() 556 struct ceph_client *cl = ceph_inode_to_client(dir); in restore_deleg_ino() 599 struct ceph_client *cl = mdsc->fsc->client; in ceph_async_create_cb() 668 struct ceph_client *cl = mdsc->fsc->client; in ceph_finish_async_create() 779 struct ceph_client *cl = fsc->client; in ceph_atomic_open() 993 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_release() [all …]
|
| H A D | export.c | 47 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_encode_snapfh() 97 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_encode_fh() 216 struct ceph_client *cl = mdsc->fsc->client; in __snapfh_to_dentry() 372 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_get_parent()
|
| H A D | super.c | 127 struct ceph_client *cl = fsc->client; in ceph_sync_fs() 784 static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg) in extra_mon_dispatch() 1051 struct ceph_client *cl = fsc->client; in open_root_dentry() 1143 struct ceph_client *cl = fsc->client; in ceph_real_mount() 1199 struct ceph_client *cl = fsc->client; in ceph_set_super() 1237 struct ceph_client *cl = fsc->client; in ceph_compare_super() 1530 struct ceph_client *cl = fsc->client; in ceph_kill_sb()
|
| H A D | super.h | 152 struct ceph_client *client; 537 static inline struct ceph_client * 540 return (struct ceph_client *)ceph_inode_to_fs_client(inode)->client; in ceph_inode_to_client()
|
| H A D | ioctl.c | 248 struct ceph_client *cl = mdsc->fsc->client; in ceph_ioctl_lazyio()
|
| H A D | metric.c | 34 struct ceph_client *cl = mdsc->fsc->client; in ceph_mdsc_send_metrics()
|
| H A D | mdsmap.c | 121 struct ceph_client *cl = mdsc->fsc->client; in ceph_mdsmap_decode()
|