Lines Matching refs:SWAP_SUCCESS
718 if (s->result == SWAP_SUCCESS) in swap_enter_dead()
721 unit_log_result(UNIT(s), s->result == SWAP_SUCCESS, swap_result_to_string(s->result)); in swap_enter_dead()
723 swap_set_state(s, s->result != SWAP_SUCCESS ? SWAP_FAILED : SWAP_DEAD); in swap_enter_dead()
737 if (s->result == SWAP_SUCCESS) in swap_enter_active()
772 if (s->result == SWAP_SUCCESS) in swap_enter_signal()
791 swap_enter_signal(s, SWAP_DEACTIVATING_SIGKILL, SWAP_SUCCESS); in swap_enter_signal()
793 swap_enter_dead_or_active(s, SWAP_SUCCESS); in swap_enter_signal()
896 s->result = SWAP_SUCCESS; in swap_cycle_clear()
956 swap_enter_signal(s, SWAP_DEACTIVATING_SIGTERM, SWAP_SUCCESS); in swap_stop()
968 swap_enter_signal(s, SWAP_DEACTIVATING_SIGKILL, SWAP_SUCCESS); in swap_stop()
1015 else if (f != SWAP_SUCCESS) in swap_deserialize_item()
1058 f = SWAP_SUCCESS; in swap_sigchld_event()
1068 if (s->result == SWAP_SUCCESS) in swap_sigchld_event()
1082 f == SWAP_SUCCESS, in swap_sigchld_event()
1090 if (f == SWAP_SUCCESS || s->from_proc_swaps) in swap_sigchld_event()
1104 if (s->clean_result == SWAP_SUCCESS) in swap_sigchld_event()
1107 swap_enter_dead(s, SWAP_SUCCESS); in swap_sigchld_event()
1155 if (s->clean_result == SWAP_SUCCESS) in swap_dispatch_timer()
1242 swap_enter_dead(swap, SWAP_SUCCESS); in swap_process_proc_swaps()
1264 swap_enter_active(swap, SWAP_SUCCESS); in swap_process_proc_swaps()
1485 s->result = SWAP_SUCCESS; in swap_reset_failed()
1486 s->clean_result = SWAP_SUCCESS; in swap_reset_failed()
1556 s->clean_result = SWAP_SUCCESS; in swap_clean()
1610 [SWAP_SUCCESS] = "success",