/linux/samples/ftrace/ |
H A D | ftrace-direct-multi-modify.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <asm/asm-offsets.h> 14 trace_printk("my direct func1 ip %lx\n", ip); in my_direct_func1() 19 trace_printk("my direct func2 ip %lx\n", ip); in my_direct_func2() 29 " .pushsection .text, \"ax\", @progbits\n" 30 " .type my_tramp1, @function\n" 31 " .globl my_tramp1\n" [all...] |
H A D | ftrace-direct-modify.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <asm/asm-offsets.h> 14 trace_printk("my direct func1\n"); in my_direct_func1() 19 trace_printk("my direct func2\n"); in my_direct_func2() 31 " .pushsection .text, \"ax\", @progbits\n" 32 " .type my_tramp1, @function\n" 33 " .globl my_tramp1\n" [all...] |
H A D | ftrace-direct-too.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <asm/asm-offsets.h> 16 trace_printk("handle mm fault vma=%p address=%lx flags=%x regs=%p\n", in my_direct_func() 26 " .pushsection .text, \"ax\", @progbits\n" 27 " .type my_tramp, @function\n" 28 " .globl my_tramp\n" 29 " my_tramp:\n" [all...] |
H A D | ftrace-direct.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <asm/asm-offsets.h> 14 trace_printk("waking up %s-%d\n", p->comm, p->pid); in my_direct_func() 23 " .pushsection .text, \"ax\", @progbits\n" [all...] |
H A D | ftrace-direct-multi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <asm/asm-offsets.h> 15 trace_printk("ip %lx\n", ip); in my_direct_func() 24 " .pushsection .text, \"ax\", @progbits\n" 25 " .type my_tramp, @function\n" 26 " .globl my_tramp\n" 27 " my_tramp:\n" [all...] |
/linux/arch/mips/include/asm/ |
H A D | unaligned-emul.h | 1 /* 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 …]
|
H A D | futex.h | 6 * Copyright (c) 2006 Ralf Baechle (ralf@linux-mips.org) 15 #include <asm/asm-eva.h> 23 #include <asm-generic/futex.h> 29 " .set push \n" \ 30 " .set noat \n" \ 31 " .set push \n" \ 32 " .set arch=r4000 \n" \ 33 "1: ll %1, %4 # __futex_atomic_op \n" \ 34 " .set pop \n" \ 35 " " insn " \n" \ [all …]
|
/linux/arch/arc/include/asm/ |
H A D | uaccess.h | 1 /* 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 41 * Returns 0 on success, -EFAULT if not. 42 * @ret already contains 0 - given that errors will be less likely [all …]
|
/linux/fs/smb/server/ |
H A D | ndr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 static inline char *ndr_get_field(struct ndr *n) in ndr_get_field() argument 14 return n->data + n->offset; in ndr_get_field() 17 static int try_to_realloc_ndr_blob(struct ndr *n, size_t sz) in try_to_realloc_ndr_blob() argument 21 data = krealloc(n->data, n->offset + sz + 1024, KSMBD_DEFAULT_GFP); in try_to_realloc_ndr_blob() 23 return -ENOMEM; in try_to_realloc_ndr_blob() 25 n->data = data; in try_to_realloc_ndr_blob() 26 n->length += 1024; in try_to_realloc_ndr_blob() 27 memset(n->data + n->offset, 0, 1024); in try_to_realloc_ndr_blob() 31 static int ndr_write_int16(struct ndr *n, __u16 value) in ndr_write_int16() argument [all …]
|
/linux/arch/nios2/mm/ |
H A D | uaccess.c | 13 asm(".global raw_copy_from_user\n" 14 " .type raw_copy_from_user, @function\n" 15 "raw_copy_from_user:\n" 16 " movi r2,7\n" 17 " mov r3,r4\n" 18 " bge r2,r6,1f\n" 19 " xor r2,r4,r5\n" 20 " andi r2,r2,3\n" 21 " movi r7,3\n" 22 " beq r2,zero,4f\n" [all …]
|
/linux/tools/power/cpupower/po/ |
H A D | de.po | 3 # Copyright (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.net> 8 "Project-Id-Version: cpufrequtils 006\n" 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2011-03-08 17:03+0100\n" 11 "PO-Revision-Date: 2019-06-02 15:23+0200\n" 12 "Last-Translator: Benjamin Weis <benjamin.weis@gmx.com>\n" 13 "Language-Team: NONE\n" 14 "Language: \n" 15 "MIME-Version: 1.0\n" 16 "Content-Type: text/plain; charset=UTF-8\n" [all …]
|
H A D | ka.po | 3 # Copyright (C) 2004-2022 Dominik Brodowski <linux@dominikbrodowski.net> 9 "Project-Id-Version: cpufrequtils 006\n" 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2011-03-08 17:03+0100\n" 12 "PO-Revision-Date: 2022-09-18 22:12+0200\n" 13 "Last-Translator: Ekaterine Papava <katopapava@gmail.com>\n" 14 "Language-Team: NONE\n" 15 "Language: ka\n" 16 "MIME-Version: 1.0\n" 17 "Content-Type: text/plain; charset=UTF-8\n" [all …]
|
H A D | fr.po | 9 "Project-Id-Version: cpufrequtils 0.1-pre2\n" 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2011-03-08 17:03+0100\n" 12 "PO-Revision-Date: 2004-11-17 15:53+1000\n" 13 "Last-Translator: Bruno Ducrot <ducrot@poupinou.org>\n" 14 "Language-Team: NONE\n" 15 "Language: \n" 16 "MIME-Version: 1.0\n" 17 "Content-Type: text/plain; charset=ISO-8859-1\n" 18 "Content-Transfer-Encoding: 8bit\n" [all …]
|
H A D | it.po | 2 # Copyright (C) 2004-2009 9 "Project-Id-Version: cpufrequtils 0.3\n" 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2011-03-08 17:03+0100\n" 12 "PO-Revision-Date: 2009-08-15 12:00+0900\n" 13 "Last-Translator: Mattia Dongili <malattia@gmail.com>\n" 14 "Language-Team: NONE\n" 15 "Language: \n" 16 "MIME-Version: 1.0\n" 17 "Content-Type: text/plain; charset=UTF-8\n" [all …]
|
H A D | cs.po | 10 "Project-Id-Version: cs\n" 11 "Report-Msgid-Bugs-To: \n" 12 "POT-Creation-Date: 2011-03-08 17:03+0100\n" 13 "PO-Revision-Date: 2008-06-11 16:26+0200\n" 14 "Last-Translator: Karel Volný <kavol@seznam.cz>\n" 15 "Language-Team: Czech <diskuze@lists.l10n.cz>\n" 16 "Language: cs\n" 17 "MIME-Version: 1.0\n" 18 "Content-Type: text/plain; charset=UTF-8\n" 19 "Content-Transfer-Encoding: 8bit\n" [all …]
|
H A D | pt.po | 9 "Project-Id-Version: cpufrequtils 004\n" 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2011-03-08 17:03+0100\n" 12 "PO-Revision-Date: 2008-06-14 22:16-0400\n" 13 "Last-Translator: Claudio Eduardo <claudioeddy@gmail.com>\n" 14 "MIME-Version: 1.0\n" 15 "Content-Type: text/plain; charset=UTF-8\n" 16 "Content-Transfer-Encoding: 8bit\n" 70 #: utils/idle_monitor/cpupower-monitor.c:66 71 #, c-format [all …]
|
/linux/include/linux/ |
H A D | log2.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * non-constant log of base 2 calculators 16 * - the arch may override these in asm/bitops.h if they can be implemented 18 * - the arch is not required to handle n==0 if implementing the fallback 22 int __ilog2_u32(u32 n) in __ilog2_u32() argument 24 return fls(n) - 1; in __ilog2_u32() 30 int __ilog2_u64(u64 n) in __ilog2_u64() argument 32 return fls64(n) - 1; in __ilog2_u64() 37 * is_power_of_2() - check if a value is a power of two 38 * @n: the value to check [all …]
|
/linux/arch/mips/kernel/ |
H A D | mips-r2-to-r6-emul.c | 28 #include <asm/mips-r2-to-r6-emul.h> 65 pr_info("MIPS R2-to-R6 Emulator Enabled!"); in mipsr2emu_enable() 72 * mipsr6_emul - Emulate some frequent R2/R5/R6 instructions in delay slot 83 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul() 84 (s32)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul() 92 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul() 93 (s64)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul() 101 return -SIGFPE; in mipsr6_emul() 106 regs->regs[MIPSInst_RD(ir)] = in mipsr6_emul() 107 regs->regs[MIPSInst_RS(ir)] | in mipsr6_emul() [all …]
|
/linux/lib/raid6/ |
H A D | avx512.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* -*- linux-c -*- -------------------------------------------------------- 10 * Based on sse2.c: Copyright 2002 H. Peter Anvin - All Rights Reserved 12 * ----------------------------------------------------------------------- 16 * AVX512 implementation of RAID-6 syndrome functions 50 z0 = disks - 3; /* Highest data disk */ in raid6_avx5121_gen_syndrome() 56 asm volatile("vmovdqa64 %0,%%zmm0\n\t" in raid6_avx5121_gen_syndrome() 62 asm volatile("prefetchnta %0\n\t" in raid6_avx5121_gen_syndrome() 63 "vmovdqa64 %0,%%zmm2\n\t" /* P[0] */ in raid6_avx5121_gen_syndrome() 64 "prefetchnta %1\n\t" in raid6_avx5121_gen_syndrome() [all …]
|
/linux/tools/include/linux/ |
H A D | log2.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * non-constant log of base 2 calculators 16 * - the arch may override these in asm/bitops.h if they can be implemented 18 * - the arch is not required to handle n==0 if implementing the fallback 21 int __ilog2_u32(u32 n) in __ilog2_u32() argument 23 return fls(n) - 1; in __ilog2_u32() 27 int __ilog2_u64(u64 n) in __ilog2_u64() argument 29 return fls64(n) - 1; in __ilog2_u64() 38 bool is_power_of_2(unsigned long n) in is_power_of_2() argument 40 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2() [all …]
|
/linux/scripts/kconfig/ |
H A D | mconf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 5 * Introduced single menu mode (show all sub-menus in one large tree). 6 * 2002-11-06 Petr Baudis <pasky@ucw.cz> 26 #include "mnconf-common.h" 29 "Overview\n" 30 "--------\n" 31 "This interface lets you select features and parameters for the build.\n" 32 "Features can either be built-in, modularized, or ignored. Parameters\n" 33 "must be entered in as decimal or hexadecimal numbers or text.\n" [all …]
|
/linux/drivers/media/cec/core/ |
H A D | cec-notifier.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cec-notifier.c - notify CEC drivers of physical address changes 6 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 19 #include <media/cec-notifier.h> 38 * cec_notifier_get_conn - find or create a new cec_notifier for the given 54 struct cec_notifier *n; in cec_notifier_get_conn() local 57 list_for_each_entry(n, &cec_notifiers, head) { in cec_notifier_get_conn() 58 if (n->hdmi_dev == hdmi_dev && in cec_notifier_get_conn() 60 (n->port_name && !strcmp(n->port_name, port_name)))) { in cec_notifier_get_conn() 61 kref_get(&n->kref); in cec_notifier_get_conn() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_rq_dlg_helpers.c | 31 dml_print("DML_RQ_DLG_CALC: ***************************\n"); in print__rq_params_st() 32 dml_print("DML_RQ_DLG_CALC: DISPLAY_RQ_PARAM_ST\n"); in print__rq_params_st() 33 dml_print("DML_RQ_DLG_CALC: <LUMA>\n"); in print__rq_params_st() 34 print__data_rq_sizing_params_st(mode_lib, &rq_param->sizing.rq_l); in print__rq_params_st() 35 dml_print("DML_RQ_DLG_CALC: <CHROMA> ===\n"); in print__rq_params_st() 36 print__data_rq_sizing_params_st(mode_lib, &rq_param->sizing.rq_c); in print__rq_params_st() 38 dml_print("DML_RQ_DLG_CALC: <LUMA>\n"); in print__rq_params_st() 39 print__data_rq_dlg_params_st(mode_lib, &rq_param->dlg.rq_l); in print__rq_params_st() 40 dml_print("DML_RQ_DLG_CALC: <CHROMA>\n"); in print__rq_params_st() 41 print__data_rq_dlg_params_st(mode_lib, &rq_param->dlg.rq_c); in print__rq_params_st() [all …]
|
/linux/arch/m68k/lib/ |
H A D | checksum.c | 1 // 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/arch/sparc/include/asm/ |
H A D | xor_32.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Optimized RAID-5 checksumming functions for 32-bit Sparc. 23 "ldd [%0 + 0x00], %%g2\n\t" in sparc_2() 24 "ldd [%0 + 0x08], %%g4\n\t" in sparc_2() 25 "ldd [%0 + 0x10], %%o0\n\t" in sparc_2() 26 "ldd [%0 + 0x18], %%o2\n\t" in sparc_2() 27 "ldd [%1 + 0x00], %%o4\n\t" in sparc_2() 28 "ldd [%1 + 0x08], %%l0\n\t" in sparc_2() 29 "ldd [%1 + 0x10], %%l2\n\t" in sparc_2() 30 "ldd [%1 + 0x18], %%l4\n\t" in sparc_2() [all …]
|