Lines Matching refs:user_record

64                 .user_record = user_record_ref(ur),  in user_new()
126 hashmap_remove_value(u->manager->users, UID_TO_PTR(u->user_record->uid), u); in user_free()
138 user_record_unref(u->user_record); in user_free()
166 u->user_record->user_name, in user_save_internal()
388 if (u->user_record->tasks_max == UINT64_MAX && in user_update_slice()
389 u->user_record->memory_high == UINT64_MAX && in user_update_slice()
390 u->user_record->memory_max == UINT64_MAX && in user_update_slice()
391 u->user_record->cpu_weight == UINT64_MAX && in user_update_slice()
392 u->user_record->io_weight == UINT64_MAX) in user_update_slice()
417 { "TasksMax", u->user_record->tasks_max }, in user_update_slice()
418 { "MemoryMax", u->user_record->memory_max }, in user_update_slice()
419 { "MemoryHigh", u->user_record->memory_high }, in user_update_slice()
420 { "CPUWeight", u->user_record->cpu_weight }, in user_update_slice()
421 { "IOWeight", u->user_record->io_weight }, in user_update_slice()
435 r = sd_bus_call_async(u->manager->bus, NULL, m, update_slice_callback, u->user_record, 0); in user_update_slice()
440 user_record_ref(u->user_record); in user_update_slice()
458 log_debug("Starting services for new user %s.", u->user_record->user_name); in user_start()
544 log_debug("User %s logged out.", u->user_record->user_name); in user_finalize()
558 if (u->manager->remove_ipc && !uid_is_system(u->user_record->uid)) { in user_finalize()
559 k = clean_ipc_by_uid(u->user_record->uid); in user_finalize()
614 cc = cescape(u->user_record->user_name); in user_check_linger_file()
652 if (u->user_record->stop_delay_usec != UINT64_MAX) in user_get_stop_delay()
653 return u->user_record->stop_delay_usec; in user_get_stop_delay()
655 if (user_record_removable(u->user_record) > 0) in user_get_stop_delay()
806 log_debug("Electing new display for user %s", u->user_record->user_name); in user_elect_display()
869 u->user_record->user_name, in user_update_last_session_timer()