Lines Matching refs:k

200                 int k;  in manager_enumerate_devices()  local
202 k = manager_process_seat_device(m, d); in manager_enumerate_devices()
203 if (k < 0) in manager_enumerate_devices()
204 r = k; in manager_enumerate_devices()
235 int k; in manager_enumerate_buttons() local
237 k = manager_process_button_device(m, d); in manager_enumerate_buttons()
238 if (k < 0) in manager_enumerate_buttons()
239 r = k; in manager_enumerate_buttons()
265 int k; in manager_enumerate_seats() local
278 k = seat_load(s); in manager_enumerate_seats()
279 if (k < 0) in manager_enumerate_seats()
280 r = k; in manager_enumerate_seats()
301 int k; in manager_enumerate_linger_users() local
306 k = manager_add_user_by_name(m, de->d_name, NULL); in manager_enumerate_linger_users()
307 if (k < 0) in manager_enumerate_linger_users()
308 … r = log_warning_errno(k, "Couldn't add lingering user %s, ignoring: %m", de->d_name); in manager_enumerate_linger_users()
316 int r, k; in manager_enumerate_users() local
339 k = parse_uid(de->d_name, &uid); in manager_enumerate_users()
340 if (k < 0) { in manager_enumerate_users()
341 … r = log_warning_errno(k, "Failed to parse filename /run/systemd/users/%s as UID.", de->d_name); in manager_enumerate_users()
345 k = manager_add_user_by_uid(m, uid, &u); in manager_enumerate_users()
346 if (k < 0) { in manager_enumerate_users()
347 … r = log_warning_errno(k, "Failed to add user by file name %s, ignoring: %m", de->d_name); in manager_enumerate_users()
353 k = user_load(u); in manager_enumerate_users()
354 if (k < 0) in manager_enumerate_users()
355 r = k; in manager_enumerate_users()
474 int r = 0, k; in manager_enumerate_sessions() local
493 k = manager_add_session(m, de->d_name, &s); in manager_enumerate_sessions()
494 if (k < 0) { in manager_enumerate_sessions()
495 … r = log_warning_errno(k, "Failed to add session by file name %s, ignoring: %m", de->d_name); in manager_enumerate_sessions()
501 k = session_load(s); in manager_enumerate_sessions()
502 if (k < 0) in manager_enumerate_sessions()
503 r = k; in manager_enumerate_sessions()
528 int k; in manager_enumerate_inhibitors() local
534 k = manager_add_inhibitor(m, de->d_name, &i); in manager_enumerate_inhibitors()
535 if (k < 0) { in manager_enumerate_inhibitors()
536 … r = log_warning_errno(k, "Couldn't add inhibitor %s, ignoring: %m", de->d_name); in manager_enumerate_inhibitors()
540 k = inhibitor_load(i); in manager_enumerate_inhibitors()
541 if (k < 0) in manager_enumerate_inhibitors()
542 r = k; in manager_enumerate_inhibitors()