Searched refs:new_state (Results 1 - 25 of 91) sorted by relevance

1234

/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h171 u64 new_state; local
175 new_state = (state | kWriterLock) & reset_mask;
179 new_state = (state + kWaitingWriterInc) & reset_mask;
183 new_state = state | kWriterSpinWait;
189 if (UNLIKELY(!atomic_compare_exchange_weak(&state_, &state, new_state,
229 u64 new_state; local
234 new_state = state & ~kWriterLock;
238 new_state = (new_state - kWaitingWriterInc) | kWriterSpinWait;
244 new_state
259 u64 new_state; local
293 u64 new_state; local
[all...]
/freebsd-current/contrib/libxo/libxo/
H A Dxo_explicit.h58 xo_explicit_transition (xo_handle_t *xop, xo_state_t new_state,
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Dsf.c176 enum iwl_sf_state new_state)
179 .state = cpu_to_le32(new_state),
187 if (new_state != SF_FULL_ON && mvm->sf_state == new_state)
190 switch (new_state) {
207 new_state);
214 mvm->sf_state = new_state;
227 enum iwl_sf_state new_state; local
255 new_state = SF_INIT_OFF;
262 new_state
175 iwl_mvm_sf_config(struct iwl_mvm *mvm, struct ieee80211_sta *sta, enum iwl_sf_state new_state) argument
[all...]
/freebsd-current/sys/dev/iwm/
H A Dif_iwm_sf.c246 enum iwm_sf_state new_state)
249 .state = htole32(new_state),
262 if (new_state != IWM_SF_FULL_ON && sc->sf_state == new_state)
265 switch (new_state) {
278 new_state);
285 sc->sf_state = new_state;
299 enum iwm_sf_state new_state; local
310 new_state = IWM_SF_INIT_OFF;
318 new_state
245 iwm_sf_config(struct iwm_softc *sc, struct ieee80211_node *ni, enum iwm_sf_state new_state) argument
[all...]
/freebsd-current/contrib/wpa/src/fst/
H A Dfst_ctrl_aux.h68 enum fst_session_state new_state; member in struct:fst_event_extra::fst_event_extra_session_state
/freebsd-current/contrib/libxo/xo/
H A Dxo.c278 xo_state_t new_state = 0; local
384 new_state = XSS_OPEN_LIST;
392 new_state = XSS_OPEN_INSTANCE;
400 new_state = XSS_CLOSE_LIST;
408 new_state = XSS_CLOSE_INSTANCE;
439 if (new_state) {
446 xo_explicit_transition(NULL, new_state, opt_name, 0);
/freebsd-current/contrib/jemalloc/src/
H A Dtsd.c174 uint8_t new_state = tsd_state_compute(tsd); local
175 old_state = tsd_atomic_exchange(&tsd->state, new_state,
181 tsd_state_set(tsd_t *tsd, uint8_t new_state) { argument
183 assert(new_state != tsd_state_nominal_recompute);
191 tsd_atomic_store(&tsd->state, new_state, ATOMIC_RELAXED);
192 if (new_state <= tsd_state_nominal_max) {
202 if (new_state > tsd_state_nominal_max) {
204 tsd_atomic_store(&tsd->state, new_state,
/freebsd-current/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_arm.h206 enum vc_suspend_status new_state);
210 enum vc_resume_status new_state);
/freebsd-current/sys/arm/broadcom/bcm2835/
H A Draspberrypi_gpio.c306 union msg_set_gpio_state new_state; local
318 bzero(&new_state, sizeof(new_state));
321 new_state.req.gpio = RPI_FW_GPIO_BASE + pin;
329 new_state.req.state = !old_state.resp.state;
331 BCM2835_FIRMWARE_TAG_SET_GPIO_STATE, &new_state,
332 sizeof(new_state));
334 if (rv == 0 && (old_state.resp.gpio != 0 || new_state.resp.gpio != 0))
/freebsd-current/contrib/ntp/libntp/
H A Dntp_random.c421 register unsigned long *new_state = (unsigned long *) arg_state; local
422 register long type = new_state[0] % MAX_TYPES;
423 register long rear = new_state[0] / MAX_TYPES;
444 state = (new_state + 1);
/freebsd-current/lib/libc/stdlib/
H A Drandom.c406 uint32_t *new_state = (uint32_t *)arg_state; local
407 uint32_t type = new_state[0] % MAX_TYPES;
408 uint32_t rear = new_state[0] / MAX_TYPES;
422 implicit.rst_state = new_state + 1;
/freebsd-current/sys/dev/mlx4/mlx4_core/
H A Dmlx4_qp.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) {
164 if (cur_state == MLX4_QP_STATE_RST && new_state == MLX4_QP_STATE_INIT) {
172 (new_state == MLX4_QP_STATE_RTS) &&
185 new_state == MLX4_QP_STATE_RST ? 2 : 0,
186 op[cur_state][new_state], MLX4_CMD_TIME_CLASS_C, native);
192 new_state == MLX4_QP_STATE_ERR) {
197 } else if (new_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
209 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...]
/freebsd-current/sys/net/
H A Dieee8023ad_lacp.c1507 enum lacp_mux_state new_state; local
1524 new_state = lp->lp_mux_state;
1528 new_state = LACP_MUX_WAITING;
1536 new_state = LACP_MUX_ATTACHED;
1538 new_state = LACP_MUX_DETACHED;
1543 new_state = LACP_MUX_COLLECTING;
1545 new_state = LACP_MUX_DETACHED;
1550 new_state = LACP_MUX_DISTRIBUTING;
1552 new_state = LACP_MUX_ATTACHED;
1557 new_state
1575 lacp_set_mux(struct lacp_port *lp, enum lacp_mux_state new_state) argument
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dnotify.c86 enum wpa_states new_state,
97 if (new_state == WPA_COMPLETED)
100 new_state < WPA_ASSOCIATED)
105 if (new_state == WPA_COMPLETED)
107 else if (old_state >= WPA_ASSOCIATED && new_state < WPA_ASSOCIATED)
116 new_state,
85 wpas_notify_state_changed(struct wpa_supplicant *wpa_s, enum wpa_states new_state, enum wpa_states old_state) argument
/freebsd-current/contrib/byacc/
H A Dlr0.c5 static core *new_state(int symbol);
208 sp = sp->link = new_state(symbol);
216 state_set[key] = sp = new_state(symbol);
285 new_state(int symbol) function
294 fprintf(stderr, "Entering new_state(%d)\n", symbol);
/freebsd-current/sys/x86/cpufreq/
H A Dsmist.c235 int new_state; local
251 "=b" (new_state),
260 eax, new_state, result);
262 *state = new_state & 1;
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_iwarp.h241 enum ecore_iwarp_qp_state new_state,
311 enum ecore_iwarp_qp_state OSAL_UNUSED new_state,
309 ecore_iwarp_modify_qp(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_rdma_qp OSAL_UNUSED *qp, enum ecore_iwarp_qp_state OSAL_UNUSED new_state, bool OSAL_UNUSED internal) argument
/freebsd-current/usr.sbin/mfiutil/
H A Dmfi_drive.c382 drive_set_state(char *drive, uint16_t new_state) argument
411 if (info.fw_state == new_state) {
418 mbox[4] = new_state & 0xff;
419 mbox[5] = new_state >> 8;
424 mfi_pdstate(new_state));
/freebsd-current/sys/contrib/dev/rtw89/
H A Dser.c166 static void ser_state_goto(struct rtw89_ser *ser, u8 new_state) argument
170 if (ser->state == new_state || new_state >= SER_ST_MAX_ST)
175 ser_st_name(ser), ser->st_tbl[new_state].name);
177 ser->state = new_state;
/freebsd-current/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_qp.c1627 enum ib_qp_state new_state,
1653 context->flags = cpu_to_be32((to_mlx4_state(new_state) << 28) |
1701 if (new_state == IB_QPS_RESET && qp->counter_index)
1704 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
1722 if (cur_state == IB_QPS_SQD && new_state == IB_QPS_SQD &&
1729 if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
1808 (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR)) {
1921 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
1925 new_state == IB_QPS_RTR &&
1971 if (ibqp->qp_type == IB_QPT_UD && (new_state
1624 __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, struct ib_udata *udata) argument
2172 enum ib_qp_state cur_state, new_state; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dvdev_initialize.c135 vdev_initialize_change_state(vdev_t *vd, vdev_initializing_state_t new_state) argument
140 if (new_state == vd->vdev_initialize_state)
157 vd->vdev_initialize_state = new_state;
162 if (new_state != VDEV_INITIALIZE_NONE) {
170 switch (new_state) {
194 panic("invalid state %llu", (unsigned long long)new_state);
199 if (new_state != VDEV_INITIALIZE_ACTIVE)
/freebsd-current/contrib/wpa/src/eap_server/
H A Deap_server_tnc.c64 enum eap_tnc_state new_state)
68 eap_tnc_state_txt(new_state));
69 data->state = new_state;
63 eap_tnc_set_state(struct eap_tnc_data *data, enum eap_tnc_state new_state) argument
/freebsd-current/sys/dev/aic7xxx/
H A Daic_osm_lib.h395 aic_power_state new_state);
398 aic_power_state_change(struct aic_softc *aic, aic_power_state new_state) argument
400 return (pci_set_powerstate(aic->dev_softc, new_state));
/freebsd-current/sys/dev/mthca/
H A Dmthca_qp.c547 enum ib_qp_state new_state,
569 qp_context->flags = cpu_to_be32((to_mthca_state(new_state) << 28) |
656 cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
776 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD &&
781 err = mthca_MODIFY_QP(dev, cur_state, new_state, qp->qpn, 0,
785 cur_state, new_state, err);
789 qp->state = new_state;
808 new_state == IB_QPS_RTR)
813 (new_state == IB_QPS_RESET ||
814 new_state
544 __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, struct ib_udata *udata) argument
851 enum ib_qp_state cur_state, new_state; local
[all...]
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.cpp597 kmp_uint64 new_state = team_bar->b_arrived + KMP_BARRIER_STATE_BUMP; local
610 &other_threads[i]->th.th_bar[bt].bb.b_arrived, new_state));
615 &other_threads[i]->th.th_bar[bt].bb.b_arrived, new_state);
620 new_state);
644 team_bar->b_arrived = new_state;
648 new_state));
806 kmp_uint64 new_state = 0; local
825 new_state = team->t.t_bar[bt].b_arrived + KMP_BARRIER_STATE_BUMP;
840 team->t.t_id, child_tid, &child_bar->b_arrived, new_state));
842 kmp_flag_64<> flag(&child_bar->b_arrived, new_state);
1013 kmp_uint64 new_state = KMP_BARRIER_UNUSED_STATE; local
1365 kmp_uint64 new_state = 0; local
[all...]

Completed in 374 milliseconds

1234