Lines Matching refs:al

355 static int nvmet_auth_challenge(struct nvmet_req *req, void *d, int al)  in nvmet_auth_challenge()  argument
365 if (al < data_size) { in nvmet_auth_challenge()
367 al, data_size); in nvmet_auth_challenge()
395 static int nvmet_auth_success1(struct nvmet_req *req, void *d, int al) in nvmet_auth_success1() argument
401 WARN_ON(al < sizeof(*data)); in nvmet_auth_success1()
422 static void nvmet_auth_failure1(struct nvmet_req *req, void *d, int al) in nvmet_auth_failure1() argument
426 WARN_ON(al < sizeof(*data)); in nvmet_auth_failure1()
438 u32 al; in nvmet_execute_auth_receive() local
459 al = le32_to_cpu(req->cmd->auth_receive.al); in nvmet_execute_auth_receive()
460 if (!al) { in nvmet_execute_auth_receive()
463 offsetof(struct nvmf_auth_receive_command, al); in nvmet_execute_auth_receive()
466 if (!nvmet_check_transfer_len(req, al)) { in nvmet_execute_auth_receive()
467 pr_debug("%s: transfer length mismatch (%u)\n", __func__, al); in nvmet_execute_auth_receive()
471 d = kmalloc(al, GFP_KERNEL); in nvmet_execute_auth_receive()
480 if (nvmet_auth_challenge(req, d, al) < 0) { in nvmet_execute_auth_receive()
488 nvmet_auth_failure1(req, d, al); in nvmet_execute_auth_receive()
498 status = nvmet_auth_success1(req, d, al); in nvmet_execute_auth_receive()
502 nvmet_auth_failure1(req, d, al); in nvmet_execute_auth_receive()
512 nvmet_auth_failure1(req, d, al); in nvmet_execute_auth_receive()
521 nvmet_auth_failure1(req, d, al); in nvmet_execute_auth_receive()
526 status = nvmet_copy_to_sgl(req, 0, d, al); in nvmet_execute_auth_receive()