Home
last modified time | relevance | path

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

/Linux-v5.15/arch/powerpc/sysdev/
Dmpic_msgr.c30 static inline void _mpic_msgr_mer_write(struct mpic_msgr *msgr, u32 value) in _mpic_msgr_mer_write() argument
32 out_be32(msgr->mer, value); in _mpic_msgr_mer_write()
35 static inline u32 _mpic_msgr_mer_read(struct mpic_msgr *msgr) in _mpic_msgr_mer_read() argument
37 return in_be32(msgr->mer); in _mpic_msgr_mer_read()
40 static inline void _mpic_msgr_disable(struct mpic_msgr *msgr) in _mpic_msgr_disable() argument
42 u32 mer = _mpic_msgr_mer_read(msgr); in _mpic_msgr_disable()
44 _mpic_msgr_mer_write(msgr, mer & ~(1 << msgr->num)); in _mpic_msgr_disable()
50 struct mpic_msgr *msgr; in mpic_msgr_get() local
53 msgr = ERR_PTR(-EBUSY); in mpic_msgr_get()
59 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-v5.15/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-v5.15/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-v5.15/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()
519 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_protocol()
557 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_session()
[all …]
Dceph_common.c144 if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net))) in ceph_compare_options()
714 return &client->msgr.inst.addr; in ceph_client_addr()
759 ceph_messenger_init(&client->msgr, myaddr); in ceph_create_client()
774 ceph_messenger_fini(&client->msgr); in ceph_create_client()
784 atomic_set(&client->msgr.stopping, 1); in ceph_destroy_client()
789 ceph_messenger_fini(&client->msgr); in ceph_destroy_client()
802 ceph_messenger_reset_nonce(&client->msgr); in ceph_reset_client_addr()
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 …]
Dmessenger_v2.c1352 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_client_ident()
1353 struct ceph_client *client = from_msgr(con->msgr); in prepare_client_ident()
1404 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_session_reconnect()
1878 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_hello()
2160 struct ceph_client *client = from_msgr(con->msgr); in process_server_ident()
2244 struct ceph_client *client = from_msgr(con->msgr); in process_ident_missing_features()
2340 con->v2.global_seq = ceph_get_global_seq(con->msgr, global_seq); in process_session_retry_global()
3057 con->v2.global_seq = ceph_get_global_seq(con->msgr, 0); in ceph_con_v2_try_write()
Dmon_client.c1204 &monc->client->msgr); in ceph_monc_init()
1292 monc->client->msgr.inst.name.type = CEPH_ENTITY_TYPE_CLIENT; in finish_auth()
1293 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.c1241 ceph_con_init(&osd->o_con, osd, &osd_con_ops, &osdc->client->msgr); in create_osd()
/Linux-v5.15/include/linux/ceph/
Dmessenger.h434 struct ceph_messenger *msgr; member
483 void ceph_encode_my_addr(struct ceph_messenger *msgr);
489 u32 ceph_get_global_seq(struct ceph_messenger *msgr, u32 gt);
541 extern void ceph_messenger_init(struct ceph_messenger *msgr,
543 extern void ceph_messenger_fini(struct ceph_messenger *msgr);
544 extern void ceph_messenger_reset_nonce(struct ceph_messenger *msgr);
548 struct ceph_messenger *msgr);
Dlibceph.h141 struct ceph_messenger msgr; /* messenger instance */ member
153 #define from_msgr(ms) container_of(ms, struct ceph_client, msgr)
/Linux-v5.15/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-v5.15/fs/ceph/
Ddebugfs.c339 struct ceph_entity_inst *inst = &fsc->client->msgr.inst; in status_show()
Dmds_client.c742 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()
/Linux-v5.15/arch/s390/tools/
Dopcodes.txt491 b90c msgr RRE_RR