Lines Matching refs:state_file
341 r = asprintf(&link->state_file, "/run/systemd/netif/links/%d",
417 (void)unlink(link->state_file);
418 free(link->state_file);
1717 (void)unlink(link->state_file);
2252 r = parse_env_file(link->state_file, NEWLINE,
2260 return log_link_error_errno(link, r, "Failed to read %s: %m", link->state_file);
2702 assert(link->state_file);
2707 unlink(link->state_file);
2717 r = fopen_temporary(link->state_file, &f, &temp_path);
2967 if (rename(temp_path, link->state_file) < 0) {
2975 (void) unlink(link->state_file);
2979 return log_link_error_errno(link, r, "Failed to save link data to %s: %m", link->state_file);