Home
last modified time | relevance | path

Searched refs:msgr (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/arch/powerpc/sysdev/
Dmpic_msgr.c31 static inline void _mpic_msgr_mer_write(struct mpic_msgr *msgr, u32 value) in _mpic_msgr_mer_write() argument
33 out_be32(msgr->mer, value); in _mpic_msgr_mer_write()
36 static inline u32 _mpic_msgr_mer_read(struct mpic_msgr *msgr) in _mpic_msgr_mer_read() argument
38 return in_be32(msgr->mer); in _mpic_msgr_mer_read()
41 static inline void _mpic_msgr_disable(struct mpic_msgr *msgr) in _mpic_msgr_disable() argument
43 u32 mer = _mpic_msgr_mer_read(msgr); in _mpic_msgr_disable()
45 _mpic_msgr_mer_write(msgr, mer & ~(1 << msgr->num)); in _mpic_msgr_disable()
51 struct mpic_msgr *msgr; in mpic_msgr_get() local
54 msgr = ERR_PTR(-EBUSY); in mpic_msgr_get()
60 msgr = mpic_msgrs[reg_num]; in mpic_msgr_get()
[all …]
DMakefile9 mpic-msgr-obj-$(CONFIG_MPIC_MSGR) += mpic_msgr.o
10 obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y) $(mpic-msgr-obj-y)
/Linux-v6.1/arch/powerpc/include/asm/
Dmpic_msgr.h44 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-v6.1/Documentation/devicetree/bindings/powerpc/fsl/
Dmpic-msgr.txt11 "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-v6.1/net/ceph/
Dmessenger.c196 void ceph_encode_my_addr(struct ceph_messenger *msgr) in ceph_encode_my_addr() argument
198 if (!ceph_msgr2(from_msgr(msgr))) { in ceph_encode_my_addr()
199 memcpy(&msgr->my_enc_addr, &msgr->inst.addr, in ceph_encode_my_addr()
200 sizeof(msgr->my_enc_addr)); in ceph_encode_my_addr()
201 ceph_encode_banner_addr(&msgr->my_enc_addr); in ceph_encode_my_addr()
347 if (atomic_read(&con->msgr->stopping)) { in ceph_sock_data_ready()
443 ret = sock_create_kern(read_pnet(&con->msgr->net), ss.ss_family, in ceph_tcp_connect()
470 if (ceph_test_opt(from_msgr(con->msgr), TCP_NODELAY)) in ceph_tcp_connect()
523 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_protocol()
561 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_session()
[all …]
Dmessenger_v1.c357 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()
709 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_banner()
742 ceph_encode_my_addr(con->msgr); in process_banner()
752 u64 sup_feat = from_msgr(con->msgr)->supported_features; in process_connect()
753 u64 req_feat = from_msgr(con->msgr)->required_features; in process_connect()
879 ceph_get_global_seq(con->msgr, in process_connect()
[all …]
Dceph_common.c144 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()
Dmessenger_v2.c1372 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_client_ident()
1373 struct ceph_client *client = from_msgr(con->msgr); in prepare_client_ident()
1424 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_session_reconnect()
1765 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_read_data()
1786 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_read_data_cont()
1805 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_read_data_cont()
1997 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_hello()
2279 struct ceph_client *client = from_msgr(con->msgr); in process_server_ident()
2363 struct ceph_client *client = from_msgr(con->msgr); in process_ident_missing_features()
2459 con->v2.global_seq = ceph_get_global_seq(con->msgr, global_seq); in process_session_retry_global()
[all …]
Dmon_client.c1203 &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()
Dauth_x.c1033 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()
Dosd_client.c1220 ceph_con_init(&osd->o_con, osd, &osd_con_ops, &osdc->client->msgr); in create_osd()
/Linux-v6.1/include/linux/ceph/
Dmessenger.h437 struct ceph_messenger *msgr; member
487 void ceph_encode_my_addr(struct ceph_messenger *msgr);
493 u32 ceph_get_global_seq(struct ceph_messenger *msgr, u32 gt);
544 extern void ceph_messenger_init(struct ceph_messenger *msgr,
546 extern void ceph_messenger_fini(struct ceph_messenger *msgr);
547 extern void ceph_messenger_reset_nonce(struct ceph_messenger *msgr);
551 struct ceph_messenger *msgr);
Dlibceph.h142 struct ceph_messenger msgr; /* messenger instance */ member
154 #define from_msgr(ms) container_of(ms, struct ceph_client, msgr)
/Linux-v6.1/arch/powerpc/boot/dts/fsl/
Dpq3-mpic-message-B.dtsi36 compatible = "fsl,mpic-v3.1-msgr";
Dpq3-mpic.dtsi57 compatible = "fsl,mpic-v3.1-msgr";
Dbsc9131si-post.dtsi161 compatible = "fsl,mpic-v1.2-msgr", "fsl,mpic-msg";
/Linux-v6.1/fs/ceph/
Ddebugfs.c349 struct ceph_entity_inst *inst = &fsc->client->msgr.inst; in status_show()
Dmds_client.c839 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()
/Linux-v6.1/arch/s390/tools/
Dopcodes.txt492 b90c msgr RRE_RR