Lines Matching refs:rej
2157 struct srp_login_rej *rej = NULL; in srpt_cm_req_recv() local
2185 rej = kzalloc(sizeof(*rej), GFP_KERNEL); in srpt_cm_req_recv()
2187 if (!rsp || !rej || !rep_param) in srpt_cm_req_recv()
2192 rej->reason = cpu_to_be32( in srpt_cm_req_recv()
2200 rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); in srpt_cm_req_recv()
2209 rej->reason = cpu_to_be32( in srpt_cm_req_recv()
2218 rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); in srpt_cm_req_recv()
2259 rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); in srpt_cm_req_recv()
2296 rej->reason = in srpt_cm_req_recv()
2306 rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); in srpt_cm_req_recv()
2358 rej->reason = cpu_to_be32(ret == -ENOMEM ? in srpt_cm_req_recv()
2389 rej->reason = cpu_to_be32( in srpt_cm_req_recv()
2402 rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); in srpt_cm_req_recv()
2464 rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); in srpt_cm_req_recv()
2502 pr_info("Rejecting login with reason %#x\n", be32_to_cpu(rej->reason)); in srpt_cm_req_recv()
2503 rej->opcode = SRP_LOGIN_REJ; in srpt_cm_req_recv()
2504 rej->tag = req->tag; in srpt_cm_req_recv()
2505 rej->buf_fmt = cpu_to_be16(SRP_BUF_FORMAT_DIRECT | in srpt_cm_req_recv()
2509 rdma_reject(rdma_cm_id, rej, sizeof(*rej), in srpt_cm_req_recv()
2513 rej, sizeof(*rej)); in srpt_cm_req_recv()
2527 kfree(rej); in srpt_cm_req_recv()