/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 870 return pcg_output_xsh_rs_16_8(oldstate); in pcg_oneseq_16_xsh_rs_8_random_r() 886 uint32_t oldstate = rng->state; in pcg_oneseq_32_xsh_rs_16_random_r() local 888 return pcg_output_xsh_rs_32_16(oldstate); in pcg_oneseq_32_xsh_rs_16_random_r() 904 uint64_t oldstate = rng->state; in pcg_oneseq_64_xsh_rs_32_random_r() local 906 return pcg_output_xsh_rs_64_32(oldstate); in pcg_oneseq_64_xsh_rs_32_random_r() 944 uint16_t oldstate = rng->state; in pcg_unique_16_xsh_rs_8_random_r() local 946 return pcg_output_xsh_rs_16_8(oldstate); in pcg_unique_16_xsh_rs_8_random_r() 962 uint32_t oldstate = rng->state; in pcg_unique_32_xsh_rs_16_random_r() local 964 return pcg_output_xsh_rs_32_16(oldstate); in pcg_unique_32_xsh_rs_16_random_r() [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() 132 if (newstate == oldstate) in gv_set_drive_state() 142 if (d->state != oldstate) { in gv_set_drive_state() 159 int oldstate, status; in gv_set_sd_state() local 163 oldstate = s->state; in gv_set_sd_state() 168 if (newstate == oldstate) in gv_set_sd_state() 286 int oldstate, plexdown; in gv_set_plex_state() local 290 oldstate = p->state; in gv_set_plex_state() 294 if (newstate == oldstate) in gv_set_plex_state() [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 | 3086 int32_t state, oldstate; in do_rw_rdlock() local 3120 &oldstate, state + 1); in do_rw_rdlock() 3126 MPASS(oldstate == state); in do_rw_rdlock() 3133 state = oldstate; in do_rw_rdlock() 3156 &oldstate, state | URWLOCK_READ_WAITERS); in do_rw_rdlock() 3162 MPASS(oldstate == state); in do_rw_rdlock() 3165 state = oldstate; in do_rw_rdlock() 3240 &oldstate, state & ~URWLOCK_READ_WAITERS); in do_rw_rdlock() 3246 MPASS(oldstate == state); in do_rw_rdlock() 3249 state = oldstate; in do_rw_rdlock() [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 | 2790 int oldstate, highest, delay; in pci_set_powerstate_method() local 2800 oldstate = pci_get_powerstate(child); in pci_set_powerstate_method() 2801 if (oldstate == state) in pci_set_powerstate_method() 2816 highest = (oldstate > state) ? oldstate : state; in pci_set_powerstate_method() 2847 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 | 4289 vdev_state_t oldstate; in vdev_online() local 4297 oldstate = vd->vdev_state; in vdev_online() 4363 (oldstate < VDEV_STATE_DEGRADED && in vdev_online()
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 7981 vdev_state_t oldstate; in zpool_do_online() local 8004 oldstate = ((vdev_stat_t *)fnvlist_lookup_uint64_array(tgt, in zpool_do_online() 8024 (oldstate >= VDEV_STATE_DEGRADED ? in zpool_do_online() 8026 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 | 4416 INTERCEPTOR(int, __libc_thr_setcancelstate, int state, int *oldstate) 6622 INTERCEPTOR(int, pthread_setcancelstate, int state, int *oldstate) { 6624 COMMON_INTERCEPTOR_ENTER(ctx, pthread_setcancelstate, state, oldstate); 6625 int res = REAL(pthread_setcancelstate)(state, oldstate); 6626 if (res == 0 && oldstate != nullptr) 6627 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldstate, sizeof(*oldstate));
|