Searched defs:state_file (Results 1 - 11 of 11) sorted by relevance
/systemd/src/login/ |
H A D | logind-seat.h | 31 char *state_file; member in struct:Seat
|
H A D | logind-user.h | 43 char *state_file; member in struct:User
|
H A D | logind-inhibit.h | 52 char *state_file; member in struct:Inhibitor
|
H A D | logind-session.h | 75 char *state_file; member in struct:Session
|
/systemd/src/network/ |
H A D | networkd.h | 54 char *state_file; member in struct:Manager
|
H A D | networkd-link.h | 68 char *state_file; member in struct:Link
|
/systemd/src/journal-remote/ |
H A D | journal-upload.h | 47 const char *state_file; member in struct:Uploader
|
H A D | journal-upload.c | 106 if (!u->state_file) 109 r = mkdir_parents(u->state_file, 0755); 112 u->state_file); 114 r = fopen_temporary(u->state_file, &f, &temp_path); 117 u->state_file); 128 if (!u->state_file || !u->last_cursor) 131 r = fopen_temporary(u->state_file, &f, &temp_path); 144 if (rename(temp_path, u->state_file) < 0) { 155 (void) unlink(u->state_file); 157 return log_error_errno(r, "Failed to save state %s: %m", u->state_file); 425 setup_uploader(Uploader *u, const char *url, const char *state_file) argument [all...] |
/systemd/src/rfkill/ |
H A D | rfkill.c | 166 char *state_file; local 187 state_file = strjoin("/var/lib/systemd/rfkill/", escaped_path_id, ":", type, NULL); 189 state_file = strjoin("/var/lib/systemd/rfkill/", type, NULL); 191 if (!state_file) 194 *ret = state_file; 204 _cleanup_free_ char *state_file = NULL, *value = NULL; local 220 r = determine_state_file(udev, event, device, &state_file); 224 r = read_one_line_file(state_file, &value); 228 r = write_string_file(state_file, one_zero(event->soft), WRITE_STRING_FILE_CREATE|WRITE_STRING_FILE_ATOMIC); 230 return log_error_errno(r, "Failed to write state file %s: %m", state_file); 266 _cleanup_free_ char *state_file = NULL; local [all...] |
/systemd/src/machine/ |
H A D | machine.h | 71 char *state_file; member in struct:Machine
|
/systemd/src/journal/ |
H A D | journald-stream.c | 87 char *state_file; member in struct:StdoutStream 115 free(s->state_file); 126 if (s->state_file) 127 (void) unlink(s->state_file); 142 if (!s->state_file) { 150 if (asprintf(&s->state_file, "/run/systemd/journal/streams/%lu:%lu", (unsigned long) st.st_dev, (unsigned long) st.st_ino) < 0) 156 r = fopen_temporary(s->state_file, &f, &temp_path); 201 if (rename(temp_path, s->state_file) < 0) { 220 (void) unlink(s->state_file); 225 return log_error_errno(r, "Failed to save stream data %s: %m", s->state_file); [all...] |
Completed in 1244 milliseconds