/linux-master/fs/jfs/ |
H A D | jfs_unicode.h | 101 static inline wchar_t UniToupper(wchar_t uc) argument 105 if (uc < sizeof(NlsUniUpperTable)) { /* Latin characters */ 106 return uc + NlsUniUpperTable[uc]; /* Use base tables */ 110 if (uc < rp->start) /* Before start of range */ 111 return uc; /* Uppercase = input */ 112 if (uc <= rp->end) /* In range */ 113 return uc + rp->table[uc - rp->start]; 117 return uc; /* Pas [all...] |
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_preemption_timer_test.c | 161 struct ucall uc; local 184 switch (get_ucall(vcpu, &uc)) { 186 REPORT_GUEST_ASSERT(uc); 193 TEST_FAIL("Unknown ucall %lu", uc.cmd); 197 TEST_ASSERT(!strcmp((const char *)uc.args[0], "hello") && 198 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", 199 stage, (ulong)uc.args[1]); 211 stage, uc.args[2], uc.args[3]); 214 stage, uc [all...] |
H A D | cr4_cpuid_sync_test.c | 55 struct ucall uc; local 65 switch (get_ucall(vcpu, &uc)) { 73 REPORT_GUEST_ASSERT(uc); 78 TEST_FAIL("Unknown ucall %lu", uc.cmd);
|
H A D | vmx_close_while_nested_test.c | 64 struct ucall uc; local 72 switch (get_ucall(vcpu, &uc)) { 74 REPORT_GUEST_ASSERT(uc); 77 TEST_FAIL("Unknown ucall %lu", uc.cmd);
|
H A D | svm_vmcall_test.c | 50 struct ucall uc; local 55 switch (get_ucall(vcpu, &uc)) { 57 REPORT_GUEST_ASSERT(uc); 64 TEST_FAIL("Unknown ucall 0x%lx.", uc.cmd);
|
H A D | tsc_scaling_sync.c | 63 struct ucall uc; local 68 switch (get_ucall(vcpu, &uc)) { 74 uc.args[2], uc.args[3], uc.args[2] - uc.args[3]); 79 TEST_FAIL("Unknown ucall %lu", uc.cmd);
|
H A D | userspace_io_test.c | 59 struct ucall uc; local 70 if (get_ucall(vcpu, &uc)) 92 switch (uc.cmd) { 96 REPORT_GUEST_ASSERT(uc); 98 TEST_FAIL("Unknown ucall %lu", uc.cmd);
|
H A D | platform_info_test.c | 46 struct ucall uc; local 60 switch (get_ucall(vcpu, &uc)) { 62 vm_enable_cap(vm, KVM_CAP_MSR_PLATFORM_INFO, uc.args[1]); 67 REPORT_GUEST_ASSERT(uc); 69 TEST_FAIL("Unexpected ucall %lu", uc.cmd);
|
H A D | set_boot_cpu_id.c | 46 struct ucall uc; local 53 switch (get_ucall(vcpu, &uc)) { 55 TEST_ASSERT(!strcmp((const char *)uc.args[0], "hello") && 56 uc.args[1] == stage + 1, 58 stage + 1, (ulong)uc.args[1]); 67 REPORT_GUEST_ASSERT(uc);
|
/linux-master/tools/testing/selftests/arm64/signal/testcases/ |
H A D | zt_no_regs.c | 17 ucontext_t uc; member in union:__anon5138 21 int zt_no_regs_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument 30 if (!get_current_context(td, &context.uc, sizeof(context)))
|
H A D | fake_sigreturn_missing_fpsimd.c | 20 siginfo_t *si, ucontext_t *uc) 26 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) 37 ASSERT_BAD_CONTEXT(&sf.uc); 19 fake_sigreturn_missing_fpsimd_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument
|
H A D | fake_sigreturn_duplicated_fpsimd.c | 19 siginfo_t *si, ucontext_t *uc) 24 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) 38 ASSERT_BAD_CONTEXT(&sf.uc); 18 fake_sigreturn_duplicated_fpsimd_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument
|
H A D | fake_sigreturn_bad_size.c | 21 siginfo_t *si, ucontext_t *uc) 27 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) 49 ASSERT_GOOD_CONTEXT(&sf.uc); 65 ASSERT_BAD_CONTEXT(&sf.uc); 20 fake_sigreturn_bad_size_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument
|
H A D | sme_vl.c | 30 static int sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument 37 if (!get_current_context(td, &sf.uc, sizeof(sf.uc)))
|
H A D | sve_vl.c | 30 static int sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument 37 if (!get_current_context(td, &sf.uc, sizeof(sf.uc)))
|
/linux-master/arch/parisc/include/asm/ |
H A D | rt_sigframe.h | 8 struct ucontext uc; member in struct:rt_sigframe
|
/linux-master/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | ucall.c | 11 void ucall_arch_do_ucall(vm_vaddr_t uc) argument 41 : : [port] "d" (UCALL_PIO_PORT), "D" (uc) : "rax", "memory",
|
/linux-master/fs/nls/ |
H A D | nls_ucs2_utils.h | 69 static inline wchar_t *UniStrchr(const wchar_t *ucs, wchar_t uc) argument 71 while ((*ucs != uc) && *ucs) 74 if (*ucs == uc) 249 static inline wchar_t UniToupper(register wchar_t uc) argument 253 if (uc < sizeof(NlsUniUpperTable)) { 255 return uc + NlsUniUpperTable[uc]; /* Use base tables */ 260 if (uc < rp->start) /* Before start of range */ 261 return uc; /* Uppercase = input */ 262 if (uc < [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | nx_stack.c | 121 ucontext_t *uc = uc_; local 125 stack_min_addr = ++uc->uc_mcontext.gregs[RDI]; 129 uc->uc_mcontext.gregs[RIP] = (uintptr_t)&make_stack2; 133 unsigned long stack_max_addr = uc->uc_mcontext.gregs[RDI]; 138 uc->uc_mcontext.gregs[RIP] = stack_max_addr - PAGE_SIZE; 142 uc->uc_mcontext.gregs[RIP] -= PAGE_SIZE; 143 if (uc->uc_mcontext.gregs[RIP] == stack_min_addr) { 155 const ucontext_t *uc = uc_; local 156 unsigned long rip = uc->uc_mcontext.gregs[RIP];
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | system_counter_offset_test.c | 72 static void handle_sync(struct ucall *uc, uint64_t start, uint64_t end) argument 74 uint64_t obs = uc->args[2]; 84 static void handle_abort(struct ucall *uc) argument 86 REPORT_GUEST_ASSERT(*uc); 92 struct ucall uc; local 103 switch (get_ucall(vcpu, &uc)) { 105 handle_sync(&uc, start, end); 108 handle_abort(&uc); 112 get_ucall(vcpu, &uc));
|
/linux-master/arch/x86/include/asm/ |
H A D | sigframe.h | 51 struct ucontext_ia32 uc; member in struct:rt_sigframe_ia32 61 struct ucontext uc; member in struct:rt_sigframe 79 struct ucontext_x32 uc; member in struct:rt_sigframe_x32
|
/linux-master/arch/arm64/kernel/ |
H A D | signal32.c | 190 err = get_sigset_t(&set, &sf->uc.uc_sigmask); 194 __get_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); 195 __get_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); 196 __get_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); 197 __get_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); 198 __get_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); 199 __get_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); 200 __get_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); 201 __get_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); 202 __get_user_error(regs->regs[8], &sf->uc [all...] |
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-sigreturn-nt.c | 20 void trap_signal_handler(int signo, siginfo_t *si, void *uc) argument 22 ucontext_t *ucp = (ucontext_t *) uc;
|
/linux-master/tools/testing/selftests/powerpc/signal/ |
H A D | sigreturn_unaligned.c | 20 ucontext_t *uc = ptr; local 22 UCONTEXT_NIA(uc) |= 3;
|
/linux-master/arch/arm/boot/dts/nxp/ls/ |
H A D | Makefile | 4 ls1021a-moxa-uc-8410a.dtb \
|