/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | raspberrypi_gpio.c | 305 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 D | tsd.c | 172 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 D | aicasm_scan.l | 398 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 D | acpi_pci.c | 217 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 D | mac80211.c | 576 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 D | fst_ctrl_aux.h | 67 enum fst_session_state old_state; member
|
/freebsd/sys/arm/mv/ |
H A D | gpio.c | 786 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 D | notify.c | 88 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 D | notify.h | 27 enum wpa_states old_state);
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | z_Linux_util.cpp | 526 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 D | kmp_stats.h | 554 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 D | vdev_initialize.c | 156 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 D | vdev_trim.c | 339 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 D | arc.c | 2388 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 D | mac80211.c | 3775 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 D | sta.h | 642 enum ieee80211_sta_state old_state,
|
H A D | mld-mac80211.c | 725 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 D | bufferevent_openssl.c | 328 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 D | bufferevent_openssl.c | 328 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 D | main.c | 877 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 D | mac80211.c | 1486 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 D | formbox.c | 728 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 D | Process.cpp | 1354 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 D | ib_cma.c | 363 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 D | ieee8023ad_lacp.c | 466 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()
|