attr_mask 527 drivers/hwmon/hwmon.c u32 attr_mask = info->config[i]; attr_mask 530 drivers/hwmon/hwmon.c while (attr_mask) { attr_mask 533 drivers/hwmon/hwmon.c attr = __ffs(attr_mask); attr_mask 534 drivers/hwmon/hwmon.c attr_mask &= ~BIT(attr); attr_mask 1673 drivers/infiniband/core/uverbs_cmd.c ret = ib_query_qp(qp, attr, cmd.attr_mask, init_attr); attr_mask 1778 drivers/infiniband/core/uverbs_cmd.c if ((cmd->base.attr_mask & IB_QP_PORT) && attr_mask 1784 drivers/infiniband/core/uverbs_cmd.c if ((cmd->base.attr_mask & IB_QP_AV)) { attr_mask 1790 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_STATE && attr_mask 1824 drivers/infiniband/core/uverbs_cmd.c if (((cmd->base.attr_mask & (IB_QP_AV | IB_QP_PORT)) attr_mask 1830 drivers/infiniband/core/uverbs_cmd.c if ((cmd->base.attr_mask & (IB_QP_AV | IB_QP_PORT)) attr_mask 1832 drivers/infiniband/core/uverbs_cmd.c cmd->base.attr_mask |= IB_QP_PORT; attr_mask 1838 drivers/infiniband/core/uverbs_cmd.c if ((cmd->base.attr_mask & IB_QP_ALT_PATH) && attr_mask 1846 drivers/infiniband/core/uverbs_cmd.c if ((cmd->base.attr_mask & IB_QP_CUR_STATE && attr_mask 1848 drivers/infiniband/core/uverbs_cmd.c (cmd->base.attr_mask & IB_QP_STATE && attr_mask 1854 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_STATE) attr_mask 1856 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_CUR_STATE) attr_mask 1858 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_PATH_MTU) attr_mask 1860 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_PATH_MIG_STATE) attr_mask 1862 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_QKEY) attr_mask 1864 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_RQ_PSN) attr_mask 1866 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_SQ_PSN) attr_mask 1868 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_DEST_QPN) attr_mask 1870 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_ACCESS_FLAGS) attr_mask 1872 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_PKEY_INDEX) attr_mask 1874 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY) attr_mask 1876 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_MAX_QP_RD_ATOMIC) attr_mask 1878 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 1880 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_MIN_RNR_TIMER) attr_mask 1882 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_PORT) attr_mask 1884 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_TIMEOUT) attr_mask 1886 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_RETRY_CNT) attr_mask 1888 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_RNR_RETRY) attr_mask 1890 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_ALT_PATH) { attr_mask 1895 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_RATE_LIMIT) attr_mask 1898 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_AV) attr_mask 1902 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.attr_mask & IB_QP_ALT_PATH) attr_mask 1908 drivers/infiniband/core/uverbs_cmd.c cmd->base.attr_mask), attr_mask 1928 drivers/infiniband/core/uverbs_cmd.c if (cmd.base.attr_mask & attr_mask 1953 drivers/infiniband/core/uverbs_cmd.c if (cmd.base.attr_mask & attr_mask 3020 drivers/infiniband/core/uverbs_cmd.c if (!cmd.attr_mask) attr_mask 3023 drivers/infiniband/core/uverbs_cmd.c if (cmd.attr_mask > (IB_WQ_STATE | IB_WQ_CUR_STATE | IB_WQ_FLAGS)) attr_mask 3032 drivers/infiniband/core/uverbs_cmd.c if (cmd.attr_mask & IB_WQ_FLAGS) { attr_mask 3036 drivers/infiniband/core/uverbs_cmd.c ret = wq->device->ops.modify_wq(wq, &wq_attr, cmd.attr_mask, attr_mask 3545 drivers/infiniband/core/uverbs_cmd.c ret = srq->device->ops.modify_srq(srq, &attr, cmd.attr_mask, attr_mask 3684 drivers/infiniband/core/uverbs_cmd.c if (!cmd.attr_mask || cmd.reserved) attr_mask 3687 drivers/infiniband/core/uverbs_cmd.c if (cmd.attr_mask > IB_CQ_MODERATE) attr_mask 1618 drivers/infiniband/core/verbs.c int attr_mask, struct ib_udata *udata) attr_mask 1620 drivers/infiniband/core/verbs.c u8 port = attr_mask & IB_QP_PORT ? attr->port_num : qp->port; attr_mask 1625 drivers/infiniband/core/verbs.c if (attr_mask & IB_QP_AV) { attr_mask 1631 drivers/infiniband/core/verbs.c if (attr_mask & IB_QP_ALT_PATH) { attr_mask 1660 drivers/infiniband/core/verbs.c if (udata && (attr_mask & IB_QP_AV) && attr_mask 1669 drivers/infiniband/core/verbs.c if (attr_mask & IB_QP_RQ_PSN && attr->rq_psn & ~0xffffff) { attr_mask 1676 drivers/infiniband/core/verbs.c if (attr_mask & IB_QP_SQ_PSN && attr->sq_psn & ~0xffffff) { attr_mask 1688 drivers/infiniband/core/verbs.c if (!qp->counter && (attr_mask & IB_QP_PORT) && attr_mask 1689 drivers/infiniband/core/verbs.c ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT)) attr_mask 1692 drivers/infiniband/core/verbs.c ret = ib_security_modify_qp(qp, attr, attr_mask, udata); attr_mask 1696 drivers/infiniband/core/verbs.c if (attr_mask & IB_QP_PORT) attr_mask 1698 drivers/infiniband/core/verbs.c if (attr_mask & IB_QP_AV) attr_mask 1701 drivers/infiniband/core/verbs.c if (attr_mask & IB_QP_ALT_PATH) attr_mask 1706 drivers/infiniband/core/verbs.c if (attr_mask & IB_QP_ALT_PATH) attr_mask 1709 drivers/infiniband/core/verbs.c if (attr_mask & IB_QP_AV) attr_mask 1726 drivers/infiniband/core/verbs.c int attr_mask, struct ib_udata *udata) attr_mask 1728 drivers/infiniband/core/verbs.c return _ib_modify_qp(ib_qp->real_qp, attr, attr_mask, udata); attr_mask 854 drivers/infiniband/hw/cxgb3/iwch_provider.c int attr_mask, struct ib_udata *udata) attr_mask 864 drivers/infiniband/hw/cxgb3/iwch_provider.c if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) attr_mask 865 drivers/infiniband/hw/cxgb3/iwch_provider.c attr_mask &= ~IB_QP_STATE; attr_mask 868 drivers/infiniband/hw/cxgb3/iwch_provider.c if (!attr_mask) attr_mask 882 drivers/infiniband/hw/cxgb3/iwch_provider.c mask |= (attr_mask & IB_QP_STATE) ? IWCH_QP_ATTR_NEXT_STATE : 0; attr_mask 883 drivers/infiniband/hw/cxgb3/iwch_provider.c mask |= (attr_mask & IB_QP_ACCESS_FLAGS) ? attr_mask 1010 drivers/infiniband/hw/cxgb4/iw_cxgb4.h int attr_mask, struct ib_udata *udata); attr_mask 1012 drivers/infiniband/hw/cxgb4/iw_cxgb4.h int attr_mask, struct ib_qp_init_attr *init_attr); attr_mask 2368 drivers/infiniband/hw/cxgb4/qp.c int attr_mask, struct ib_udata *udata) attr_mask 2378 drivers/infiniband/hw/cxgb4/qp.c if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) attr_mask 2379 drivers/infiniband/hw/cxgb4/qp.c attr_mask &= ~IB_QP_STATE; attr_mask 2382 drivers/infiniband/hw/cxgb4/qp.c if (!attr_mask) attr_mask 2396 drivers/infiniband/hw/cxgb4/qp.c mask |= (attr_mask & IB_QP_STATE) ? C4IW_QP_ATTR_NEXT_STATE : 0; attr_mask 2397 drivers/infiniband/hw/cxgb4/qp.c mask |= (attr_mask & IB_QP_ACCESS_FLAGS) ? attr_mask 2409 drivers/infiniband/hw/cxgb4/qp.c mask |= (attr_mask & IB_QP_SQ_PSN) ? C4IW_QP_ATTR_SQ_DB : 0; attr_mask 2410 drivers/infiniband/hw/cxgb4/qp.c mask |= (attr_mask & IB_QP_RQ_PSN) ? C4IW_QP_ATTR_RQ_DB : 0; attr_mask 2464 drivers/infiniband/hw/cxgb4/qp.c int attr_mask, struct ib_qp_init_attr *init_attr) attr_mask 242 drivers/infiniband/hw/hfi1/opfn.c void opfn_qp_init(struct rvt_qp *qp, struct ib_qp_attr *attr, int attr_mask) attr_mask 248 drivers/infiniband/hw/hfi1/opfn.c if (attr_mask & IB_QP_RETRY_CNT) attr_mask 255 drivers/infiniband/hw/hfi1/opfn.c if (attr_mask & IB_QP_TIMEOUT) attr_mask 264 drivers/infiniband/hw/hfi1/opfn.c if (attr_mask & IB_QP_STATE && attr_mask 82 drivers/infiniband/hw/hfi1/opfn.h void opfn_qp_init(struct rvt_qp *qp, struct ib_qp_attr *attr, int attr_mask); attr_mask 217 drivers/infiniband/hw/hfi1/qp.c int attr_mask, struct ib_udata *udata) attr_mask 224 drivers/infiniband/hw/hfi1/qp.c if (attr_mask & IB_QP_AV) { attr_mask 237 drivers/infiniband/hw/hfi1/qp.c if (attr_mask & IB_QP_ALT_PATH) { attr_mask 279 drivers/infiniband/hw/hfi1/qp.c int attr_mask, struct ib_udata *udata) attr_mask 284 drivers/infiniband/hw/hfi1/qp.c if (attr_mask & IB_QP_AV) { attr_mask 291 drivers/infiniband/hw/hfi1/qp.c if (attr_mask & IB_QP_PATH_MIG_STATE && attr_mask 301 drivers/infiniband/hw/hfi1/qp.c opfn_qp_init(qp, attr, attr_mask); attr_mask 429 drivers/infiniband/hw/hfi1/verbs.h int attr_mask, struct ib_udata *udata); attr_mask 432 drivers/infiniband/hw/hfi1/verbs.h int attr_mask, struct ib_udata *udata); attr_mask 964 drivers/infiniband/hw/hns/hns_roce_device.h int attr_mask, enum ib_qp_state cur_state, attr_mask 1241 drivers/infiniband/hw/hns/hns_roce_device.h int attr_mask, struct ib_udata *udata); attr_mask 712 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int attr_mask = 0; attr_mask 831 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ret = hr_dev->hw->modify_qp(&hr_qp->ibqp, &attr, attr_mask, attr_mask 845 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ret = hr_dev->hw->modify_qp(&hr_qp->ibqp, &attr, attr_mask, attr_mask 2569 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int attr_mask, enum ib_qp_state cur_state, attr_mask 2713 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int attr_mask, enum ib_qp_state cur_state, attr_mask 2824 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (attr_mask & IB_QP_ACCESS_FLAGS) { attr_mask 2873 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (attr_mask & IB_QP_PKEY_INDEX) attr_mask 2888 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if ((attr_mask & IB_QP_ALT_PATH) || attr_mask 2889 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (attr_mask & IB_QP_ACCESS_FLAGS) || attr_mask 2890 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (attr_mask & IB_QP_PKEY_INDEX) || attr_mask 2891 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (attr_mask & IB_QP_QKEY)) { attr_mask 2926 drivers/infiniband/hw/hns/hns_roce_hw_v1.c port = (attr_mask & IB_QP_PORT) ? (attr->port_num - 1) : attr_mask 2943 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (attr_mask & IB_QP_DEST_QPN) attr_mask 3073 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if ((attr_mask & IB_QP_ALT_PATH) || attr_mask 3074 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (attr_mask & IB_QP_ACCESS_FLAGS) || attr_mask 3075 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (attr_mask & IB_QP_QKEY) || attr_mask 3076 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (attr_mask & IB_QP_PATH_MIG_STATE) || attr_mask 3077 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (attr_mask & IB_QP_CUR_STATE) || attr_mask 3078 drivers/infiniband/hw/hns/hns_roce_hw_v1.c (attr_mask & IB_QP_MIN_RNR_TIMER)) { attr_mask 3297 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 3299 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (attr_mask & IB_QP_PORT) { attr_mask 3322 drivers/infiniband/hw/hns/hns_roce_hw_v1.c const struct ib_qp_attr *attr, int attr_mask, attr_mask 3328 drivers/infiniband/hw/hns/hns_roce_hw_v1.c return hns_roce_v1_m_sqp(ibqp, attr, attr_mask, cur_state, attr_mask 3331 drivers/infiniband/hw/hns/hns_roce_hw_v1.c return hns_roce_v1_m_qp(ibqp, attr, attr_mask, cur_state, attr_mask 230 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask, enum ib_qp_state cur_state, attr_mask 253 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask; attr_mask 599 drivers/infiniband/hw/hns/hns_roce_hw_v2.c attr_mask = IB_QP_STATE; attr_mask 602 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_v2_modify_qp(&qp->ibqp, &attr, attr_mask, attr_mask 629 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask; attr_mask 699 drivers/infiniband/hw/hns/hns_roce_hw_v2.c attr_mask = IB_QP_STATE; attr_mask 703 drivers/infiniband/hw/hns/hns_roce_hw_v2.c attr_mask, hr_qp->state, attr_mask 2703 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask; attr_mask 2824 drivers/infiniband/hw/hns/hns_roce_hw_v2.c attr_mask = IB_QP_STATE; attr_mask 2827 drivers/infiniband/hw/hns/hns_roce_hw_v2.c &attr, attr_mask, attr_mask 3192 drivers/infiniband/hw/hns/hns_roce_hw_v2.c const struct ib_qp_attr *attr, int attr_mask) attr_mask 3197 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dest_rd_atomic = (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) ? attr_mask 3200 drivers/infiniband/hw/hns/hns_roce_hw_v2.c access_flags = (attr_mask & IB_QP_ACCESS_FLAGS) ? attr_mask 3258 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask, attr_mask 3550 drivers/infiniband/hw/hns/hns_roce_hw_v2.c const struct ib_qp_attr *attr, int attr_mask, attr_mask 3567 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_ACCESS_FLAGS) { attr_mask 3633 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_DEST_QPN) { attr_mask 3667 drivers/infiniband/hw/hns/hns_roce_hw_v2.c const struct ib_qp_attr *attr, int attr_mask, attr_mask 3713 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_ALT_PATH) { attr_mask 3714 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dev_err(dev, "INIT2RTR attr_mask (0x%x) error\n", attr_mask); attr_mask 3825 drivers/infiniband/hw/hns/hns_roce_hw_v2.c port = (attr_mask & IB_QP_PORT) ? (attr->port_num - 1) : hr_qp->port; attr_mask 3835 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_DEST_QPN) { attr_mask 3868 drivers/infiniband/hw/hns/hns_roce_hw_v2.c else if (attr_mask & IB_QP_PATH_MTU) attr_mask 3913 drivers/infiniband/hw/hns/hns_roce_hw_v2.c const struct ib_qp_attr *attr, int attr_mask, attr_mask 3945 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if ((attr_mask & IB_QP_ALT_PATH) || attr_mask 3946 drivers/infiniband/hw/hns/hns_roce_hw_v2.c (attr_mask & IB_QP_PATH_MIG_STATE)) { attr_mask 3947 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dev_err(dev, "RTR2RTS attr_mask (0x%x)error\n", attr_mask); attr_mask 4058 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask, attr_mask 4073 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ib_port = (attr_mask & IB_QP_PORT) ? attr->port_num : hr_qp->port + 1; attr_mask 4160 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask, attr_mask 4171 drivers/infiniband/hw/hns/hns_roce_hw_v2.c modify_qp_reset_to_init(ibqp, attr, attr_mask, context, attr_mask 4174 drivers/infiniband/hw/hns/hns_roce_hw_v2.c modify_qp_init_to_init(ibqp, attr, attr_mask, context, attr_mask 4177 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = modify_qp_init_to_rtr(ibqp, attr, attr_mask, context, attr_mask 4182 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = modify_qp_rtr_to_rts(ibqp, attr, attr_mask, context, attr_mask 4201 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask, attr_mask 4209 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_AV) { attr_mask 4210 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_v2_set_path(ibqp, attr, attr_mask, context, attr_mask 4216 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_TIMEOUT) { attr_mask 4230 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_RETRY_CNT) { attr_mask 4248 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_RNR_RETRY) { attr_mask 4265 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_SQ_PSN) { attr_mask 4311 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if ((attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) && attr_mask 4320 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if ((attr_mask & IB_QP_MAX_QP_RD_ATOMIC) && attr->max_rd_atomic) { attr_mask 4329 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & (IB_QP_ACCESS_FLAGS | IB_QP_MAX_DEST_RD_ATOMIC)) attr_mask 4330 drivers/infiniband/hw/hns/hns_roce_hw_v2.c set_access_flags(hr_qp, context, qpc_mask, attr, attr_mask); attr_mask 4332 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_MIN_RNR_TIMER) { attr_mask 4343 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_RQ_PSN) { attr_mask 4358 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_QKEY) { attr_mask 4369 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask) attr_mask 4374 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_ACCESS_FLAGS) attr_mask 4377 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 4379 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (attr_mask & IB_QP_PORT) { attr_mask 4387 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask, enum ib_qp_state cur_state, attr_mask 4406 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_v2_set_abs_fields(ibqp, attr, attr_mask, cur_state, attr_mask 4433 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_v2_set_opt_fields(ibqp, attr, attr_mask, context, attr_mask 4458 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_v2_record_opt_fields(ibqp, attr, attr_mask); attr_mask 4838 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int attr_mask; attr_mask 4858 drivers/infiniband/hw/hns/hns_roce_hw_v2.c attr_mask = IB_QP_STATE; attr_mask 4860 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_v2_modify_qp(&hr_qp->ibqp, &attr, attr_mask, attr_mask 1107 drivers/infiniband/hw/hns/hns_roce_qp.c struct ib_qp_attr *attr, int attr_mask) attr_mask 1112 drivers/infiniband/hw/hns/hns_roce_qp.c p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; attr_mask 1128 drivers/infiniband/hw/hns/hns_roce_qp.c int attr_mask) attr_mask 1134 drivers/infiniband/hw/hns/hns_roce_qp.c if ((attr_mask & IB_QP_PORT) && attr_mask 1142 drivers/infiniband/hw/hns/hns_roce_qp.c if (attr_mask & IB_QP_PKEY_INDEX) { attr_mask 1143 drivers/infiniband/hw/hns/hns_roce_qp.c p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; attr_mask 1152 drivers/infiniband/hw/hns/hns_roce_qp.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC && attr_mask 1160 drivers/infiniband/hw/hns/hns_roce_qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC && attr_mask 1168 drivers/infiniband/hw/hns/hns_roce_qp.c if (attr_mask & IB_QP_PATH_MTU) attr_mask 1169 drivers/infiniband/hw/hns/hns_roce_qp.c return check_mtu_validate(hr_dev, hr_qp, attr, attr_mask); attr_mask 1175 drivers/infiniband/hw/hns/hns_roce_qp.c int attr_mask, struct ib_udata *udata) attr_mask 1184 drivers/infiniband/hw/hns/hns_roce_qp.c cur_state = attr_mask & IB_QP_CUR_STATE ? attr_mask 1186 drivers/infiniband/hw/hns/hns_roce_qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; attr_mask 1189 drivers/infiniband/hw/hns/hns_roce_qp.c (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { attr_mask 1203 drivers/infiniband/hw/hns/hns_roce_qp.c attr_mask)) { attr_mask 1208 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_check_qp_attr(ibqp, attr, attr_mask); attr_mask 1225 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hr_dev->hw->modify_qp(ibqp, attr, attr_mask, cur_state, attr_mask 758 drivers/infiniband/hw/i40iw/i40iw_verbs.c int attr_mask, attr_mask 838 drivers/infiniband/hw/i40iw/i40iw_verbs.c int attr_mask, struct ib_udata *udata) attr_mask 856 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (attr_mask & IB_QP_STATE) { attr_mask 941 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (attr_mask & IB_QP_ACCESS_FLAGS) { attr_mask 764 drivers/infiniband/hw/mlx4/mlx4_ib.h enum ib_srq_attr_mask attr_mask, struct ib_udata *udata); attr_mask 778 drivers/infiniband/hw/mlx4/mlx4_ib.h int attr_mask, struct ib_udata *udata); attr_mask 1750 drivers/infiniband/hw/mlx4/qp.c int attr_mask) attr_mask 1756 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 1761 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_ACCESS_FLAGS) attr_mask 1780 drivers/infiniband/hw/mlx4/qp.c int attr_mask) attr_mask 1782 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_PKEY_INDEX) attr_mask 1784 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_QKEY) attr_mask 1786 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_SQ_PSN) attr_mask 2132 drivers/infiniband/hw/mlx4/qp.c const struct ib_qp_attr *attr, int attr_mask, attr_mask 2177 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_ALT_PATH && attr_mask 2189 drivers/infiniband/hw/mlx4/qp.c if (!(attr_mask & IB_QP_PATH_MIG_STATE)) attr_mask 2222 drivers/infiniband/hw/mlx4/qp.c } else if (attr_mask & IB_QP_PATH_MTU) { attr_mask 2259 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_DEST_QPN) attr_mask 2262 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_PORT) { attr_mask 2264 drivers/infiniband/hw/mlx4/qp.c !(attr_mask & IB_QP_AV)) { attr_mask 2307 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_PKEY_INDEX) { attr_mask 2314 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_AV) { attr_mask 2316 drivers/infiniband/hw/mlx4/qp.c attr_mask & IB_QP_PORT ? attr->port_num : qp->port; attr_mask 2331 drivers/infiniband/hw/mlx4/qp.c if (mlx4_set_path(dev, attr, attr_mask, qp, &context->pri_path, attr_mask 2351 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_TIMEOUT) { attr_mask 2356 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_ALT_PATH) { attr_mask 2365 drivers/infiniband/hw/mlx4/qp.c if (mlx4_set_alt_path(dev, attr, attr_mask, qp, attr_mask 2391 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_RNR_RETRY) { attr_mask 2396 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_RETRY_CNT) { attr_mask 2401 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) { attr_mask 2408 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_SQ_PSN) attr_mask 2411 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) { attr_mask 2418 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & (IB_QP_ACCESS_FLAGS | IB_QP_MAX_DEST_RD_ATOMIC)) { attr_mask 2419 drivers/infiniband/hw/mlx4/qp.c context->params2 |= to_mlx4_access_flags(qp, attr, attr_mask); attr_mask 2426 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_MIN_RNR_TIMER) { attr_mask 2430 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_RQ_PSN) attr_mask 2434 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_QKEY) { attr_mask 2520 drivers/infiniband/hw/mlx4/qp.c attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY && attr->en_sqd_async_notify) attr_mask 2566 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_ACCESS_FLAGS) attr_mask 2568 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 2570 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_PORT) { attr_mask 2574 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_ALT_PATH) attr_mask 2578 drivers/infiniband/hw/mlx4/qp.c store_sqp_attrs(to_msqp(qp), attr, attr_mask); attr_mask 2719 drivers/infiniband/hw/mlx4/qp.c int attr_mask, struct ib_udata *udata) attr_mask 2727 drivers/infiniband/hw/mlx4/qp.c cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state; attr_mask 2728 drivers/infiniband/hw/mlx4/qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; attr_mask 2731 drivers/infiniband/hw/mlx4/qp.c attr_mask)) { attr_mask 2736 drivers/infiniband/hw/mlx4/qp.c ibqp->qp_type, attr_mask); attr_mask 2752 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & ~MLX4_IB_MODIFY_QP_RSS_SUP_ATTR_MSK) { attr_mask 2754 drivers/infiniband/hw/mlx4/qp.c ibqp->qp_num, attr_mask, cur_state, new_state); attr_mask 2761 drivers/infiniband/hw/mlx4/qp.c if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT)) { attr_mask 2773 drivers/infiniband/hw/mlx4/qp.c attr_mask &= ~IB_QP_PORT; attr_mask 2777 drivers/infiniband/hw/mlx4/qp.c if ((attr_mask & IB_QP_PORT) && attr_mask 2786 drivers/infiniband/hw/mlx4/qp.c if ((attr_mask & IB_QP_PORT) && (ibqp->qp_type == IB_QPT_RAW_PACKET) && attr_mask 2791 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_PKEY_INDEX) { attr_mask 2792 drivers/infiniband/hw/mlx4/qp.c int p = attr_mask & IB_QP_PORT ? attr->port_num : qp->port; attr_mask 2802 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC && attr_mask 2811 drivers/infiniband/hw/mlx4/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC && attr_mask 2832 drivers/infiniband/hw/mlx4/qp.c err = __mlx4_ib_modify_qp(ibqp, MLX4_IB_QP_SRC, attr, attr_mask, attr_mask 2838 drivers/infiniband/hw/mlx4/qp.c if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT)) attr_mask 2847 drivers/infiniband/hw/mlx4/qp.c int attr_mask, struct ib_udata *udata) attr_mask 2852 drivers/infiniband/hw/mlx4/qp.c ret = _mlx4_ib_modify_qp(ibqp, attr, attr_mask, udata); attr_mask 2859 drivers/infiniband/hw/mlx4/qp.c err = ib_modify_qp(sqp->roce_v2_gsi, attr, attr_mask); attr_mask 4219 drivers/infiniband/hw/mlx4/qp.c int attr_mask; attr_mask 4235 drivers/infiniband/hw/mlx4/qp.c attr_mask = IB_QP_PORT; attr_mask 4238 drivers/infiniband/hw/mlx4/qp.c attr_mask, IB_QPS_RESET, IB_QPS_INIT, attr_mask 4249 drivers/infiniband/hw/mlx4/qp.c attr_mask = 0; attr_mask 4250 drivers/infiniband/hw/mlx4/qp.c err = __mlx4_ib_modify_qp(ibwq, MLX4_IB_RWQ_SRC, NULL, attr_mask, attr_mask 4256 drivers/infiniband/hw/mlx4/qp.c attr_mask, IB_QPS_INIT, IB_QPS_RESET, attr_mask 219 drivers/infiniband/hw/mlx4/srq.c enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) attr_mask 226 drivers/infiniband/hw/mlx4/srq.c if (attr_mask & IB_SRQ_MAX_WR) attr_mask 229 drivers/infiniband/hw/mlx4/srq.c if (attr_mask & IB_SRQ_LIMIT) { attr_mask 156 drivers/infiniband/hw/mlx5/cong.c u32 var, u32 *attr_mask) attr_mask 160 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_CLAMP_TGT_RATE_ATTR; attr_mask 165 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_CLAMP_TGT_RATE_ATI_ATTR; attr_mask 170 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_TIME_RESET_ATTR; attr_mask 175 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_BYTE_RESET_ATTR; attr_mask 180 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_THRESHOLD_ATTR; attr_mask 185 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_AI_RATE_ATTR; attr_mask 190 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_HAI_RATE_ATTR; attr_mask 195 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_MIN_DEC_FAC_ATTR; attr_mask 200 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_MIN_RATE_ATTR; attr_mask 205 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_RATE_TO_SET_ON_FIRST_CNP_ATTR; attr_mask 210 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_DCE_TCP_G_ATTR; attr_mask 215 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_DCE_TCP_RTT_ATTR; attr_mask 220 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_RATE_REDUCE_MONITOR_PERIOD_ATTR; attr_mask 225 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_INITIAL_ALPHA_VALUE_ATTR; attr_mask 230 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_RP_GD_ATTR; attr_mask 235 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_NP_CNP_DSCP_ATTR; attr_mask 239 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_NP_CNP_PRIO_MODE_ATTR; attr_mask 243 drivers/infiniband/hw/mlx5/cong.c *attr_mask |= MLX5_IB_NP_CNP_PRIO_MODE_ATTR; attr_mask 295 drivers/infiniband/hw/mlx5/cong.c u32 attr_mask = 0; attr_mask 316 drivers/infiniband/hw/mlx5/cong.c mlx5_ib_set_cc_param_mask_val(field, offset, var, &attr_mask); attr_mask 320 drivers/infiniband/hw/mlx5/cong.c attr_mask); attr_mask 374 drivers/infiniband/hw/mlx5/gsi.c int attr_mask) attr_mask 383 drivers/infiniband/hw/mlx5/gsi.c ret = ib_modify_qp(gsi->rx_qp, attr, attr_mask); attr_mask 1113 drivers/infiniband/hw/mlx5/mlx5_ib.h enum ib_srq_attr_mask attr_mask, struct ib_udata *udata); attr_mask 1124 drivers/infiniband/hw/mlx5/mlx5_ib.h int attr_mask, struct ib_udata *udata); attr_mask 1318 drivers/infiniband/hw/mlx5/mlx5_ib.h int attr_mask); attr_mask 2790 drivers/infiniband/hw/mlx5/qp.c int attr_mask, __be32 *hw_access_flags_be) attr_mask 2797 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 2802 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_ACCESS_FLAGS) attr_mask 2909 drivers/infiniband/hw/mlx5/qp.c struct mlx5_qp_path *path, u8 port, int attr_mask, attr_mask 2919 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_PKEY_INDEX) attr_mask 2974 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_TIMEOUT) attr_mask 3409 drivers/infiniband/hw/mlx5/qp.c const struct ib_qp_attr *attr, int attr_mask, attr_mask 3478 drivers/infiniband/hw/mlx5/qp.c if (!(attr_mask & IB_QP_PATH_MIG_STATE)) { attr_mask 3517 drivers/infiniband/hw/mlx5/qp.c } else if (attr_mask & IB_QP_PATH_MTU) { attr_mask 3528 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_DEST_QPN) attr_mask 3531 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_PKEY_INDEX) attr_mask 3539 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_PORT) attr_mask 3542 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_AV) { attr_mask 3544 drivers/infiniband/hw/mlx5/qp.c attr_mask & IB_QP_PORT ? attr->port_num : qp->port, attr_mask 3545 drivers/infiniband/hw/mlx5/qp.c attr_mask, 0, attr, false); attr_mask 3550 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_TIMEOUT) attr_mask 3553 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_ALT_PATH) { attr_mask 3557 drivers/infiniband/hw/mlx5/qp.c attr_mask | IB_QP_PKEY_INDEX | IB_QP_TIMEOUT, attr_mask 3571 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_RNR_RETRY) attr_mask 3574 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_RETRY_CNT) attr_mask 3577 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) { attr_mask 3583 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_SQ_PSN) attr_mask 3586 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) { attr_mask 3592 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & (IB_QP_ACCESS_FLAGS | IB_QP_MAX_DEST_RD_ATOMIC)) { attr_mask 3595 drivers/infiniband/hw/mlx5/qp.c err = to_mlx5_access_flags(qp, attr, attr_mask, &access_flags); attr_mask 3602 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_MIN_RNR_TIMER) attr_mask 3605 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_RQ_PSN) attr_mask 3608 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_QKEY) attr_mask 3615 drivers/infiniband/hw/mlx5/qp.c u8 port_num = (attr_mask & IB_QP_PORT ? attr->port_num : attr_mask 3646 drivers/infiniband/hw/mlx5/qp.c optpar = ib_mask_to_mlx5_opt(attr_mask); attr_mask 3659 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_PORT) attr_mask 3662 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_RATE_LIMIT) { attr_mask 3701 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_ACCESS_FLAGS) attr_mask 3703 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 3705 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_PORT) attr_mask 3707 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_ALT_PATH) attr_mask 3759 drivers/infiniband/hw/mlx5/qp.c enum ib_qp_attr_mask attr_mask) attr_mask 3765 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); attr_mask 3768 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); attr_mask 3771 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); attr_mask 3775 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); attr_mask 3780 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); attr_mask 3783 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); attr_mask 3785 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); attr_mask 3798 drivers/infiniband/hw/mlx5/qp.c int attr_mask, struct ib_udata *udata) attr_mask 3807 drivers/infiniband/hw/mlx5/qp.c if (!(attr_mask & IB_QP_STATE)) attr_mask 3818 drivers/infiniband/hw/mlx5/qp.c if (!is_valid_mask(attr_mask, required, 0)) attr_mask 3858 drivers/infiniband/hw/mlx5/qp.c if (!is_valid_mask(attr_mask, required, 0)) attr_mask 3890 drivers/infiniband/hw/mlx5/qp.c int attr_mask, struct ib_udata *udata) attr_mask 3927 drivers/infiniband/hw/mlx5/qp.c return mlx5_ib_gsi_modify_qp(ibqp, attr, attr_mask); attr_mask 3936 drivers/infiniband/hw/mlx5/qp.c return mlx5_ib_modify_dct(ibqp, attr, attr_mask, udata); attr_mask 3940 drivers/infiniband/hw/mlx5/qp.c cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state; attr_mask 3941 drivers/infiniband/hw/mlx5/qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; attr_mask 3944 drivers/infiniband/hw/mlx5/qp.c port = attr_mask & IB_QP_PORT ? attr->port_num : qp->port; attr_mask 3948 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & ~(IB_QP_STATE | IB_QP_CUR_STATE)) { attr_mask 3950 drivers/infiniband/hw/mlx5/qp.c attr_mask); attr_mask 3956 drivers/infiniband/hw/mlx5/qp.c attr_mask)) { attr_mask 3958 drivers/infiniband/hw/mlx5/qp.c cur_state, new_state, ibqp->qp_type, attr_mask); attr_mask 3961 drivers/infiniband/hw/mlx5/qp.c !modify_dci_qp_is_ok(cur_state, new_state, attr_mask)) { attr_mask 3963 drivers/infiniband/hw/mlx5/qp.c cur_state, new_state, qp_type, attr_mask); attr_mask 3967 drivers/infiniband/hw/mlx5/qp.c if ((attr_mask & IB_QP_PORT) && attr_mask 3975 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_PKEY_INDEX) { attr_mask 3976 drivers/infiniband/hw/mlx5/qp.c port = attr_mask & IB_QP_PORT ? attr->port_num : qp->port; attr_mask 3985 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC && attr_mask 3993 drivers/infiniband/hw/mlx5/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC && attr_mask 4006 drivers/infiniband/hw/mlx5/qp.c err = __mlx5_ib_modify_qp(ibqp, attr, attr_mask, cur_state, attr_mask 337 drivers/infiniband/hw/mlx5/srq.c enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) attr_mask 344 drivers/infiniband/hw/mlx5/srq.c if (attr_mask & IB_SRQ_MAX_WR) attr_mask 347 drivers/infiniband/hw/mlx5/srq.c if (attr_mask & IB_SRQ_LIMIT) { attr_mask 517 drivers/infiniband/hw/mthca/mthca_dev.h enum ib_srq_attr_mask attr_mask, struct ib_udata *udata); attr_mask 532 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, attr_mask 300 drivers/infiniband/hw/mthca/mthca_qp.c int attr_mask) attr_mask 302 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_PKEY_INDEX) attr_mask 304 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_QKEY) attr_mask 306 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_SQ_PSN) attr_mask 329 drivers/infiniband/hw/mthca/mthca_qp.c int attr_mask) attr_mask 335 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 340 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_ACCESS_FLAGS) attr_mask 557 drivers/infiniband/hw/mthca/mthca_qp.c const struct ib_qp_attr *attr, int attr_mask, attr_mask 584 drivers/infiniband/hw/mthca/mthca_qp.c if (!(attr_mask & IB_QP_PATH_MIG_STATE)) attr_mask 605 drivers/infiniband/hw/mthca/mthca_qp.c else if (attr_mask & IB_QP_PATH_MTU) { attr_mask 631 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_DEST_QPN) { attr_mask 639 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_PORT) { attr_mask 646 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_PKEY_INDEX) { attr_mask 652 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_RNR_RETRY) { attr_mask 659 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_AV) { attr_mask 661 drivers/infiniband/hw/mthca/mthca_qp.c attr_mask & IB_QP_PORT ? attr->port_num : qp->port)) attr_mask 680 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_TIMEOUT) { attr_mask 685 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_ALT_PATH) { attr_mask 717 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_RETRY_CNT) { attr_mask 722 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) { attr_mask 733 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_SQ_PSN) attr_mask 742 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) { attr_mask 750 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & (IB_QP_ACCESS_FLAGS | IB_QP_MAX_DEST_RD_ATOMIC)) { attr_mask 751 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params2 |= get_hw_access_flags(qp, attr, attr_mask); attr_mask 762 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_MIN_RNR_TIMER) { attr_mask 766 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_RQ_PSN) attr_mask 779 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_QKEY) { attr_mask 789 drivers/infiniband/hw/mthca/mthca_qp.c attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY && attr_mask 802 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_ACCESS_FLAGS) attr_mask 804 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 806 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_PORT) attr_mask 808 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_ALT_PATH) attr_mask 812 drivers/infiniband/hw/mthca/mthca_qp.c store_attrs(to_msqp(qp), attr, attr_mask); attr_mask 858 drivers/infiniband/hw/mthca/mthca_qp.c int mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, attr_mask 867 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_CUR_STATE) { attr_mask 877 drivers/infiniband/hw/mthca/mthca_qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; attr_mask 880 drivers/infiniband/hw/mthca/mthca_qp.c attr_mask)) { attr_mask 884 drivers/infiniband/hw/mthca/mthca_qp.c attr_mask); attr_mask 888 drivers/infiniband/hw/mthca/mthca_qp.c if ((attr_mask & IB_QP_PKEY_INDEX) && attr_mask 895 drivers/infiniband/hw/mthca/mthca_qp.c if ((attr_mask & IB_QP_PORT) && attr_mask 901 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC && attr_mask 908 drivers/infiniband/hw/mthca/mthca_qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC && attr_mask 920 drivers/infiniband/hw/mthca/mthca_qp.c err = __mthca_modify_qp(ibqp, attr, attr_mask, cur_state, new_state, attr_mask 373 drivers/infiniband/hw/mthca/mthca_srq.c enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) attr_mask 380 drivers/infiniband/hw/mthca/mthca_srq.c if (attr_mask & IB_SRQ_MAX_WR) attr_mask 383 drivers/infiniband/hw/mthca/mthca_srq.c if (attr_mask & IB_SRQ_LIMIT) { attr_mask 2490 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int attr_mask) attr_mask 2575 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct ib_qp_attr *attrs, int attr_mask) attr_mask 2580 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_PKEY_INDEX) { attr_mask 2585 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_QKEY) { attr_mask 2590 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_AV) { attr_mask 2591 drivers/infiniband/hw/ocrdma/ocrdma_hw.c status = ocrdma_set_av_params(qp, cmd, attrs, attr_mask); attr_mask 2603 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if ((attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY) && attr_mask 2609 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_DEST_QPN) { attr_mask 2614 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_PATH_MTU) { attr_mask 2628 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_TIMEOUT) { attr_mask 2633 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_RETRY_CNT) { attr_mask 2639 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_MIN_RNR_TIMER) { attr_mask 2645 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_RNR_RETRY) { attr_mask 2651 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_SQ_PSN) { attr_mask 2655 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_RQ_PSN) { attr_mask 2659 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) { attr_mask 2667 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) { attr_mask 2683 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct ib_qp_attr *attrs, int attr_mask) attr_mask 2694 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (attr_mask & IB_QP_STATE) { attr_mask 2706 drivers/infiniband/hw/ocrdma/ocrdma_hw.c status = ocrdma_set_qp_params(qp, cmd, attrs, attr_mask); attr_mask 131 drivers/infiniband/hw/ocrdma/ocrdma_hw.h struct ib_qp_attr *attrs, int attr_mask); attr_mask 1381 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c int attr_mask) attr_mask 1390 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (attr_mask & IB_QP_STATE) attr_mask 1397 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c return ocrdma_mbx_modify_qp(dev, qp, attr, attr_mask); attr_mask 1401 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c int attr_mask, struct ib_udata *udata) attr_mask 1417 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (attr_mask & IB_QP_STATE) attr_mask 1423 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (!ib_modify_qp_is_ok(old_qps, new_qps, ibqp->qp_type, attr_mask)) { attr_mask 1426 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c __func__, dev->id, attr_mask, qp->id, ibqp->qp_type, attr_mask 1431 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c status = _ocrdma_modify_qp(ibqp, attr, attr_mask); attr_mask 1470 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c int attr_mask, struct ib_qp_init_attr *qp_init_attr) attr_mask 1690 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c int attr_mask; attr_mask 1701 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c attr_mask = IB_QP_STATE; attr_mask 1702 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c _ocrdma_modify_qp(ibqp, &attrs, attr_mask); attr_mask 83 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h int attr_mask); attr_mask 85 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h int attr_mask, struct ib_udata *udata); attr_mask 1010 drivers/infiniband/hw/qedr/verbs.c int attr_mask, attr_mask 1476 drivers/infiniband/hw/qedr/verbs.c enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) attr_mask 1483 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_SRQ_MAX_WR) { attr_mask 1486 drivers/infiniband/hw/qedr/verbs.c attr_mask, srq); attr_mask 1490 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_SRQ_LIMIT) { attr_mask 2106 drivers/infiniband/hw/qedr/verbs.c int attr_mask, struct ib_udata *udata) attr_mask 2117 drivers/infiniband/hw/qedr/verbs.c "modify qp: qp %p attr_mask=0x%x, state=%d", qp, attr_mask, attr_mask 2121 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_STATE) attr_mask 2128 drivers/infiniband/hw/qedr/verbs.c ibqp->qp_type, attr_mask)) { attr_mask 2132 drivers/infiniband/hw/qedr/verbs.c attr_mask, qp->qp_id, ibqp->qp_type, attr_mask 2140 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_STATE) { attr_mask 2146 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY) attr_mask 2149 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_PKEY_INDEX) { attr_mask 2160 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_QKEY) attr_mask 2163 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_ACCESS_FLAGS) { attr_mask 2174 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & (IB_QP_AV | IB_QP_PATH_MTU)) { attr_mask 2178 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_PATH_MTU) { attr_mask 2205 drivers/infiniband/hw/qedr/verbs.c rc = get_gid_info_from_table(ibqp, attr, attr_mask, &qp_params); attr_mask 2243 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_TIMEOUT) { attr_mask 2264 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_RETRY_CNT) { attr_mask 2270 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_RNR_RETRY) { attr_mask 2276 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_RQ_PSN) { attr_mask 2283 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) { attr_mask 2298 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_MIN_RNR_TIMER) { attr_mask 2304 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_SQ_PSN) { attr_mask 2311 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) { attr_mask 2328 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_DEST_QPN) { attr_mask 2343 drivers/infiniband/hw/qedr/verbs.c if ((attr_mask & IB_QP_STATE) && qp->qp_type != IB_QPT_GSI && attr_mask 2351 drivers/infiniband/hw/qedr/verbs.c if (attr_mask & IB_QP_STATE) { attr_mask 2378 drivers/infiniband/hw/qedr/verbs.c int attr_mask, struct ib_qp_init_attr *qp_init_attr) attr_mask 2467 drivers/infiniband/hw/qedr/verbs.c int attr_mask = 0; attr_mask 2478 drivers/infiniband/hw/qedr/verbs.c attr_mask |= IB_QP_STATE; attr_mask 2481 drivers/infiniband/hw/qedr/verbs.c qedr_modify_qp(ibqp, &attr, attr_mask, NULL); attr_mask 61 drivers/infiniband/hw/qedr/verbs.h int attr_mask, struct ib_udata *udata); attr_mask 69 drivers/infiniband/hw/qedr/verbs.h enum ib_srq_attr_mask attr_mask, struct ib_udata *udata); attr_mask 565 drivers/infiniband/hw/usnic/usnic_ib_verbs.c int attr_mask, struct ib_udata *udata) attr_mask 574 drivers/infiniband/hw/usnic/usnic_ib_verbs.c if ((attr_mask & IB_QP_PORT) && attr->port_num != 1) { attr_mask 579 drivers/infiniband/hw/usnic/usnic_ib_verbs.c if (attr_mask & IB_QP_STATE) { attr_mask 582 drivers/infiniband/hw/usnic/usnic_ib_verbs.c usnic_err("Unhandled request, attr_mask=0x%x\n", attr_mask); attr_mask 60 drivers/infiniband/hw/usnic/usnic_ib_verbs.h int attr_mask, struct ib_udata *udata); attr_mask 381 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h static inline int ib_qp_attr_mask_to_pvrdma(int attr_mask) attr_mask 383 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h return attr_mask & PVRDMA_MASK(PVRDMA_QP_ATTR_MASK_MAX); attr_mask 530 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 attr_mask; attr_mask 587 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 attr_mask; attr_mask 594 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 attr_mask; attr_mask 476 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c int attr_mask, struct ib_udata *udata) attr_mask 488 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cur_state = (attr_mask & IB_QP_CUR_STATE) ? attr->cur_qp_state : attr_mask 490 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c next_state = (attr_mask & IB_QP_STATE) ? attr->qp_state : cur_state; attr_mask 493 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c attr_mask)) { attr_mask 498 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (attr_mask & IB_QP_PORT) { attr_mask 506 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (attr_mask & IB_QP_MIN_RNR_TIMER) { attr_mask 513 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (attr_mask & IB_QP_PKEY_INDEX) { attr_mask 520 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (attr_mask & IB_QP_QKEY) attr_mask 532 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->attr_mask = ib_qp_attr_mask_to_pvrdma(attr_mask); attr_mask 922 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c int attr_mask, struct ib_qp_init_attr *init_attr) attr_mask 942 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->attr_mask = ib_qp_attr_mask_to_pvrdma(attr_mask); attr_mask 274 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) attr_mask 283 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c if (!(attr_mask & IB_SRQ_LIMIT)) attr_mask 290 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c cmd->attr_mask = attr_mask; attr_mask 424 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h enum ib_srq_attr_mask attr_mask, struct ib_udata *udata); attr_mask 432 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h int attr_mask, struct ib_udata *udata); attr_mask 1447 drivers/infiniband/sw/rdmavt/qp.c int attr_mask, struct ib_udata *udata) attr_mask 1462 drivers/infiniband/sw/rdmavt/qp.c cur_state = attr_mask & IB_QP_CUR_STATE ? attr_mask 1464 drivers/infiniband/sw/rdmavt/qp.c new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; attr_mask 1468 drivers/infiniband/sw/rdmavt/qp.c attr_mask)) attr_mask 1472 drivers/infiniband/sw/rdmavt/qp.c rdi->driver_f.check_modify_qp(qp, attr, attr_mask, udata)) attr_mask 1475 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_AV) { attr_mask 1490 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_ALT_PATH) { attr_mask 1507 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_PKEY_INDEX) attr_mask 1511 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_MIN_RNR_TIMER) attr_mask 1515 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_PORT) attr_mask 1522 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_DEST_QPN) attr_mask 1526 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_RETRY_CNT) attr_mask 1530 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_RNR_RETRY) attr_mask 1542 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_PATH_MTU) { attr_mask 1548 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_PATH_MIG_STATE) { attr_mask 1566 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 1602 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_PKEY_INDEX) attr_mask 1605 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_PORT) attr_mask 1608 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_DEST_QPN) attr_mask 1611 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_SQ_PSN) { attr_mask 1619 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_RQ_PSN) attr_mask 1622 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_ACCESS_FLAGS) attr_mask 1625 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_AV) { attr_mask 1631 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_ALT_PATH) { attr_mask 1636 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_PATH_MIG_STATE) { attr_mask 1645 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_PATH_MTU) { attr_mask 1650 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_RETRY_CNT) { attr_mask 1655 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_RNR_RETRY) { attr_mask 1660 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_MIN_RNR_TIMER) attr_mask 1663 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_TIMEOUT) { attr_mask 1668 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_QKEY) attr_mask 1671 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) attr_mask 1674 drivers/infiniband/sw/rdmavt/qp.c if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) attr_mask 1678 drivers/infiniband/sw/rdmavt/qp.c rdi->driver_f.modify_qp(qp, attr, attr_mask, udata); attr_mask 1759 drivers/infiniband/sw/rdmavt/qp.c int attr_mask, struct ib_qp_init_attr *init_attr) attr_mask 59 drivers/infiniband/sw/rdmavt/qp.h int attr_mask, struct ib_udata *udata); attr_mask 62 drivers/infiniband/sw/rdmavt/qp.h int attr_mask, struct ib_qp_init_attr *init_attr); attr_mask 167 drivers/infiniband/sw/rdmavt/srq.c enum ib_srq_attr_mask attr_mask, attr_mask 175 drivers/infiniband/sw/rdmavt/srq.c if (attr_mask & IB_SRQ_MAX_WR) { attr_mask 183 drivers/infiniband/sw/rdmavt/srq.c ((attr_mask & IB_SRQ_LIMIT) ? attr_mask 262 drivers/infiniband/sw/rdmavt/srq.c if (attr_mask & IB_SRQ_LIMIT) attr_mask 297 drivers/infiniband/sw/rdmavt/srq.c } else if (attr_mask & IB_SRQ_LIMIT) { attr_mask 56 drivers/infiniband/sw/rdmavt/srq.h enum ib_srq_attr_mask attr_mask, attr_mask 559 drivers/infiniband/sw/siw/siw_verbs.c int attr_mask, struct ib_udata *udata) attr_mask 566 drivers/infiniband/sw/siw/siw_verbs.c if (!attr_mask) attr_mask 571 drivers/infiniband/sw/siw/siw_verbs.c if (attr_mask & IB_QP_ACCESS_FLAGS) { attr_mask 581 drivers/infiniband/sw/siw/siw_verbs.c if (attr_mask & IB_QP_STATE) { attr_mask 1657 drivers/infiniband/sw/siw/siw_verbs.c enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) attr_mask 1665 drivers/infiniband/sw/siw/siw_verbs.c if (attr_mask & IB_SRQ_MAX_WR) { attr_mask 1670 drivers/infiniband/sw/siw/siw_verbs.c if (attr_mask & IB_SRQ_LIMIT) { attr_mask 60 drivers/infiniband/sw/siw/siw_verbs.h int attr_mask, struct ib_udata *udata); attr_mask 94 drivers/infiniband/ulp/ipoib/ipoib_verbs.c int attr_mask; attr_mask 103 drivers/infiniband/ulp/ipoib/ipoib_verbs.c attr_mask = attr_mask 108 drivers/infiniband/ulp/ipoib/ipoib_verbs.c ret = ib_modify_qp(priv->qp, &qp_attr, attr_mask); attr_mask 116 drivers/infiniband/ulp/ipoib/ipoib_verbs.c attr_mask &= ~IB_QP_PORT; attr_mask 117 drivers/infiniband/ulp/ipoib/ipoib_verbs.c ret = ib_modify_qp(priv->qp, &qp_attr, attr_mask); attr_mask 125 drivers/infiniband/ulp/ipoib/ipoib_verbs.c attr_mask |= IB_QP_SQ_PSN; attr_mask 126 drivers/infiniband/ulp/ipoib/ipoib_verbs.c attr_mask &= ~IB_QP_PKEY_INDEX; attr_mask 127 drivers/infiniband/ulp/ipoib/ipoib_verbs.c ret = ib_modify_qp(priv->qp, &qp_attr, attr_mask); attr_mask 2499 drivers/infiniband/ulp/srp/ib_srp.c static uint32_t srp_compute_rq_tmo(struct ib_qp_attr *qp_attr, int attr_mask) attr_mask 2509 drivers/infiniband/ulp/srp/ib_srp.c WARN_ON_ONCE((attr_mask & (IB_QP_TIMEOUT | IB_QP_RETRY_CNT)) != attr_mask 2532 drivers/infiniband/ulp/srp/ib_srp.c int attr_mask = 0; attr_mask 2588 drivers/infiniband/ulp/srp/ib_srp.c ret = ib_cm_init_qp_attr(cm_id, qp_attr, &attr_mask); attr_mask 2592 drivers/infiniband/ulp/srp/ib_srp.c ret = ib_modify_qp(ch->qp, qp_attr, attr_mask); attr_mask 2597 drivers/infiniband/ulp/srp/ib_srp.c ret = ib_cm_init_qp_attr(cm_id, qp_attr, &attr_mask); attr_mask 2601 drivers/infiniband/ulp/srp/ib_srp.c target->rq_tmo_jiffies = srp_compute_rq_tmo(qp_attr, attr_mask); attr_mask 2603 drivers/infiniband/ulp/srp/ib_srp.c ret = ib_modify_qp(ch->qp, qp_attr, attr_mask); attr_mask 1153 drivers/infiniband/ulp/srpt/ib_srpt.c int attr_mask; attr_mask 1159 drivers/infiniband/ulp/srpt/ib_srpt.c ret = ib_cm_init_qp_attr(ch->ib_cm.cm_id, &qp_attr, &attr_mask); attr_mask 1165 drivers/infiniband/ulp/srpt/ib_srpt.c ret = ib_modify_qp(qp, &qp_attr, attr_mask); attr_mask 1185 drivers/infiniband/ulp/srpt/ib_srpt.c int attr_mask; attr_mask 1189 drivers/infiniband/ulp/srpt/ib_srpt.c ret = ib_cm_init_qp_attr(ch->ib_cm.cm_id, &qp_attr, &attr_mask); attr_mask 1195 drivers/infiniband/ulp/srpt/ib_srpt.c ret = ib_modify_qp(qp, &qp_attr, attr_mask); attr_mask 3615 include/rdma/ib_verbs.h int attr_mask, attr_mask 387 include/rdma/rdma_vt.h int attr_mask, struct ib_udata *udata); attr_mask 391 include/rdma/rdma_vt.h int attr_mask, struct ib_udata *udata); attr_mask 674 include/uapi/rdma/ib_user_verbs.h __u32 attr_mask; attr_mask 716 include/uapi/rdma/ib_user_verbs.h __u32 attr_mask; attr_mask 1194 include/uapi/rdma/ib_user_verbs.h __u32 attr_mask; attr_mask 1258 include/uapi/rdma/ib_user_verbs.h __u32 attr_mask; attr_mask 1297 include/uapi/rdma/ib_user_verbs.h __u32 attr_mask;