| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | raspberrypi_gpio.c | 307 union msg_get_gpio_state old_state; in rpi_fw_gpio_pin_toggle() local 319 bzero(&old_state, sizeof(old_state)); in rpi_fw_gpio_pin_toggle() 322 old_state.req.gpio = RPI_FW_GPIO_BASE + pin; in rpi_fw_gpio_pin_toggle() 327 BCM2835_FIRMWARE_TAG_GET_GPIO_STATE, &old_state, sizeof(old_state)); in rpi_fw_gpio_pin_toggle() 329 if (rv == 0 && old_state.resp.gpio == 0) { in rpi_fw_gpio_pin_toggle() 331 new_state.req.state = !old_state.resp.state; in rpi_fw_gpio_pin_toggle() 336 if (rv == 0 && (old_state.resp.gpio != 0 || new_state.resp.gpio != 0)) in rpi_fw_gpio_pin_toggle()
|
| /f-stack/dpdk/lib/librte_power/ |
| H A D | rte_power_empty_poll.c | 115 enum queue_state old_state = poll_stats->queue_state; in set_state() local 116 if (old_state != new_state) { in set_state() 119 if (old_state == TRAINING) in set_state()
|
| /f-stack/freebsd/arm/mv/ |
| H A D | gpio.c | 791 uint32_t *old_state; in mv_gpio_debounced_state_set() local 798 old_state = &sc->debounced_state_hi; in mv_gpio_debounced_state_set() 801 old_state = &sc->debounced_state_lo; in mv_gpio_debounced_state_set() 804 *old_state |= (1 << pin); in mv_gpio_debounced_state_set() 806 *old_state &= ~(1 << pin); in mv_gpio_debounced_state_set()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev_initialize.c | 125 vdev_initializing_state_t old_state = vd->vdev_initialize_state; in vdev_initialize_change_state() local 143 if (old_state == VDEV_INITIALIZE_ACTIVE || in vdev_initialize_change_state() 144 old_state == VDEV_INITIALIZE_SUSPENDED) in vdev_initialize_change_state()
|
| H A D | vdev_trim.c | 315 vdev_trim_state_t old_state = vd->vdev_trim_state; in vdev_trim_change_state() local 316 boolean_t resumed = (old_state == VDEV_TRIM_SUSPENDED); in vdev_trim_change_state() 337 if (old_state == VDEV_TRIM_ACTIVE || in vdev_trim_change_state() 338 old_state == VDEV_TRIM_SUSPENDED) { in vdev_trim_change_state()
|
| H A D | arc.c | 2428 arc_state_t *old_state; in arc_change_state() local 2442 old_state = hdr->b_l1hdr.b_state; in arc_change_state() 2448 old_state = arc_l2c_only; in arc_change_state() 2456 ASSERT3P(new_state, !=, old_state); in arc_change_state() 2458 ASSERT(old_state != arc_anon || bufcnt <= 1); in arc_change_state() 2465 if (old_state != arc_anon && old_state != arc_l2c_only) { in arc_change_state() 2469 if (GHOST_STATE(old_state)) { in arc_change_state() 2474 arc_evictable_space_decrement(hdr, old_state); in arc_change_state() 2560 if (update_old && old_state != arc_l2c_only) { in arc_change_state() 2562 if (GHOST_STATE(old_state)) { in arc_change_state() [all …]
|
| H A D | dbuf.c | 2570 dbuf_states_t old_state; in dmu_buf_fill_done() local 2574 old_state = db->db_state; in dmu_buf_fill_done() 2576 if (old_state == DB_FILL) { in dmu_buf_fill_done()
|
| /f-stack/freebsd/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()
|
| /f-stack/freebsd/netinet/ |
| H A D | sctputil.c | 7603 int old_state = stcb->asoc.state; in sctp_set_state() local 7616 if (((old_state & SCTP_STATE_MASK) != new_state) && in sctp_set_state() 7617 !(((old_state & SCTP_STATE_MASK) == SCTP_STATE_EMPTY) && in sctp_set_state() 7619 SCTP_PROBE6(state__change, NULL, stcb, NULL, stcb, NULL, old_state); in sctp_set_state() 7628 int old_state = stcb->asoc.state; in sctp_add_substate() local 7637 ((old_state & SCTP_STATE_ABOUT_TO_BE_FREED) == 0)) || in sctp_add_substate() 7639 ((old_state & SCTP_STATE_SHUTDOWN_PENDING) == 0))) { in sctp_add_substate() 7640 SCTP_PROBE6(state__change, NULL, stcb, NULL, stcb, NULL, old_state); in sctp_add_substate()
|
| H A D | sctp_input.c | 869 int old_state; in sctp_handle_shutdown() local 884 old_state = SCTP_GET_STATE(stcb); in sctp_handle_shutdown() 968 } else if (old_state == SCTP_STATE_SHUTDOWN_ACK_SENT) { in sctp_handle_shutdown()
|
| /f-stack/tools/libxo/libxo/ |
| H A D | libxo.c | 7641 int old_state, on_marker; in xo_transition() local 7646 old_state = xsp->xs_state; in xo_transition() 7647 on_marker = (old_state == XSS_MARKER); in xo_transition() 7650 while (old_state == XSS_MARKER) { in xo_transition() 7654 old_state = xsp->xs_state; in xo_transition() 7662 switch (XSS_TRANSITION(old_state, new_state)) { in xo_transition() 7891 xo_state_name(old_state), xo_state_name(new_state)); in xo_transition()
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | bbr.c | 10403 int32_t old_state, old_gain; in bbr_substate_change() local 10405 old_state = bbr_state_val(bbr); in bbr_substate_change() 10470 if ((old_state == BBR_SUB_DRAIN) && bbr->rc_hit_state_1) { in bbr_substate_change() 10508 counter_u64_add(bbr_state_time[(old_state + 5)], time_in); in bbr_substate_change()
|