| /linux/arch/powerpc/sysdev/ |
| H A 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 …]
|
| /linux/arch/powerpc/include/asm/ |
| H A 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/Documentation/devicetree/bindings/powerpc/fsl/ |
| H A 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/net/ceph/ |
| H A 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() 352 if (atomic_read(&con->msgr->stopping)) { in ceph_sock_data_ready() 448 ret = sock_create_kern(read_pnet(&con->msgr->net), ss.ss_family, in ceph_tcp_connect() 476 if (ceph_test_opt(from_msgr(con->msgr), TCP_NODELAY)) in ceph_tcp_connect() 529 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_protocol() 567 if (ceph_msgr2(from_msgr(con->msgr))) in ceph_con_reset_session() [all …]
|
| H A D | messenger_v1.c | 353 con_out_kvec_add(con, sizeof (con->msgr->my_enc_addr), in prepare_write_banner() 354 &con->msgr->my_enc_addr); in prepare_write_banner() 374 unsigned int global_seq = ceph_get_global_seq(con->msgr, 0); in prepare_write_connect() 396 cpu_to_le64(from_msgr(con->msgr)->supported_features); in prepare_write_connect() 465 bool do_datacrc = !ceph_test_opt(from_msgr(con->msgr), NOCRC); in write_partial_message_data() 699 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_banner() 732 ceph_encode_my_addr(con->msgr); in process_banner() 742 u64 sup_feat = from_msgr(con->msgr)->supported_features; in process_connect() 743 u64 req_feat = from_msgr(con->msgr)->required_features; in process_connect() 869 ceph_get_global_seq(con->msgr, in process_connect() [all …]
|
| H A D | ceph_common.c | 144 if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net))) in ceph_compare_options() 693 return &client->msgr.inst.addr; in ceph_client_addr() 738 ceph_messenger_init(&client->msgr, myaddr); in ceph_create_client() 753 ceph_messenger_fini(&client->msgr); in ceph_create_client() 763 atomic_set(&client->msgr.stopping, 1); in ceph_destroy_client() 768 ceph_messenger_fini(&client->msgr); in ceph_destroy_client() 781 ceph_messenger_reset_nonce(&client->msgr); in ceph_reset_client_addr()
|
| H A D | messenger_v2.c | 1449 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_client_ident() 1450 struct ceph_client *client = from_msgr(con->msgr); in prepare_client_ident() 1501 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_session_reconnect() 1842 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_read_data() 1863 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_read_data_cont() 1882 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_read_data_cont() 1909 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_sparse_read_cont() 1933 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_sparse_read_cont() 1981 if (ceph_test_opt(from_msgr(con->msgr), RXBOUNCE)) { in prepare_sparse_read_cont() 2196 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_hello() [all …]
|
| H A D | mon_client.c | 1210 &monc->client->msgr); in ceph_monc_init() 1300 monc->client->msgr.inst.name.type = CEPH_ENTITY_TYPE_CLIENT; in finish_auth() 1301 monc->client->msgr.inst.name.num = in finish_auth()
|
| H A D | auth_x.c | 1117 if (ceph_test_opt(from_msgr(msg->con->msgr), NOMSGSIGN)) in ceph_x_sign_message() 1136 if (ceph_test_opt(from_msgr(msg->con->msgr), NOMSGSIGN)) in ceph_x_check_message_signature()
|
| H A D | osd_client.c | 1274 ceph_con_init(&osd->o_con, osd, &osd_con_ops, &osdc->client->msgr); in create_osd()
|
| /linux/include/linux/ceph/ |
| H A D | messenger.h | 477 struct ceph_messenger *msgr; member 527 void ceph_encode_my_addr(struct ceph_messenger *msgr); 533 u32 ceph_get_global_seq(struct ceph_messenger *msgr, u32 gt); 584 extern void ceph_messenger_init(struct ceph_messenger *msgr, 586 extern void ceph_messenger_fini(struct ceph_messenger *msgr); 587 extern void ceph_messenger_reset_nonce(struct ceph_messenger *msgr); 591 struct ceph_messenger *msgr);
|
| H A D | libceph.h | 132 struct ceph_messenger msgr; /* messenger instance */ member 144 #define from_msgr(ms) container_of(ms, struct ceph_client, msgr)
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | pq3-mpic.dtsi | 57 compatible = "fsl,mpic-v3.1-msgr";
|
| H A D | bsc9131si-post.dtsi | 161 compatible = "fsl,mpic-v1.2-msgr", "fsl,mpic-msg";
|
| /linux/fs/ceph/ |
| H A D | snap.c | 921 ret = ceph_monc_blocklist_add(&client->monc, &client->msgr.inst.addr); in ceph_update_snap_trace() 924 ceph_pr_addr(&client->msgr.inst.addr), ret); in ceph_update_snap_trace() 928 ret ? "" : ceph_pr_addr(&client->msgr.inst.addr), in ceph_update_snap_trace()
|
| H A D | debugfs.c | 353 struct ceph_entity_inst *inst = &fsc->client->msgr.inst; in status_show()
|
| H A D | mds_client.c | 1004 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()
|
| /linux/arch/s390/tools/ |
| H A D | opcodes.txt | 492 b90c msgr RRE_RR
|