Home
last modified time | relevance | path

Searched refs:clc (Results 1 – 9 of 9) sorted by relevance

/net/smc/
Dsmc_clc.c642 struct smc_clc_msg_accept_confirm *clc; in smc_clc_send_confirm_accept() local
650 clc = (struct smc_clc_msg_accept_confirm *)clc_v2; in smc_clc_send_confirm_accept()
651 clc->hdr.version = version; /* SMC version */ in smc_clc_send_confirm_accept()
653 clc->hdr.typev2 |= SMC_FIRST_CONTACT_MASK; in smc_clc_send_confirm_accept()
656 memcpy(clc->hdr.eyecatcher, SMCD_EYECATCHER, in smc_clc_send_confirm_accept()
658 clc->hdr.typev1 = SMC_TYPE_D; in smc_clc_send_confirm_accept()
659 clc->d0.gid = conn->lgr->smcd->local_gid; in smc_clc_send_confirm_accept()
660 clc->d0.token = conn->rmb_desc->token; in smc_clc_send_confirm_accept()
661 clc->d0.dmbe_size = conn->rmbe_size_short; in smc_clc_send_confirm_accept()
662 clc->d0.dmbe_idx = 0; in smc_clc_send_confirm_accept()
[all …]
Daf_smc.c459 struct smc_clc_msg_accept_confirm *clc) in smcr_conn_save_peer_info() argument
461 int bufsize = smc_uncompress_bufsize(clc->r0.rmbe_size); in smcr_conn_save_peer_info()
463 smc->conn.peer_rmbe_idx = clc->r0.rmbe_idx; in smcr_conn_save_peer_info()
464 smc->conn.local_tx_ctrl.token = ntohl(clc->r0.rmbe_alert_token); in smcr_conn_save_peer_info()
481 struct smc_clc_msg_accept_confirm *clc) in smcd_conn_save_peer_info() argument
483 int bufsize = smc_uncompress_bufsize(clc->d0.dmbe_size); in smcd_conn_save_peer_info()
485 smc->conn.peer_rmbe_idx = clc->d0.dmbe_idx; in smcd_conn_save_peer_info()
486 smc->conn.peer_token = clc->d0.token; in smcd_conn_save_peer_info()
491 if (clc->hdr.version > SMC_V1 && in smcd_conn_save_peer_info()
492 (clc->hdr.typev2 & SMC_FIRST_CONTACT_MASK)) { in smcd_conn_save_peer_info()
[all …]
Dsmc_core.h433 struct smc_clc_msg_accept_confirm *clc);
Dsmc_core.c2306 struct smc_clc_msg_accept_confirm *clc) in smc_rmb_rtoken_handling() argument
2308 conn->rtoken_idx = smc_rtoken_add(lnk, clc->r0.rmb_dma_addr, in smc_rmb_rtoken_handling()
2309 clc->r0.rmb_rkey); in smc_rmb_rtoken_handling()
/net/sched/
Dsch_drr.c42 struct Qdisc_class_common *clc; in drr_find_class() local
44 clc = qdisc_class_find(&q->clhash, classid); in drr_find_class()
45 if (clc == NULL) in drr_find_class()
47 return container_of(clc, struct drr_class, common); in drr_find_class()
Dsch_qfq.c210 struct Qdisc_class_common *clc; in qfq_find_class() local
212 clc = qdisc_class_find(&q->clhash, classid); in qfq_find_class()
213 if (clc == NULL) in qfq_find_class()
215 return container_of(clc, struct qfq_class, common); in qfq_find_class()
Dsch_hfsc.c867 struct Qdisc_class_common *clc; in hfsc_find_class() local
869 clc = qdisc_class_find(&q->clhash, classid); in hfsc_find_class()
870 if (clc == NULL) in hfsc_find_class()
872 return container_of(clc, struct hfsc_class, cl_common); in hfsc_find_class()
Dsch_cbq.c168 struct Qdisc_class_common *clc; in cbq_class_lookup() local
170 clc = qdisc_class_find(&q->clhash, classid); in cbq_class_lookup()
171 if (clc == NULL) in cbq_class_lookup()
173 return container_of(clc, struct cbq_class, common); in cbq_class_lookup()
Dsch_htb.c190 struct Qdisc_class_common *clc; in htb_find() local
192 clc = qdisc_class_find(&q->clhash, handle); in htb_find()
193 if (clc == NULL) in htb_find()
195 return container_of(clc, struct htb_class, common); in htb_find()