/linux-master/net/smc/ |
H A D | smc_core.c | 52 static void smc_buf_free(struct smc_link_group *lgr, bool is_rmb, 54 static void __smc_lgr_terminate(struct smc_link_group *lgr, bool soft); 59 static inline struct list_head *smc_lgr_list_head(struct smc_link_group *lgr, argument 62 if (lgr->is_smcd) { 63 *lgr_lock = &lgr->smcd->lgr_lock; 64 return &lgr->smcd->lgr_list; 81 static void smc_lgr_schedule_free_work(struct smc_link_group *lgr) argument 87 if (!lgr->freeing) { 88 mod_delayed_work(system_wq, &lgr->free_work, 89 (!lgr 199 struct smc_link_group *lgr = conn->lgr; local 213 struct smc_link_group *lgr = conn->lgr; local 280 smc_nl_fill_lgr_v2_common(struct smc_link_group *lgr, struct sk_buff *skb, struct netlink_callback *cb, struct nlattr *v2_attrs) argument 311 smc_nl_fill_smcr_lgr_v2(struct smc_link_group *lgr, struct sk_buff *skb, struct netlink_callback *cb) argument 336 smc_nl_fill_lgr(struct smc_link_group *lgr, struct sk_buff *skb, struct netlink_callback *cb) argument 384 smc_nl_fill_lgr_link(struct smc_link_group *lgr, struct smc_link *link, struct sk_buff *skb, struct netlink_callback *cb) argument 445 smc_nl_handle_lgr(struct smc_link_group *lgr, struct sk_buff *skb, struct netlink_callback *cb, bool list_links) argument 485 struct smc_link_group *lgr; local 503 smc_nl_fill_smcd_lgr(struct smc_link_group *lgr, struct sk_buff *skb, struct netlink_callback *cb) argument 574 struct smc_link_group *lgr; local 645 smc_lgr_cleanup_early(struct smc_link_group *lgr) argument 661 smcr_lgr_link_deactivate_all(struct smc_link_group *lgr) argument 679 struct smc_link_group *lgr = container_of(to_delayed_work(work), local 715 struct smc_link_group *lgr = container_of(work, struct smc_link_group, local 722 smcr_next_link_id(struct smc_link_group *lgr) argument 751 smcr_link_init(struct smc_link_group *lgr, struct smc_link *lnk, u8 link_idx, struct smc_init_info *ini) argument 835 struct smc_link_group *lgr; local 1039 smc_switch_conns(struct smc_link_group *lgr, struct smc_link *from_lnk, bool is_dev_err) argument 1117 smcr_buf_unuse(struct smc_buf_desc *buf_desc, bool is_rmb, struct smc_link_group *lgr) argument 1152 smc_buf_unuse(struct smc_connection *conn, struct smc_link_group *lgr) argument 1177 struct smc_link_group *lgr = conn->lgr; local 1240 struct smc_link_group *lgr = lnk->lgr; local 1260 struct smc_link_group *lgr = lnk->lgr; local 1271 struct smc_link_group *lgr = lnk->lgr; local 1314 smcr_buf_free(struct smc_link_group *lgr, bool is_rmb, struct smc_buf_desc *buf_desc) argument 1329 smcd_buf_free(struct smc_link_group *lgr, bool is_dmb, struct smc_buf_desc *buf_desc) argument 1342 smc_buf_free(struct smc_link_group *lgr, bool is_rmb, struct smc_buf_desc *buf_desc) argument 1351 __smc_lgr_free_bufs(struct smc_link_group *lgr, bool is_rmb) argument 1370 smc_lgr_free_bufs(struct smc_link_group *lgr) argument 1379 __smc_lgr_free(struct smc_link_group *lgr) argument 1394 smc_lgr_free(struct smc_link_group *lgr) argument 1416 smc_lgr_hold(struct smc_link_group *lgr) argument 1421 smc_lgr_put(struct smc_link_group *lgr) argument 1459 smc_lgr_cleanup(struct smc_link_group *lgr) argument 1477 __smc_lgr_terminate(struct smc_link_group *lgr, bool soft) argument 1510 smc_lgr_terminate_sched(struct smc_link_group *lgr) argument 1530 struct smc_link_group *lgr, *l; local 1559 struct smc_link_group *lgr, *lg; local 1583 struct smc_link_group *lgr, *lg; local 1619 smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type) argument 1654 smcr_lgr_set_type_asym(struct smc_link_group *lgr, enum smc_lgr_type new_type, int asym_lnk_idx) argument 1677 struct smc_link_group *lgr, *n; local 1706 struct smc_link_group *lgr = lnk->lgr; local 1764 struct smc_link_group *lgr, *n; local 1787 struct smc_link_group *lgr = link->lgr; local 1845 smcr_lgr_match(struct smc_link_group *lgr, u8 smcr_version, u8 peer_systemid[], u8 peer_gid[], u8 peer_mac_v1[], enum smc_lgr_role role, u32 clcqpn, struct net *net) argument 1876 smcd_lgr_match(struct smc_link_group *lgr, struct smcd_dev *smcismdev, struct smcd_gid *peer_gid) argument 1897 struct smc_link_group *lgr; local 2173 struct smc_link_group *lgr = lnk->lgr; local 2194 struct smc_link_group *lgr = lnk->lgr; local 2233 smcr_new_buf_create(struct smc_link_group *lgr, bool is_rmb, int bufsize) argument 2281 smcr_buf_map_usable_links(struct smc_link_group *lgr, struct smc_buf_desc *buf_desc, bool is_rmb) argument 2306 smcd_new_buf_create(struct smc_link_group *lgr, bool is_dmb, int bufsize) argument 2346 struct smc_link_group *lgr = conn->lgr; local 2482 smc_rmb_reserve_rtoken_idx(struct smc_link_group *lgr) argument 2493 smc_rtoken_find_by_link(struct smc_link_group *lgr, int lnk_idx, u32 rkey) argument 2507 smc_rtoken_set(struct smc_link_group *lgr, int link_idx, int link_idx_new, __be32 nw_rkey_known, __be64 nw_vaddr, __be32 nw_rkey) argument 2520 smc_rtoken_set2(struct smc_link_group *lgr, int rtok_idx, int link_id, __be64 nw_vaddr, __be32 nw_rkey) argument 2543 struct smc_link_group *lgr = smc_get_lgr(lnk); local 2567 struct smc_link_group *lgr = smc_get_lgr(lnk); local [all...] |
H A D | smc_llc.c | 232 static void smc_llc_flow_parallel(struct smc_link_group *lgr, u8 flow_type, argument 238 flow_type != msg_type && !lgr->delayed_event) { 239 lgr->delayed_event = qentry; 246 SMC_LGR_ID_SIZE, &lgr->id, 247 lgr->net->net_cookie, 249 flow_type, lgr->role); 257 struct smc_link_group *lgr = qentry->link->lgr; local 259 spin_lock_bh(&lgr->llc_flow_lock); 262 smc_llc_flow_parallel(lgr, flo 286 smc_llc_flow_initiate(struct smc_link_group *lgr, enum smc_llc_flowtype type) argument 320 smc_llc_flow_stop(struct smc_link_group *lgr, struct smc_llc_flow *flow) argument 336 smc_llc_wait(struct smc_link_group *lgr, struct smc_link *lnk, int time_out, u8 exp_msg) argument 434 smc_llc_init_msg_hdr(struct smc_llc_hdr *hdr, struct smc_link_group *lgr, size_t len) argument 563 _smc_llc_get_next_rmb(struct smc_link_group *lgr, int *buf_lst) argument 579 smc_llc_get_next_rmb(struct smc_link_group *lgr, int *buf_lst, struct smc_buf_desc *buf_pos) argument 596 smc_llc_get_first_rmb(struct smc_link_group *lgr, int *buf_lst) argument 606 struct smc_link_group *lgr = link->lgr; local 807 smc_llc_alloc_alt_link(struct smc_link_group *lgr, enum smc_lgr_type lgr_new_t) argument 837 struct smc_link_group *lgr = link->lgr; local 891 struct smc_link_group *lgr = link->lgr; local 946 struct smc_link_group *lgr = link->lgr; local 1003 struct smc_link_group *lgr = link->lgr; local 1034 struct smc_link_group *lgr = smc_get_lgr(link); local 1165 struct smc_link_group *lgr = smc_get_lgr(link); local 1214 smc_llc_process_cli_add_link(struct smc_link_group *lgr) argument 1228 smc_llc_active_link_count(struct smc_link_group *lgr) argument 1241 smc_llc_find_asym_link(struct smc_link_group *lgr) argument 1285 smc_llc_delete_asym_link(struct smc_link_group *lgr) argument 1323 struct smc_link_group *lgr = link->lgr; local 1364 struct smc_link_group *lgr = link->lgr; local 1407 struct smc_link_group *lgr = link->lgr; local 1524 smc_llc_process_srv_add_link(struct smc_link_group *lgr) argument 1556 struct smc_link_group *lgr = container_of(work, struct smc_link_group, local 1589 smc_llc_process_cli_delete_link(struct smc_link_group *lgr) argument 1647 smc_llc_send_link_delete_all(struct smc_link_group *lgr, bool ord, u32 rsn) argument 1667 smc_llc_process_srv_delete_link(struct smc_link_group *lgr) argument 1737 struct smc_link_group *lgr = container_of(work, struct smc_link_group, local 1755 smc_llc_rmt_conf_rkey(struct smc_link_group *lgr) argument 1795 smc_llc_rmt_delete_rkey(struct smc_link_group *lgr) argument 1844 smc_llc_protocol_violation(struct smc_link_group *lgr, u8 type) argument 1854 smc_llc_event_flush(struct smc_link_group *lgr) argument 1870 struct smc_link_group *lgr = link->lgr; local 1987 struct smc_link_group *lgr = container_of(work, struct smc_link_group, local 2059 struct smc_link_group *lgr = link->lgr; local 2137 smc_llc_lgr_init(struct smc_link_group *lgr, struct smc_sock *smc) argument 2154 smc_llc_lgr_clear(struct smc_link_group *lgr) argument 2211 struct smc_link_group *lgr = send_link->lgr; local 2230 smc_llc_do_delete_rkey(struct smc_link_group *lgr, struct smc_buf_desc *rmb_desc) argument [all...] |
H A D | smc_llc.h | 63 static inline struct smc_link *smc_llc_usable_link(struct smc_link_group *lgr) argument 68 if (smc_link_usable(&lgr->lnk[i])) 69 return &lgr->lnk[i]; 74 static inline void smc_llc_set_termination_rsn(struct smc_link_group *lgr, argument 77 if (!lgr->llc_termination_rsn) 78 lgr->llc_termination_rsn = 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, [all...] |
H A D | smc_tracepoint.h | 93 __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; 111 TP_printk("lnk=%p lgr=%p net=%llu state=%d dev=%s location=%pS", 112 __entry->lnk, __entry->lgr, __entry->net_cookie,
|
H A D | smc_wr.c | 96 if (link->lgr->smc_version != SMC_V2 || 104 memset(link->lgr->wr_tx_buf_v2, 0, 105 sizeof(*link->lgr->wr_tx_buf_v2)); 122 if (link->lgr->smc_version == SMC_V2) { 125 memset(link->lgr->wr_tx_buf_v2, 0, 126 sizeof(*link->lgr->wr_tx_buf_v2)); 201 struct smc_link_group *lgr = smc_get_lgr(link); local 210 if (in_softirq() || lgr->terminating) { 218 lgr->terminating || 266 *wr_buf = link->lgr 680 smc_wr_free_lgr_mem(struct smc_link_group *lgr) argument 723 smc_wr_alloc_lgr_mem(struct smc_link_group *lgr) argument [all...] |
H A D | smc_core.h | 157 u8 link_idx; /* index in lgr link array */ 161 struct smc_link_group *lgr; /* parent link group */ member in struct:smc_link 188 /* tx/rx buffer list element for sndbufs list and rmbs list of a lgr */ 244 enum smc_lgr_type { /* redundancy state of lgr */ 245 SMC_LGR_NONE, /* no active links, lgr to be deleted */ 285 u8 id[SMC_LGR_ID_SIZE]; /* unique lgr id */ 286 struct delayed_work free_work; /* delayed freeing of an lgr */ 287 struct work_struct terminate_work; /* abnormal lgr termination */ 289 u8 sync_err : 1; /* lgr no longer fits to peer */ 290 u8 terminating : 1;/* lgr i 442 smc_lgr_find_conn( u32 token, struct smc_link_group *lgr) argument [all...] |
H A D | smc_ism.h | 48 int smc_ism_register_dmb(struct smc_link_group *lgr, int buf_size, 51 int smc_ism_signal_shutdown(struct smc_link_group *lgr);
|
H A D | smc_ism.c | 99 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); 100 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = conn; 101 spin_unlock_irqrestore(&conn->lgr->smcd->lock, flags); 112 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); 113 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = NULL; 114 spin_unlock_irqrestore(&conn->lgr->smcd->lock, flags); 222 int smc_ism_register_dmb(struct smc_link_group *lgr, int dmb_len, argument 232 dmb.vlan_id = lgr->vlan_id; 233 dmb.rgid = lgr->peer_gid.gid; 234 rc = lgr 536 smc_ism_signal_shutdown(struct smc_link_group *lgr) argument [all...] |
H A D | smc_ib.c | 75 if (lnk->lgr->smc_version == SMC_V2 && lnk->lgr->uses_gateway) 79 if (lnk->lgr->smc_version == SMC_V2 && lnk->lgr->uses_gateway) 80 memcpy(&qp_attr.ah_attr.roce.dmac, lnk->lgr->nexthop_mac, 81 sizeof(lnk->lgr->nexthop_mac)); 125 struct smc_link_group *lgr = smc_get_lgr(lnk); local 145 if (lgr->role == SMC_SERV) { 330 struct smc_link_group *lgr; local 334 list_for_each_entry(lgr, 467 struct smc_link_group *lgr; local [all...] |
H A D | smc_diag.c | 93 else if (smc_conn_lgr_valid(&smc->conn) && smc->conn.lgr->is_smcd) 146 if (smc_conn_lgr_valid(&smc->conn) && !smc->conn.lgr->is_smcd && 148 !list_empty(&smc->conn.lgr->list)) { 152 .role = smc->conn.lgr->role, 165 if (smc_conn_lgr_valid(&smc->conn) && smc->conn.lgr->is_smcd && 167 !list_empty(&smc->conn.lgr->list) && smc->conn.rmb_desc) { 170 struct smcd_dev *smcd = conn->lgr->smcd; 175 dinfo.linkid = *((u32 *)conn->lgr->id); 176 dinfo.peer_gid = conn->lgr->peer_gid.gid; 177 dinfo.peer_gid_ext = conn->lgr [all...] |
H A D | smc_wr.h | 107 int smc_wr_alloc_lgr_mem(struct smc_link_group *lgr); 110 void smc_wr_free_lgr_mem(struct smc_link_group *lgr);
|
H A D | smc_pnet.h | 65 void smc_pnet_find_alt_roce(struct smc_link_group *lgr,
|
H A D | smc_tx.c | 308 rc = smc_ism_write(conn->lgr->smcd, conn->peer_token, 320 struct smc_link_group *lgr = conn->lgr; local 327 lgr->rtokens[conn->rtoken_idx][link->link_idx].dma_addr + 332 rdma_wr->rkey = lgr->rtokens[conn->rtoken_idx][link->link_idx].rkey; 524 if (conn->lgr->is_smcd) 570 mod_delayed_work(conn->lgr->tx_wq, &conn->tx_work, 644 if (conn->lgr->is_smcd) 718 queue_delayed_work(conn->lgr->tx_wq, &conn->tx_work,
|
H A D | smc_rx.c | 152 struct smc_link_group *lgr = smc->conn.lgr; local 161 nr_pages = !lgr->is_smcd && smc->conn.rmb_desc->is_vm ? 179 if (lgr->is_smcd || 180 (!lgr->is_smcd && !smc->conn.rmb_desc->is_vm)) { 215 if (!lgr->is_smcd && smc->conn.rmb_desc->is_vm) {
|
H A D | af_smc.c | 526 struct smc_link_group *lgr = link->lgr; local 533 down_write(&lgr->llc_conf_mutex); 535 if (!smc_link_active(&lgr->lnk[i])) 537 rc = smcr_link_reg_buf(&lgr->lnk[i], snd_desc); 541 up_write(&lgr->llc_conf_mutex); 549 struct smc_link_group *lgr = link->lgr; local 553 rc = smc_llc_flow_initiate(lgr, SMC_LLC_FLOW_RKEY); 557 down_read(&lgr 988 struct smc_link_group *lgr = conn->lgr; local 1179 smc_fill_gid_list(struct smc_link_group *lgr, struct smc_gidlist *gidlist, struct smc_ib_device *known_dev, u8 *known_gid) argument [all...] |
H A D | smc_cdc.c | 213 (conn->lgr->is_smcd && conn->lgr->peer_shutdown)) 216 if (conn->lgr->is_smcd) { 442 struct smc_link_group *lgr; local 451 lgr = smc_get_lgr(link); 452 read_lock_bh(&lgr->conns_lock); 453 conn = smc_lgr_find_conn(ntohl(cdc->token), lgr); 454 read_unlock_bh(&lgr->conns_lock);
|
/linux-master/arch/s390/purgatory/ |
H A D | head.S | 37 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 [all...] |
/linux-master/arch/s390/kernel/ |
H A D | earlypgm.S | 18 lgr %r2,%r11
|
H A D | relocate_kernel.S | 38 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
|
H A D | text_amode31.S | 31 lgr %r1,%r2 32 lgr %r2,%r3 33 lgr %r3,%r4 51 lgr %r1,%r2
|
H A D | reipl.S | 73 lgr %r9,%r2 74 lgr %r2,%r3
|
H A D | mcount.S | 41 lgr %r1, %r0 55 lgr %r1,%r15 96 lgr %r2,%r0 103 lgr %r3,%r14 125 lgr %r1,%r0 135 lgr %r1,%r15 141 lgr %r2,%r3 144 lgr %r14,%r2
|
/linux-master/arch/s390/lib/ |
H A D | mem.S | 19 lgr %r1,%r2 79 lgr %r1,%r2 92 lgr %r1,%r2 132 lgr %r1,%r2 169 lgr %r1,%r2
|
/linux-master/arch/s390/boot/ |
H A D | head_kdump.S | 61 lgr %r11,%r2 # Save kdump base address 62 lgr %r12,%r2
|
/linux-master/fs/nfs/filelayout/ |
H A D | filelayout.c | 601 struct nfs4_layoutget_res *lgr, 609 if (lgr->range.offset != 0 || 610 lgr->range.length != NFS4_MAX_UINT64) { 616 if (fl->pattern_offset > lgr->range.offset) { 652 struct nfs4_layoutget_res *lgr, 668 xdr_init_decode_pages(&stream, &buf, lgr->layoutp->pages, lgr->layoutp->len); 767 struct nfs4_layoutget_res *lgr, 778 rc = filelayout_decode_layout(layoutid, fl, lgr, gfp_flags); 779 if (rc != 0 || filelayout_check_layout(layoutid, fl, lgr, gfp_flag 599 filelayout_check_layout(struct pnfs_layout_hdr *lo, struct nfs4_filelayout_segment *fl, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags) argument 650 filelayout_decode_layout(struct pnfs_layout_hdr *flo, struct nfs4_filelayout_segment *fl, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags) argument 766 filelayout_alloc_lseg(struct pnfs_layout_hdr *layoutid, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags) argument [all...] |