Home
last modified time | relevance | path

Searched +full:record +full:- +full:size (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/kernel/linux/linux-5.10/drivers/firmware/efi/
Defi-pstore.c1 // SPDX-License-Identifier: GPL-2.0+
28 psi->data = NULL; in efi_pstore_open()
34 psi->data = NULL; in efi_pstore_close()
44 struct pstore_record *record) in efi_pstore_read_func() argument
51 unsigned long size; in efi_pstore_read_func() local
54 if (efi_guidcmp(entry->var.VendorGuid, vendor)) in efi_pstore_read_func()
58 name[i] = entry->var.VariableName[i]; in efi_pstore_read_func()
60 if (sscanf(name, "dump-type%u-%u-%d-%llu-%c", in efi_pstore_read_func()
61 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func()
62 record->id = generic_id(time, part, cnt); in efi_pstore_read_func()
[all …]
/kernel/linux/linux-5.10/tools/perf/Documentation/
Djitdump-specification.txt5 --------------------------------------------------------
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 …]
/kernel/linux/linux-6.6/tools/perf/Documentation/
Djitdump-specification.txt5 --------------------------------------------------------
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 …]
/kernel/linux/linux-5.10/fs/pstore/
Dplatform.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Persistent Storage - platform driver interface parts.
5 * Copyright (C) 2007-2008 Google, Inc.
43 * We defer making "oops" entries appear in pstore - see
47 static int pstore_update_ms = -1;
50 "(default is -1, which means runtime updates are disabled; "
61 "powerpc-ofw",
62 "powerpc-common",
64 "powerpc-opal",
101 int (*zbufsize)(size_t size);
[all …]
Dram.c1 // 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");
48 MODULE_PARM_DESC(blackbox_size, "size of blackbox log");
62 "size of reserved RAM used to store oops/panic logs");
69 static int ramoops_max_reason = -1;
77 "if non-zero, the option enables ECC support and specifies "
78 "ECC buffer size in bytes (1 is a special value, means 16 "
[all …]
Dzone.c1 // SPDX-License-Identifier: GPL-2.0
26 * struct psz_head - 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 …]
/kernel/linux/linux-6.6/fs/pstore/
Dram.c1 // 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");
50 MODULE_PARM_DESC(blackbox_size, "size of blackbox log");
64 "size of reserved RAM used to store oops/panic logs");
69 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached");
71 static int ramoops_max_reason = -1;
79 "if non-zero, the option enables ECC support and specifies "
[all …]
Dplatform.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Persistent Storage - platform driver interface parts.
5 * Copyright (C) 2007-2008 Google, Inc.
36 * We defer making "oops" entries appear in pstore - see
40 static int pstore_update_ms = -1;
43 "(default is -1, which means runtime updates are disabled; "
54 "powerpc-ofw",
55 "powerpc-common",
57 "powerpc-opal",
87 * size, and compresses ASCII text comparatively well. In terms of compression
[all …]
Dzone.c1 // 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 …]
/kernel/linux/linux-6.6/lib/pldmfw/
Dpldmfw.c1 // 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 …]
Dpldmfw_private.h1 /* 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 …]
/kernel/linux/linux-5.10/lib/pldmfw/
Dpldmfw.c1 // 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 …]
Dpldmfw_private.h1 /* 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 …]
/kernel/linux/linux-6.6/fs/freevxfs/
Dvxfs_olt.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/firmware/efi/
Defi-pstore.c1 // 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 …]
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-record.c1 // 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>
13 #include "util/parse-events.h"
28 #include "util/record.h"
35 #include "util/parse-branch-options.h"
36 #include "util/parse-regs-options.h"
[all …]
/kernel/linux/linux-5.10/fs/freevxfs/
Dvxfs_olt.h2 * Copyright (c) 2000-2001 Christoph Hellwig.
34 * Veritas filesystem driver - Object Location Table data structures.
42 * OLT magic number (vxfs_olt->olt_magic).
62 * OLT extent. It is used to fing certain filesystem-wide metadata, e.g.
67 __fs32 olt_size; /* size of this entry */
74 __fs32 olt_esize; /* size of this extent */
76 __fs32 olt_nsize; /* size of next extent */
84 __fs32 olt_type; /* type of this record */
85 __fs32 olt_size; /* size of this record */
92 __fs32 olt_type; /* type of this record */
[all …]
/kernel/linux/linux-6.6/include/linux/
Dpstore.h1 /* 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 */
53 * struct pstore_record - details of a pstore record entry
55 * @type: pstore record type
56 * @id: per-type unique identifier for record
57 * @time: timestamp of the record
58 * @buf: pointer to record contents
59 * @size: size of @buf
[all …]
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/
Dplugin_function.c1 // 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 …]
/kernel/linux/linux-5.10/include/linux/
Dpstore.h1 /* 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 */
53 * struct pstore_record - details of a pstore record entry
55 * @type: pstore record type
56 * @id: per-type unique identifier for record
57 * @time: timestamp of the record
58 * @buf: pointer to record contents
59 * @size: size of @buf
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/
Dfw.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dfw.h1 /* 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 …]
/kernel/linux/linux-5.10/tools/firmware/
Dihex2fw.c1 // 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 …]
/kernel/linux/linux-6.6/tools/firmware/
Dihex2fw.c1 // 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 …]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
Dnvram_64.c1 // 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 …]

12345678910>>...42