Searched refs:new_state (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/core/ |
D | swap.c | 573 SwapState new_state = SWAP_DEAD; in swap_coldplug() local 580 new_state = s->deserialized_state; in swap_coldplug() 582 new_state = SWAP_ACTIVE; in swap_coldplug() 584 if (new_state == s->state) in swap_coldplug() 589 SWAP_STATE_WITH_PROCESS(new_state)) { in swap_coldplug() 600 if (!IN_SET(new_state, SWAP_DEAD, SWAP_FAILED)) { in swap_coldplug() 605 swap_set_state(s, new_state); in swap_coldplug()
|
D | mount.c | 732 MountState new_state = MOUNT_DEAD; in mount_coldplug() local 739 new_state = m->deserialized_state; in mount_coldplug() 741 new_state = MOUNT_MOUNTED; in mount_coldplug() 743 if (new_state == m->state) in mount_coldplug() 748 MOUNT_STATE_WITH_PROCESS(new_state)) { in mount_coldplug() 759 if (!IN_SET(new_state, MOUNT_DEAD, MOUNT_FAILED)) { in mount_coldplug() 764 mount_set_state(m, new_state); in mount_coldplug()
|
/systemd-251/src/home/ |
D | homed-home.c | 473 HomeState old_state, new_state; in home_set_state() local 479 …new_state = home_get_state(h); /* Query the new state, since the 'state' variable might be set to … in home_set_state() 484 home_state_to_string(new_state)); in home_set_state() 486 home_update_pin_fd(h, new_state); in home_set_state() 487 home_maybe_close_luks_lock_fd(h, new_state); in home_set_state() 488 home_maybe_stop_retry_deactivate(h, new_state); in home_set_state() 490 …f (HOME_STATE_IS_EXECUTING_OPERATION(old_state) && !HOME_STATE_IS_EXECUTING_OPERATION(new_state)) { in home_set_state()
|