Home
last modified time | relevance | path

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

/linux-2.6.39/kernel/
Dprintk.c1362 void register_console(struct console *newcon) in register_console() argument
1372 if (console_drivers && newcon->flags & CON_BOOT) { in register_console()
1377 newcon->name, newcon->index); in register_console()
1389 if (newcon->early_setup) in register_console()
1390 newcon->early_setup(); in register_console()
1398 if (newcon->index < 0) in register_console()
1399 newcon->index = 0; in register_console()
1400 if (newcon->setup == NULL || in register_console()
1401 newcon->setup(newcon, NULL) == 0) { in register_console()
1402 newcon->flags |= CON_ENABLED; in register_console()
[all …]
/linux-2.6.39/fs/dlm/
Dlowcomms.c718 struct connection *newcon; in tcp_accept_from_sock() local
764 newcon = nodeid2con(nodeid, GFP_NOFS); in tcp_accept_from_sock()
765 if (!newcon) { in tcp_accept_from_sock()
769 mutex_lock_nested(&newcon->sock_mutex, 1); in tcp_accept_from_sock()
770 if (newcon->sock) { in tcp_accept_from_sock()
771 struct connection *othercon = newcon->othercon; in tcp_accept_from_sock()
777 mutex_unlock(&newcon->sock_mutex); in tcp_accept_from_sock()
789 newcon->othercon = othercon; in tcp_accept_from_sock()
798 mutex_unlock(&newcon->sock_mutex); in tcp_accept_from_sock()
803 newsock->sk->sk_user_data = newcon; in tcp_accept_from_sock()
[all …]
/linux-2.6.39/security/selinux/
Dselinuxfs.c759 char *newcon = NULL; in sel_write_create() local
792 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_create()
803 memcpy(buf, newcon, len); in sel_write_create()
806 kfree(newcon); in sel_write_create()
818 char *newcon = NULL; in sel_write_relabel() local
851 length = security_sid_to_context(newsid, &newcon, &len); in sel_write_relabel()
859 memcpy(buf, newcon, len); in sel_write_relabel()
862 kfree(newcon); in sel_write_relabel()
873 char *newcon; in sel_write_user() local
906 rc = security_sid_to_context(sids[i], &newcon, &len); in sel_write_user()
[all …]
/linux-2.6.39/security/selinux/ss/
Dservices.c2496 struct context newcon; in security_sid_mls_copy() local
2507 context_init(&newcon); in security_sid_mls_copy()
2527 newcon.user = context1->user; in security_sid_mls_copy()
2528 newcon.role = context1->role; in security_sid_mls_copy()
2529 newcon.type = context1->type; in security_sid_mls_copy()
2530 rc = mls_context_cpy(&newcon, context2); in security_sid_mls_copy()
2535 if (!policydb_context_isvalid(&policydb, &newcon)) { in security_sid_mls_copy()
2536 rc = convert_context_handle_invalid_context(&newcon); in security_sid_mls_copy()
2538 if (!context_struct_to_string(&newcon, &s, &len)) { in security_sid_mls_copy()
2547 rc = sidtab_context_to_sid(&sidtab, &newcon, new_sid); in security_sid_mls_copy()
[all …]