Searched refs:cur_state (Results 1 - 20 of 20) sorted by relevance

/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
H A Dqp.c91 enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state,
143 if (cur_state >= MLX4_QP_NUM_STATE || new_state >= MLX4_QP_NUM_STATE ||
144 !op[cur_state][new_state])
147 if (op[cur_state][new_state] == MLX4_CMD_2RST_QP) {
150 if (mlx4_is_master(dev) && cur_state != MLX4_QP_STATE_ERR &&
151 cur_state != MLX4_QP_STATE_RST &&
166 if (cur_state == MLX4_QP_STATE_RST && new_state == MLX4_QP_STATE_INIT) {
182 op[cur_state][new_state], MLX4_CMD_TIME_CLASS_C, native);
186 if (cur_state != MLX4_QP_STATE_ERR &&
187 cur_state !
90 __mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, struct mlx4_qp_context *context, enum mlx4_qp_optpar optpar, int sqd_event, struct mlx4_qp *qp, int native) argument
205 mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, struct mlx4_qp_context *context, enum mlx4_qp_optpar optpar, int sqd_event, struct mlx4_qp *qp) argument
[all...]
H A Deq.c322 enum slave_port_state cur_state = local
336 switch (cur_state) {
/freebsd-10-stable/contrib/libgnuregex/
H A Dregex_internal.c224 prev_st = pstr->cur_state;
239 mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state);
248 pstr->cur_state = prev_st;
253 pstr->cur_state = prev_st;
296 && mbsinit (&pstr->cur_state))
309 prev_st = pstr->cur_state;
312 + byte_idx), remain_len, &pstr->cur_state);
348 pstr->cur_state = prev_st;
353 pstr->cur_state = prev_st;
368 prev_st = pstr->cur_state;
732 mbstate_t cur_state; local
[all...]
H A Dregexec.c1105 re_dfastate_t *cur_state;
1110 cur_state = acquire_init_state_context (&err, mctx, cur_str_idx);
1112 if (BE (cur_state == NULL, 0))
1120 mctx->state_log[cur_str_idx] = cur_state;
1127 err = check_subexp_matching_top (mctx, &cur_state->nodes, 0);
1131 if (cur_state->has_backref)
1133 err = transit_state_bkref (mctx, &cur_state->nodes);
1141 if (BE (cur_state->halt, 0))
1143 if (!cur_state->has_constraint
1144 || check_halt_state_context (mctx, cur_state, cur_str_id
1102 re_dfastate_t *cur_state; local
2180 re_dfastate_t *cur_state; local
2414 re_dfastate_t *cur_state; local
2906 re_dfastate_t *cur_state = NULL; local
[all...]
H A Dregex_internal.h332 mbstate_t cur_state; member in struct:re_string_t
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Dverbs.c642 int ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state, argument
647 if (cur_state < 0 || cur_state > IB_QPS_ERR ||
652 cur_state != IB_QPS_RTR && cur_state != IB_QPS_RTS &&
653 cur_state != IB_QPS_SQD && cur_state != IB_QPS_SQE)
656 if (!qp_state_table[cur_state][next_state].valid)
659 req_param = qp_state_table[cur_state][next_state].req_param[type];
660 opt_param = qp_state_table[cur_state][next_stat
[all...]
/freebsd-10-stable/sys/cam/scsi/
H A Dscsi_enc.c752 struct enc_fsm_state *cur_state; local
761 cur_state = &enc->enc_fsm_states[enc->current_action];
764 if (cur_state->buf_size != 0) {
766 buf = malloc(cur_state->buf_size, M_SCSIENC, M_WAITOK|M_ZERO);
772 if (cur_state->fill != NULL) {
775 error = cur_state->fill(enc, cur_state, ccb, buf);
779 error = cam_periph_runccb(ccb, cur_state->error,
793 cur_state->done(enc, cur_state, cc
[all...]
H A Dscsi_sa.c569 static void sapopulateprots(struct sa_prot_state *cur_state,
1143 sapopulateprots(struct sa_prot_state *cur_state, struct sa_prot_map *new_table, argument
1154 new_table[i].value = (uint32_t *)((uint8_t *)cur_state +
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c551 enum ib_qp_state cur_state, enum ib_qp_state new_state)
659 cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
779 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD &&
784 err = mthca_MODIFY_QP(dev, cur_state, new_state, qp->qpn, 0,
790 cur_state, new_state, status);
813 if (cur_state != IB_QPS_RTR &&
817 if (cur_state != IB_QPS_RESET &&
818 cur_state != IB_QPS_ERR &&
857 enum ib_qp_state cur_state, new_state; local
862 cur_state
549 __mthca_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state) argument
[all...]
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dqp.c1749 enum ib_qp_state cur_state, enum ib_qp_state new_state)
1814 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
1829 if (cur_state == IB_QPS_SQD && new_state == IB_QPS_SQD &&
1836 if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
1980 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
1983 if (cur_state == IB_QPS_INIT &&
2017 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD &&
2023 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
2069 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
2083 err = mlx4_qp_modify(dev->dev, &qp->mtt, to_mlx4_state(cur_state),
1747 __mlx4_ib_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state) argument
2269 enum ib_qp_state cur_state, new_state; local
[all...]
/freebsd-10-stable/sys/dev/qlnx/qlnxe/
H A Decore_rdma.h155 enum ecore_roce_qp_state cur_state; member in struct:ecore_rdma_qp
/freebsd-10-stable/sys/ofed/include/linux/mlx4/
H A Dqp.h437 enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state,
/freebsd-10-stable/sys/dev/drm2/i915/
H A Dintel_display.c918 bool cur_state; local
922 cur_state = !!(val & DPLL_VCO_ENABLE);
923 if (cur_state != state)
925 state_string(state), state_string(cur_state));
936 bool cur_state; local
960 cur_state = !!(val & DPLL_VCO_ENABLE);
961 if (cur_state != state)
963 state_string(state), state_string(cur_state));
973 bool cur_state; local
979 cur_state
997 bool cur_state; local
1084 bool cur_state; local
1103 bool cur_state; local
[all...]
/freebsd-10-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c41 enum ib_qp_state cur_state, enum ib_qp_state new_state);
1810 enum ib_qp_state cur_state, enum ib_qp_state new_state)
1989 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
1992 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD &&
1998 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
2001 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
2010 mlx5_cur = to_mlx5_state(cur_state);
2081 enum ib_qp_state cur_state, new_state; local
2087 cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state;
2088 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
1808 __mlx5_ib_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state) argument
[all...]
/freebsd-10-stable/gnu/usr.bin/grep/
H A Dgrep.c1798 mbstate_t cur_state, prev_state; local
1801 memset(&cur_state, 0, sizeof(mbstate_t));
1805 mbclen = mbrtowc(&wc, keys + i, len - i, &cur_state);
1817 wcrtomb(keys + i, wc, &cur_state);
/freebsd-10-stable/sys/dev/mrsas/
H A Dmrsas.c2661 u_int32_t cur_state; local
2677 cur_state = MFI_STATE_FAULT;
2685 cur_state = MFI_STATE_WAIT_HANDSHAKE;
2690 cur_state = MFI_STATE_BOOT_MESSAGE_PENDING;
2705 cur_state = MFI_STATE_OPERATIONAL;
2712 cur_state = MFI_STATE_UNDEFINED;
2715 cur_state = MFI_STATE_BB_INIT;
2718 cur_state = MFI_STATE_FW_INIT;
2721 cur_state = MFI_STATE_FW_INIT_2;
2724 cur_state
[all...]
/freebsd-10-stable/sys/dev/mfi/
H A Dmfi.c281 uint32_t fw_state, cur_state; local
292 cur_state = fw_state;
341 if (fw_state == cur_state)
352 if (fw_state == cur_state) {
/freebsd-10-stable/sys/ofed/include/rdma/
H A Dib_verbs.h1496 * @cur_state: Current QP state
1503 * checks that cur_state and next_state are valid QP states, that a
1504 * transition from cur_state to next_state is allowed by the IB spec,
1507 int ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state,
/freebsd-10-stable/contrib/ofed/libcxgb4/src/
H A Dt4fw_interface.h1960 __u8 cur_state; member in struct:fw_rdev_wr
/freebsd-10-stable/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h2329 __u8 cur_state; member in struct:fw_rdev_wr

Completed in 507 milliseconds