Home
last modified time | relevance | path

Searched +full:c +full:- +full:define +full:- +full:name (Results 1 – 25 of 1148) sorted by relevance

12345678910>>...46

/linux-6.12.1/arch/powerpc/xmon/
Dansidecl.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* ANSI and traditional C compatibility macros
4 This file is part of the GNU C Library.
8 /* ANSI and traditional C compatibility macros
10 ANSI C is assumed if __STDC__ is #defined.
12 Macro ANSI C definition Traditional C definition
13 ----- ---- - ---------- ----------- - ----------
23 DEFUN (name, arglist, args)
25 Defines function NAME.
28 parentheses. ARGLIST becomes the argument list in traditional C.
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Dsdt.h1 /* <sys/sdt.h> - Systemtap static probe definition macros.
8 #define _SYS_SDT_H 1
19 the nop, and decode the location operand-strings, like an assembler,
23 They are constrained by gcc inline-assembler codes. The default is:
25 #define STAP_SDT_ARG_CONSTRAINT nor
34 #define STAP_SDT_ARG_CONSTRAINT g
45 # define _SDT_PROBE(provider, name, n, arglist) \ argument
46 _SDT_ASM_BODY(provider, name, _SDT_ASM_SUBSTR_1, (_SDT_DEPAREN_##n arglist)) \
48 # define _SDT_ASM_1(x) x;
49 # define _SDT_ASM_2(a, b) a,b;
[all …]
/linux-6.12.1/Documentation/netlink/
Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[all …]
Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
24 name:
25 description: Name of the netlink family.
31 enum: [ netlink-raw ] # Trim
[all …]
/linux-6.12.1/include/linux/
Dlinkage.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define _LINUX_LINKAGE_H
12 #define ASM_NL ;
16 #define CPP_ASMLINKAGE extern "C"
18 #define CPP_ASMLINKAGE
22 #define asmlinkage CPP_ASMLINKAGE
26 #define cond_syscall(x) asm( \
33 #define SYSCALL_ALIAS(alias, name) asm( \ argument
36 __stringify(name))
39 #define __page_aligned_data __section(".data..page_aligned") __aligned(PAGE_SIZE)
[all …]
Dmoduleparam.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define _LINUX_MODULE_PARAMS_H
4 /* (C) Copyright 2001, 2002 Rusty Russell IBM Corporation */
10 module name. */
12 #define MODULE_PARAM_PREFIX /* empty */
13 #define __MODULE_INFO_PREFIX /* empty */
15 #define MODULE_PARAM_PREFIX KBUILD_MODNAME "."
17 #define __MODULE_INFO_PREFIX KBUILD_MODNAME "."
21 #define MAX_PARAM_PREFIX_LEN (64 - sizeof(unsigned long))
23 #define __MODULE_INFO(tag, name, info) \ argument
[all …]
Dlockdep.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2006,2007 Red Hat, Inc., Ingo Molnar <mingo@redhat.com>
6 * Copyright (C) 2007 Red Hat, Inc., Peter Zijlstra
8 * see Documentation/locking/lockdep-design.rst for more details.
11 #define __LINUX_LOCKDEP_H
41 to->class_cache[i] = NULL; in lockdep_copy_map()
56 /* used by BFS to record whether "prev -> this" only has -(*R)-> */
60 * The parent field is used to implement breadth-first search, and the
67 * struct lock_chain - lock dependency chain record
86 * Initialization, self-test and debugging-output methods:
[all …]
/linux-6.12.1/arch/arm64/include/asm/
Dlinkage.h2 #define __ASM_LINKAGE_H
8 #define __ALIGN .balign CONFIG_FUNCTION_ALIGNMENT
9 #define __ALIGN_STR ".balign " #CONFIG_FUNCTION_ALIGNMENT
12 * When using in-kernel BTI we need to ensure that PCS-conformant
18 #define SYM_FUNC_START(name) \ argument
19 SYM_START(name, SYM_L_GLOBAL, SYM_A_ALIGN) \
20 bti c ;
22 #define SYM_FUNC_START_NOALIGN(name) \ argument
23 SYM_START(name, SYM_L_GLOBAL, SYM_A_NONE) \
24 bti c ;
[all …]
/linux-6.12.1/Documentation/userspace-api/netlink/
Dc-code-gen.rst1 .. SPDX-License-Identifier: BSD-3-Clause
4 Netlink spec C code generation
8 C code (uAPI, policies etc.). It also defines the additional properties
9 allowed in older families by the ``genetlink-c`` protocol level,
12 For brevity this document refers to ``name`` properties of various
14 of ``name`` in an attribute, and ``$family`` is the name of the
15 family (the global ``name`` property).
17 The upper case is used to denote literal values, e.g. ``$family-CMD``
22 and with dashes (``-``) replaced by underscores (``_``).
24 If the constructed name is a C keyword, an extra underscore is
[all …]
/linux-6.12.1/arch/m68k/include/asm/
Dbootstd.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * (c) 1999, Rt-Control, Inc.
8 #define __BOOTSTD_H__
10 #define NR_BSC 21 /* last used bootloader system call */
12 #define __BN_reset 0 /* reset and start the bootloader */
13 #define __BN_test 1 /* tests the system call interface */
14 #define __BN_exec 2 /* executes a bootloader image */
15 #define __BN_exit 3 /* terminates a bootloader image */
16 #define __BN_program 4 /* program FLASH from a chain */
17 #define __BN_erase 5 /* erase sector(s) of FLASH */
[all …]
/linux-6.12.1/kernel/trace/
Dtrace_probe.h1 // SPDX-License-Identifier: GPL-2.0
3 * Common header file for probe-based Dynamic events.
9 * Copyright (C) IBM Corporation, 2010-2011
32 #define MAX_TRACE_ARGS 128
33 #define MAX_ARGSTR_LEN 63
34 #define MAX_ARRAY_LEN 64
35 #define MAX_ARG_NAME_LEN 32
36 #define MAX_BTF_ARGS_LEN 128
37 #define MAX_DENTRY_ARGS_LEN 256
38 #define MAX_STRING_SIZE PATH_MAX
[all …]
/linux-6.12.1/arch/x86/include/asm/
Didtentry.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define _ASM_X86_IDTENTRY_H
8 #define IDT_ALIGN (8 * (1 + HAS_KERNEL_IBT))
11 #include <linux/entry-common.h>
19 * DECLARE_IDTENTRY - Declare functions for simple IDT entry points
21 * @vector: Vector number (ignored for C)
22 * @func: Function name of the entry point
25 * - The ASM entry point: asm_##func
26 * - The XEN PV trap entry point: xen_##func (maybe unused)
27 * - The C handler called from the FRED event dispatcher (maybe unused)
[all …]
/linux-6.12.1/include/acpi/
Dacoutput.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Name: acoutput.h -- debug output
6 * Copyright (C) 2000 - 2023, Intel Corp.
11 #define __ACOUTPUT_H__
15 * granularity of the output of the ACPI_DEBUG_PRINT macro -- on a
16 * per-component basis and a per-exception-type basis.
21 #define ACPI_UTILITIES 0x00000001
22 #define ACPI_HARDWARE 0x00000002
23 #define ACPI_EVENTS 0x00000004
24 #define ACPI_TABLES 0x00000008
[all …]
/linux-6.12.1/drivers/clk/renesas/
Dclk-sh73a0.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014 Ulrich Hecht
8 #include <linux/clk-provider.h>
23 #define CPG_FRQCRA 0x00
24 #define CPG_FRQCRB 0x04
25 #define CPG_SD0CKCR 0x74
26 #define CPG_SD1CKCR 0x78
27 #define CPG_SD2CKCR 0x7c
28 #define CPG_PLLECR 0xd0
29 #define CPG_PLL0CR 0xd8
[all …]
Dclk-r8a73a4.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014 Ulrich Hecht
8 #include <linux/clk-provider.h>
23 #define CPG_CKSCR 0xc0
24 #define CPG_FRQCRA 0x00
25 #define CPG_FRQCRB 0x04
26 #define CPG_FRQCRC 0xe0
27 #define CPG_PLL0CR 0xd8
28 #define CPG_PLL1CR 0x28
29 #define CPG_PLL2CR 0x2c
[all …]
/linux-6.12.1/fs/bcachefs/
Dopts.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "super-io.h"
14 #define x(t, n, ...) [n] = #t,
107 #define PRT_STR_OPT_BOUNDSCHECKED(name, type) \ argument
108 void bch2_prt_##name(struct printbuf *out, type t) \
110 prt_str_opt_boundscheck(out, __bch2_##name##s, ARRAY_SIZE(__bch2_##name##s) - 1, #name, t);\
120 static int bch2_opt_fix_errors_parse(struct bch_fs *c, const char *val, u64 *res, in bch2_opt_fix_errors_parse() argument
126 int ret = match_string(bch2_fsck_fix_opts, -1, val); in bch2_opt_fix_errors_parse()
139 struct bch_fs *c, in bch2_opt_fix_errors_to_text() argument
146 #define bch2_opt_fix_errors (struct bch_opt_fn) { \
[all …]
/linux-6.12.1/drivers/mtd/parsers/
Dqcomsmempart.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2020, Linaro Ltd.
15 #define SMEM_AARM_PARTITION_TABLE 9
16 #define SMEM_APPS 0
18 #define SMEM_FLASH_PART_MAGIC1 0x55ee73aa
19 #define SMEM_FLASH_PART_MAGIC2 0xe35ebddb
20 #define SMEM_FLASH_PTABLE_V3 3
21 #define SMEM_FLASH_PTABLE_V4 4
22 #define SMEM_FLASH_PTABLE_MAX_PARTS_V3 16
23 #define SMEM_FLASH_PTABLE_MAX_PARTS_V4 48
[all …]
/linux-6.12.1/scripts/dtc/
Dchecks.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2007.
10 #define TRACE(c, ...) \ argument
12 fprintf(stderr, "=== %s: ", (c)->name); \
17 #define TRACE(c, fmt, ...) do { } while (0) argument
29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
32 const char *name; member
42 #define CHECK_ENTRY(nm_, fn_, d_, w_, e_, ...) \
45 .name = #nm_, \
54 #define WARNING(nm_, fn_, d_, ...) \
[all …]
/linux-6.12.1/drivers/md/bcache/
Dfeatures.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 #define _BCACHE_FEATURES_H
10 #define BCH_FEATURE_COMPAT 0
11 #define BCH_FEATURE_RO_COMPAT 1
12 #define BCH_FEATURE_INCOMPAT 2
13 #define BCH_FEATURE_TYPE_MASK 0x03
18 #define BCH_FEATURE_INCOMPAT_OBSO_LARGE_BUCKET 0x0001
20 #define BCH_FEATURE_INCOMPAT_LOG_LARGE_BUCKET_SIZE 0x0002
22 #define BCH_FEATURE_COMPAT_SUPP 0
23 #define BCH_FEATURE_RO_COMPAT_SUPP 0
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2023 Intel Corporation
4 * Copyright (C) 2012-2014 Intel Corporation
5 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
7 #define MVM_DEBUGFS_READ_FILE_OPS(name) \ argument
8 static const struct file_operations iwl_dbgfs_##name##_ops = { \
9 .read = iwl_dbgfs_##name##_read, \
14 #define MVM_DEBUGFS_WRITE_WRAPPER(name, buflen, argtype) \ argument
15 static ssize_t _iwl_dbgfs_##name##_write(struct file *file, \
19 argtype *arg = file->private_data; \
[all …]
/linux-6.12.1/arch/powerpc/perf/req-gen/
Dperf.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define LINUX_POWERPC_PERF_REQ_GEN_PERF_H_
20 #define BE_TYPE_b1 __u8
21 #define BE_TYPE_b2 __be16
22 #define BE_TYPE_b4 __be32
23 #define BE_TYPE_b8 __be64
25 #define BYTES_TO_BE_TYPE(bytes) \
28 #define CAT2_(a, b) a ## b
29 #define CAT2(a, b) CAT2_(a, b)
30 #define CAT3_(a, b, c) a ## b ## c argument
[all …]
/linux-6.12.1/drivers/clk/ti/
Dadpll.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/clk-provider.h>
16 #define ADPLL_PLLSS_MMR_LOCK_OFFSET 0x00 /* Managed by MPPULL */
17 #define ADPLL_PLLSS_MMR_LOCK_ENABLED 0x1f125B64
18 #define ADPLL_PLLSS_MMR_UNLOCK_MAGIC 0x1eda4c3d
20 #define ADPLL_PWRCTRL_OFFSET 0x00
21 #define ADPLL_PWRCTRL_PONIN 5
22 #define ADPLL_PWRCTRL_PGOODIN 4
23 #define ADPLL_PWRCTRL_RET 3
24 #define ADPLL_PWRCTRL_ISORET 2
[all …]
/linux-6.12.1/tools/perf/arch/x86/util/
Ddwarf-regs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dwarf-regs.c : Mapping of DWARF debug register numbers into register names.
4 * Extracted from probe-finder.c
14 #include <dwarf-regs.h>
17 * See arch/x86/kernel/ptrace.c.
20 * - Since struct pt_regs is defined differently for user and kernel,
22 * field name of user's pt_regs), we make REG_OFFSET_NAME to accept
23 * both string name and reg field name.
25 * - Since accessing x86_32's pt_regs from x86_64 building is difficult
26 * and vise versa, we simply fill offset with -1, so
[all …]
/linux-6.12.1/include/linux/perf/
Darm_pmu.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles
9 #define __ARM_PMU_H__
24 #define ARMPMU_MAX_HWEVENTS 32
26 #define ARMPMU_MAX_HWEVENTS 33
31 #define ARMPMU_EVT_64BIT 0x00001 /* Event uses a 64bit counter */
32 #define ARMPMU_EVT_47BIT 0x00002 /* Event uses a 47bit counter */
33 #define ARMPMU_EVT_63BIT 0x00004 /* Event uses a 63bit counter */
39 #define HW_OP_UNSUPPORTED 0xFFFF
40 #define C(_x) PERF_COUNT_HW_CACHE_##_x macro
[all …]

12345678910>>...46