Searched refs:new_user (Results 1 – 2 of 2) sorted by relevance
1180 struct ipmi_user *new_user; in ipmi_create_user() local1203 new_user = kmalloc(sizeof(*new_user), GFP_KERNEL); in ipmi_create_user()1204 if (!new_user) in ipmi_create_user()1217 INIT_WORK(&new_user->remove_work, free_user_work); in ipmi_create_user()1219 rv = init_srcu_struct(&new_user->release_barrier); in ipmi_create_user()1226 kref_init(&new_user->refcount); in ipmi_create_user()1227 new_user->handler = handler; in ipmi_create_user()1228 new_user->handler_data = handler_data; in ipmi_create_user()1229 new_user->intf = intf; in ipmi_create_user()1230 new_user->gets_events = false; in ipmi_create_user()[all …]
454 struct user_struct *new_user; in set_user() local456 new_user = alloc_uid(new->uid); in set_user()457 if (!new_user) in set_user()467 if (atomic_read(&new_user->processes) >= rlimit(RLIMIT_NPROC) && in set_user()468 new_user != INIT_USER) in set_user()474 new->user = new_user; in set_user()