Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcq.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
134 wr_len = sizeof *res_wr + sizeof *res; in create_cq()
[all …]
H A Dqp.c132 struct fw_ri_res_wr *res_wr; in create_qp() local
238 wr_len = sizeof *res_wr + 2 * sizeof *res; in create_qp()
245 res_wr = wrtod(wr); in create_qp()
247 memset(res_wr, 0, wr_len); in create_qp()
248 res_wr->op_nres = cpu_to_be32( in create_qp()
252 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in create_qp()
253 res_wr->cookie = (unsigned long) &wr_wait; in create_qp()
254 res = res_wr->res; in create_qp()