Home
last modified time | relevance | path

Searched refs:lgr (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.3-rc2/net/smc/
A Dsmc_core.c198 struct smc_link_group *lgr = conn->lgr; in __smc_lgr_unregister_conn() local
212 struct smc_link_group *lgr = conn->lgr; in smc_lgr_unregister_conn() local
691 if (!lgr->is_smcd && !lgr->terminating) in smc_lgr_free_work()
694 if (lgr->is_smcd && !lgr->terminating) in smc_lgr_free_work()
759 lnk->lgr = lgr; in smcr_link_init()
921 smc->conn.lgr = lgr; in smc_lgr_create()
1221 struct smc_link_group *lgr = lnk->lgr; in smcr_buf_unmap_lgr() local
1241 struct smc_link_group *lgr = lnk->lgr; in smcr_rtoken_clear_link() local
1497 if (list_empty(&lgr->list) || lgr->terminating || lgr->freeing) { in smc_lgr_terminate_sched()
1894 conn->lgr = lgr; in smc_conn_create()
[all …]
A Dsmc_llc.c258 struct smc_link_group *lgr = qentry->link->lgr; in smc_llc_flow_start() local
599 struct smc_link_group *lgr = link->lgr; in smc_llc_fill_ext_v2() local
830 struct smc_link_group *lgr = link->lgr; in smc_llc_add_link_cont() local
884 struct smc_link_group *lgr = link->lgr; in smc_llc_cli_rkey_exchange() local
939 struct smc_link_group *lgr = link->lgr; in smc_llc_cli_conf_link() local
996 struct smc_link_group *lgr = link->lgr; in smc_llc_save_add_link_rkeys() local
1308 struct smc_link_group *lgr = link->lgr; in smc_llc_srv_rkey_exchange() local
1349 struct smc_link_group *lgr = link->lgr; in smc_llc_srv_conf_link() local
1392 struct smc_link_group *lgr = link->lgr; in smc_llc_srv_add_link() local
1850 struct smc_link_group *lgr = link->lgr; in smc_llc_event_handler() local
[all …]
A Dsmc_llc.h68 if (smc_link_usable(&lgr->lnk[i])) in smc_llc_usable_link()
69 return &lgr->lnk[i]; in smc_llc_usable_link()
74 static inline void smc_llc_set_termination_rsn(struct smc_link_group *lgr, in smc_llc_set_termination_rsn() argument
77 if (!lgr->llc_termination_rsn) in smc_llc_set_termination_rsn()
78 lgr->llc_termination_rsn = rsn; in smc_llc_set_termination_rsn()
91 void smc_llc_lgr_init(struct smc_link_group *lgr, struct smc_sock *smc);
92 void smc_llc_lgr_clear(struct smc_link_group *lgr);
98 int smc_llc_do_delete_rkey(struct smc_link_group *lgr,
100 int smc_llc_flow_initiate(struct smc_link_group *lgr,
107 struct smc_llc_qentry *smc_llc_wait(struct smc_link_group *lgr,
[all …]
A Dsmc_wr.c104 memset(link->lgr->wr_tx_buf_v2, 0, in smc_wr_tx_process_cqe()
218 lgr->terminating || in smc_wr_tx_get_free_slot()
681 if (lgr->smc_version < SMC_V2) in smc_wr_free_lgr_mem()
684 kfree(lgr->wr_rx_buf_v2); in smc_wr_free_lgr_mem()
685 lgr->wr_rx_buf_v2 = NULL; in smc_wr_free_lgr_mem()
686 kfree(lgr->wr_tx_buf_v2); in smc_wr_free_lgr_mem()
687 lgr->wr_tx_buf_v2 = NULL; in smc_wr_free_lgr_mem()
724 if (lgr->smc_version < SMC_V2) in smc_wr_alloc_lgr_mem()
728 if (!lgr->wr_rx_buf_v2) in smc_wr_alloc_lgr_mem()
731 if (!lgr->wr_tx_buf_v2) { in smc_wr_alloc_lgr_mem()
[all …]
A Dsmc_core.h144 struct smc_link_group *lgr; /* parent link group */ member
404 u32 token, struct smc_link_group *lgr) in smc_lgr_find_conn() argument
409 node = lgr->conns_all.rb_node; in smc_lgr_find_conn()
431 return conn->lgr && conn->alert_token_local; in smc_conn_lgr_valid()
510 void smc_lgr_cleanup_early(struct smc_link_group *lgr);
511 void smc_lgr_terminate_sched(struct smc_link_group *lgr);
512 void smc_lgr_hold(struct smc_link_group *lgr);
513 void smc_lgr_put(struct smc_link_group *lgr);
550 void smcr_lgr_set_type_asym(struct smc_link_group *lgr,
553 struct smc_link *smc_switch_conns(struct smc_link_group *lgr,
[all …]
A Dsmc_ism.c77 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); in smc_ism_set_conn()
78 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = conn; in smc_ism_set_conn()
79 spin_unlock_irqrestore(&conn->lgr->smcd->lock, flags); in smc_ism_set_conn()
90 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); in smc_ism_unset_conn()
210 dmb.vlan_id = lgr->vlan_id; in smc_ism_register_dmb()
211 dmb.rgid = lgr->peer_gid; in smc_ism_register_dmb()
212 rc = lgr->smcd->ops->register_dmb(lgr->smcd, &dmb, &smc_ism_client); in smc_ism_register_dmb()
522 if (lgr->peer_shutdown) in smc_ism_signal_shutdown()
525 memcpy(ev_info.uid, lgr->id, SMC_LGR_ID_SIZE); in smc_ism_signal_shutdown()
526 ev_info.vlan_id = lgr->vlan_id; in smc_ism_signal_shutdown()
[all …]
A Dsmc_tracepoint.h93 __field(const void *, lgr)
101 const struct smc_link_group *lgr = lnk->lgr;
104 __entry->lgr = lgr;
105 __entry->net_cookie = lgr->net->net_cookie;
112 __entry->lnk, __entry->lgr, __entry->net_cookie,
A Dsmc_diag.c92 else if (smc_conn_lgr_valid(&smc->conn) && smc->conn.lgr->is_smcd) in __smc_diag_dump()
145 if (smc_conn_lgr_valid(&smc->conn) && !smc->conn.lgr->is_smcd && in __smc_diag_dump()
147 !list_empty(&smc->conn.lgr->list)) { in __smc_diag_dump()
151 .role = smc->conn.lgr->role, in __smc_diag_dump()
157 smc->conn.lgr->lnk[0].smcibdev->ibdev->name, in __smc_diag_dump()
165 if (smc_conn_lgr_valid(&smc->conn) && smc->conn.lgr->is_smcd && in __smc_diag_dump()
167 !list_empty(&smc->conn.lgr->list)) { in __smc_diag_dump()
170 struct smcd_dev *smcd = conn->lgr->smcd; in __smc_diag_dump()
174 dinfo.linkid = *((u32 *)conn->lgr->id); in __smc_diag_dump()
175 dinfo.peer_gid = conn->lgr->peer_gid; in __smc_diag_dump()
A Dsmc_ib.c75 if (lnk->lgr->smc_version == SMC_V2 && lnk->lgr->uses_gateway) in smc_ib_modify_qp_rtr()
79 if (lnk->lgr->smc_version == SMC_V2 && lnk->lgr->uses_gateway) in smc_ib_modify_qp_rtr()
81 sizeof(lnk->lgr->nexthop_mac)); in smc_ib_modify_qp_rtr()
145 if (lgr->role == SMC_SERV) { in smc_ib_ready_link()
329 struct smc_link_group *lgr; in smc_ib_gid_check() local
337 if (list_empty(&lgr->list)) in smc_ib_gid_check()
341 lgr->lnk[i].smcibdev != smcibdev) in smc_ib_gid_check()
344 lgr->smc_version == SMC_V2, in smc_ib_gid_check()
466 struct smc_link_group *lgr; in smcr_diag_is_dev_critical() local
472 if (lgr->is_smcd) in smcr_diag_is_dev_critical()
[all …]
A Daf_smc.c495 struct smc_link_group *lgr = link->lgr; in smcr_lgr_reg_sndbufs() local
510 up_write(&lgr->llc_conf_mutex); in smcr_lgr_reg_sndbufs()
518 struct smc_link_group *lgr = link->lgr; in smcr_lgr_reg_rmbs() local
559 do_slow ? up_write(&lgr->llc_conf_mutex) : up_read(&lgr->llc_conf_mutex); in smcr_lgr_reg_rmbs()
560 smc_llc_flow_stop(lgr, &lgr->llc_flow_lcl); in smcr_lgr_reg_rmbs()
652 if (smc->conn.lgr->is_smcd) { in smc_conn_save_peer_info_fce()
699 if (smc->conn.lgr->is_smcd) in smc_conn_save_peer_info()
954 struct smc_link_group *lgr = conn->lgr; in smc_conn_abort() local
962 smc_lgr_cleanup_early(lgr); in smc_conn_abort()
1304 smc_llc_flow_stop(link->lgr, &link->lgr->llc_flow_lcl); in smc_connect_rdma()
[all …]
A Dsmc_cdc.c211 (conn->lgr->is_smcd && conn->lgr->peer_shutdown)) in smc_cdc_get_slot_and_msg_send()
214 if (conn->lgr->is_smcd) { in smc_cdc_get_slot_and_msg_send()
440 struct smc_link_group *lgr; in smc_cdc_rx_handler() local
449 lgr = smc_get_lgr(link); in smc_cdc_rx_handler()
450 read_lock_bh(&lgr->conns_lock); in smc_cdc_rx_handler()
451 conn = smc_lgr_find_conn(ntohl(cdc->token), lgr); in smc_cdc_rx_handler()
452 read_unlock_bh(&lgr->conns_lock); in smc_cdc_rx_handler()
A Dsmc_ism.h38 int smc_ism_register_dmb(struct smc_link_group *lgr, int buf_size,
41 int smc_ism_signal_shutdown(struct smc_link_group *lgr);
A Dsmc_tx.c325 rc = smc_ism_write(conn->lgr->smcd, conn->peer_token, in smcd_tx_ism_write()
337 struct smc_link_group *lgr = conn->lgr; in smc_tx_rdma_write() local
344 lgr->rtokens[conn->rtoken_idx][link->link_idx].dma_addr + in smc_tx_rdma_write()
349 rdma_wr->rkey = lgr->rtokens[conn->rtoken_idx][link->link_idx].rkey; in smc_tx_rdma_write()
541 if (conn->lgr->is_smcd) in smc_tx_rdma_writes()
587 mod_delayed_work(conn->lgr->tx_wq, &conn->tx_work, in smcr_tx_sndbuf_nonempty()
661 if (conn->lgr->is_smcd) in __smc_tx_sndbuf_nonempty()
763 queue_delayed_work(conn->lgr->tx_wq, &conn->tx_work, in smc_tx_consumer_update()
A Dsmc_rx.c152 struct smc_link_group *lgr = smc->conn.lgr; in smc_rx_splice() local
161 nr_pages = !lgr->is_smcd && smc->conn.rmb_desc->is_vm ? in smc_rx_splice()
179 if (lgr->is_smcd || in smc_rx_splice()
180 (!lgr->is_smcd && !smc->conn.rmb_desc->is_vm)) { in smc_rx_splice()
215 if (!lgr->is_smcd && smc->conn.rmb_desc->is_vm) { in smc_rx_splice()
A Dsmc_wr.h108 int smc_wr_alloc_lgr_mem(struct smc_link_group *lgr);
111 void smc_wr_free_lgr_mem(struct smc_link_group *lgr);
A Dsmc_clc.c752 smc->conn.lgr->sync_err = 1; in smc_clc_wait_msg()
753 smc_lgr_terminate_sched(smc->conn.lgr); in smc_clc_wait_msg()
779 if ((!smc_conn_lgr_valid(&smc->conn) || !smc->conn.lgr->is_smcd) && in smc_clc_send_decline()
1002 if (conn->lgr->is_smcd) { in smc_clc_send_confirm_accept()
1008 conn->lgr->smcd->ops->get_local_gid(conn->lgr->smcd); in smc_clc_send_confirm_accept()
1012 memcpy(&clc->d0.linkid, conn->lgr->id, SMC_LGR_ID_SIZE); in smc_clc_send_confirm_accept()
1017 htons(smc_ism_get_chid(conn->lgr->smcd)); in smc_clc_send_confirm_accept()
1067 fce.v2_direct = !link->lgr->uses_gateway; in smc_clc_send_confirm_accept()
1098 if (!conn->lgr->is_smcd) { in smc_clc_send_confirm_accept()
/linux-6.3-rc2/arch/s390/purgatory/
A Dhead.S37 lgr %r0,\dst
38 lgr %r1,\len
39 lgr %r2,\src
40 lgr %r3,\len
52 lgr %r4,\len
54 11: lgr %r4,%r0
144 lgr %r8,%r13
169 lgr %r7,%r9
185 lgr %r0,%r7
205 lgr %r12,%r7
[all …]
/linux-6.3-rc2/arch/s390/kernel/
A Drelocate_kernel.S38 lgr %r6,%r5 # r6 = r5
45 lgr %r2,%r5 # move it into the right register,
54 lgr %r8,%r5 # r8 = r5
60 lgr %r0,%r4 # subcode
A Dtext_amode31.S31 lgr %r1,%r2
32 lgr %r2,%r3
33 lgr %r3,%r4
51 lgr %r1,%r2
A Dreipl.S73 lgr %r9,%r2
74 lgr %r2,%r3
A Dentry.S64 lgr %r14,%r15
137 lgr %r14,\reg
313 lgr %r3,%r14
328 lgr %r3,%r11
/linux-6.3-rc2/arch/s390/lib/
A Dmem.S20 lgr %r1,%r2
78 lgr %r1,%r2
91 lgr %r1,%r2
129 lgr %r1,%r2
163 lgr %r1,%r2
/linux-6.3-rc2/fs/nfs/filelayout/
A Dfilelayout.c601 struct nfs4_layoutget_res *lgr, in filelayout_check_layout() argument
609 if (lgr->range.offset != 0 || in filelayout_check_layout()
610 lgr->range.length != NFS4_MAX_UINT64) { in filelayout_check_layout()
616 if (fl->pattern_offset > lgr->range.offset) { in filelayout_check_layout()
652 struct nfs4_layoutget_res *lgr, in filelayout_decode_layout() argument
668 xdr_init_decode_pages(&stream, &buf, lgr->layoutp->pages, lgr->layoutp->len); in filelayout_decode_layout()
767 struct nfs4_layoutget_res *lgr, in filelayout_alloc_lseg() argument
778 rc = filelayout_decode_layout(layoutid, fl, lgr, gfp_flags); in filelayout_alloc_lseg()
779 if (rc != 0 || filelayout_check_layout(layoutid, fl, lgr, gfp_flags)) { in filelayout_alloc_lseg()
/linux-6.3-rc2/fs/nfs/blocklayout/
A Dblocklayout.c644 bl_alloc_lseg(struct pnfs_layout_hdr *lo, struct nfs4_layoutget_res *lgr, in bl_alloc_lseg() argument
648 .mode = lgr->range.iomode, in bl_alloc_lseg()
649 .start = lgr->range.offset >> SECTOR_SHIFT, in bl_alloc_lseg()
650 .inval = lgr->range.offset >> SECTOR_SHIFT, in bl_alloc_lseg()
651 .cowread = lgr->range.offset >> SECTOR_SHIFT, in bl_alloc_lseg()
675 lgr->layoutp->pages, lgr->layoutp->len); in bl_alloc_lseg()
696 if (lgr->range.offset + lgr->range.length != in bl_alloc_lseg()
/linux-6.3-rc2/arch/s390/boot/
A Dhead_kdump.S61 lgr %r11,%r2 # Save kdump base address
62 lgr %r12,%r2

Completed in 64 milliseconds

12