Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/char/ipmi/
Dipmi_msghandler.c1180 struct ipmi_user *new_user; in ipmi_create_user() local
1203 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 …]
/Linux-v5.4/kernel/
Dsys.c454 struct user_struct *new_user; in set_user() local
456 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()