Home
last modified time | relevance | path

Searched refs:record (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/Linux-v5.4/drivers/firmware/efi/
Defi-pstore.c39 struct pstore_record *record) in efi_pstore_read_func() argument
56 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func()
57 record->id = generic_id(time, part, cnt); in efi_pstore_read_func()
58 record->part = part; in efi_pstore_read_func()
59 record->count = cnt; in efi_pstore_read_func()
60 record->time.tv_sec = time; in efi_pstore_read_func()
61 record->time.tv_nsec = 0; in efi_pstore_read_func()
63 record->compressed = true; in efi_pstore_read_func()
65 record->compressed = false; in efi_pstore_read_func()
66 record->ecc_notice_size = 0; in efi_pstore_read_func()
[all …]
/Linux-v5.4/tools/perf/tests/attr/
DREADME35 perf record kill (test-record-basic)
36 perf record -b kill (test-record-branch-any)
37 perf record -j any kill (test-record-branch-filter-any)
38 perf record -j any_call kill (test-record-branch-filter-any_call)
39 perf record -j any_ret kill (test-record-branch-filter-any_ret)
40 perf record -j hv kill (test-record-branch-filter-hv)
41 perf record -j ind_call kill (test-record-branch-filter-ind_call)
42 perf record -j k kill (test-record-branch-filter-k)
43 perf record -j u kill (test-record-branch-filter-u)
44 perf record -c 123 kill (test-record-count)
[all …]
/Linux-v5.4/sound/usb/6fire/
Dfirmware.c80 static bool usb6fire_fw_ihex_next_record(struct ihex_record *record) in usb6fire_fw_ihex_next_record() argument
86 record->error = false; in usb6fire_fw_ihex_next_record()
89 while (record->txt_offset < record->txt_length in usb6fire_fw_ihex_next_record()
90 && record->txt_data[record->txt_offset] != ':') in usb6fire_fw_ihex_next_record()
91 record->txt_offset++; in usb6fire_fw_ihex_next_record()
92 if (record->txt_offset == record->txt_length) in usb6fire_fw_ihex_next_record()
96 record->txt_offset++; in usb6fire_fw_ihex_next_record()
97 if (record->txt_offset + 8 > record->txt_length) { in usb6fire_fw_ihex_next_record()
98 record->error = true; in usb6fire_fw_ihex_next_record()
102 record->len = usb6fire_fw_ihex_hex(record->txt_data + in usb6fire_fw_ihex_next_record()
[all …]
/Linux-v5.4/fs/pstore/
Dplatform.c373 void pstore_record_init(struct pstore_record *record, in pstore_record_init() argument
376 memset(record, 0, sizeof(*record)); in pstore_record_init()
378 record->psi = psinfo; in pstore_record_init()
381 record->time = ns_to_timespec64(ktime_get_real_fast_ns()); in pstore_record_init()
418 struct pstore_record record; in pstore_dump() local
420 pstore_record_init(&record, psinfo); in pstore_dump()
421 record.type = PSTORE_TYPE_DMESG; in pstore_dump()
422 record.count = oopscount; in pstore_dump()
423 record.reason = reason; in pstore_dump()
424 record.part = part; in pstore_dump()
[all …]
Dinode.c37 struct pstore_record *record; member
53 if (private->record) { in free_pstore_private()
54 kfree(private->record->buf); in free_pstore_private()
55 kfree(private->record); in free_pstore_private()
104 rec = (struct pstore_ftrace_record *)(ps->record->buf + data->off); in pstore_ftrace_seq_show()
128 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_read()
131 ps->record->buf, ps->total_size); in pstore_file_read()
141 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_open()
177 struct pstore_record *record = p->record; in pstore_unlink() local
179 if (!record->psi->erase) in pstore_unlink()
[all …]
Dram.c113 struct pstore_record *record) in ramoops_get_next_prz() argument
132 record->type = prz->type; in ramoops_get_next_prz()
133 record->id = id; in ramoops_get_next_prz()
223 static ssize_t ramoops_pstore_read(struct pstore_record *record) in ramoops_pstore_read() argument
226 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read()
236 record->time.tv_sec = 0; in ramoops_pstore_read()
237 record->time.tv_nsec = 0; in ramoops_pstore_read()
238 record->compressed = false; in ramoops_pstore_read()
243 record); in ramoops_pstore_read()
247 &record->time, in ramoops_pstore_read()
[all …]
/Linux-v5.4/drivers/usb/misc/
Dezusb.c76 const struct ihex_binrec *record; in ezusb_ihex_firmware_download() local
90 record = (const struct ihex_binrec *)firmware->data; in ezusb_ihex_firmware_download()
91 for (; record; record = ihex_next_binrec(record)) { in ezusb_ihex_firmware_download()
92 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { in ezusb_ihex_firmware_download()
93 ret = ezusb_writememory(dev, be32_to_cpu(record->addr), in ezusb_ihex_firmware_download()
94 (unsigned char *)record->data, in ezusb_ihex_firmware_download()
95 be16_to_cpu(record->len), WRITE_EXT_RAM); in ezusb_ihex_firmware_download()
100 be32_to_cpu(record->addr), record->data, in ezusb_ihex_firmware_download()
101 be16_to_cpu(record->len)); in ezusb_ihex_firmware_download()
110 record = (const struct ihex_binrec *)firmware->data; in ezusb_ihex_firmware_download()
[all …]
/Linux-v5.4/tools/firmware/
Dihex2fw.c54 static void file_record(struct ihex_binrec *record);
134 struct ihex_binrec *record; in process_ihex() local
162 record_size = ALIGN(sizeof(*record) + len, 4); in process_ihex()
163 record = malloc(record_size); in process_ihex()
164 if (!record) { in process_ihex()
168 memset(record, 0, record_size); in process_ihex()
169 record->len = len; in process_ihex()
172 if (i + 8 + (record->len * 2) > size) { in process_ihex()
178 record->addr = hex(data + i, &crc) << 8; i += 2; in process_ihex()
179 record->addr |= hex(data + i, &crc); i += 2; in process_ihex()
[all …]
/Linux-v5.4/fs/jbd2/
Drevoke.c140 struct jbd2_revoke_record_s *record; in insert_revoke_hash() local
145 record = kmem_cache_alloc(jbd2_revoke_record_cache, gfp_mask); in insert_revoke_hash()
146 if (!record) in insert_revoke_hash()
149 record->sequence = seq; in insert_revoke_hash()
150 record->blocknr = blocknr; in insert_revoke_hash()
153 list_add(&record->hash, hash_list); in insert_revoke_hash()
164 struct jbd2_revoke_record_s *record; in find_revoke_record() local
169 record = (struct jbd2_revoke_record_s *) hash_list->next; in find_revoke_record()
170 while (&(record->hash) != hash_list) { in find_revoke_record()
171 if (record->blocknr == blocknr) { in find_revoke_record()
[all …]
/Linux-v5.4/tools/lib/traceevent/plugins/
Dplugin_sched_switch.c49 struct tep_record *record, in write_and_save_comm() argument
55 comm = (char *)(record->data + field->offset); in write_and_save_comm()
69 struct tep_record *record, in sched_wakeup_handler() argument
75 if (tep_get_field_val(s, event, "pid", record, &val, 1)) in sched_wakeup_handler()
80 write_and_save_comm(field, record, s, val); in sched_wakeup_handler()
85 if (tep_get_field_val(s, event, "prio", record, &val, 0) == 0) in sched_wakeup_handler()
88 if (tep_get_field_val(s, event, "success", record, &val, 1) == 0) in sched_wakeup_handler()
91 if (tep_get_field_val(s, event, "target_cpu", record, &val, 0) == 0) in sched_wakeup_handler()
98 struct tep_record *record, in sched_switch_handler() argument
104 if (tep_get_field_val(s, event, "prev_pid", record, &val, 1)) in sched_switch_handler()
[all …]
Dplugin_hrtimer.c29 struct tep_record *record, in timer_expire_handler() argument
35 record, 0) == -1) in timer_expire_handler()
37 record, 1); in timer_expire_handler()
41 tep_print_num_field(s, "%llu", event, "now", record, 1); in timer_expire_handler()
44 record, 0); in timer_expire_handler()
49 struct tep_record *record, in timer_start_handler() argument
55 record, 0) == -1) in timer_start_handler()
57 record, 1); in timer_start_handler()
60 record, 0); in timer_start_handler()
63 tep_print_num_field(s, "%llu", event, "expires", record, 1); in timer_start_handler()
[all …]
Dplugin_kvm.c251 static int print_exit_reason(struct trace_seq *s, struct tep_record *record, in print_exit_reason() argument
258 if (tep_get_field_val(s, event, field, record, &val, 1) < 0) in print_exit_reason()
261 if (tep_get_field_val(s, event, "isa", record, &isa, 0) < 0) in print_exit_reason()
272 static int kvm_exit_handler(struct trace_seq *s, struct tep_record *record, in kvm_exit_handler() argument
277 if (print_exit_reason(s, record, event, "exit_reason") < 0) in kvm_exit_handler()
280 tep_print_num_field(s, " rip 0x%lx", event, "guest_rip", record, 1); in kvm_exit_handler()
282 if (tep_get_field_val(s, event, "info1", record, &info1, 0) >= 0 in kvm_exit_handler()
283 && tep_get_field_val(s, event, "info2", record, &info2, 0) >= 0) in kvm_exit_handler()
295 struct tep_record *record, in kvm_emulate_insn_handler() argument
303 if (tep_get_field_val(s, event, "rip", record, &rip, 1) < 0) in kvm_emulate_insn_handler()
[all …]
/Linux-v5.4/tools/perf/
Dbuiltin-record.c75 struct record { struct
104 static bool switch_output_signal(struct record *rec) in switch_output_signal() argument
110 static bool switch_output_size(struct record *rec) in switch_output_size()
117 static bool switch_output_time(struct record *rec) in switch_output_time()
123 static int record__write(struct record *rec, struct mmap *map __maybe_unused, in record__write()
141 static int record__aio_enabled(struct record *rec);
142 static int record__comp_enabled(struct record *rec);
254 struct record *rec;
304 static int record__aio_push(struct record *rec, struct mmap *map, off_t *off) in record__aio_push()
351 static void record__aio_mmap_read_sync(struct record *rec) in record__aio_mmap_read_sync()
[all …]
/Linux-v5.4/drivers/gpu/drm/vboxvideo/
Dvbva_base.c64 struct vbva_record *record; in vbva_write() local
69 record = vbva_ctx->record; in vbva_write()
72 !record || !(record->len_and_flags & VBVA_F_RECORD_PARTIAL)) in vbva_write()
98 record->len_and_flags += chunk; in vbva_write()
158 vbva_ctx->record = NULL; in vbva_disable()
167 struct vbva_record *record; in vbva_buffer_begin_update() local
174 WARN_ON(vbva_ctx->buffer_overflow || vbva_ctx->record); in vbva_buffer_begin_update()
186 record = &vbva_ctx->vbva->records[vbva_ctx->vbva->record_free_index]; in vbva_buffer_begin_update()
187 record->len_and_flags = VBVA_F_RECORD_PARTIAL; in vbva_buffer_begin_update()
190 vbva_ctx->record = record; in vbva_buffer_begin_update()
[all …]
/Linux-v5.4/tools/perf/Documentation/
Djitdump-specification.txt29 …xed size header describing the type of record and its size. It is, itself, followed by the payload…
53 …ader is immediately followed by records. Each record starts with a fixed size header describing th…
55 The record header is specified in order as follows:
56 * uint32_t id : a value identifying the record type (see below)
57 * uint32_t total_size: the size in bytes of the record including the header.
58 * uint64_t timestamp : a timestamp of when the record was created.
60 The following record types are defined:
61 * Value 0 : JIT_CODE_LOAD : record describing a jitted function
62 * Value 1 : JIT_CODE_MOVE : record describing an already jitted function which is moved
63 * Value 2 : JIT_CODE_DEBUG_INFO: record describing the debug information for a jitted function
[all …]
Dtips.txt2 Sample related events with: perf record -e '{cycles,instructions}:S'
7 Save output of perf stat using: perf stat record <target workload>
17 Profiling branch (mis)predictions with: perf record -b / perf report
18 To show assembler sample contexts use perf record -b / perf script -F +brstackinsn --xed
23 For memory address profiling, try: perf mem record / perf mem report
25 To record callchains for each sample: perf record -g
26 To record every process run by a user: perf record -u <user>
27 Skip collecting build-id when recording: perf record -B
28 To change sampling frequency to 100 Hz: perf record -F 100
33 System-wide collection from all CPUs: perf record -a
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c183 struct eeprom_table_record *record, in __encode_table_record_to_buff() argument
190 buff[i++] = record->err_type; in __encode_table_record_to_buff()
192 buff[i++] = record->bank; in __encode_table_record_to_buff()
194 tmp = cpu_to_le64(record->ts); in __encode_table_record_to_buff()
198 tmp = cpu_to_le64((record->offset & 0xffffffffffff)); in __encode_table_record_to_buff()
202 buff[i++] = record->mem_channel; in __encode_table_record_to_buff()
203 buff[i++] = record->mcumc_id; in __encode_table_record_to_buff()
205 tmp = cpu_to_le64((record->retired_page & 0xffffffffffff)); in __encode_table_record_to_buff()
210 struct eeprom_table_record *record, in __decode_table_record_from_buff() argument
217 record->err_type = buff[i++]; in __decode_table_record_from_buff()
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dnvram_64.c385 static int nvram_pstore_write(struct pstore_record *record) in nvram_pstore_write() argument
392 if (record->part > 1 || (record->type != PSTORE_TYPE_DMESG)) in nvram_pstore_write()
399 oops_hdr->report_length = cpu_to_be16(record->size); in nvram_pstore_write()
402 if (record->compressed) in nvram_pstore_write()
406 (int) (sizeof(*oops_hdr) + record->size), err_type, in nvram_pstore_write()
407 record->count); in nvram_pstore_write()
412 record->id = record->part; in nvram_pstore_write()
421 static ssize_t nvram_pstore_read(struct pstore_record *record) in nvram_pstore_read() argument
435 record->type = PSTORE_TYPE_DMESG; in nvram_pstore_read()
440 record->type = PSTORE_TYPE_PPC_COMMON; in nvram_pstore_read()
[all …]
/Linux-v5.4/drivers/misc/cxl/
Dvphb.c106 int record; in cxl_pcie_config_info() local
108 record = cxl_pcie_cfg_record(bus->number, devfn); in cxl_pcie_config_info()
109 if (record > afu->crs_num) in cxl_pcie_config_info()
112 *_record = record; in cxl_pcie_config_info()
119 int rc, record; in cxl_pcie_read_config() local
130 rc = cxl_pcie_config_info(bus, devfn, afu, &record); in cxl_pcie_read_config()
136 rc = cxl_ops->afu_cr_read8(afu, record, offset, &val8); in cxl_pcie_read_config()
140 rc = cxl_ops->afu_cr_read16(afu, record, offset, &val16); in cxl_pcie_read_config()
144 rc = cxl_ops->afu_cr_read32(afu, record, offset, &val32); in cxl_pcie_read_config()
159 int rc, record; in cxl_pcie_write_config() local
[all …]
/Linux-v5.4/drivers/acpi/apei/
Derst.c749 static int __erst_write_to_nvram(const struct cper_record_header *record) in __erst_write_to_nvram() argument
767 int erst_write(const struct cper_record_header *record) in erst_write() argument
776 if (memcmp(record->signature, CPER_SIG_RECORD, CPER_SIG_SIZE)) in erst_write()
782 rc = __erst_write_to_nvram(record); in erst_write()
787 if (record->record_length > erst_erange.size) in erst_write()
792 memcpy(erst_erange.vaddr, record, record->record_length); in erst_write()
820 static ssize_t __erst_read(u64 record_id, struct cper_record_header *record, in __erst_read() argument
833 memcpy(record, rcd_tmp, len); in __erst_read()
843 ssize_t erst_read(u64 record_id, struct cper_record_header *record, in erst_read() argument
853 len = __erst_read(record_id, record, buflen); in erst_read()
[all …]
/Linux-v5.4/net/tls/
Dtls_device.c123 static void destroy_record(struct tls_record_info *record) in destroy_record() argument
127 for (i = 0; i < record->num_frags; i++) in destroy_record()
128 __skb_frag_unref(&record->frags[i]); in destroy_record()
129 kfree(record); in destroy_record()
232 static void tls_append_frag(struct tls_record_info *record, in tls_append_frag() argument
238 frag = &record->frags[record->num_frags - 1]; in tls_append_frag()
247 ++record->num_frags; in tls_append_frag()
252 record->len += size; in tls_append_frag()
258 struct tls_record_info *record, in tls_push_record() argument
266 record->end_seq = tp->write_seq + record->len; in tls_push_record()
[all …]
/Linux-v5.4/fs/hfs/
Dbfind.c84 fd->record = e; in __hfs_brec_find()
129 if (fd->record < 0) in hfs_brec_find()
174 while (cnt > fd->record) { in hfs_brec_goto()
175 cnt -= fd->record + 1; in hfs_brec_goto()
176 fd->record = bnode->num_recs - 1; in hfs_brec_goto()
190 fd->record -= cnt; in hfs_brec_goto()
192 while (cnt >= bnode->num_recs - fd->record) { in hfs_brec_goto()
193 cnt -= bnode->num_recs - fd->record; in hfs_brec_goto()
194 fd->record = 0; in hfs_brec_goto()
208 fd->record += cnt; in hfs_brec_goto()
[all …]
/Linux-v5.4/arch/m68k/kernel/
Dsetup_mm.c143 static void __init m68k_parse_bootinfo(const struct bi_record *record) in m68k_parse_bootinfo() argument
147 save_bootinfo(record); in m68k_parse_bootinfo()
149 while ((tag = be16_to_cpu(record->tag)) != BI_LAST) { in m68k_parse_bootinfo()
151 const void *data = record->data; in m68k_parse_bootinfo()
152 uint16_t size = be16_to_cpu(record->size); in m68k_parse_bootinfo()
190 unknown = amiga_parse_bootinfo(record); in m68k_parse_bootinfo()
192 unknown = atari_parse_bootinfo(record); in m68k_parse_bootinfo()
194 unknown = mac_parse_bootinfo(record); in m68k_parse_bootinfo()
196 unknown = q40_parse_bootinfo(record); in m68k_parse_bootinfo()
198 unknown = bvme6000_parse_bootinfo(record); in m68k_parse_bootinfo()
[all …]
/Linux-v5.4/tools/lib/traceevent/Documentation/
Dlibtraceevent-record_parse.txt7 Extract common fields from a record.
31 This set of functions can be used to extract common fields from a record.
33 The _tep_data_type()_ function gets the event id from the record _rec_.
37 The _tep_data_pid()_ function gets the process id from the record _rec_.
42 record _rec_. It reads the "common_preempt_count" field. The _tep_ argument is
45 The _tep_data_flags()_ function gets the latency flags from the record _rec_.
79 void process_record(struct tep_record *record)
83 data = tep_data_type(tep, record);
88 data = tep_data_pid(tep, record);
93 data = tep_data_preempt_count(tep, record);
[all …]
/Linux-v5.4/tools/bpf/bpftool/
Dxlated_dumper.c215 struct bpf_func_info *record; in dump_xlated_json() local
224 record = dd->func_info; in dump_xlated_json()
234 if (btf && record) { in dump_xlated_json()
235 if (record->insn_off == i) { in dump_xlated_json()
236 btf_dumper_type_only(btf, record->type_id, in dump_xlated_json()
243 record = (void *)record + dd->finfo_rec_size; in dump_xlated_json()
300 struct bpf_func_info *record; in dump_xlated_plain() local
308 record = dd->func_info; in dump_xlated_plain()
315 if (btf && record) { in dump_xlated_plain()
316 if (record->insn_off == i) { in dump_xlated_plain()
[all …]

12345678910>>...15