/linux-6.14.4/tools/perf/Documentation/ |
D | jitdump-specification.txt | 5 -------------------------------------------------------- 7 -------------------------------------------------------- 9 -------------------------------------------------------- 11 -------------------------------------------------------- 17 …ile is generated by Just-In-time compiler runtimes to save meta-data information about the generat… 21 The format of the file is binary. It is self-describing in terms of endianness and is portable acro… 27 …sequential accesses, i.e., append only mode. The file starts with a fixed size file header describ… 29 …ixed size header describing the type of record and its size. It is, itself, followed by the payloa… 36 Each jitdump file starts with a fixed size header containing the following fields in order: 39 * uint32_t magic : a magic number tagging the file type. The value is 4-byte long and represent… [all …]
|
D | perf-record.txt | 1 perf-record(1) 5 ---- 6 perf-record - Run a command and record its profile into perf.data 9 -------- 11 'perf record' [-e <EVENT> | --event=EVENT] [-a] <command> 12 'perf record' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>] 15 ----------- 17 from it, into perf.data - without displaying anything. 23 ------- 27 -e:: [all …]
|
/linux-6.14.4/fs/pstore/ |
D | ram.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 "size of each dump done on oops/panic"); 38 MODULE_PARM_DESC(console_size, "size of kernel console log"); 42 MODULE_PARM_DESC(ftrace_size, "size of ftrace log"); 46 MODULE_PARM_DESC(pmsg_size, "size of user space message log"); 60 "size of reserved RAM used to store oops/panic logs"); 65 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached"); 67 static int ramoops_max_reason = -1; 75 "if non-zero, the option enables ECC support and specifies " 76 "ECC buffer size in bytes (1 is a special value, means 16 " [all …]
|
D | platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Persistent Storage - platform driver interface parts. 5 * Copyright (C) 2007-2008 Google, Inc. 32 * We defer making "oops" entries appear in pstore - see 36 static int pstore_update_ms = -1; 39 "(default is -1, which means runtime updates are disabled; " 50 "powerpc-ofw", 51 "powerpc-common", 53 "powerpc-opal", 82 * size, and compresses ASCII text comparatively well. In terms of compression [all …]
|
D | zone.c | 1 // SPDX-License-Identifier: GPL-2.0 26 * struct psz_buffer - header of zone to flush to storage 28 * @sig: signature to indicate header (PSZ_SIG xor PSZONE-type value) 42 * struct psz_kmsg_header - kmsg dump-specific header to flush to storage 51 * This is a sub-header for a kmsg dump, trailing after &psz_buffer. 64 * struct pstore_zone - single stored buffer 67 * @type: front-end type for this zone 68 * @name: front-end name for this zone 71 * @buffer_size: bytes in @buffer->data 90 * struct psz_context - all about running state of pstore/zone [all …]
|
D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Persistent Storage - ramfs parts. 43 struct pstore_record *record; member 50 size_t size; member 59 if (private->record) { in free_pstore_private() 60 kvfree(private->record->buf); in free_pstore_private() 61 kfree(private->record->priv); in free_pstore_private() 62 kfree(private->record); in free_pstore_private() 70 struct pstore_private *ps = s->private; in pstore_ftrace_seq_start() 77 data->off = ps->total_size % REC_SIZE; in pstore_ftrace_seq_start() [all …]
|
/linux-6.14.4/lib/pldmfw/ |
D | pldmfw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2019, Intel Corporation. */ 53 * pldm_check_fw_space - Verify that the firmware image has space left 61 * Returns: zero on success, or -EFAULT if the image does not have enough 68 struct device *dev = data->context->dev; in pldm_check_fw_space() 70 if (data->fw->size < expected_size) { in pldm_check_fw_space() 71 dev_dbg(dev, "Firmware file size smaller than expected. Got %zu bytes, needed %zu bytes\n", in pldm_check_fw_space() 72 data->fw->size, expected_size); in pldm_check_fw_space() 73 return -EFAULT; in pldm_check_fw_space() 80 * pldm_move_fw_offset - Move the current firmware offset forward [all …]
|
D | pldmfw_private.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2018-2019, Intel Corporation. */ 16 * structures is not guaranteed when reading. For this reason, all multi-byte 18 * Additionally, the standard specifies that multi-byte fields are in 26 /* UUID for PLDM firmware packages: f018878c-cb7d-4943-9800-a02f059aca02 */ 44 __le16 size; /* PackageHeaderSize */ member 56 * The total size of this section is 62 /* Firmware Device ID Record */ 80 * The total size of each record is 93 __le16 size; /* DescriptorSize */ member [all …]
|
/linux-6.14.4/fs/freevxfs/ |
D | vxfs_olt.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2000-2001 Christoph Hellwig. 9 * Veritas filesystem driver - Object Location Table data structures. 17 * OLT magic number (vxfs_olt->olt_magic). 37 * OLT extent. It is used to fing certain filesystem-wide metadata, e.g. 42 __fs32 olt_size; /* size of this entry */ 49 __fs32 olt_esize; /* size of this extent */ 51 __fs32 olt_nsize; /* size of next extent */ 59 __fs32 olt_type; /* type of this record */ 60 __fs32 olt_size; /* size of this record */ [all …]
|
/linux-6.14.4/drivers/firmware/efi/ |
D | efi-pstore.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 MODULE_PARM_DESC(record_size, "size of each pstore UEFI var (in bytes, min/default=1024)"); 62 psi->data = kzalloc(record_size, GFP_KERNEL); in efi_pstore_open() 63 if (!psi->data) in efi_pstore_open() 64 return -ENOMEM; in efi_pstore_open() 72 kfree(psi->data); in efi_pstore_close() 81 static int efi_pstore_read_func(struct pstore_record *record, in efi_pstore_read_func() argument 84 unsigned long wlen, size = record_size; in efi_pstore_read_func() local 93 if (sscanf(name, "dump-type%u-%u-%d-%llu-%c", in efi_pstore_read_func() 94 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func() [all …]
|
/linux-6.14.4/drivers/md/dm-vdo/indexer/ |
D | open-chapter.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "open-chapter.h" 11 #include "memory-alloc.h" 16 #include "hash-utils.h" 20 * open chapter space. Records are assigned to zones based on their record name. Within each zone, 22 * record is stored in a hash table to help determine if a new record duplicates an existing one. 23 * If new metadata for an existing name arrives, the record is altered in place. The array of 24 * records is 1-based so that record number 0 can be used to indicate an unused hash slot. 28 * indexed by record number instead of by record name. The number of hash slots will always be a 33 * each zone are interleaved to attempt to preserve temporal locality and assigned to record pages. [all …]
|
/linux-6.14.4/arch/arm64/include/asm/stacktrace/ |
D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 * struct unwind_state - state used for robust unwinding. 22 * @fp: The fp value in the frame record (or the real fp) 23 * @pc: The lr value in the frame record (or the real lr) 47 unsigned long sp, unsigned long size) in stackinfo_on_stack() argument 49 if (!info->low) in stackinfo_on_stack() 52 if (sp < info->low || sp + size < sp || sp + size > info->high) in stackinfo_on_stack() 60 state->stack = stackinfo_get_unknown(); in unwind_init_common() 64 * unwind_find_stack() - Find the accessible stack which entirely contains an 69 * @size: the size of the object. [all …]
|
/linux-6.14.4/include/linux/ |
D | pstore.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Persistent Storage - pstore.h 24 * pstore record types (see fs/pstore/platform.c for pstore_type_names[]) 35 /* PPC64-specific partition types */ 51 * struct pstore_record - details of a pstore record entry 53 * @type: pstore record type 54 * @id: per-type unique identifier for record 55 * @time: timestamp of the record 56 * @buf: pointer to record contents 57 * @size: size of @buf [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/wil6210/ |
D | fw.h | 1 /* SPDX-License-Identifier: ISC */ 4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 27 __le32 size; /* whole record, bytes after head */ member 31 * data_size inferred from the @head.size. For this case, 32 * data_size = @head.size - offsetof(struct wil_fw_record_data, data) 39 /* fill with constant @value, @size bytes starting from @addr */ 43 __le32 size; member 46 /* free-form comment 47 * for informational purpose, data_size is @head.size from record header 50 DECLARE_FLEX_ARRAY(u8, data); /* free-form data [data_size], see above */ [all …]
|
D | fw_inc.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 21 u32 size, const char *msg) in wil_fw_addr_check() argument 23 *ioaddr = wmi_buffer_block(wil, val, size); in wil_fw_addr_check() 32 * wil_fw_verify - verify firmware file validity 37 * Return file size or negative error 39 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify() argument 47 if (size % 4) { in wil_fw_verify() 48 wil_err_fw(wil, "image size not aligned: %zu\n", size); in wil_fw_verify() [all …]
|
/linux-6.14.4/arch/powerpc/kernel/ |
D | nvram_64.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 /* If change this size, then change the size of NVNAME_LEN */ 51 .name = "ibm,rtas-log", 54 .index = -1, 60 .name = "lnx,oops-log", 63 .index = -1, 69 "ibm,rtas-log", 71 "lnx,oops-log", 95 * +- oops_buf 96 * | +- oops_data [all …]
|
/linux-6.14.4/tools/firmware/ |
D | ihex2fw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) 40 if (n >= '0' && n <= '9') return n - '0'; in nybble() 41 else if (n >= 'A' && n <= 'F') return n - ('A' - 10); in nybble() 42 else if (n >= 'a' && n <= 'f') return n - ('a' - 10); in nybble() 53 static int process_ihex(uint8_t *data, ssize_t size); 54 static void file_record(struct ihex_binrec *record); 66 fprintf(stderr, " -w: wide records (16-bit length)\n"); in usage() 67 fprintf(stderr, " -s: sort records by address\n"); in usage() 68 fprintf(stderr, " -j: include records for CS:IP/EIP address\n"); in usage() [all …]
|
/linux-6.14.4/drivers/acpi/apei/ |
D | erst.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * APEI Error Record Serialization Table support 30 #include "apei-internal.h" 72 u64 size; member 94 return -ENODEV; in erst_errno() 96 return -ENOSPC; in erst_errno() 99 return -ENOENT; in erst_errno() 101 return -EINVAL; in erst_errno() 124 *t -= spin_unit; in erst_timedout() 133 return __apei_exec_read_register(entry, &ctx->var1); in erst_exec_load_var1() [all …]
|
/linux-6.14.4/tools/perf/ |
D | builtin-record.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * builtin-record.c 5 * Builtin record command: Record the profile of a workload 6 * (or a CPU, or a PID) into the perf.data output file - for 11 #include "util/build-id.h" 12 #include <subcmd/parse-options.h> 14 #include "util/parse-events.h" 30 #include "util/record.h" 37 #include "util/parse-branch-options.h" 38 #include "util/parse-regs-options.h" [all …]
|
/linux-6.14.4/fs/jfs/ |
D | jfs_logmgr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) International Business Machines Corp., 2000-2004 4 * Portions Copyright (C) Christoph Hellwig, 2001-2002 18 /* log page size */ 34 * lmLogInit(), lmLogShutdown(), and logRedo() to record status 36 * blocks 2 - (N-1) are used to contain log records. 38 * when a volume group is varied-on-line, logRedo() must have 57 __le32 size; /* 4: size in number of LOGPSIZE blocks */ member 58 __le32 bsize; /* 4: logical block size in byte */ 62 __le32 state; /* 4: state - see below */ [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras_eeprom.c | 37 * chips strung on the I2C bus, usually by manipulating pins 1-3 of a 49 * 54h = 1010100b => --"--, bits 18:16 = 100b, address 40000h. 50 * 56h = 1010110b => --"--, bits 18:16 = 110b, address 60000h. 51 * Depending on the size of the I2C EEPROM device(s), bits 18:16 may 53 * the status of pins 1-3. See top of amdgpu_eeprom.c. 61 * The 2 macros below represent the actual size in bytes that 77 * --------------------------------- 80 * | ( size 20 Bytes ) | 82 * --------------------------------- 84 * | BAD PAGE RECORD AREA | [all …]
|
/linux-6.14.4/kernel/printk/ |
D | printk_ringbuffer.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * -------------- 21 * the record and logical positions specifying where in the other 27 * string of the record. 33 * -------------- 38 * essential meta data to track the data of a printk record using 49 * A writer is modifying the record. 52 * The record and all its data are written. A writer can reopen the 57 * The record and all its data are complete and available for reading. A 61 * The record exists, but its text and/or meta data may no longer be [all …]
|
/linux-6.14.4/net/tls/ |
D | tls_device.c | 13 * - Redistributions of source code must retain the above 17 * - Redistributions in binary form must reproduce the above 60 if (ctx->tx_conf == TLS_HW) in tls_device_free_ctx() 63 if (ctx->rx_conf == TLS_HW) in tls_device_free_ctx() 73 struct tls_context *ctx = offload_ctx->ctx; in tls_device_tx_del_task() 79 netdev = rcu_dereference_protected(ctx->netdev, in tls_device_tx_del_task() 80 !refcount_read(&ctx->refcount)); in tls_device_tx_del_task() 82 netdev->tlsdev_ops->tls_dev_del(netdev, ctx, TLS_OFFLOAD_CTX_DIR_TX); in tls_device_tx_del_task() 84 ctx->netdev = NULL; in tls_device_tx_del_task() 95 if (unlikely(!refcount_dec_and_test(&ctx->refcount))) { in tls_device_queue_ctx_destruction() [all …]
|
/linux-6.14.4/arch/m68k/kernel/ |
D | setup_mm.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * This file handles the architecture-dependent parts of system setup 110 static void __init m68k_parse_bootinfo(const struct bi_record *record) in m68k_parse_bootinfo() argument 112 const struct bi_record *first_record = record; in m68k_parse_bootinfo() 115 while ((tag = be16_to_cpu(record->tag)) != BI_LAST) { in m68k_parse_bootinfo() 117 const void *data = record->data; in m68k_parse_bootinfo() 118 uint16_t size = be16_to_cpu(record->size); in m68k_parse_bootinfo() local 132 be32_to_cpu(m->addr); in m68k_parse_bootinfo() 133 m68k_memory[m68k_num_memory].size = in m68k_parse_bootinfo() 134 be32_to_cpu(m->size); in m68k_parse_bootinfo() [all …]
|
/linux-6.14.4/tools/perf/util/ |
D | zstd.c | 1 // SPDX-License-Identifier: GPL-2.0 10 data->comp_level = level; in zstd_init() 11 data->dstream = NULL; in zstd_init() 12 data->cstream = NULL; in zstd_init() 18 if (data->dstream) { in zstd_fini() 19 ZSTD_freeDStream(data->dstream); in zstd_fini() 20 data->dstream = NULL; in zstd_fini() 23 if (data->cstream) { in zstd_fini() 24 ZSTD_freeCStream(data->cstream); in zstd_fini() 25 data->cstream = NULL; in zstd_fini() [all …]
|