Home
last modified time | relevance | path

Searched refs:add_arg (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/arch/x86/kernel/cpu/sgx/
Dioctl.c409 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-6.12.1/arch/um/kernel/
Dum_arch.c43 static void __init add_arg(char *arg) in add_arg() function
319 add_arg(argv[i]); in linux_main()
322 add_arg(DEFAULT_COMMAND_LINE_ROOT); in linux_main()
325 add_arg(DEFAULT_COMMAND_LINE_CONSOLE); in linux_main()
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dchan.c1623 struct rtw89_fw_mrc_add_arg add_arg = {}; in __mrc_fw_start() local
1635 add_arg.sch_idx = mcc->group; in __mrc_fw_start()
1636 add_arg.sch_type = RTW89_H2C_MRC_SCH_BAND0_ONLY; in __mrc_fw_start()
1640 __mrc_fw_add_role(rtwdev, ref, &add_arg, 0); in __mrc_fw_start()
1641 __mrc_fw_add_role(rtwdev, aux, &add_arg, 1); in __mrc_fw_start()
1642 __mrc_fw_add_bt_role(rtwdev, &add_arg, 2); in __mrc_fw_start()
1644 add_arg.slot_num = 3; in __mrc_fw_start()
1645 add_arg.btc_in_sch = true; in __mrc_fw_start()
1648 __mrc_fw_add_role(rtwdev, ref, &add_arg, 0); in __mrc_fw_start()
1649 __mrc_fw_add_bt_role(rtwdev, &add_arg, 1); in __mrc_fw_start()
[all …]