/Linux-v6.1/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.1/fs/pstore/ |
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. 39 * We defer making "oops" entries appear in pstore - see 43 static int pstore_update_ms = -1; 46 "(default is -1, which means runtime updates are disabled; " 57 "powerpc-ofw", 58 "powerpc-common", 60 "powerpc-opal", 96 int (*zbufsize)(size_t size); [all …]
|
D | ram.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 "size of each dump done on oops/panic"); 36 MODULE_PARM_DESC(console_size, "size of kernel console log"); 40 MODULE_PARM_DESC(ftrace_size, "size of ftrace log"); 44 MODULE_PARM_DESC(pmsg_size, "size of user space message log"); 54 "size of reserved RAM used to store oops/panic logs"); 59 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached"); 61 static int ramoops_max_reason = -1; 69 "if non-zero, the option enables ECC support and specifies " 70 "ECC buffer size in bytes (1 is a special value, means 16 " [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 …]
|
/Linux-v6.1/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.1/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.1/drivers/firmware/efi/ |
D | efi-pstore.c | 1 // SPDX-License-Identifier: GPL-2.0+ 33 psi->data = kzalloc(EFIVARS_DATA_SIZE_MAX, GFP_KERNEL); in efi_pstore_open() 34 if (!psi->data) in efi_pstore_open() 35 return -ENOMEM; in efi_pstore_open() 43 kfree(psi->data); in efi_pstore_close() 52 static int efi_pstore_read_func(struct pstore_record *record, in efi_pstore_read_func() argument 55 unsigned long wlen, size = EFIVARS_DATA_SIZE_MAX; in efi_pstore_read_func() local 64 if (sscanf(name, "dump-type%u-%u-%d-%llu-%c", in efi_pstore_read_func() 65 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func() 66 record->id = generic_id(time, part, cnt); in efi_pstore_read_func() [all …]
|
/Linux-v6.1/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.1/tools/lib/traceevent/plugins/ |
D | plugin_function.c | 1 // SPDX-License-Identifier: LGPL-2.1 9 #include "event-parse.h" 10 #include "event-utils.h" 11 #include "trace-seq.h" 14 int size; member 18 static int cpus = -1; 60 if (pos < stack->size) in add_child() 61 free(stack->stack[pos]); in add_child() 65 ptr = realloc(stack->stack, sizeof(char *) * in add_child() 66 (stack->size + STK_BLK)); in add_child() [all …]
|
/Linux-v6.1/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 u8 data[0]; /* 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.1/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.1/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.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras_eeprom.c | 44 * The 2 macros bellow represent the actual size in bytes that 59 /* Assume 2-Mbit size EEPROM and take up the whole space. */ 64 #define RAS_MAX_RECORD_COUNT ((RAS_TBL_SIZE_BYTES - RAS_TABLE_HEADER_SIZE) \ 67 /* Given a zero-based index of an EEPROM RAS record, yields the EEPROM 69 * add to control->i2c_address, and then tell I2C layer to read 73 #define RAS_INDEX_TO_OFFSET(_C, _N) ((_C)->ras_record_offset + \ 76 #define RAS_OFFSET_TO_INDEX(_C, _O) (((_O) - \ 77 (_C)->ras_record_offset) / RAS_TABLE_RECORD_SIZE) 79 /* Given a 0-based relative record index, 0, 1, 2, ..., etc., off 80 * of "fri", return the absolute record index off of the end of [all …]
|
/Linux-v6.1/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.1/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.1/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.1/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.1/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.1/net/tls/ |
D | tls_device.c | 13 * - Redistributions of source code must retain the above 17 * - Redistributions in binary form must reproduce the above 57 if (ctx->tx_conf == TLS_HW) { in tls_device_free_ctx() 59 kfree(ctx->tx.rec_seq); in tls_device_free_ctx() 60 kfree(ctx->tx.iv); 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() [all …]
|
/Linux-v6.1/tools/perf/util/ |
D | trace-event-parse.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include "trace-event.h" 16 int *offset, int *size, const char *type) in get_common_field() argument 18 struct tep_handle *pevent = context->pevent; in get_common_field() 22 if (!*size) { in get_common_field() 31 *offset = field->offset; in get_common_field() 32 *size = field->size; in get_common_field() 35 return tep_read_number(pevent, context->event_data + *offset, *size); in get_common_field() 41 static int size; in common_lock_depth() local 44 ret = get_common_field(context, &size, &offset, in common_lock_depth() [all …]
|