Home
last modified time | relevance | path

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

12345678910>>...44

/linux/arch/powerpc/xmon/
H A 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/tools/testing/selftests/bpf/
H A 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/Documentation/netlink/
H A 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
9 name:
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
[all …]
H A 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
9 name:
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
[all …]
/linux/arch/m68k/include/asm/
H A 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/kernel/trace/
H A 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/arch/arm64/include/asm/
H A 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/include/linux/
H A 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 …]
H A Dlsm_hooks.h4 * Copyright (C) 2001 WireX Communications, Inc <chris@wirex.com>
5 * Copyright (C) 2001 Greg Kroah-Hartman <greg@kroah.com>
6 * Copyright (C) 2001 Networks Associates Technology, Inc <ssmalley@nai.com>
7 * Copyright (C) 2001 James Morris <jmorris@intercode.com.au>
8 * Copyright (C) 2001 Silicon Graphics, Inc. (Trust Technology Group)
9 * Copyright (C) 2015 Intel Corporation.
10 * Copyright (C) 2015 Casey Schaufler <casey@schaufler-ca.com>
11 * Copyright (C) 2016 Mellanox Techonologies
26 #define __LINUX_LSM_HOOKS_H
39 #define LSM_HOOK(RET, DEFAULT, NAME, ...) RET (*NAME)(__VA_ARGS__); argument
[all …]
/linux/include/acpi/
H A Dacoutput.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Name: acoutput.h -- debug output
6 * Copyright (C) 2000 - 2025, 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/drivers/clk/renesas/
H A 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 …]
H A 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 …]
H A Dclk-r8a7740.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_PLLC2CR 0x2c
26 #define CPG_USBCKCR 0x8c
27 #define CPG_FRQCRC 0xe0
30 const char *name; member
60 void __iomem *base, const char *name) in r8a7740_cpg_register_clock() argument
[all …]
/linux/drivers/mtd/parsers/
H A 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/scripts/dtc/
H A 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/lib/zstd/common/
H A Dcpu.h1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
3 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 * This source code is licensed under both the BSD-style license (found in the
9 * You may select, at your option, one of the above-listed licenses.
13 #define ZSTD_COMMON_CPU_H
54 : "=a"(f1a), "=c"(f1c), "=d"(f1d) in ZSTD_cpuid()
63 : "=a"(f7b), "=c"(f7c) in ZSTD_cpuid()
64 : "a"(7), "c"(0) in ZSTD_cpuid()
72 __asm__("cpuid" : "=a"(f1a), "=c"(f1c), "=d"(f1d) : "a"(1) : "ebx"); in ZSTD_cpuid()
77 : "=a"(f7a), "=b"(f7b), "=c"(f7c) in ZSTD_cpuid()
[all …]
/linux/drivers/clk/ti/
H A 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/drivers/md/bcache/
H A 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/arch/powerpc/perf/req-gen/
H A 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/drivers/net/wireless/intel/iwlwifi/mvm/
H A 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/fs/ext4/
H A Dhash.c1 // SPDX-License-Identifier: GPL-2.0
3 * linux/fs/ext4/hash.c
5 * Copyright (C) 2002 by Theodore Ts'o
14 #define DELTA 0x9E3779B9
20 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in TEA_transform() local
26 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); in TEA_transform()
27 } while (--n); in TEA_transform()
34 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z))))
35 #define G(x, y, z) (((x) & (y)) + (((x) ^ (y)) & (z)))
36 #define H(x, y, z) ((x) ^ (y) ^ (z))
[all …]
/linux/tools/testing/selftests/
H A Dkselftest_harness.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
5 * kselftest_harness.h: simple C unit test helper.
7 * See documentation in Documentation/dev-tools/kselftest.rst
15 * .. code-block:: c
37 * self->data = mytype_new();
38 * ASSERT_NE(NULL, self->data);
41 * mytype_free(self->data);
44 * EXPECT_EQ(1, is_my_data_good(self->data));
51 #define __KSELFTEST_HARNESS_H
[all …]
/linux/drivers/scsi/lpfc/
H A Dlpfc_attr.h4 * Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term *
6 * Copyright (C) 2004-2016 Emulex. All rights reserved. *
9 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
24 #define LPFC_ATTR(name, defval, minval, maxval, desc) \ argument
25 static uint lpfc_##name = defval;\
26 module_param(lpfc_##name, uint, S_IRUGO);\
27 MODULE_PARM_DESC(lpfc_##name, desc);\
28 lpfc_param_init(name, defval, minval, maxval)
30 #define LPFC_ATTR_R(name, defval, minval, maxval, desc) \ argument
[all …]
/linux/lib/
H A Dlocking-selftest.c1 // SPDX-License-Identifier: GPL-2.0
3 * lib/locking-selftest.c
6 * mutexes and rw-semaphores.
12 * Copyright (C) 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com>
30 # define NON_RT(...)
32 # define NON_RT(...) __VA_ARGS__
52 #define FAILURE 0
53 #define SUCCESS 1
55 #define LOCKTYPE_SPIN 0x1
56 #define LOCKTYPE_RWLOCK 0x2
[all …]
/linux/fs/nilfs2/
H A Dsysfs.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright (C) 2005-2014 Nippon Telegraph and Telephone Corporation.
6 * Copyright (C) 2014 HGST, Inc., a Western Digital Company.
12 #define _NILFS_SYSFS_H
16 #define NILFS_ROOT_GROUP_NAME "nilfs2"
19 * struct nilfs_sysfs_dev_subgroups - device subgroup kernel objects
53 #define NILFS_COMMON_ATTR_STRUCT(name) \ argument
54 struct nilfs_##name##_attr { \
64 #define NILFS_DEV_ATTR_STRUCT(name) \ argument
65 struct nilfs_##name##_attr { \
[all …]

12345678910>>...44