| /f-stack/freebsd/contrib/openzfs/cmd/zed/agents/ |
| H A D | zfs_mod.c | 182 vdev_state_t newstate; in zfs_process_add() local 253 ZFS_ONLINE_CHECKREMOVE | ZFS_ONLINE_UNSPARE, &newstate) == 0 && in zfs_process_add() 254 (newstate == VDEV_STATE_HEALTHY || in zfs_process_add() 255 newstate == VDEV_STATE_DEGRADED)) { in zfs_process_add() 257 fullpath, (newstate == VDEV_STATE_HEALTHY) ? in zfs_process_add() 276 &newstate); in zfs_process_add() 295 &newstate); in zfs_process_add() 341 ZFS_ONLINE_FORCEFAULT, &newstate); in zfs_process_add() 382 ZFS_ONLINE_FORCEFAULT, &newstate); in zfs_process_add() 778 vdev_state_t newstate; in zfsdle_vdev_online() local [all …]
|
| /f-stack/freebsd/amd64/vmm/ |
| H A D | vmm.c | 1220 error = (newstate != VCPU_FROZEN); in vcpu_set_state_locked() 1223 error = (newstate == VCPU_FROZEN); in vcpu_set_state_locked() 1234 vcpu_state2str(vcpu->state), vcpu_state2str(newstate)); in vcpu_set_state_locked() 1236 vcpu->state = newstate; in vcpu_set_state_locked() 1237 if (newstate == VCPU_RUNNING) in vcpu_set_state_locked() 1242 if (newstate == VCPU_IDLE) in vcpu_set_state_locked() 1253 if ((error = vcpu_set_state(vm, vcpuid, newstate, false)) != 0) in vcpu_require_state() 1254 panic("Error %d setting state to %d\n", error, newstate); in vcpu_require_state() 1263 panic("Error %d setting state to %d", error, newstate); in vcpu_require_state_locked() 2324 vcpu_set_state(struct vm *vm, int vcpuid, enum vcpu_state newstate, in vcpu_set_state() argument [all …]
|
| /f-stack/freebsd/amd64/vmm/io/ |
| H A D | vioapic.c | 134 vioapic_set_pinstate(struct vioapic *vioapic, int pin, bool newstate) in vioapic_set_pinstate() argument 146 if (newstate) in vioapic_set_pinstate() 165 pin, pinstate_str(newstate), newcnt); in vioapic_set_pinstate()
|
| H A D | vatpic.c | 118 static void vatpic_set_pinstate(struct vatpic *vatpic, int pin, bool newstate); 420 vatpic_set_pinstate(struct vatpic *vatpic, int pin, bool newstate) in vatpic_set_pinstate() argument 434 if (newstate) in vatpic_set_pinstate() 457 pin, newstate ? "asserted" : "deasserted", newcnt); in vatpic_set_pinstate()
|
| /f-stack/freebsd/contrib/vchiq/interface/vchiq_arm/ |
| 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);
|
| 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() 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() 2837 newstate = VCHIQ_SRVSTATE_CLOSED; in close_service_complete() [all …]
|
| 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()
|
| /f-stack/freebsd/netinet6/ |
| H A D | nd6.h | 369 void nd6_llinfo_setstate(struct llentry *lle, int newstate);
|
| H A D | nd6.c | 684 nd6_llinfo_setstate(struct llentry *lle, int newstate) in nd6_llinfo_setstate() argument 693 switch (newstate) { in nd6_llinfo_setstate() 729 lle->ln_state = newstate; in nd6_llinfo_setstate()
|
| /f-stack/tools/compat/include/netinet6/ |
| H A D | nd6.h | 369 void nd6_llinfo_setstate(struct llentry *lle, int newstate);
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_subr.c | 3424 tcp_state_change(struct tcpcb *tp, int newstate) in tcp_state_change() argument 3431 TCPSTATES_INC(newstate); in tcp_state_change() 3432 tp->t_state = newstate; in tcp_state_change()
|
| /f-stack/freebsd/net/ |
| H A D | if_spppsubr.c | 274 int newstate); 2082 sppp_cp_change_state(const struct cp *cp, struct sppp *sp, int newstate) in sppp_cp_change_state() argument 2084 sp->state[cp->protoidx] = newstate; in sppp_cp_change_state() 2088 switch (newstate) { in sppp_cp_change_state()
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 3798 vdev_state_t newstate = VDEV_STATE_UNKNOWN; in online_vdev() local 3806 error = vdev_online(spa, guid, ZFS_ONLINE_EXPAND, &newstate); in online_vdev() 3814 if (error || newstate != VDEV_STATE_HEALTHY) { in online_vdev() 3817 "error %d\n", (u_longlong_t)newstate, error); in online_vdev() 3821 ASSERT3U(newstate, ==, VDEV_STATE_HEALTHY); in online_vdev()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev.c | 3724 vdev_online(spa_t *spa, uint64_t guid, uint64_t flags, vdev_state_t *newstate) in vdev_online() argument 3763 if (newstate) in vdev_online() 3764 *newstate = vd->vdev_state; in vdev_online()
|
| H A D | zfs_ioctl.c | 1894 vdev_state_t newstate = VDEV_STATE_UNKNOWN; in zfs_ioc_vdev_set_state() local 1900 error = vdev_online(spa, zc->zc_guid, zc->zc_obj, &newstate); in zfs_ioc_vdev_set_state() 1927 zc->zc_cookie = newstate; in zfs_ioc_vdev_set_state()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_pool.c | 2935 vdev_state_t *newstate) in zpool_vdev_online() argument 3013 *newstate = zc.zc_cookie; in zpool_vdev_online()
|
| H A D | libzfs.abi | 2680 …<parameter type-id='type-id-210' name='newstate' filepath='/home/fedora/zfs/lib/libzfs/libzfs_pool…
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 6656 vdev_state_t newstate; in zpool_do_online() local 6691 if (zpool_vdev_online(zhp, argv[i], flags, &newstate) == 0) { in zpool_do_online() 6692 if (newstate != VDEV_STATE_HEALTHY) { in zpool_do_online() 6696 if (newstate == VDEV_STATE_FAULTED) in zpool_do_online()
|