/freebsd/sys/contrib/pcg-c/include/ |
H A D | pcg_variants.h | 868 uint16_t oldstate = rng->state; in pcg_oneseq_16_xsh_rs_8_random_r() local 886 uint32_t oldstate = rng->state; in pcg_oneseq_32_xsh_rs_16_random_r() local 904 uint64_t oldstate = rng->state; in pcg_oneseq_64_xsh_rs_32_random_r() local 944 uint16_t oldstate = rng->state; in pcg_unique_16_xsh_rs_8_random_r() local 962 uint32_t oldstate = rng->state; in pcg_unique_32_xsh_rs_16_random_r() local 980 uint64_t oldstate = rng->state; in pcg_unique_64_xsh_rs_32_random_r() local 1020 uint16_t oldstate = rng->state; in pcg_setseq_16_xsh_rs_8_random_r() local 1040 uint32_t oldstate = rng->state; in pcg_setseq_32_xsh_rs_16_random_r() local 1060 uint64_t oldstate = rng->state; in pcg_setseq_64_xsh_rs_32_random_r() local 1492 uint8_t oldstate = rng->state; in pcg_oneseq_8_rxs_m_xs_8_random_r() local [all …]
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum_state.c | 126 int oldstate; in gv_set_drive_state() local 130 oldstate = d->state; in gv_set_drive_state() 159 int oldstate, status; in gv_set_sd_state() local 163 oldstate = s->state; in gv_set_sd_state() 290 oldstate = p->state; in gv_set_plex_state() 340 int oldstate; in gv_set_vol_state() local 344 oldstate = v->state; in gv_set_vol_state() 379 int oldstate; in gv_update_sd_state() local 385 oldstate = s->state; in gv_update_sd_state() 418 int oldstate; in gv_update_plex_state() local [all …]
|
/freebsd/lib/libthr/thread/ |
H A D | thr_cancel.c | 83 _thr_setcancelstate(int state, int *oldstate) in _thr_setcancelstate() argument 102 if (oldstate) { in _thr_setcancelstate() 103 *oldstate = oldval ? PTHREAD_CANCEL_ENABLE : in _thr_setcancelstate()
|
/freebsd/contrib/libucl/tests/ |
H A D | test_msgpack.c | 72 uint64_t oldstate = rng.state; in pcg32_random() local 74 rng.state = oldstate * 6364136223846793005ULL + (rng.inc | 1); in pcg32_random() 75 uint32_t xorshifted = ((oldstate >> 18u) ^ oldstate) >> 27u; in pcg32_random() 76 uint32_t rot = oldstate >> 59u; in pcg32_random()
|
/freebsd/share/dtrace/ |
H A D | tcpstate | 41 oldstate = args[5]->tcps_state; 42 printf("%s\t\t%s\n", tcp_state_string[oldstate],
|
H A D | tcptrack | 77 oldstate = args[5]->tcps_state; 78 printf("State changed from %s\t\t%s\n", tcp_state_string[oldstate],
|
/freebsd/sys/kern/ |
H A D | kern_umtx.c | 3088 int32_t state, oldstate; in do_rw_rdlock() local 3135 state = oldstate; in do_rw_rdlock() 3167 state = oldstate; in do_rw_rdlock() 3251 state = oldstate; in do_rw_rdlock() 3277 int32_t state, oldstate; in do_rw_wrlock() local 3313 state = oldstate; in do_rw_wrlock() 3360 state = oldstate; in do_rw_wrlock() 3439 state = oldstate; in do_rw_wrlock() 3476 int32_t state, oldstate; in do_rw_unlock() local 3501 state = oldstate; in do_rw_unlock() [all …]
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_mouse.c | 260 int oldstate = 0; in mouse_server() local 291 if ((mouev.fs ^ oldstate) & MOUSE_BN1_DOWN) in mouse_server() 294 if ((mouev.fs ^ oldstate) & MOUSE_BN2_DOWN) in mouse_server() 297 if ((mouev.fs ^ oldstate) & MOUSE_BN3_DOWN) in mouse_server() 302 oldstate = mouev.fs; in mouse_server()
|
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_core.h | 700 VCHIQ_CONNSTATE_T oldstate, VCHIQ_CONNSTATE_T newstate);
|
H A D | vchiq_arm.c | 2767 VCHIQ_CONNSTATE_T oldstate, VCHIQ_CONNSTATE_T newstate) in vchiq_platform_conn_state_changed() argument 2771 get_conn_state_name(oldstate), get_conn_state_name(newstate)); in vchiq_platform_conn_state_changed()
|
H A D | vchiq_core.c | 412 VCHIQ_CONNSTATE_T oldstate = state->conn_state; in vchiq_set_conn_state() local 414 conn_state_names[oldstate], in vchiq_set_conn_state() 417 vchiq_platform_conn_state_changed(state, oldstate, newstate); in vchiq_set_conn_state()
|
/freebsd/sys/dev/firewire/ |
H A D | firewire.c | 1907 int oldstate; in fw_rcv() local 1958 oldstate = rb->xfer->flag; in fw_rcv() 1960 switch (oldstate) { in fw_rcv()
|
/freebsd/sys/dev/pci/ |
H A D | pci.c | 2792 int oldstate, highest, delay; in pci_set_powerstate_method() local 2802 oldstate = pci_get_powerstate(child); in pci_set_powerstate_method() 2803 if (oldstate == state) in pci_set_powerstate_method() 2818 highest = (oldstate > state) ? oldstate : state; in pci_set_powerstate_method() 2849 pci_printf(cfg, "Transition from D%d to D%d\n", oldstate, in pci_set_powerstate_method()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev.c | 4235 vdev_state_t oldstate; in vdev_online() local 4243 oldstate = vd->vdev_state; in vdev_online() 4309 (oldstate < VDEV_STATE_DEGRADED && in vdev_online()
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 7222 vdev_state_t oldstate; in zpool_do_online() local 7243 oldstate = ((vdev_stat_t *)fnvlist_lookup_uint64_array(tgt, in zpool_do_online() 7262 (oldstate >= VDEV_STATE_DEGRADED ? in zpool_do_online() 7264 if (oldstate >= VDEV_STATE_DEGRADED) { in zpool_do_online()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 4405 INTERCEPTOR(int, __libc_thr_setcancelstate, int state, int *oldstate) 6611 INTERCEPTOR(int, pthread_setcancelstate, int state, int *oldstate) { 6613 COMMON_INTERCEPTOR_ENTER(ctx, pthread_setcancelstate, state, oldstate); 6614 int res = REAL(pthread_setcancelstate)(state, oldstate); 6615 if (res == 0 && oldstate != nullptr) 6616 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldstate, sizeof(*oldstate));
|