| /kernel/linux/linux-6.6/scripts/ |
| D | cc-version.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Print the C compiler name and its version in a 5 or 6-digit form. 5 # Also, perform the minimum version check. 7 set -e 9 # Print the C compiler name and some version components. 12 cat <<- EOF | "$@" -E -P -x c - 2>/dev/null 23 # Convert the version string x.y.z to a canonical 5 or 6-digit form. 27 set -- $1 33 set -- $(get_c_compiler_info "$@") 35 name=$1 [all …]
|
| D | as-version.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Print the assembler name and its version in a 5 or 6-digit form. 5 # Also, perform the minimum version check. 6 # (If it is the integrated assembler, return 0 as the version, and 7 # skip the version check.) 9 set -e 11 # Convert the version string x.y.z to a canonical 5 or 6-digit form. 15 set -- $1 21 echo $((10000 * $1 + 100 * ${2:-0} + ${3:-0})) 24 # Clang fails to handle -Wa,--version unless -fno-integrated-as is given. [all …]
|
| D | Kconfig.include | 1 # SPDX-License-Identifier: GPL-2.0-only 14 # $(if-success,<command>,<then>,<else>) 16 if-success = $(shell,{ $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)") 20 success = $(if-success,$(1),y,n) 24 failure = $(if-success,$(1),n,y) 26 # $(cc-option,<flag>) 28 cc-option = $(success,trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(CC) -Werror $(CLANG_FLAGS) $(1) … 30 # $(ld-option,<flag>) 32 ld-option = $(success,$(LD) -v $(1)) 34 # $(as-instr,<instr>) [all …]
|
| D | ld-version.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Print the linker name and its version in a 5 or 6-digit form. 5 # Also, perform the minimum version check. 7 set -e 9 # Convert the version string x.y.z to a canonical 5 or 6-digit form. 13 set -- $1 19 echo $((10000 * $1 + 100 * ${2:-0} + ${3:-0})) 24 # Get the first line of the --version output. 27 set -- $(LC_ALL=C "$@" --version) 31 set -- $1 [all …]
|
| /kernel/linux/linux-5.10/fs/unicode/ |
| D | utf8-core.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 const struct utf8data *data = utf8nfdi(um->version); in utf8_validate() 17 if (utf8nlen(data, str->name, str->len) < 0) in utf8_validate() 18 return -1; in utf8_validate() 26 const struct utf8data *data = utf8nfdi(um->version); in utf8_strncmp() 30 if (utf8ncursor(&cur1, data, s1->name, s1->len) < 0) in utf8_strncmp() 31 return -EINVAL; in utf8_strncmp() 33 if (utf8ncursor(&cur2, data, s2->name, s2->len) < 0) in utf8_strncmp() 34 return -EINVAL; in utf8_strncmp() 41 return -EINVAL; in utf8_strncmp() [all …]
|
| /kernel/linux/linux-6.6/tools/verification/rv/ |
| D | Makefile | 1 NAME := rv macro 2 # Follow the kernel version 3 VERSION := $(shell cat VERSION 2> /dev/null || make -sC ../../.. kernelversion | grep -v make) macro 11 define allow-override 18 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 19 $(call allow-override,AR,$(CROSS_COMPILE)ar) 20 $(call allow-override,STRIP,$(CROSS_COMPILE)strip) 21 $(call allow-override,PKG_CONFIG,pkg-config) 22 $(call allow-override,LD_SO_CONF_PATH,/etc/ld.so.conf.d/) 23 $(call allow-override,LDCONFIG,ldconfig) [all …]
|
| /kernel/linux/linux-6.6/tools/tracing/rtla/ |
| D | Makefile | 1 NAME := rtla macro 2 # Follow the kernel version 3 VERSION := $(shell cat VERSION 2> /dev/null || make -sC ../../.. kernelversion | grep -v make) macro 11 define allow-override 18 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 19 $(call allow-override,AR,$(CROSS_COMPILE)ar) 20 $(call allow-override,STRIP,$(CROSS_COMPILE)strip) 21 $(call allow-override,PKG_CONFIG,pkg-config) 22 $(call allow-override,LD_SO_CONF_PATH,/etc/ld.so.conf.d/) 23 $(call allow-override,LDCONFIG,ldconfig) [all …]
|
| /kernel/linux/linux-6.6/drivers/mtd/parsers/ |
| D | qcomsmempart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2020, Linaro Ltd. 28 * struct smem_flash_pentry - SMEM Flash partition entry 29 * @name: Name of the partition 35 char name[SMEM_FLASH_PTABLE_NAME_SIZE]; member 42 * struct smem_flash_ptable - SMEM Flash partition table 45 * @version: Partition table version 52 __le32 version; member 66 char *name, *c; in parse_qcomsmem_part() local 69 && mtd->type == MTD_NORFLASH) { in parse_qcomsmem_part() [all …]
|
| /kernel/linux/linux-6.6/fs/unicode/ |
| D | utf8-core.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 if (utf8nlen(um, UTF8_NFDI, str->name, str->len) < 0) in utf8_validate() 15 return -1; in utf8_validate() 26 if (utf8ncursor(&cur1, um, UTF8_NFDI, s1->name, s1->len) < 0) in utf8_strncmp() 27 return -EINVAL; in utf8_strncmp() 29 if (utf8ncursor(&cur2, um, UTF8_NFDI, s2->name, s2->len) < 0) in utf8_strncmp() 30 return -EINVAL; in utf8_strncmp() 37 return -EINVAL; in utf8_strncmp() 52 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp() 53 return -EINVAL; in utf8_strncasecmp() [all …]
|
| /kernel/linux/linux-5.10/scripts/package/ |
| D | builddeb | 13 set -e 16 grep -q "^$1=y" include/config/auto.conf 21 echo -n "$2" 22 elif [ $# -ge 3 ]; then 23 echo -n "$3" 31 mkdir -m 755 -p "$pdir/DEBIAN" 32 mkdir -p "$pdir/usr/share/doc/$pname" 35 gzip -n -9 "$pdir/usr/share/doc/$pname/changelog.Debian" 36 sh -c "cd '$pdir'; find . -type f ! -path './DEBIAN/*' -printf '%P\0' \ 37 | xargs -r0 md5sum > DEBIAN/md5sums" [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/vDSO/ |
| D | vdso_test_gettimeofday.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vdso_test_gettimeofday.c: Sample code to test parse_vdso.c and 5 * Copyright (c) 2014 Andy Lutomirski 8 * gcc -std=gnu99 vdso_test_gettimeofday.c parse_vdso_gettimeofday.c 10 * Tested on x86, 32-bit and 64-bit. It may work on other architectures, too. 24 * name and version from other architectures, so we need to handle it as 28 const char *version = "LINUX_2.6.39"; variable 29 const char *name = "__kernel_gettimeofday"; variable 31 const char *version = "LINUX_4.15"; variable 32 const char *name = "__vdso_gettimeofday"; variable [all …]
|
| D | vdso_test_abi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * vdso_full_test.c: Sample code to test all the timers. 4 * Copyright (c) 2019 Arm Ltd. 7 * gcc -std=gnu99 vdso_full_test.c parse_vdso.c 24 extern void *vdso_sym(const char *version, const char *name); 28 static const char *version; variable 29 static const char **name; variable 44 (vdso_gettimeofday_t)vdso_sym(version, name[0]); in vdso_test_gettimeofday() 47 ksft_test_result_skip(VDSO_TEST_SKIP_MSG(name[0])); in vdso_test_gettimeofday() 59 ksft_test_result_fail(VDSO_TEST_FAIL_MSG(name[0])); in vdso_test_gettimeofday() [all …]
|
| /kernel/linux/linux-6.6/fs/jffs2/ |
| D | summary.h | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2004 Ferenc Havasi <havasi@inf.u-szeged.hu>, 5 * Zoltan Sogor <weth@inf.u-szeged.hu>, 6 * Patrik Kluba <pajko@halom.u-szeged.hu>, 49 jint32_t version; /* inode version */ member 60 jint32_t version; /* dirent version */ member 62 uint8_t nsize; /* dirent name size */ 64 uint8_t name[]; /* dirent name */ member 71 jint32_t version; /* version number */ member 104 jint32_t version; /* inode version */ member [all …]
|
| D | summary.c | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2004 Ferenc Havasi <havasi@inf.u-szeged.hu>, 5 * Zoltan Sogor <weth@inf.u-szeged.hu>, 6 * Patrik Kluba <pajko@halom.u-szeged.hu>, 26 int jffs2_sum_init(struct jffs2_sb_info *c) in jffs2_sum_init() argument 28 uint32_t sum_size = min_t(uint32_t, c->sector_size, MAX_SUMMARY_SIZE); in jffs2_sum_init() 30 c->summary = kzalloc(sizeof(struct jffs2_summary), GFP_KERNEL); in jffs2_sum_init() 32 if (!c->summary) { in jffs2_sum_init() 34 return -ENOMEM; in jffs2_sum_init() 37 c->summary->sum_buf = kmalloc(sum_size, GFP_KERNEL); in jffs2_sum_init() [all …]
|
| D | write.c | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2001-2007 Red Hat, Inc. 23 int jffs2_do_new_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, in jffs2_do_new_inode() argument 30 return -ENOMEM; in jffs2_do_new_inode() 35 f->inocache = ic; in jffs2_do_new_inode() 36 f->inocache->pino_nlink = 1; /* Will be overwritten shortly for directories */ in jffs2_do_new_inode() 37 f->inocache->nodes = (struct jffs2_raw_node_ref *)f->inocache; in jffs2_do_new_inode() 38 f->inocache->state = INO_STATE_PRESENT; in jffs2_do_new_inode() 40 jffs2_add_ino_cache(c, f->inocache); in jffs2_do_new_inode() 41 jffs2_dbg(1, "%s(): Assigned ino# %d\n", __func__, f->inocache->ino); in jffs2_do_new_inode() [all …]
|
| /kernel/linux/linux-5.10/fs/jffs2/ |
| D | summary.h | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2004 Ferenc Havasi <havasi@inf.u-szeged.hu>, 5 * Zoltan Sogor <weth@inf.u-szeged.hu>, 6 * Patrik Kluba <pajko@halom.u-szeged.hu>, 49 jint32_t version; /* inode version */ member 60 jint32_t version; /* dirent version */ member 62 uint8_t nsize; /* dirent name size */ 64 uint8_t name[]; /* dirent name */ member 71 jint32_t version; /* version number */ member 104 jint32_t version; /* inode version */ member [all …]
|
| D | summary.c | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2004 Ferenc Havasi <havasi@inf.u-szeged.hu>, 5 * Zoltan Sogor <weth@inf.u-szeged.hu>, 6 * Patrik Kluba <pajko@halom.u-szeged.hu>, 26 int jffs2_sum_init(struct jffs2_sb_info *c) in jffs2_sum_init() argument 28 uint32_t sum_size = min_t(uint32_t, c->sector_size, MAX_SUMMARY_SIZE); in jffs2_sum_init() 30 c->summary = kzalloc(sizeof(struct jffs2_summary), GFP_KERNEL); in jffs2_sum_init() 32 if (!c->summary) { in jffs2_sum_init() 34 return -ENOMEM; in jffs2_sum_init() 37 c->summary->sum_buf = kmalloc(sum_size, GFP_KERNEL); in jffs2_sum_init() [all …]
|
| D | write.c | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2001-2007 Red Hat, Inc. 23 int jffs2_do_new_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, in jffs2_do_new_inode() argument 30 return -ENOMEM; in jffs2_do_new_inode() 35 f->inocache = ic; in jffs2_do_new_inode() 36 f->inocache->pino_nlink = 1; /* Will be overwritten shortly for directories */ in jffs2_do_new_inode() 37 f->inocache->nodes = (struct jffs2_raw_node_ref *)f->inocache; in jffs2_do_new_inode() 38 f->inocache->state = INO_STATE_PRESENT; in jffs2_do_new_inode() 40 jffs2_add_ino_cache(c, f->inocache); in jffs2_do_new_inode() 41 jffs2_dbg(1, "%s(): Assigned ino# %d\n", __func__, f->inocache->ino); in jffs2_do_new_inode() [all …]
|
| /kernel/linux/linux-5.10/scripts/ |
| D | as-version.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Print the assembler name and its version in a 5 or 6-digit form. 5 # Also, perform the minimum version check. 6 # (If it is the integrated assembler, return 0 as the version, and 7 # skip the version check.) 9 set -e 11 # Convert the version string x.y.z to a canonical 5 or 6-digit form. 15 set -- $1 21 echo $((10000 * $1 + 100 * ${2:-0} + ${3:-0})) 24 # Clang fails to handle -Wa,--version unless -fno-integrated-as is given. [all …]
|
| D | ver_linux | 1 #!/usr/bin/awk -f 2 # SPDX-License-Identifier: GPL-2.0 9 usage = "If some fields are empty or look unusual you may have an old version.\n" 13 system("uname -a") 16 vernum = "[0-9]+([.]?[0-9]+)+" 17 libc = "libc[.]so[.][0-9]+$" 18 libcpp = "(libg|stdc)[+]+[.]so[.][0-9]+$" 20 printversion("GNU C", version("gcc -dumpversion")) 21 printversion("GNU Make", version("make --version")) 22 printversion("Binutils", version("ld -v")) [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/vDSO/ |
| D | vdso_test_gettimeofday.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vdso_test_gettimeofday.c: Sample code to test parse_vdso.c and 5 * Copyright (c) 2014 Andy Lutomirski 8 * gcc -std=gnu99 vdso_test_gettimeofday.c parse_vdso_gettimeofday.c 10 * Tested on x86, 32-bit and 64-bit. It may work on other architectures, too. 24 * name and version from other architectures, so we need to handle it as 28 const char *version = "LINUX_2.6.39"; variable 29 const char *name = "__kernel_gettimeofday"; variable 31 const char *version = "LINUX_2.6"; variable 32 const char *name = "__vdso_gettimeofday"; variable [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
| D | error-dump.h | 8 * Copyright(c) 2014 Intel Corporation. All rights reserved. 9 * Copyright(c) 2014 - 2015 Intel Mobile Communications GmbH 10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 11 * Copyright (C) 2018 - 2020 Intel Corporation 14 * it under the terms of version 2 of the GNU General Public License as 27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 31 * Copyright(c) 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2014 - 2015 Intel Mobile Communications GmbH 33 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 34 * Copyright (C) 2018 - 2020 Intel Corporation [all …]
|
| /kernel/linux/linux-5.10/fs/fscache/ |
| D | fsdef.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved. 19 * The root index is owned by FS-Cache itself. 21 * When a netfs requests caching facilities, FS-Cache will, if one doesn't 22 * already exist, create an entry in the root index with the key being the name 24 * structure version supplied by the netfs: 28 * +-----------+ 33 * If an entry with the appropriate name does already exist, the version is 34 * compared. If the version is different, the entire subtree from that entry 43 .name = ".FS-Cache", [all …]
|
| /kernel/linux/linux-6.6/drivers/rpmsg/ |
| D | qcom_glink_ssr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2017, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2017, Linaro Ltd. 15 * struct do_cleanup_msg - The data structure for an SSR do_cleanup message 16 * @version: The G-Link SSR protocol version 17 * @command: The G-Link SSR command - do_cleanup 19 * @name_len: Length of the name of the subsystem being restarted 20 * @name: G-Link edge name of the subsystem being restarted 23 __le32 version; member 27 char name[32]; member [all …]
|
| /kernel/linux/linux-5.10/drivers/rpmsg/ |
| D | qcom_glink_ssr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2017, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2017, Linaro Ltd. 14 * struct do_cleanup_msg - The data structure for an SSR do_cleanup message 15 * version: The G-Link SSR protocol version 16 * command: The G-Link SSR command - do_cleanup 18 * name_len: Length of the name of the subsystem being restarted 19 * name: G-Link edge name of the subsystem being restarted 22 __le32 version; member 26 char name[32]; member [all …]
|