Searched refs:add_arg (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/arch/x86/kernel/cpu/sgx/ |
D | ioctl.c | 409 struct sgx_enclave_add_pages add_arg; in sgx_ioc_enclave_add_pages() local 418 if (copy_from_user(&add_arg, arg, sizeof(add_arg))) in sgx_ioc_enclave_add_pages() 421 if (!IS_ALIGNED(add_arg.src, PAGE_SIZE)) in sgx_ioc_enclave_add_pages() 424 if (sgx_validate_offset_length(encl, add_arg.offset, add_arg.length)) in sgx_ioc_enclave_add_pages() 427 if (copy_from_user(&secinfo, (void __user *)add_arg.secinfo, in sgx_ioc_enclave_add_pages() 434 for (c = 0 ; c < add_arg.length; c += PAGE_SIZE) { in sgx_ioc_enclave_add_pages() 445 ret = sgx_encl_add_page(encl, add_arg.src + c, add_arg.offset + c, in sgx_ioc_enclave_add_pages() 446 &secinfo, add_arg.flags); in sgx_ioc_enclave_add_pages() 451 add_arg.count = c; in sgx_ioc_enclave_add_pages() 453 if (copy_to_user(arg, &add_arg, sizeof(add_arg))) in sgx_ioc_enclave_add_pages()
|
/Linux-v6.1/arch/um/kernel/ |
D | um_arch.c | 41 static void __init add_arg(char *arg) in add_arg() function 320 add_arg(argv[i]); in linux_main() 323 add_arg(DEFAULT_COMMAND_LINE_ROOT); in linux_main() 326 add_arg(DEFAULT_COMMAND_LINE_CONSOLE); in linux_main()
|