Lines Matching refs:res_wr
57 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()
139 res_wr = wrtod(wr); in create_cq()
141 memset(res_wr, 0, wr_len); in create_cq()
142 res_wr->op_nres = cpu_to_be32( in create_cq()
146 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in create_cq()
147 res_wr->cookie = (unsigned long) &wr_wait; in create_cq()
148 res = res_wr->res; in create_cq()