/linux-6.6.21/arch/powerpc/sysdev/ |
D | mpic_msgr.c | 32 static inline void _mpic_msgr_mer_write(struct mpic_msgr *msgr, u32 value) in _mpic_msgr_mer_write() argument 34 out_be32(msgr->mer, value); in _mpic_msgr_mer_write() 37 static inline u32 _mpic_msgr_mer_read(struct mpic_msgr *msgr) in _mpic_msgr_mer_read() argument 39 return in_be32(msgr->mer); in _mpic_msgr_mer_read() 42 static inline void _mpic_msgr_disable(struct mpic_msgr *msgr) in _mpic_msgr_disable() argument 44 u32 mer = _mpic_msgr_mer_read(msgr); in _mpic_msgr_disable() 46 _mpic_msgr_mer_write(msgr, mer & ~(1 << msgr->num)); in _mpic_msgr_disable() 52 struct mpic_msgr *msgr; in mpic_msgr_get() local 55 msgr = ERR_PTR(-EBUSY); in mpic_msgr_get() 61 msgr = mpic_msgrs[reg_num]; in mpic_msgr_get() [all …]
|
D | Makefile | 9 mpic-msgr-obj-$(CONFIG_MPIC_MSGR) += mpic_msgr.o 10 obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y) $(mpic-msgr-obj-y)
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | mpic_msgr.h | 44 extern void mpic_msgr_put(struct mpic_msgr *msgr); 53 extern void mpic_msgr_enable(struct mpic_msgr *msgr); 62 extern void mpic_msgr_disable(struct mpic_msgr *msgr); 73 static inline void mpic_msgr_write(struct mpic_msgr *msgr, u32 message) in mpic_msgr_write() argument 75 out_be32(msgr->base, message); in mpic_msgr_write() 86 static inline u32 mpic_msgr_read(struct mpic_msgr *msgr) in mpic_msgr_read() argument 88 return in_be32(msgr->base); in mpic_msgr_read() 97 static inline void mpic_msgr_clear(struct mpic_msgr *msgr) in mpic_msgr_clear() argument 99 (void) mpic_msgr_read(msgr); in mpic_msgr_clear() 110 static inline void mpic_msgr_set_destination(struct mpic_msgr *msgr, in mpic_msgr_set_destination() argument [all …]
|
/linux-6.6.21/Documentation/devicetree/bindings/powerpc/fsl/ |
D | mpic-msgr.txt | 11 "fsl,mpic-v<version>-msgr", where <version> is the version number of 25 - mpic-msgr-receive-mask: Specifies what registers in the containing block 37 'mpic-msgr-block<n>', where <n> is an integer specifying the block's number. 43 mpic-msgr-block0 = &mpic_msgr_block0; 44 mpic-msgr-block1 = &mpic_msgr_block1; 47 mpic_msgr_block0: mpic-msgr-block@41400 { 48 compatible = "fsl,mpic-v3.1-msgr"; 53 mpic-msgr-receive-mask = <0x5>; 56 mpic_msgr_block1: mpic-msgr-block@42400 { 57 compatible = "fsl,mpic-v3.1-msgr"; [all …]
|
/linux-6.6.21/net/ceph/ |
D | messenger.c | 197 void ceph_encode_my_addr(struct ceph_messenger *msgr) in ceph_encode_my_addr() argument 199 if (!ceph_msgr2(from_msgr(msgr))) { in ceph_encode_my_addr() 200 memcpy(&msgr->my_enc_addr, &msgr->inst.addr, in ceph_encode_my_addr() 201 sizeof(msgr->my_enc_addr)); in ceph_encode_my_addr() 202 ceph_encode_banner_addr(&msgr->my_enc_addr); in ceph_encode_my_addr() 351 if (atomic_read(&con->msgr->stopping)) { in ceph_sock_data_ready() 447 ret = sock_create_kern(read_pnet(&con->msgr->net), ss.ss_family, in ceph_tcp_connect() 475 if (ceph_test_opt(from_msgr(con->msgr), TCP_NODELAY)) in ceph_tcp_connect() 528 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_protocol() 566 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_session() [all …]
|
D | messenger_v1.c | 357 con_out_kvec_add(con, sizeof (con->msgr->my_enc_addr), in prepare_write_banner() 358 &con->msgr->my_enc_addr); in prepare_write_banner() 378 unsigned int global_seq = ceph_get_global_seq(con->msgr, 0); in prepare_write_connect() 400 cpu_to_le64(from_msgr(con->msgr)->supported_features); in prepare_write_connect() 469 bool do_datacrc = !ceph_test_opt(from_msgr(con->msgr), NOCRC); in write_partial_message_data() 703 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_banner() 736 ceph_encode_my_addr(con->msgr); in process_banner() 746 u64 sup_feat = from_msgr(con->msgr)->supported_features; in process_connect() 747 u64 req_feat = from_msgr(con->msgr)->required_features; in process_connect() 873 ceph_get_global_seq(con->msgr, in process_connect() [all …]
|
D | ceph_common.c | 144 if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net))) in ceph_compare_options() 694 return &client->msgr.inst.addr; in ceph_client_addr() 739 ceph_messenger_init(&client->msgr, myaddr); in ceph_create_client() 754 ceph_messenger_fini(&client->msgr); in ceph_create_client() 764 atomic_set(&client->msgr.stopping, 1); in ceph_destroy_client() 769 ceph_messenger_fini(&client->msgr); in ceph_destroy_client() 782 ceph_messenger_reset_nonce(&client->msgr); in ceph_reset_client_addr()
|
D | messenger_v2.c | 1480 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_client_ident() 1481 struct ceph_client *client = from_msgr(con->msgr); in prepare_client_ident() 1532 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_session_reconnect() 1873 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_read_data() 1894 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_read_data_cont() 1913 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_read_data_cont() 1940 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_sparse_read_cont() 1964 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_sparse_read_cont() 2012 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_sparse_read_cont() 2224 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_hello() [all …]
|
D | mon_client.c | 1203 &monc->client->msgr); in ceph_monc_init() 1291 monc->client->msgr.inst.name.type = CEPH_ENTITY_TYPE_CLIENT; in finish_auth() 1292 monc->client->msgr.inst.name.num = in finish_auth()
|
D | auth_x.c | 1033 if (ceph_test_opt(from_msgr(msg->con->msgr), NOMSGSIGN)) in ceph_x_sign_message() 1052 if (ceph_test_opt(from_msgr(msg->con->msgr), NOMSGSIGN)) in ceph_x_check_message_signature()
|
D | osd_client.c | 1296 ceph_con_init(&osd->o_con, osd, &osd_con_ops, &osdc->client->msgr); in create_osd()
|
/linux-6.6.21/include/linux/ceph/ |
D | messenger.h | 475 struct ceph_messenger *msgr; member 525 void ceph_encode_my_addr(struct ceph_messenger *msgr); 531 u32 ceph_get_global_seq(struct ceph_messenger *msgr, u32 gt); 582 extern void ceph_messenger_init(struct ceph_messenger *msgr, 584 extern void ceph_messenger_fini(struct ceph_messenger *msgr); 585 extern void ceph_messenger_reset_nonce(struct ceph_messenger *msgr); 589 struct ceph_messenger *msgr);
|
D | libceph.h | 132 struct ceph_messenger msgr; /* messenger instance */ member 144 #define from_msgr(ms) container_of(ms, struct ceph_client, msgr)
|
/linux-6.6.21/arch/powerpc/boot/dts/fsl/ |
D | pq3-mpic-message-B.dtsi | 36 compatible = "fsl,mpic-v3.1-msgr";
|
D | pq3-mpic.dtsi | 57 compatible = "fsl,mpic-v3.1-msgr";
|
D | bsc9131si-post.dtsi | 161 compatible = "fsl,mpic-v1.2-msgr", "fsl,mpic-msg";
|
/linux-6.6.21/fs/ceph/ |
D | snap.c | 906 ret = ceph_monc_blocklist_add(&client->monc, &client->msgr.inst.addr); in ceph_update_snap_trace() 909 ceph_pr_addr(&client->msgr.inst.addr), ret); in ceph_update_snap_trace() 912 __func__, ret ? "" : ceph_pr_addr(&client->msgr.inst.addr), in ceph_update_snap_trace()
|
D | debugfs.c | 355 struct ceph_entity_inst *inst = &fsc->client->msgr.inst; in status_show()
|
D | mds_client.c | 995 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()
|
/linux-6.6.21/arch/s390/tools/ |
D | opcodes.txt | 492 b90c msgr RRE_RR
|