Home
last modified time | relevance | path

Searched refs:res_wr (Results 1 – 2 of 2) sorted by relevance

/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
HDcq.c57 struct fw_ri_res_wr *res_wr; in destroy_cq() local
63 wr_len = sizeof *res_wr + sizeof *res; in destroy_cq()
67 res_wr = wrtod(wr); in destroy_cq()
68 memset(res_wr, 0, wr_len); in destroy_cq()
69 res_wr->op_nres = cpu_to_be32( in destroy_cq()
73 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in destroy_cq()
74 res_wr->cookie = (unsigned long) &wr_wait; in destroy_cq()
75 res = res_wr->res; in destroy_cq()
100 struct fw_ri_res_wr *res_wr; in create_cq() local
132 wr_len = sizeof *res_wr + sizeof *res; in create_cq()
[all …]
HDqp.c132 struct fw_ri_res_wr *res_wr; in create_qp() local
235 wr_len = sizeof *res_wr + 2 * sizeof *res; in create_qp()
242 res_wr = wrtod(wr); in create_qp()
244 memset(res_wr, 0, wr_len); in create_qp()
245 res_wr->op_nres = cpu_to_be32( in create_qp()
249 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in create_qp()
250 res_wr->cookie = (unsigned long) &wr_wait; in create_qp()
251 res = res_wr->res; in create_qp()