| /freebsd-13.1/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-13.1/sys/geom/vinum/ |
| H A D | geom_vinum_state.c | 128 int oldstate; in gv_set_drive_state() local 132 oldstate = d->state; in gv_set_drive_state() 161 int oldstate, status; in gv_set_sd_state() local 165 oldstate = s->state; in gv_set_sd_state() 292 oldstate = p->state; in gv_set_plex_state() 342 int oldstate; in gv_set_vol_state() local 346 oldstate = v->state; in gv_set_vol_state() 381 int oldstate; in gv_update_sd_state() local 387 oldstate = s->state; in gv_update_sd_state() 420 int oldstate; in gv_update_plex_state() local [all …]
|
| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_cancel.c | 86 _thr_setcancelstate(int state, int *oldstate) in _thr_setcancelstate() argument 105 if (oldstate) { in _thr_setcancelstate() 106 *oldstate = oldval ? PTHREAD_CANCEL_ENABLE : in _thr_setcancelstate()
|
| /freebsd-13.1/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-13.1/share/dtrace/ |
| H A D | tcpstate | 43 oldstate = args[5]->tcps_state; 44 printf("%s\t\t%s\n", tcp_state_string[oldstate],
|
| H A D | tcptrack | 79 oldstate = args[5]->tcps_state; 80 printf("State changed from %s\t\t%s\n", tcp_state_string[oldstate],
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_umtx.c | 3052 int32_t state, oldstate; in do_rw_rdlock() local 3099 state = oldstate; in do_rw_rdlock() 3131 state = oldstate; in do_rw_rdlock() 3211 state = oldstate; in do_rw_rdlock() 3237 int32_t state, oldstate; in do_rw_wrlock() local 3273 state = oldstate; in do_rw_wrlock() 3320 state = oldstate; in do_rw_wrlock() 3395 state = oldstate; in do_rw_wrlock() 3432 int32_t state, oldstate; in do_rw_unlock() local 3457 state = oldstate; in do_rw_unlock() [all …]
|
| /freebsd-13.1/usr.sbin/kgmon/ |
| H A D | kgmon.c | 317 int mib[3], oldstate; in setprof() local 324 if (sysctl(mib, 3, &oldstate, &sz, NULL, 0) < 0) in setprof() 326 if (oldstate == state) in setprof()
|
| /freebsd-13.1/contrib/ncurses/ncurses/base/ |
| H A D | lib_mouse.c | 250 int oldstate = 0; in mouse_server() local 281 if ((mouev.fs ^ oldstate) & MOUSE_BN1_DOWN) in mouse_server() 284 if ((mouev.fs ^ oldstate) & MOUSE_BN2_DOWN) in mouse_server() 287 if ((mouev.fs ^ oldstate) & MOUSE_BN3_DOWN) in mouse_server() 292 oldstate = mouev.fs; in mouse_server()
|
| /freebsd-13.1/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-13.1/sys/dev/firewire/ |
| H A D | firewire.c | 1910 int i, len, oldstate; in fw_rcv() local 1960 oldstate = rb->xfer->flag; in fw_rcv() 1962 switch (oldstate) { in fw_rcv()
|
| /freebsd-13.1/sys/dev/pci/ |
| H A D | pci.c | 2812 int oldstate, highest, delay; in pci_set_powerstate_method() local 2822 oldstate = pci_get_powerstate(child); in pci_set_powerstate_method() 2823 if (oldstate == state) in pci_set_powerstate_method() 2838 highest = (oldstate > state) ? oldstate : state; in pci_set_powerstate_method() 2869 pci_printf(cfg, "Transition from D%d to D%d\n", oldstate, in pci_set_powerstate_method()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev.c | 3926 vdev_state_t oldstate; in vdev_online() local 3937 oldstate = vd->vdev_state; in vdev_online() 4002 (oldstate < VDEV_STATE_DEGRADED && in vdev_online()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_interceptors.inc | 4320 INTERCEPTOR(int, __libc_thr_setcancelstate, int state, int *oldstate) 6554 INTERCEPTOR(int, pthread_setcancelstate, int state, int *oldstate) { 6556 COMMON_INTERCEPTOR_ENTER(ctx, pthread_setcancelstate, state, oldstate); 6557 int res = REAL(pthread_setcancelstate)(state, oldstate); 6558 if (res == 0 && oldstate != nullptr) 6559 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldstate, sizeof(*oldstate));
|