Searched refs:new_user (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/kernel/
H A Dsys.c423 struct user_struct *new_user; set_user() local
425 new_user = alloc_uid(new->uid); set_user()
426 if (!new_user) set_user()
436 if (atomic_read(&new_user->processes) >= rlimit(RLIMIT_NPROC) && set_user()
437 new_user != INIT_USER) set_user()
443 new->user = new_user; set_user()
/linux-4.4.14/drivers/char/ipmi/
H A Dipmi_msghandler.c925 ipmi_user_t new_user; ipmi_create_user() local
957 new_user = kmalloc(sizeof(*new_user), GFP_KERNEL); ipmi_create_user()
958 if (!new_user) ipmi_create_user()
974 kref_init(&new_user->refcount); ipmi_create_user()
975 new_user->handler = handler; ipmi_create_user()
976 new_user->handler_data = handler_data; ipmi_create_user()
977 new_user->intf = intf; ipmi_create_user()
978 new_user->gets_events = false; ipmi_create_user()
999 new_user->valid = true; ipmi_create_user()
1001 list_add_rcu(&new_user->link, &intf->users); ipmi_create_user()
1008 *user = new_user; ipmi_create_user()
1015 kfree(new_user); ipmi_create_user()

Completed in 171 milliseconds