Home
last modified time | relevance | path

Searched refs:newcon (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/kernel/printk/
H A Dprintk.c3794 if (!newcon->setup) in console_call_setup()
3799 err = newcon->setup(newcon, options); in console_call_setup()
3828 if (!newcon->match || in try_enable_preferred_console()
3829 newcon->match(newcon, c->name, c->index, c->options) != 0) { in try_enable_preferred_console()
3868 newcon->index = 0; in try_enable_default_console()
3875 if (newcon->device) in try_enable_default_console()
4004 newcon->name, newcon->index); in register_console()
4046 nbcon_free(newcon); in register_console()
4061 newcon->dropped = 0; in register_console()
4086 newcon->device_lock(newcon, &flags); in register_console()
[all …]
/linux-6.15/security/selinux/
H A Dselinuxfs.c765 if (!newcon) in sel_write_validatetrans()
794 kfree(newcon); in sel_write_validatetrans()
911 char *newcon = NULL; in sel_write_create() local
998 kfree(newcon); in sel_write_create()
1011 char *newcon = NULL; in sel_write_relabel() local
1057 kfree(newcon); in sel_write_relabel()
1068 char *newcon; in sel_write_user() local
1113 kfree(newcon); in sel_write_user()
1118 kfree(newcon); in sel_write_user()
1135 char *newcon = NULL; in sel_write_member() local
[all …]
/linux-6.15/fs/dlm/
H A Dlowcomms.c985 struct connection *newcon; in accept_from_sock() local
1040 newcon = nodeid2con(nodeid, 0); in accept_from_sock()
1041 if (WARN_ON_ONCE(!newcon)) { in accept_from_sock()
1049 down_write(&newcon->sock_lock); in accept_from_sock()
1050 if (newcon->sock) { in accept_from_sock()
1057 up_write(&newcon->sock_lock); in accept_from_sock()
1065 newcon->othercon = othercon; in accept_from_sock()
1085 add_sock(newsock, newcon); in accept_from_sock()
1088 lock_sock(newcon->sock->sk); in accept_from_sock()
1089 lowcomms_queue_rwork(newcon); in accept_from_sock()
[all …]
/linux-6.15/security/selinux/ss/
H A Dservices.c3199 struct context newcon; in security_sid_mls_copy() local
3211 context_init(&newcon); in security_sid_mls_copy()
3239 newcon.user = context1->user; in security_sid_mls_copy()
3240 newcon.role = context1->role; in security_sid_mls_copy()
3241 newcon.type = context1->type; in security_sid_mls_copy()
3242 rc = mls_context_cpy(&newcon, context2); in security_sid_mls_copy()
3247 if (!policydb_context_isvalid(policydb, &newcon)) { in security_sid_mls_copy()
3249 &newcon); in security_sid_mls_copy()
3268 rc = sidtab_context_to_sid(sidtab, &newcon, new_sid); in security_sid_mls_copy()
3271 context_destroy(&newcon); in security_sid_mls_copy()
[all …]