Home
last modified time | relevance | path

Searched refs:old_state (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/sys/arm/broadcom/bcm2835/
H A Draspberrypi_gpio.c305 union msg_get_gpio_state old_state; in rpi_fw_gpio_pin_toggle() local
317 bzero(&old_state, sizeof(old_state)); in rpi_fw_gpio_pin_toggle()
320 old_state.req.gpio = RPI_FW_GPIO_BASE + pin; in rpi_fw_gpio_pin_toggle()
325 BCM2835_FIRMWARE_TAG_GET_GPIO_STATE, &old_state, sizeof(old_state)); in rpi_fw_gpio_pin_toggle()
327 if (rv == 0 && old_state.resp.gpio == 0) { in rpi_fw_gpio_pin_toggle()
329 new_state.req.state = !old_state.resp.state; in rpi_fw_gpio_pin_toggle()
334 if (rv == 0 && (old_state.resp.gpio != 0 || new_state.resp.gpio != 0)) in rpi_fw_gpio_pin_toggle()
/freebsd/contrib/jemalloc/src/
H A Dtsd.c172 uint8_t old_state; in tsd_slow_update() local
175 old_state = tsd_atomic_exchange(&tsd->state, new_state, in tsd_slow_update()
177 } while (old_state == tsd_state_nominal_recompute); in tsd_slow_update()
184 uint8_t old_state = tsd_atomic_load(&tsd->state, ATOMIC_RELAXED); in tsd_state_set() local
185 if (old_state > tsd_state_nominal_max) { in tsd_state_set()
/freebsd/sys/dev/aic7xxx/aicasm/
H A Daicasm_scan.l398 YY_BUFFER_STATE old_state;
405 old_state = YY_CURRENT_BUFFER;
410 mm_switch_to_buffer(old_state);
413 yy_switch_to_buffer(old_state);
/freebsd/sys/dev/acpica/
H A Dacpi_pci.c217 int old_state, error; in acpi_pci_set_powerstate_method() local
233 old_state = pci_get_powerstate(child); in acpi_pci_set_powerstate_method()
234 if (old_state < state && pci_do_power_suspend) { in acpi_pci_set_powerstate_method()
249 if (old_state > state && pci_do_power_resume) in acpi_pci_set_powerstate_method()
/freebsd/sys/contrib/dev/rtw89/
H A Dmac80211.c576 enum ieee80211_sta_state old_state, in rtw89_ops_sta_state()
581 if (old_state == IEEE80211_STA_NOTEXIST && in rtw89_ops_set_key()
585 if (old_state == IEEE80211_STA_AUTH && in rtw89_ops_set_key()
592 if (old_state == IEEE80211_STA_ASSOC && in rtw89_ops_set_key()
596 if (old_state == IEEE80211_STA_AUTH && in rtw89_ops_set_key()
600 if (old_state == IEEE80211_STA_NONE && in rtw89_ops_set_key()
610 enum ieee80211_sta_state old_state, in rtw89_ops_set_key()
618 ret = __rtw89_ops_sta_state(hw, vif, sta, old_state, new_state); in rtw89_ops_ampdu_action()
530 __rtw89_ops_sta_state(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) __rtw89_ops_sta_state() argument
564 rtw89_ops_sta_state(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) rtw89_ops_sta_state() argument
/freebsd/contrib/wpa/src/fst/
H A Dfst_ctrl_aux.h67 enum fst_session_state old_state; member
/freebsd/sys/arm/mv/
H A Dgpio.c786 uint32_t *old_state; in mv_gpio_debounced_state_set() local
793 old_state = &sc->debounced_state_hi; in mv_gpio_debounced_state_set()
796 old_state = &sc->debounced_state_lo; in mv_gpio_debounced_state_set()
799 *old_state |= (1 << pin); in mv_gpio_debounced_state_set()
801 *old_state &= ~(1 << pin); in mv_gpio_debounced_state_set()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dnotify.c88 enum wpa_states old_state) in wpas_notify_state_changed() argument
100 else if (old_state >= WPA_ASSOCIATED && in wpas_notify_state_changed()
108 else if (old_state >= WPA_ASSOCIATED && new_state < WPA_ASSOCIATED) in wpas_notify_state_changed()
H A Dnotify.h27 enum wpa_states old_state);
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp526 int status, old_type, old_state; in __kmp_launch_worker() local
562 status = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &old_state); in __kmp_launch_worker()
607 int status, old_type, old_state; in __kmp_launch_monitor() local
639 status = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &old_state); in __kmp_launch_monitor()
1261 int status, old_state; in __kmp_enable() local
1262 status = pthread_setcancelstate(new_state, &old_state); in __kmp_enable()
1264 KMP_DEBUG_ASSERT(old_state == PTHREAD_CANCEL_DISABLE); in __kmp_enable()
1268 void __kmp_disable(int *old_state) { in __kmp_disable() argument
1271 status = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, old_state); in __kmp_disable()
H A Dkmp_stats.h554 stats_state_e old_state; variable
558 : state_pointer(thread_state_pointer), old_state(*thread_state_pointer) { in blockThreadState()
561 ~blockThreadState() { *state_pointer = old_state; } in ~blockThreadState()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_initialize.c156 vdev_initializing_state_t old_state = vd->vdev_initialize_state; in vdev_initialize_change_state() local
180 if (old_state == VDEV_INITIALIZE_ACTIVE || in vdev_initialize_change_state()
181 old_state == VDEV_INITIALIZE_SUSPENDED) in vdev_initialize_change_state()
H A Dvdev_trim.c339 vdev_trim_state_t old_state = vd->vdev_trim_state; in vdev_trim_change_state() local
340 boolean_t resumed = (old_state == VDEV_TRIM_SUSPENDED); in vdev_trim_change_state()
361 if (old_state == VDEV_TRIM_ACTIVE || in vdev_trim_change_state()
362 old_state == VDEV_TRIM_SUSPENDED) { in vdev_trim_change_state()
H A Darc.c2388 arc_state_t *old_state; in arc_change_state() local
2401 old_state = hdr->b_l1hdr.b_state; in arc_change_state()
2406 IMPLY(GHOST_STATE(old_state), hdr->b_l1hdr.b_buf == NULL); in arc_change_state()
2408 IMPLY(old_state == arc_anon, hdr->b_l1hdr.b_buf == NULL || in arc_change_state()
2411 old_state = arc_l2c_only; in arc_change_state()
2416 if (GHOST_STATE(old_state)) in arc_change_state()
2422 ASSERT3P(new_state, !=, old_state); in arc_change_state()
2429 if (old_state != arc_anon && old_state != arc_l2c_only) { in arc_change_state()
2433 multilist_remove(&old_state->arcs_list[type], in arc_change_state()
2435 arc_evictable_space_decrement(hdr, old_state); in arc_change_state()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c3775 enum ieee80211_sta_state old_state, in iwl_mvm_sta_state_auth_to_assoc()
3785 return iwl_mvm_mac_sta_state_common(hw, vif, sta, old_state, new_state,
4107 enum ieee80211_sta_state old_state, in iwl_mvm_mac_sched_scan_stop()
4119 sta->addr, old_state, new_state); in __iwl_mvm_mac_set_key()
4134 if (old_state == IEEE80211_STA_NONE && in __iwl_mvm_mac_set_key()
4172 if (old_state == IEEE80211_STA_NOTEXIST && in __iwl_mvm_mac_set_key()
4178 } else if (old_state == IEEE80211_STA_NONE && in __iwl_mvm_mac_set_key()
4187 } else if (old_state == IEEE80211_STA_AUTH && in __iwl_mvm_mac_set_key()
4191 } else if (old_state == IEEE80211_STA_ASSOC && in __iwl_mvm_mac_set_key()
4195 } else if (old_state in __iwl_mvm_mac_set_key()
3581 iwl_mvm_mac_sta_state(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) iwl_mvm_mac_sta_state() argument
3857 iwl_mvm_mac_sta_state_common(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state,const struct iwl_mvm_sta_state_ops * callbacks) iwl_mvm_mac_sta_state_common() argument
[all...]
H A Dsta.h642 enum ieee80211_sta_state old_state,
H A Dmld-mac80211.c725 enum ieee80211_sta_state old_state, in iwl_mvm_mld_vif_cfg_changed_station()
735 return iwl_mvm_mac_sta_state_common(hw, vif, sta, old_state, new_state, in iwl_mvm_mld_vif_cfg_changed_station()
612 iwl_mvm_mld_mac_sta_state(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) iwl_mvm_mld_mac_sta_state() argument
/freebsd/contrib/ntp/sntp/libevent/
H A Dbufferevent_openssl.c328 unsigned old_state : 2; member
1316 return be_openssl_set_fd(bev_ssl, bev_ssl->old_state, data->fd); in be_openssl_ctrl()
1385 bev_ssl->old_state = state; in bufferevent_openssl_new_impl()
/freebsd/contrib/libevent/
H A Dbufferevent_openssl.c328 unsigned old_state : 2; member
1316 return be_openssl_set_fd(bev_ssl, bev_ssl->old_state, data->fd); in be_openssl_ctrl()
1385 bev_ssl->old_state = state; in bufferevent_openssl_new_impl()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmain.c877 enum ieee80211_sta_state old_state, in mt7921_sta_state() argument
884 mt76_connac_sta_state_dp(&dev->mt76, old_state, new_state); in mt7921_sta_state()
888 return mt76_sta_state(hw, vif, sta, old_state, new_state); in mt7921_sta_state()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmac80211.c1486 enum ieee80211_sta_state old_state, in mt76_sta_state() argument
1492 if (old_state == IEEE80211_STA_NOTEXIST && in mt76_sta_state()
1496 if (old_state == IEEE80211_STA_AUTH && in mt76_sta_state()
1501 if (old_state == IEEE80211_STA_NONE && in mt76_sta_state()
/freebsd/contrib/dialog/
H A Dformbox.c728 int old_state = state; in dlg_form() local
731 if (old_state >= 0 && state == sTEXT) { in dlg_form()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DProcess.cpp1354 const StateType old_state = m_public_state.GetValue(); in SetPublicState() local
1367 const bool old_state_is_stopped = StateIsStoppedState(old_state, false); in SetPublicState()
1470 const StateType old_state = m_private_state.GetValueNoLock(); in SetPrivateState() local
1471 state_changed = old_state != new_state; in SetPrivateState()
1473 const bool old_state_is_stopped = StateIsStoppedState(old_state, false); in SetPrivateState()
5040 lldb::StateType old_state = eStateInvalid; in RunThreadPlan() local
5066 old_state = m_public_state.GetValue(); in RunThreadPlan()
5517 if (old_state != eStateInvalid) in RunThreadPlan()
5518 m_public_state.SetValueNoLock(old_state); in RunThreadPlan()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_cma.c363 enum rdma_cm_state old_state; member
2577 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_query_handler()
2640 if (!cma_comp_exch(id_priv, work->old_state, work->new_state)) in cma_work_handler()
2667 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_resolve_ib_route()
2726 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_resolve_iw_route()
2833 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_resolve_iboe_route()
3013 work->old_state = RDMA_CM_ADDR_QUERY; in cma_resolve_loopback()
3043 work->old_state = RDMA_CM_ADDR_QUERY; in cma_resolve_ib_addr()
/freebsd/sys/net/
H A Dieee8023ad_lacp.c466 uint8_t old_state; in lacp_linkstate() local
483 old_state = lp->lp_state; in lacp_linkstate()
499 if (old_state != lp->lp_state || old_key != lp->lp_key) { in lacp_linkstate()

12