Home
last modified time | relevance | path

Searched refs:mr_status (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/infiniband/ulp/iser/
H A Diser_verbs.c895 struct ib_mr_status mr_status; in iser_check_task_pi_status() local
901 IB_MR_CHECK_SIG_STATUS, &mr_status); in iser_check_task_pi_status()
909 if (mr_status.fail_status & IB_MR_CHECK_SIG_STATUS) { in iser_check_task_pi_status()
910 sector_t sector_off = mr_status.sig_err.sig_err_offset; in iser_check_task_pi_status()
917 mr_status.sig_err.err_type, in iser_check_task_pi_status()
919 mr_status.sig_err.expected, in iser_check_task_pi_status()
920 mr_status.sig_err.actual); in iser_check_task_pi_status()
922 switch (mr_status.sig_err.err_type) { in iser_check_task_pi_status()
H A Diser_memory.c153 struct ib_mr_status mr_status; in iser_unreg_mem_fastreg() local
170 &mr_status); in iser_unreg_mem_fastreg()
/linux/drivers/nvme/target/
H A Drdma.c539 struct ib_mr_status mr_status; in nvmet_rdma_check_pi_status() local
543 ret = ib_check_mr_status(sig_mr, IB_MR_CHECK_SIG_STATUS, &mr_status); in nvmet_rdma_check_pi_status()
549 if (mr_status.fail_status & IB_MR_CHECK_SIG_STATUS) { in nvmet_rdma_check_pi_status()
550 switch (mr_status.sig_err.err_type) { in nvmet_rdma_check_pi_status()
562 mr_status.sig_err.err_type, in nvmet_rdma_check_pi_status()
563 mr_status.sig_err.expected, in nvmet_rdma_check_pi_status()
564 mr_status.sig_err.actual); in nvmet_rdma_check_pi_status()
/linux/drivers/infiniband/ulp/isert/
H A Dib_isert.c1531 struct ib_mr_status mr_status; in isert_check_pi_status() local
1534 ret = ib_check_mr_status(sig_mr, IB_MR_CHECK_SIG_STATUS, &mr_status); in isert_check_pi_status()
1540 if (mr_status.fail_status & IB_MR_CHECK_SIG_STATUS) { in isert_check_pi_status()
1544 switch (mr_status.sig_err.err_type) { in isert_check_pi_status()
1555 sec_offset_err = mr_status.sig_err.sig_err_offset; in isert_check_pi_status()
1561 mr_status.sig_err.err_type, in isert_check_pi_status()
1563 mr_status.sig_err.expected, in isert_check_pi_status()
1564 mr_status.sig_err.actual); in isert_check_pi_status()
/linux/drivers/nvme/host/
H A Drdma.c2090 struct ib_mr_status mr_status; in nvme_rdma_check_pi_status() local
2093 ret = ib_check_mr_status(req->mr, IB_MR_CHECK_SIG_STATUS, &mr_status); in nvme_rdma_check_pi_status()
2100 if (mr_status.fail_status & IB_MR_CHECK_SIG_STATUS) { in nvme_rdma_check_pi_status()
2101 switch (mr_status.sig_err.err_type) { in nvme_rdma_check_pi_status()
2113 mr_status.sig_err.err_type, mr_status.sig_err.expected, in nvme_rdma_check_pi_status()
2114 mr_status.sig_err.actual); in nvme_rdma_check_pi_status()
/linux/drivers/infiniband/hw/mlx5/
H A Dmr.c2494 struct ib_mr_status *mr_status) in mlx5_ib_check_mr_status() argument
2505 mr_status->fail_status = 0; in mlx5_ib_check_mr_status()
2518 memcpy(&mr_status->sig_err, &mmr->sig->err_item, in mlx5_ib_check_mr_status()
2519 sizeof(mr_status->sig_err)); in mlx5_ib_check_mr_status()
2521 mr_status->sig_err.err_type = IB_SIG_BAD_GUARD; in mlx5_ib_check_mr_status()
2522 mr_status->sig_err.sig_err_offset = 0; in mlx5_ib_check_mr_status()
2523 mr_status->sig_err.key = mmr->sig->err_item.key; in mlx5_ib_check_mr_status()
2527 mr_status->fail_status |= IB_MR_CHECK_SIG_STATUS; in mlx5_ib_check_mr_status()
H A Dmlx5_ib.h1420 struct ib_mr_status *mr_status);
/linux/drivers/infiniband/core/
H A Dverbs.c2589 struct ib_mr_status *mr_status) in ib_check_mr_status() argument
2594 return mr->device->ops.check_mr_status(mr, check_mask, mr_status); in ib_check_mr_status()
/linux/include/rdma/
H A Dib_verbs.h2505 struct ib_mr_status *mr_status);
4426 struct ib_mr_status *mr_status);