Home
last modified time | relevance | path

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

123

/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()
186 uint8_t old_state = tsd_atomic_load(&tsd->state, ATOMIC_RELAXED); in tsd_state_set()
187 if (old_state > tsd_state_nominal_max) { in tsd_state_set()
184 uint8_t old_state = tsd_atomic_load(&tsd->state, ATOMIC_RELAXED); tsd_state_set() local
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_rcidm.c383 unsigned int old_state = rcid->state; in rcidm_transition_rcid() local
385 assert(state >= old_state && state <= RCID_STATE_RETIRING); in rcidm_transition_rcid()
387 if (state == old_state) in rcidm_transition_rcid()
395 if (old_state == RCID_STATE_PENDING) { in rcidm_transition_rcid()
405 if (old_state == RCID_STATE_CUR) in rcidm_transition_rcid()
/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.c240 int old_state, error; in acpi_pci_set_powerstate_method() local
256 old_state = pci_get_powerstate(child); in acpi_pci_set_powerstate_method()
257 if (old_state < state && pci_do_power_suspend) { in acpi_pci_set_powerstate_method()
273 if (old_state > state && pci_do_power_resume) in acpi_pci_set_powerstate_method()
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dmac80211.c1712 enum ieee80211_sta_state old_state, in iwl_mld_move_sta_state_up() argument
1719 if (old_state == IEEE80211_STA_NOTEXIST && in iwl_mld_move_sta_state_up()
1754 } else if (old_state == IEEE80211_STA_NONE && in iwl_mld_move_sta_state_up()
1758 } else if (old_state == IEEE80211_STA_AUTH && in iwl_mld_move_sta_state_up()
1787 } else if (old_state == IEEE80211_STA_ASSOC && in iwl_mld_move_sta_state_up()
1833 enum ieee80211_sta_state old_state, in iwl_mld_move_sta_state_down() argument
1838 if (old_state == IEEE80211_STA_AUTHORIZED && in iwl_mld_move_sta_state_down()
1864 } else if (old_state == IEEE80211_STA_ASSOC && in iwl_mld_move_sta_state_down()
1875 } else if (old_state == IEEE80211_STA_AUTH && in iwl_mld_move_sta_state_down()
1878 } else if (old_state == IEEE80211_STA_NONE && in iwl_mld_move_sta_state_down()
[all …]
/freebsd/crypto/openssl/include/internal/
H A Dqlog_event_helpers.h27 uint32_t old_state,
/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.c787 uint32_t *old_state; in mv_gpio_debounced_state_set() local
794 old_state = &sc->debounced_state_hi; in mv_gpio_debounced_state_set()
797 old_state = &sc->debounced_state_lo; in mv_gpio_debounced_state_set()
800 *old_state |= (1 << pin); in mv_gpio_debounced_state_set()
802 *old_state &= ~(1 << pin); in mv_gpio_debounced_state_set()
/freebsd/sys/contrib/dev/rtw89/
H A Dmac80211.c900 enum ieee80211_sta_state old_state, in __rtw89_ops_sta_state() argument
905 if (old_state == IEEE80211_STA_NOTEXIST && in __rtw89_ops_sta_state()
909 if (old_state == IEEE80211_STA_AUTH && in __rtw89_ops_sta_state()
916 if (old_state == IEEE80211_STA_ASSOC && in __rtw89_ops_sta_state()
920 if (old_state == IEEE80211_STA_AUTH && in __rtw89_ops_sta_state()
924 if (old_state == IEEE80211_STA_NONE && in __rtw89_ops_sta_state()
934 enum ieee80211_sta_state old_state, in rtw89_ops_sta_state() argument
942 return __rtw89_ops_sta_state(hw, vif, sta, old_state, new_state); in rtw89_ops_sta_state()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp528 int status, old_type, old_state; in __kmp_launch_worker() local
565 status = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &old_state); in __kmp_launch_worker()
611 int status, old_type, old_state; in __kmp_launch_monitor() local
643 status = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &old_state); in __kmp_launch_monitor()
1278 int status, old_state; in __kmp_enable() local
1279 status = pthread_setcancelstate(new_state, &old_state); in __kmp_enable()
1281 KMP_DEBUG_ASSERT(old_state == PTHREAD_CANCEL_DISABLE); in __kmp_enable()
1285 void __kmp_disable(int *old_state) { in __kmp_disable() argument
1288 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.c157 vdev_initializing_state_t old_state = vd->vdev_initialize_state; in vdev_initialize_change_state() local
181 if (old_state == VDEV_INITIALIZE_ACTIVE || in vdev_initialize_change_state()
182 old_state == VDEV_INITIALIZE_SUSPENDED) in vdev_initialize_change_state()
H A Dvdev_trim.c340 vdev_trim_state_t old_state = vd->vdev_trim_state; in vdev_trim_change_state() local
341 boolean_t resumed = (old_state == VDEV_TRIM_SUSPENDED); in vdev_trim_change_state()
362 if (old_state == VDEV_TRIM_ACTIVE || in vdev_trim_change_state()
363 old_state == VDEV_TRIM_SUSPENDED) { in vdev_trim_change_state()
H A Darc.c2449 arc_state_t *old_state; in arc_change_state() local
2462 old_state = hdr->b_l1hdr.b_state; in arc_change_state()
2467 IMPLY(GHOST_STATE(old_state), hdr->b_l1hdr.b_buf == NULL); in arc_change_state()
2469 IMPLY(old_state == arc_anon, hdr->b_l1hdr.b_buf == NULL || in arc_change_state()
2472 old_state = arc_l2c_only; in arc_change_state()
2477 if (GHOST_STATE(old_state)) in arc_change_state()
2483 ASSERT3P(new_state, !=, old_state); in arc_change_state()
2490 if (old_state != arc_anon && old_state != arc_l2c_only) { in arc_change_state()
2494 multilist_remove(&old_state->arcs_list[type], in arc_change_state()
2496 arc_evictable_space_decrement(hdr, old_state); in arc_change_state()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c3669 enum ieee80211_sta_state old_state, in iwl_mvm_mac_sta_state() argument
3679 return iwl_mvm_mac_sta_state_common(hw, vif, sta, old_state, new_state, in iwl_mvm_mac_sta_state()
3982 enum ieee80211_sta_state old_state, in iwl_mvm_mac_sta_state_common() argument
3994 sta->addr, old_state, new_state); in iwl_mvm_mac_sta_state_common()
4009 if (old_state == IEEE80211_STA_NONE && in iwl_mvm_mac_sta_state_common()
4047 if (old_state == IEEE80211_STA_NOTEXIST && in iwl_mvm_mac_sta_state_common()
4053 } else if (old_state == IEEE80211_STA_NONE && in iwl_mvm_mac_sta_state_common()
4062 } else if (old_state == IEEE80211_STA_AUTH && in iwl_mvm_mac_sta_state_common()
4066 } else if (old_state == IEEE80211_STA_ASSOC && in iwl_mvm_mac_sta_state_common()
4071 } else if (old_state == IEEE80211_STA_AUTHORIZED && in iwl_mvm_mac_sta_state_common()
[all …]
H A Dsta.h610 enum ieee80211_sta_state old_state,
H A Dmld-mac80211.c520 enum ieee80211_sta_state old_state, in iwl_mvm_mld_mac_sta_state() argument
530 return iwl_mvm_mac_sta_state_common(hw, vif, sta, old_state, new_state, in iwl_mvm_mld_mac_sta_state()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmac80211.c1677 enum ieee80211_sta_state old_state, in mt76_sta_state() argument
1688 if (old_state == IEEE80211_STA_NOTEXIST && in mt76_sta_state()
1692 if (old_state == IEEE80211_STA_NONE && in mt76_sta_state()
1699 if (old_state == IEEE80211_STA_AUTH && in mt76_sta_state()
1702 else if (old_state == IEEE80211_STA_ASSOC && in mt76_sta_state()
1705 else if (old_state == IEEE80211_STA_ASSOC && in mt76_sta_state()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmain.c1264 struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, in mt7996_sta_state() argument
1270 if (old_state == IEEE80211_STA_NOTEXIST && in mt7996_sta_state()
1274 if (old_state == IEEE80211_STA_NONE && in mt7996_sta_state()
1278 if (old_state == IEEE80211_STA_AUTH && in mt7996_sta_state()
1282 } else if (old_state == IEEE80211_STA_ASSOC && in mt7996_sta_state()
1285 } else if (old_state == IEEE80211_STA_ASSOC && in mt7996_sta_state()
/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/contrib/wpa/wpa_supplicant/
H A Dnotify.c90 enum wpa_states old_state) in wpas_notify_state_changed() argument
104 else if (old_state >= WPA_ASSOCIATED && in wpas_notify_state_changed()
115 } else if (old_state >= WPA_ASSOCIATED && new_state < WPA_ASSOCIATED) { in wpas_notify_state_changed()
H A Dnotify.h31 enum wpa_states old_state);
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.h253 enum ieee80211_sta_state old_state,

123