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

/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/
H A Dqp.c89 enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state,
141 if (cur_state >= MLX4_QP_NUM_STATE || new_state >= MLX4_QP_NUM_STATE ||
142 !op[cur_state][new_state])
145 if (op[cur_state][new_state] == MLX4_CMD_2RST_QP) {
148 if (mlx4_is_master(dev) && cur_state != MLX4_QP_STATE_ERR &&
149 cur_state != MLX4_QP_STATE_RST &&
164 if (cur_state == MLX4_QP_STATE_RST && new_state == MLX4_QP_STATE_INIT) {
180 op[cur_state][new_state], MLX4_CMD_TIME_CLASS_C, native);
184 if (cur_state != MLX4_QP_STATE_ERR &&
185 cur_state !
88 __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
203 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.c323 enum slave_port_state cur_state = local
337 switch (cur_state) {
/freebsd-10.0-release/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.0-release/sys/cam/scsi/
H A Dscsi_enc.c776 struct enc_fsm_state *cur_state; local
785 cur_state = &enc->enc_fsm_states[enc->current_action];
788 if (cur_state->buf_size != 0) {
790 buf = malloc(cur_state->buf_size, M_SCSIENC, M_WAITOK|M_ZERO);
796 if (cur_state->fill != NULL) {
799 error = cur_state->fill(enc, cur_state, ccb, buf);
803 error = cam_periph_runccb(ccb, cur_state->error,
817 cur_state->done(enc, cur_state, cc
[all...]
/freebsd-10.0-release/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.0-release/contrib/subversion/subversion/libsvn_ra_serf/
H A Dxml.c423 svn_ra_serf__xml_state_t *cur_state;
425 cur_state = parser->state;
426 parser->state = cur_state->prev;
427 cur_state->prev = parser->free_state;
428 parser->free_state = cur_state;
421 svn_ra_serf__xml_state_t *cur_state; local
/freebsd-10.0-release/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.0-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dqp.c1750 enum ib_qp_state cur_state, enum ib_qp_state new_state)
1815 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
1830 if (cur_state == IB_QPS_SQD && new_state == IB_QPS_SQD &&
1837 if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
1981 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
1984 if (cur_state == IB_QPS_INIT &&
2018 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD &&
2024 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
2070 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
2084 err = mlx4_qp_modify(dev->dev, &qp->mtt, to_mlx4_state(cur_state),
1748 __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
2270 enum ib_qp_state cur_state, new_state; local
[all...]
/freebsd-10.0-release/sys/ofed/include/linux/mlx4/
H A Dqp.h361 enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state,
/freebsd-10.0-release/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.0-release/sys/dev/drm2/i915/
H A Dintel_display.c798 bool cur_state; local
802 cur_state = !!(val & DPLL_VCO_ENABLE);
803 if (cur_state != state)
805 state_string(state), state_string(cur_state));
816 bool cur_state; local
833 cur_state = !!(val & DPLL_VCO_ENABLE);
834 if (cur_state != state)
836 state_string(state), state_string(cur_state));
846 bool cur_state; local
850 cur_state
863 bool cur_state; local
937 bool cur_state; local
956 bool cur_state; local
[all...]
/freebsd-10.0-release/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.0-release/sys/ofed/include/rdma/
H A Dib_verbs.h1430 * @cur_state: Current QP state
1437 * checks that cur_state and next_state are valid QP states, that a
1438 * transition from cur_state to next_state is allowed by the IB spec,
1441 int ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state,
/freebsd-10.0-release/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h1976 __u8 cur_state; member in struct:fw_rdev_wr

Completed in 464 milliseconds