/freebsd/sys/xen/xenbus/ |
H A D | xenbusb.c | 138 enum xenbus_state newstate; in xenbusb_otherend_watch_cb() local 149 newstate = xenbus_read_driver_state(ivars->xd_otherend_path); in xenbusb_otherend_watch_cb() 150 XENBUSB_OTHEREND_CHANGED(bus, child, newstate); in xenbusb_otherend_watch_cb() 901 enum xenbus_state newstate; in xenbusb_write_ivar() local 910 newstate = (enum xenbus_state)value; in xenbusb_write_ivar() 912 if (ivars->xd_state == newstate) { in xenbusb_write_ivar() 931 "%d", newstate); in xenbusb_write_ivar() 939 if (newstate != XenbusStateClosing) in xenbusb_write_ivar() 945 ivars->xd_state = newstate; in xenbusb_write_ivar() 948 (newstate in xenbusb_write_ivar() [all...] |
/freebsd/sys/riscv/vmm/ |
H A D | vmm.c | 810 vcpu_set_state_locked(struct vcpu *vcpu, enum vcpu_state newstate, in vcpu_set_state_locked() argument 850 error = (newstate != VCPU_FROZEN); in vcpu_set_state_locked() 853 error = (newstate == VCPU_FROZEN); in vcpu_set_state_locked() 863 vcpu->state = newstate; in vcpu_set_state_locked() 864 if (newstate == VCPU_RUNNING) in vcpu_set_state_locked() 869 if (newstate == VCPU_IDLE) in vcpu_set_state_locked() 876 vcpu_require_state(struct vcpu *vcpu, enum vcpu_state newstate) in vcpu_require_state() argument 880 if ((error = vcpu_set_state(vcpu, newstate, false)) != 0) in vcpu_require_state() 881 panic("Error %d setting state to %d\n", error, newstate); in vcpu_require_state() 885 vcpu_require_state_locked(struct vcpu *vcpu, enum vcpu_state newstate) in vcpu_require_state_locked() argument [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_mod.c | 200 vdev_state_t newstate; in zfs_process_add() local 346 if (zpool_vdev_online(zhp, fullpath, online_flag, &newstate) == 0 && in zfs_process_add() 347 (newstate == VDEV_STATE_HEALTHY || in zfs_process_add() 348 newstate == VDEV_STATE_DEGRADED)) { in zfs_process_add() 351 "%s", fullpath, physpath, (newstate == VDEV_STATE_HEALTHY) ? in zfs_process_add() 370 &newstate); in zfs_process_add() 390 ZFS_ONLINE_FORCEFAULT, &newstate); in zfs_process_add() 395 err ? (int)newstate : 0); in zfs_process_add() 466 ZFS_ONLINE_FORCEFAULT, &newstate); in zfs_process_add() 512 ZFS_ONLINE_FORCEFAULT, &newstate); in zfs_process_add() [all …]
|
/freebsd/sys/arm64/vmm/ |
H A D | vmm.c | 1106 vcpu_set_state_locked(struct vcpu *vcpu, enum vcpu_state newstate, in vcpu_set_state_locked() argument 1146 error = (newstate != VCPU_FROZEN); in vcpu_set_state_locked() 1149 error = (newstate == VCPU_FROZEN); in vcpu_set_state_locked() 1159 vcpu->state = newstate; in vcpu_set_state_locked() 1160 if (newstate == VCPU_RUNNING) in vcpu_set_state_locked() 1165 if (newstate == VCPU_IDLE) in vcpu_set_state_locked() 1172 vcpu_require_state(struct vcpu *vcpu, enum vcpu_state newstate) in vcpu_require_state() argument 1176 if ((error = vcpu_set_state(vcpu, newstate, false)) != 0) in vcpu_require_state() 1177 panic("Error %d setting state to %d\n", error, newstate); in vcpu_require_state() 1181 vcpu_require_state_locked(struct vcpu *vcpu, enum vcpu_state newstate) in vcpu_require_state_locked() argument [all …]
|
/freebsd/share/dtrace/ |
H A D | tcpstate | 40 newstate = args[3]->tcps_state; 43 tcp_state_string[newstate]);
|
H A D | tcptrack | 76 newstate = args[3]->tcps_state; 79 tcp_state_string[newstate]);
|
/freebsd/sys/amd64/vmm/ |
H A D | vmm.c | 992 vcpu_set_state_locked(struct vcpu *vcpu, enum vcpu_state newstate, in vcpu_set_state_locked() argument 1035 error = (newstate != VCPU_FROZEN); in vcpu_set_state_locked() 1038 error = (newstate == VCPU_FROZEN); in vcpu_set_state_locked() 1049 vcpu_state2str(vcpu->state), vcpu_state2str(newstate)); in vcpu_set_state_locked() 1051 vcpu->state = newstate; in vcpu_set_state_locked() 1052 if (newstate == VCPU_RUNNING) in vcpu_set_state_locked() 1057 if (newstate == VCPU_IDLE) in vcpu_set_state_locked() 1064 vcpu_require_state(struct vcpu *vcpu, enum vcpu_state newstate) in vcpu_require_state() argument 1068 if ((error = vcpu_set_state(vcpu, newstate, false)) != 0) in vcpu_require_state() 1069 panic("Error %d setting state to %d\n", error, newstate); in vcpu_require_state() [all …]
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | engine.c | 247 int newstate; local 353 newstate = cmds[i].cm_next; 357 curstate, newstate, next_states[curstate]); 359 if (newstate != ST_NONE && !trans_ok(curstate, newstate)) 365 newstate, MI_MASK(newstate), 378 if (!trans_ok(curstate, newstate)) 399 if (newstate != ST_NONE) 401 curstate = newstate;
|
/freebsd/crypto/openssl/util/ |
H A D | mkerr.pl | 290 my $newstate = 0; 296 $newstate = 1; 668 if ( $newstate ) {
|
/freebsd/tools/tools/net80211/mlme_assoc/ |
H A D | README | 43 The tool is useful to trigger net80211::newstate() changes while other 44 newstate() changes are pending or being executed.
|
/freebsd/sys/amd64/vmm/io/ |
H A D | vatpic.c | 116 static void vatpic_set_pinstate(struct vatpic *vatpic, int pin, bool newstate); 418 vatpic_set_pinstate(struct vatpic *vatpic, int pin, bool newstate) in vatpic_set_pinstate() argument 432 if (newstate) in vatpic_set_pinstate() 455 pin, newstate ? "asserted" : "deasserted", newcnt); in vatpic_set_pinstate()
|
H A D | vioapic.c | 137 vioapic_set_pinstate(struct vioapic *vioapic, int pin, bool newstate) in vioapic_set_pinstate() argument 149 if (newstate) in vioapic_set_pinstate() 168 pin, pinstate_str(newstate), newcnt); in vioapic_set_pinstate()
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_uralvar.h | 78 int (*newstate)(struct ieee80211vap *, member
|
H A D | if_urtwvar.h | 89 int (*newstate)(struct ieee80211vap *, member
|
H A D | if_rumvar.h | 94 int (*newstate)(struct ieee80211vap *, member
|
H A D | if_runvar.h | 119 int (*newstate)(struct ieee80211vap *, member
|
H A D | if_uathvar.h | 179 int (*newstate)(struct ieee80211vap *, member
|
H A D | if_mtwvar.h | 166 int (*newstate)(struct ieee80211vap *, member
|
/freebsd/usr.sbin/apm/ |
H A D | apm.c | 332 apm_display(int fd, int newstate) in apm_display() argument 334 if (ioctl(fd, APMIO_DISPLAY, &newstate) == -1) in apm_display()
|
/freebsd/sys/dev/ipw/ |
H A D | if_ipwvar.h | 87 int (*newstate)(struct ieee80211vap *, member
|
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_core.c | 168 vchiq_set_service_state(VCHIQ_SERVICE_T *service, int newstate) in vchiq_set_service_state() argument 173 srvstate_names[newstate]); in vchiq_set_service_state() 174 service->srvstate = newstate; in vchiq_set_service_state() 410 vchiq_set_conn_state(VCHIQ_STATE_T *state, VCHIQ_CONNSTATE_T newstate) in vchiq_set_conn_state() argument 415 conn_state_names[newstate]); in vchiq_set_conn_state() 416 state->conn_state = newstate; in vchiq_set_conn_state() 417 vchiq_platform_conn_state_changed(state, oldstate, newstate); in vchiq_set_conn_state() 2823 int newstate; in close_service_complete() local 2833 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete() 2835 newstate = VCHIQ_SRVSTATE_CLOSEWAIT; in close_service_complete() [all …]
|
H A D | vchiq_core.h | 700 VCHIQ_CONNSTATE_T oldstate, VCHIQ_CONNSTATE_T newstate); 706 vchiq_set_conn_state(VCHIQ_STATE_T *state, VCHIQ_CONNSTATE_T newstate);
|
/freebsd/sys/dev/usb/net/ |
H A D | if_umb.c | 1021 umb_newstate(struct umb_softc *sc, enum umb_state newstate, int flags) in umb_newstate() argument 1025 if (newstate == sc->sc_state) in umb_newstate() 1027 if (((flags & UMB_NS_DONT_DROP) && newstate < sc->sc_state) || in umb_newstate() 1028 ((flags & UMB_NS_DONT_RAISE) && newstate > sc->sc_state)) in umb_newstate() 1032 DEVNAM(sc), newstate > sc->sc_state ? "up" : "down", in umb_newstate() 1033 umb_istate(sc->sc_state), umb_istate(newstate)); in umb_newstate() 1034 sc->sc_state = newstate; in umb_newstate()
|
/freebsd/sys/nlm/ |
H A D | nlm_prot_impl.c | 763 nlm_host_notify(struct nlm_host *host, int newstate) in nlm_host_notify() argument 767 if (newstate) { in nlm_host_notify() 770 host->nh_sysid, newstate); in nlm_host_notify() 791 host->nh_state = newstate; in nlm_host_notify() 798 if (newstate != 0 in nlm_host_notify()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_stats.h | 762 inline void setState(stats_state_e newstate) { state = newstate; } in setState() argument
|