Home
last modified time | relevance | path

Searched refs:oldstate (Results 1 – 9 of 9) sorted by relevance

/trueos/sys/geom/vinum/
HDgeom_vinum_state.c125 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 …]
/trueos/lib/libthr/thread/
HDthr_cancel.c78 _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()
/trueos/lib/libkse/thread/
HDthr_cancel.c180 _pthread_setcancelstate(int state, int *oldstate) in _pthread_setcancelstate() argument
213 if (ret == 0 && oldstate != NULL) in _pthread_setcancelstate()
214 *oldstate = ostate; in _pthread_setcancelstate()
/trueos/sys/kern/
HDkern_umtx.c2836 int32_t state, oldstate; in do_rw_rdlock() local
2869 &oldstate, state + 1); in do_rw_rdlock()
2874 if (oldstate == state) { in do_rw_rdlock()
2881 state = oldstate; in do_rw_rdlock()
2904 &oldstate, state | URWLOCK_READ_WAITERS); in do_rw_rdlock()
2909 if (oldstate == state) in do_rw_rdlock()
2911 state = oldstate; in do_rw_rdlock()
2976 &oldstate, state & ~URWLOCK_READ_WAITERS); in do_rw_rdlock()
2981 if (oldstate == state) in do_rw_rdlock()
2983 state = oldstate; in do_rw_rdlock()
[all …]
/trueos/usr.sbin/kgmon/
HDkgmon.c315 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()
/trueos/contrib/ncurses/ncurses/base/
HDlib_mouse.c227 int oldstate = 0; in mouse_server() local
257 if ((mouev.fs ^ oldstate) & MOUSE_BN1_DOWN) in mouse_server()
260 if ((mouev.fs ^ oldstate) & MOUSE_BN2_DOWN) in mouse_server()
263 if ((mouev.fs ^ oldstate) & MOUSE_BN3_DOWN) in mouse_server()
268 oldstate = mouev.fs; in mouse_server()
/trueos/sys/dev/pci/
HDpci.c2379 int oldstate, highest, delay; in pci_set_powerstate_method() local
2389 oldstate = pci_get_powerstate(child); in pci_set_powerstate_method()
2390 if (oldstate == state) in pci_set_powerstate_method()
2405 highest = (oldstate > state) ? oldstate : state; in pci_set_powerstate_method()
2436 pci_printf(cfg, "Transition from D%d to D%d\n", oldstate, in pci_set_powerstate_method()
/trueos/sys/dev/firewire/
HDfirewire.c1956 int i, len, oldstate; in fw_rcv() local
2007 oldstate = rb->xfer->flag; in fw_rcv()
2009 switch (oldstate) { in fw_rcv()
/trueos/usr.sbin/asl/
HDasl_action.c2099 uint64_t oldstate = (crashmover_state == 0) ? 0llu : 1llu; in asl_action_init()
2104 if (cmstate != oldstate) in asl_action_init()