| /freebsd-11-stable/sys/geom/vinum/ |
| HD | geom_vinum_state.c | 125 int oldstate; in gv_set_drive_state() local 129 oldstate = d->state; in gv_set_drive_state() 131 if (newstate == oldstate) in gv_set_drive_state() 141 if (d->state != oldstate) { in gv_set_drive_state() 158 int oldstate, status; in gv_set_sd_state() local 162 oldstate = s->state; in gv_set_sd_state() 167 if (newstate == oldstate) in gv_set_sd_state() 285 int oldstate, plexdown; in gv_set_plex_state() local 289 oldstate = p->state; in gv_set_plex_state() 293 if (newstate == oldstate) in gv_set_plex_state() [all …]
|
| /freebsd-11-stable/lib/libthr/thread/ |
| HD | thr_cancel.c | 78 _pthread_setcancelstate(int state, int *oldstate) in _pthread_setcancelstate() argument 97 if (oldstate) { in _pthread_setcancelstate() 98 *oldstate = oldval ? PTHREAD_CANCEL_ENABLE : in _pthread_setcancelstate()
|
| /freebsd-11-stable/contrib/libucl/tests/ |
| HD | 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-11-stable/share/dtrace/ |
| HD | tcpstate | 43 oldstate = args[5]->tcps_state; 44 printf("%s\t\t%s\n", tcp_state_string[oldstate],
|
| HD | tcptrack | 79 oldstate = args[5]->tcps_state; 80 printf("State changed from %s\t\t%s\n", tcp_state_string[oldstate],
|
| /freebsd-11-stable/sys/kern/ |
| HD | kern_umtx.c | 2639 int32_t state, oldstate; in do_rw_rdlock() local 2673 &oldstate, state + 1); in do_rw_rdlock() 2678 if (oldstate == state) { in do_rw_rdlock() 2685 state = oldstate; in do_rw_rdlock() 2708 &oldstate, state | URWLOCK_READ_WAITERS); in do_rw_rdlock() 2713 if (oldstate == state) in do_rw_rdlock() 2715 state = oldstate; in do_rw_rdlock() 2786 &oldstate, state & ~URWLOCK_READ_WAITERS); in do_rw_rdlock() 2791 if (oldstate == state) in do_rw_rdlock() 2793 state = oldstate; in do_rw_rdlock() [all …]
|
| /freebsd-11-stable/usr.sbin/kgmon/ |
| HD | kgmon.c | 315 int mib[3], oldstate; in setprof() local 322 if (sysctl(mib, 3, &oldstate, &sz, NULL, 0) < 0) in setprof() 324 if (oldstate == state) in setprof()
|
| /freebsd-11-stable/contrib/ncurses/ncurses/base/ |
| HD | lib_mouse.c | 249 int oldstate = 0; in mouse_server() local 280 if ((mouev.fs ^ oldstate) & MOUSE_BN1_DOWN) in mouse_server() 283 if ((mouev.fs ^ oldstate) & MOUSE_BN2_DOWN) in mouse_server() 286 if ((mouev.fs ^ oldstate) & MOUSE_BN3_DOWN) in mouse_server() 291 oldstate = mouev.fs; in mouse_server()
|
| /freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/ |
| HD | vchiq_core.h | 700 VCHIQ_CONNSTATE_T oldstate, VCHIQ_CONNSTATE_T newstate);
|
| HD | vchiq_arm.c | 2768 VCHIQ_CONNSTATE_T oldstate, VCHIQ_CONNSTATE_T newstate) in vchiq_platform_conn_state_changed() argument 2772 get_conn_state_name(oldstate), get_conn_state_name(newstate)); in vchiq_platform_conn_state_changed()
|
| HD | 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-11-stable/sys/dev/firewire/ |
| HD | firewire.c | 1908 int i, len, oldstate; in fw_rcv() local 1958 oldstate = rb->xfer->flag; in fw_rcv() 1960 switch (oldstate) { in fw_rcv()
|
| /freebsd-11-stable/sys/dev/pci/ |
| HD | pci.c | 2737 int oldstate, highest, delay; in pci_set_powerstate_method() local 2747 oldstate = pci_get_powerstate(child); in pci_set_powerstate_method() 2748 if (oldstate == state) in pci_set_powerstate_method() 2763 highest = (oldstate > state) ? oldstate : state; in pci_set_powerstate_method() 2794 pci_printf(cfg, "Transition from D%d to D%d\n", oldstate, in pci_set_powerstate_method()
|
| /freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | vdev.c | 3278 vdev_state_t oldstate; in vdev_online() local 3289 oldstate = vd->vdev_state; in vdev_online() 3337 (oldstate < VDEV_STATE_DEGRADED && in vdev_online()
|
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| HD | sanitizer_common_interceptors.inc | 4224 INTERCEPTOR(int, __libc_thr_setcancelstate, int state, int *oldstate) 6308 INTERCEPTOR(int, pthread_setcancelstate, int state, int *oldstate) { 6310 COMMON_INTERCEPTOR_ENTER(ctx, pthread_setcancelstate, state, oldstate); 6311 int res = REAL(pthread_setcancelstate)(state, oldstate); 6312 if (res == 0 && oldstate != nullptr) 6313 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldstate, sizeof(*oldstate));
|