Home
last modified time | relevance | path

Searched refs:newstate (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/sys/xen/xenbus/
H A Dxenbusb.c138 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 Dvmm.c810 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 Dzfs_mod.c200 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 Dvmm.c1106 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 Dtcpstate40 newstate = args[3]->tcps_state;
43 tcp_state_string[newstate]);
H A Dtcptrack76 newstate = args[3]->tcps_state;
79 tcp_state_string[newstate]);
/freebsd/sys/amd64/vmm/
H A Dvmm.c992 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 Dengine.c247 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 Dmkerr.pl290 my $newstate = 0;
296 $newstate = 1;
668 if ( $newstate ) {
/freebsd/tools/tools/net80211/mlme_assoc/
H A DREADME43 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 Dvatpic.c116 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 Dvioapic.c137 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 Dif_uralvar.h78 int (*newstate)(struct ieee80211vap *, member
H A Dif_urtwvar.h89 int (*newstate)(struct ieee80211vap *, member
H A Dif_rumvar.h94 int (*newstate)(struct ieee80211vap *, member
H A Dif_runvar.h119 int (*newstate)(struct ieee80211vap *, member
H A Dif_uathvar.h179 int (*newstate)(struct ieee80211vap *, member
H A Dif_mtwvar.h166 int (*newstate)(struct ieee80211vap *, member
/freebsd/usr.sbin/apm/
H A Dapm.c332 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 Dif_ipwvar.h87 int (*newstate)(struct ieee80211vap *, member
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c168 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 Dvchiq_core.h700 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 Dif_umb.c1021 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 Dnlm_prot_impl.c763 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 Dkmp_stats.h762 inline void setState(stats_state_e newstate) { state = newstate; } in setState() argument

123