Home
last modified time | relevance | path

Searched +full:3 +full:- +full:n (Results 1 – 25 of 1294) sorted by relevance

12345678910>>...52

/linux-5.10/arch/arc/include/asm/
Duaccess.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
6 * -__clear_user( ) called multiple times during elf load was byte loop
10 * -Hand crafted constant propagation for "constant" copy sizes
11 * -stock kernel shrunk by 33K at -O3
14 * -Added option to (UN)inline copy_(to|from)_user to reduce code sz
15 * -kernel shrunk by 200K even at -O3 (gcc 4.2.1)
16 * -Enabled when doing -Os
32 * where TASK_SIZE could either be retrieved from thread_info->addr_limit or
39 * non-ngeative, which implies that buffer start will be within limit too.
[all …]
Dfutex.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
22 "1: llock %1, [%2] \n" \
23 insn "\n" \
24 "2: scond %0, [%2] \n" \
25 " bnz 1b \n" \
26 " mov %0, 0 \n" \
27 "3: \n" \
28 " .section .fixup,\"ax\" \n" \
29 " .align 4 \n" \
[all …]
/linux-5.10/arch/sparc/math-emu/
Dsfp-util_32.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 __asm__ ("addcc %r4,%5,%1\n\t" \
9 "addx %r2,%3,%0\n" \
18 __asm__ ("subcc %r4,%5,%1\n\t" \
19 "subx %r2,%3,%0\n" \
29 __asm__ ("! Inlined umul_ppmm\n\t" \
30 "wr %%g0,%2,%%y ! SPARC has 0-3 delay insn after a wr\n\t" \
31 "sra %3,31,%%g2 ! Don't move this insn\n\t" \
32 "and %2,%%g2,%%g2 ! Don't move this insn\n\t" \
33 "andcc %%g0,0,%%g1 ! Don't move this insn\n\t" \
[all …]
/linux-5.10/arch/csky/include/asm/
Duaccess.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
20 unsigned long limit = current_thread_info()->addr_limit.seg; in access_ok()
37 * These are the main single-value transfer routines. They automatically
82 long __pu_err = -EFAULT; \
123 "1: stb %1, (%2,0) \n" \
124 " br 3f \n" \
125 "2: mov %0, %3 \n" \
126 " br 3f \n" \
127 ".section __ex_table, \"a\" \n" \
[all …]
/linux-5.10/arch/x86/lib/
Dmemcpy_32.c1 // SPDX-License-Identifier: GPL-2.0
8 __visible void *memcpy(void *to, const void *from, size_t n) in memcpy() argument
11 return __memcpy3d(to, from, n); in memcpy()
13 return __memcpy(to, from, n); in memcpy()
24 __visible void *memmove(void *dest, const void *src, size_t n) in memmove() argument
31 "cmp $0x10, %0\n\t" in memmove()
32 "jb 1f\n\t" in memmove()
35 "cmp %2, %1\n\t" in memmove()
36 "jb 2f\n\t" in memmove()
42 "cmp $680, %0\n\t" in memmove()
[all …]
Dusercopy_32.c1 // SPDX-License-Identifier: GPL-2.0
4 * The non inlined parts of asm-i386/uaccess.h are here.
21 static inline int __movsl_is_ok(unsigned long a1, unsigned long a2, unsigned long n) in __movsl_is_ok() argument
24 if (n >= 64 && ((a1 ^ a2) & movsl_mask.mask)) in __movsl_is_ok()
29 #define movsl_is_ok(a1, a2, n) \ argument
30 __movsl_is_ok((unsigned long)(a1), (unsigned long)(a2), (n))
41 ASM_STAC "\n" \
42 "0: rep; stosl\n" \
43 " movl %2,%0\n" \
44 "1: rep; stosb\n" \
[all …]
/linux-5.10/arch/s390/lib/
Duaccess.c1 // SPDX-License-Identifier: GPL-2.0
45 current->thread.mm_segment = fs; in set_fs()
69 old_fs = current->thread.mm_segment; in enable_sacf_uaccess()
74 current->thread.mm_segment |= 1; in enable_sacf_uaccess()
96 current->thread.mm_segment = old_fs; in disable_sacf_uaccess()
110 tmp1 = -4096UL; in copy_from_user_mvcos()
112 "0: .insn ss,0xc80000000000,0(%0,%2),0(%1),0\n" in copy_from_user_mvcos()
113 "6: jz 4f\n" in copy_from_user_mvcos()
114 "1: algr %0,%3\n" in copy_from_user_mvcos()
115 " slgr %1,%3\n" in copy_from_user_mvcos()
[all …]
Dxor.c1 // SPDX-License-Identifier: GPL-2.0
17 " larl 1,2f\n" in xor_xc_2()
18 " aghi %0,-1\n" in xor_xc_2()
19 " jm 3f\n" in xor_xc_2()
20 " srlg 0,%0,8\n" in xor_xc_2()
21 " ltgr 0,0\n" in xor_xc_2()
22 " jz 1f\n" in xor_xc_2()
23 "0: xc 0(256,%1),0(%2)\n" in xor_xc_2()
24 " la %1,256(%1)\n" in xor_xc_2()
25 " la %2,256(%2)\n" in xor_xc_2()
[all …]
/linux-5.10/arch/x86/include/asm/
Dxor_32.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Optimized RAID-5 checksumming functions for MMX.
10 * High-speed RAID5 checksumming functions utilizing MMX instructions.
14 #define LD(x, y) " movq 8*("#x")(%1), %%mm"#y" ;\n"
15 #define ST(x, y) " movq %%mm"#y", 8*("#x")(%1) ;\n"
16 #define XO1(x, y) " pxor 8*("#x")(%2), %%mm"#y" ;\n"
17 #define XO2(x, y) " pxor 8*("#x")(%3), %%mm"#y" ;\n"
18 #define XO3(x, y) " pxor 8*("#x")(%4), %%mm"#y" ;\n"
19 #define XO4(x, y) " pxor 8*("#x")(%5), %%mm"#y" ;\n"
36 LD(i + 3, 3) \ in xor_pII_mmx_2()
[all …]
Dxor.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Optimized RAID-5 checksumming functions for SSE.
16 * High-speed RAID5 checksumming functions utilizing SSE instructions.
21 * x86-64 changes / gcc fixes from Andi Kleen.
25 * no advantages to be gotten from x86-64 here anyways.
39 #define PF0(x) " prefetchnta "PF_OFFS(x)"(%[p1]) ;\n"
40 #define LD(x, y) " movaps "OFFS(x)"(%[p1]), %%xmm"#y" ;\n"
41 #define ST(x, y) " movaps %%xmm"#y", "OFFS(x)"(%[p1]) ;\n"
42 #define PF1(x) " prefetchnta "PF_OFFS(x)"(%[p2]) ;\n"
43 #define PF2(x) " prefetchnta "PF_OFFS(x)"(%[p3]) ;\n"
[all …]
Dfutex.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 asm volatile("1:\t" insn "\n" \
19 "2:\n" \
20 "\t.section .fixup,\"ax\"\n" \
21 "3:\tmov\t%3, %1\n" \
22 "\tjmp\t2b\n" \
23 "\t.previous\n" \
24 _ASM_EXTABLE_UA(1b, 3b) \
26 : "i" (-EFAULT), "0" (oparg), "1" (0)); \
36 asm volatile("1:\tmovl %2, %0\n" \
[all …]
/linux-5.10/arch/m68k/lib/
Dchecksum.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * Andreas Schwab, <schwab@issan.informatik.uni-dortmund.de>
19 * length-counter instead of the length counter
22 * data-registers to hold input values and one tries to
43 * is aligned on either a 2-byte or 4-byte boundary. in csum_partial()
45 __asm__("movel %2,%3\n\t" in csum_partial()
46 "btst #1,%3\n\t" /* Check alignment */ in csum_partial()
47 "jeq 2f\n\t" in csum_partial()
48 "subql #2,%1\n\t" /* buff%4==2: treat first word */ in csum_partial()
49 "jgt 1f\n\t" in csum_partial()
[all …]
/linux-5.10/arch/mips/include/asm/
Dunaligned-emul.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 __asm__ __volatile__ (".set\tnoat\n" \
11 "1:\t"type##_lb("%0", "0(%2)")"\n" \
12 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\
13 "sll\t%0, 0x8\n\t" \
14 "or\t%0, $1\n\t" \
15 "li\t%1, 0\n" \
16 "3:\t.set\tat\n\t" \
17 ".insn\n\t" \
18 ".section\t.fixup,\"ax\"\n\t" \
[all …]
/linux-5.10/arch/alpha/include/asm/
Dxor.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/asm-alpha/xor.h
5 * Optimized RAID-5 checksumming functions for alpha EV5 and EV6
27 asm(" \n\
28 .text \n\
29 .align 3 \n\
30 .ent xor_alpha_2 \n\
31 xor_alpha_2: \n\
32 .prologue 0 \n\
33 srl $16, 6, $16 \n\
[all …]
Dxchg.h1 /* SPDX-License-Identifier: GPL-2.0 */
23 " andnot %4,7,%3\n" in ____xchg()
24 " insbl %1,%4,%1\n" in ____xchg()
25 "1: ldq_l %2,0(%3)\n" in ____xchg()
26 " extbl %2,%4,%0\n" in ____xchg()
27 " mskbl %2,%4,%2\n" in ____xchg()
28 " or %1,%2,%2\n" in ____xchg()
29 " stq_c %2,0(%3)\n" in ____xchg()
30 " beq %2,2f\n" in ____xchg()
31 ".subsection 2\n" in ____xchg()
[all …]
Dfutex.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 "1: ldl_l %0,0(%2)\n" \
17 "2: stl_c %1,0(%2)\n" \
18 " beq %1,4f\n" \
19 " mov $31,%1\n" \
20 "3: .subsection 2\n" \
21 "4: br 1b\n" \
22 " .previous\n" \
23 EXC(1b,3b,$31,%1) \
24 EXC(2b,3b,$31,%1) \
[all …]
/linux-5.10/arch/sh/include/asm/
Duaccess_32.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 2003 - 2008 Paul Mundt
42 "1:\n\t" \
43 "mov." insn " %2, %1\n\t" \
44 "2:\n" \
45 ".section .fixup,\"ax\"\n" \
46 "3:\n\t" \
47 "mov #0, %1\n\t" \
48 "mov.l 4f, %0\n\t" \
49 "jmp @%0\n\t" \
[all …]
Dstring_32.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 __asm__ __volatile__("1:\n\t" in strcpy()
17 "mov.b @%1+, %2\n\t" in strcpy()
18 "mov.b %2, @%0\n\t" in strcpy()
19 "cmp/eq #0, %2\n\t" in strcpy()
20 "bf/s 1b\n\t" in strcpy()
21 " add #1, %0\n\t" in strcpy()
36 "mov.b @%1+, %3\n" in strcmp()
37 "1:\n\t" in strcmp()
38 "mov.b @%0+, %2\n\t" in strcmp()
[all …]
/linux-5.10/arch/alpha/kernel/
Dtraps.c1 // SPDX-License-Identifier: GPL-2.0
32 /* Work-around for some SRMs which mishandle opDEC faults. */
41 " br $16, 1f\n" in opDEC_check()
44 " ldq $16, 8($sp)\n" in opDEC_check()
45 " addq $16, 4, $16\n" in opDEC_check()
46 " stq $16, 8($sp)\n" in opDEC_check()
47 " call_pal %[rti]\n" in opDEC_check()
49 "1: lda $17, 3\n" in opDEC_check()
50 " call_pal %[wrent]\n" in opDEC_check()
51 /* With that in place, the fault from the round-to-minf fp in opDEC_check()
[all …]
/linux-5.10/arch/m68k/include/asm/
Duaccess.h1 /* SPDX-License-Identifier: GPL-2.0 */
42 asm volatile ("\n" \
43 "1: "MOVES"."#bwl" %2,%1\n" \
44 "2:\n" \
45 " .section .fixup,\"ax\"\n" \
46 " .even\n" \
47 "10: moveq.l %3,%0\n" \
48 " jra 2b\n" \
49 " .previous\n" \
50 "\n" \
[all …]
/linux-5.10/arch/csky/lib/
Dusercopy.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
8 unsigned long n) in raw_copy_from_user() argument
10 ___copy_from_user(to, from, n); in raw_copy_from_user()
11 return n; in raw_copy_from_user()
16 unsigned long n) in raw_copy_to_user() argument
18 ___copy_to_user(to, from, n); in raw_copy_to_user()
19 return n; in raw_copy_to_user()
32 " cmpnei %3, 0 \n" \
33 " bf 4f \n" \
[all …]
/linux-5.10/drivers/acpi/acpica/
Ddbstats.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: dbstats - Generation and display of ACPI table statistics
47 #define CMD_STAT_MISC 3
57 * PARAMETERS: list - Memory list/cache to be displayed
71 acpi_os_printf("\n%s\n", list->list_name); in acpi_db_list_info()
75 if (list->max_depth > 0) { in acpi_db_list_info()
78 "%8.2X %8.2X %8.2X %8.2X\n", list->current_depth, in acpi_db_list_info()
79 list->max_depth, list->max_depth - list->current_depth, in acpi_db_list_info()
80 (list->current_depth * list->object_size)); in acpi_db_list_info()
83 if (list->max_depth > 0) { in acpi_db_list_info()
[all …]
/linux-5.10/drivers/gpu/drm/rockchip/
Dinno_hdmi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Zheng Yang <zhengyang@rock-chips.com>
5 * Yakir Yang <ykk@rock-chips.com>
32 #define m_VCLK_INV (1 << 3)
33 #define v_VCLK_NOT_INV (0 << 3)
34 #define v_VCLK_INV (1 << 3)
48 #define v_VIDEO_INPUT_FORMAT(n) (n << 1) argument
58 #define m_VIDEO_OUTPUT_COLOR (3 << 6)
59 #define m_VIDEO_INPUT_BITS (3 << 4)
61 #define v_VIDEO_OUTPUT_COLOR(n) (((n) & 0x3) << 6) argument
[all …]
/linux-5.10/arch/nios2/lib/
Dmemset.c25 while (count--) in memset()
31 /* fill8 %3, %5 (c & 0xff) */ in memset()
32 " slli %4, %5, 8\n" in memset()
33 " or %4, %4, %5\n" in memset()
34 " slli %3, %4, 16\n" in memset()
35 " or %3, %3, %4\n" in memset()
36 /* Word-align %0 (s) if necessary */ in memset()
37 " andi %4, %0, 0x01\n" in memset()
38 " beq %4, zero, 1f\n" in memset()
39 " addi %1, %1, -1\n" in memset()
[all …]
/linux-5.10/arch/parisc/kernel/
Dunaligned.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 "\tldil L%%" #lbl ", %%r1\n" \
36 "\tldo R%%" #lbl "(%%r1), %%r1\n" \
37 "\tbv,n %%r0(%%r1)\n"
51 /* skip LDB - never unaligned (index) */
59 /* skip LDB - never unaligned (short) */
67 /* skip STB - never unaligned */
71 /* skip STBY - never unaligned */
72 /* skip STDBY - never unaligned */
111 #define IM(i,n) (((i)>>1&((1<<(n-1))-1))|((i)&1?((0-1L)<<(n-1)):0)) argument
[all …]

12345678910>>...52