/Linux-v6.6/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-v6.6/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-v6.6/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"); 56 "size of reserved RAM used to store oops/panic logs"); 61 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached"); 63 static int ramoops_max_reason = -1; 71 "if non-zero, the option enables ECC support and specifies " 72 "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. 40 struct pstore_record *record; member 47 size_t size; member 56 if (private->record) { in free_pstore_private() 57 kvfree(private->record->buf); in free_pstore_private() 58 kfree(private->record->priv); in free_pstore_private() 59 kfree(private->record); in free_pstore_private() 66 struct pstore_private *ps = s->private; in pstore_ftrace_seq_start() 73 data->off = ps->total_size % REC_SIZE; in pstore_ftrace_seq_start() [all …]
|
/Linux-v6.6/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)"); 35 psi->data = kzalloc(record_size, GFP_KERNEL); in efi_pstore_open() 36 if (!psi->data) in efi_pstore_open() 37 return -ENOMEM; in efi_pstore_open() 45 kfree(psi->data); in efi_pstore_close() 54 static int efi_pstore_read_func(struct pstore_record *record, in efi_pstore_read_func() argument 57 unsigned long wlen, size = record_size; in efi_pstore_read_func() local 66 if (sscanf(name, "dump-type%u-%u-%d-%llu-%c", in efi_pstore_read_func() 67 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func() [all …]
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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" 68 u64 size; member 89 return -ENODEV; in erst_errno() 91 return -ENOSPC; in erst_errno() 94 return -ENOENT; in erst_errno() 96 return -EINVAL; in erst_errno() 106 *t -= spin_unit; in erst_timedout() 115 return __apei_exec_read_register(entry, &ctx->var1); in erst_exec_load_var1() [all …]
|
/Linux-v6.6/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-v6.6/fs/ntfs/ |
D | logfile.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * logfile.h - Defines for NTFS kernel journal ($LogFile) handling. Part of 4 * the Linux-NTFS project. 6 * Copyright (c) 2000-2005 Anton Altaparmakov 28 * These are followed by log records organized in pages headed by a log record 29 * header going up to log file size. Not all pages contain log records when a 37 * versions <= 1.x, including 0.-1. (Yes, that is a minus one in there!) We 55 /* 0 NTFS_RECORD; -- Unfolded here as gcc doesn't like unnamed structs. */ 66 /* 16*/ le32 system_page_size; /* Byte size of system pages when the log file 68 2. Use this to calculate the required size [all …]
|
D | mft.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project. 5 * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. 27 * map_mft_record_page - map the page in which a specific mft record resides 28 * @ni: ntfs inode whose mft record page to map 30 * This maps the page in which the mft record of the ntfs inode @ni is situated 31 * and returns a pointer to the mft record within the mapped page. 39 ntfs_volume *vol = ni->vol; in map_mft_record_page() 40 struct inode *mft_vi = vol->mft_ino; in map_mft_record_page() 45 BUG_ON(ni->page); in map_mft_record_page() [all …]
|
D | attrib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project. 5 * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. 25 * ntfs_map_runlist_nolock - map (a part of) a runlist of an ntfs inode 33 * record. This is needed when ntfs_map_runlist_nolock() encounters unmapped 35 * record mapped, you can specify @ctx as NULL and ntfs_map_runlist_nolock() 44 * m = ctx->mrec; 45 * a = ctx->attr; 46 * Assuming you cache ctx->attr in a variable @a of type ATTR_RECORD * and that 47 * you cache ctx->mrec in a variable @m of type MFT_RECORD *. [all …]
|
/Linux-v6.6/kernel/printk/ |
D | printk_ringbuffer.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * -------------- 20 * the record and logical positions specifying where in the other 26 * string of the record. 32 * -------------- 37 * essential meta data to track the data of a printk record using 48 * A writer is modifying the record. 51 * The record and all its data are written. A writer can reopen the 56 * The record and all its data are complete and available for reading. A 60 * The record exists, but its text and/or meta data may no longer be [all …]
|
/Linux-v6.6/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 bellow represent the actual size in bytes that 77 * --------------------------------- 80 * | ( size 20 Bytes ) | 82 * --------------------------------- 84 * | BAD PAGE RECORD AREA | [all …]
|
/Linux-v6.6/tools/perf/util/ |
D | trace-event-parse.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include "trace-event.h" 15 #include <traceevent/event-parse.h> 18 int *offset, int *size, const char *type) in get_common_field() argument 20 struct tep_handle *pevent = context->pevent; in get_common_field() 24 if (!*size) { in get_common_field() 33 *offset = field->offset; in get_common_field() 34 *size = field->size; in get_common_field() 37 return tep_read_number(pevent, context->event_data + *offset, *size); in get_common_field() 43 static int size; in common_lock_depth() local [all …]
|
/Linux-v6.6/drivers/staging/media/atomisp/i2c/ |
D | atomisp-libmsrlisthelper.c | 1 // SPDX-License-Identifier: GPL-2.0 27 u32 size; /*!< Container size including this header */ member 35 u32 size; /*!< Size of record including header */ member 51 unsigned int size) in set_msr_configuration() argument 66 while (ptr < bufptr + size) { in set_msr_configuration() 68 .addr = client->addr, in set_msr_configuration() 79 if (ptr > bufptr + size) in set_msr_configuration() 81 return -EINVAL; in set_msr_configuration() 83 ret = i2c_transfer(client->adapter, &msg, 1); in set_msr_configuration() 85 dev_err(&client->dev, "i2c write error: %d", ret); in set_msr_configuration() [all …]
|