Home
last modified time | relevance | path

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

12345678910>>...42

/linux/tools/perf/Documentation/
H A 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 …]
H A Dperf-record.txt1 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/fs/pstore/
H A 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");
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 …]
H A Dplatform.c1 // 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 …]
H A 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 …]
H A Dinode.c1 // 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/lib/pldmfw/
H A 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 …]
H A 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 …]
/linux/fs/freevxfs/
H A 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 …]
/linux/drivers/firmware/efi/
H A 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)");
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/drivers/md/dm-vdo/indexer/
H A Dopen-chapter.c1 // 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/include/linux/
H A 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 */
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/drivers/net/wireless/ath/wil6210/
H A 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 …]
H A Dfw_inc.c1 // 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/arch/powerpc/kernel/
H A 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 …]
/linux/tools/firmware/
H A 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 …]
/linux/drivers/acpi/apei/
H A Derst.c1 // 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/tools/perf/
H A 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-option
87 unsigned long size; global() member
152 struct record { global() struct
154 optsrecord global() argument
158 itrrecord global() argument
181 thread_datarecord global() argument
189 index_map_cntrecord global() argument
249 record__write(struct record * rec,struct mmap * map __maybe_unused,void * bf,size_t size) record__write() argument
288 record__aio_write(struct aiocb * cblock,int trace_fd,void * buf,size_t size,off_t off) record__aio_write() argument
396 size_t size; global() member
399 record__aio_pushfn(struct mmap * map,void * to,void * buf,size_t size) record__aio_pushfn() argument
645 record__pushfn(struct mmap * map,void * to,void * bf,size_t size) record__pushfn() argument
1532 process_comp_header(void * record,size_t increment) process_comp_header() argument
1535 size_t size = sizeof(*event); process_comp_header() local
2903 record_opts__parse_callchain(struct record_opts * record,struct callchain_param * callchain,const char * arg,bool unset) record_opts__parse_callchain() argument
3329 static struct record record = { global() variable
[all...]
/linux/fs/jfs/
H A Djfs_logmgr.h1 /* 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c37 * 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/kernel/printk/
H A Dprintk_ringbuffer.c1 // 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/net/tls/
H A Dtls_device.c13 * - 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/fs/hfs/
H A Dbrec.c1 // SPDX-License-Identifier: GPL-2.0
18 /* Get the length and offset of the given record in the given node */
24 dataoff = node->tree->node_size - (rec + 2) * 2; in hfs_brec_lenoff()
27 return be16_to_cpu(retval[0]) - *off; in hfs_brec_lenoff()
30 /* Get the length of the key from a keyed record */
35 if (node->type != HFS_NODE_INDEX && node->type != HFS_NODE_LEAF) in hfs_brec_keylen()
38 if ((node->type == HFS_NODE_INDEX) && in hfs_brec_keylen()
39 !(node->tree->attributes & HFS_TREE_VARIDXKEYS)) { in hfs_brec_keylen()
40 if (node->tree->attributes & HFS_TREE_BIGKEYS) in hfs_brec_keylen()
41 retval = node->tree->max_key_len + 2; in hfs_brec_keylen()
[all …]
/linux/fs/hfsplus/
H A Dbrec.c1 // SPDX-License-Identifier: GPL-2.0
19 /* Get the length and offset of the given record in the given node */
25 dataoff = node->tree->node_size - (rec + 2) * 2; in hfs_brec_lenoff()
28 return be16_to_cpu(retval[0]) - *off; in hfs_brec_lenoff()
31 /* Get the length of the key from a keyed record */
36 if (node->type != HFS_NODE_INDEX && node->type != HFS_NODE_LEAF) in hfs_brec_keylen()
39 if ((node->type == HFS_NODE_INDEX) && in hfs_brec_keylen()
40 !(node->tree->attributes & HFS_TREE_VARIDXKEYS) && in hfs_brec_keylen()
41 (node->tree->cnid != HFSPLUS_ATTR_CNID)) { in hfs_brec_keylen()
42 retval = node->tree->max_key_len + 2; in hfs_brec_keylen()
[all …]
/linux/tools/perf/util/
H A Dzstd.c1 // 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 …]

12345678910>>...42