Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 864) sorted by relevance

12345678910>>...35

/linux-6.15/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c84 if (!IS_ALIGNED(log->sizes[i].bytes, log->sizes[i].units)) in _guc_log_init_sizes()
86 sections[i].name, log->sizes[i].bytes, log->sizes[i].units); in _guc_log_init_sizes()
87 log->sizes[i].count = log->sizes[i].bytes / log->sizes[i].units; in _guc_log_init_sizes()
297 relay_reserve(log->relay.channel, log->vma->obj->base.size - in guc_move_to_next_buf()
492 if (!log->vma || !log->buf_addr) in guc_log_relay_map()
535 subbuf_size = log->vma->size - intel_guc_log_section_size_capture(log); in guc_log_relay_create()
632 log->vma = vma; in intel_guc_log_create()
645 log->level = __get_default_log_level(log); in intel_guc_log_create()
647 log->level, str_enabled_disabled(log->level), in intel_guc_log_create()
696 log->level = level; in intel_guc_log_set_level()
[all …]
H A Dintel_guc_log_debugfs.c33 struct intel_guc *guc = log_to_guc(log); in guc_log_dump_size()
38 if (!log->vma) in guc_log_dump_size()
84 struct intel_guc_log *log = data; in guc_log_level_get() local
86 if (!log->vma) in guc_log_level_get()
89 *val = intel_guc_log_get_level(log); in guc_log_level_get()
96 struct intel_guc_log *log = data; in guc_log_level_set() local
98 if (!log->vma) in guc_log_level_set()
115 file->private_data = log; in guc_log_relay_open()
117 return intel_guc_log_relay_open(log); in guc_log_relay_open()
141 intel_guc_log_relay_flush(log); in guc_log_relay_write()
[all …]
H A Dintel_guc_log.h76 void intel_guc_log_init_early(struct intel_guc_log *log);
82 int intel_guc_log_create(struct intel_guc_log *log);
83 void intel_guc_log_destroy(struct intel_guc_log *log);
85 int intel_guc_log_set_level(struct intel_guc_log *log, u32 level);
86 bool intel_guc_log_relay_created(const struct intel_guc_log *log);
87 int intel_guc_log_relay_open(struct intel_guc_log *log);
88 int intel_guc_log_relay_start(struct intel_guc_log *log);
89 void intel_guc_log_relay_flush(struct intel_guc_log *log);
90 void intel_guc_log_relay_close(struct intel_guc_log *log);
92 void intel_guc_log_handle_flush_event(struct intel_guc_log *log);
[all …]
/linux-6.15/fs/jfs/
H A Djfs_logmgr.c258 mp->log = log; in lmLog()
946 if (log->sync == log->syncpt) { in lmLogSync()
949 log->sync = log->lsn; in lmLogSync()
971 log->syncpt = log->sync; in lmLogSync()
1130 sbi->log = log; in lmLogOpen()
1182 JFS_SBI(sb)->log = log; in open_inline_log()
1315 log, (unsigned long long)log->base, log->size); in lmLogInit()
1325 log, (unsigned long long)log->base, log->size); in lmLogInit()
1391 log->sync = log->syncpt; in lmLogInit()
1395 log->lsn, log->syncpt, log->sync); in lmLogInit()
[all …]
H A Djfs_txnmgr.c355 log = JFS_SBI(sb)->log; in txBegin()
357 if (!log) { in txBegin()
456 log = JFS_SBI(sb)->log; in txBeginAnon()
506 log = JFS_SBI(tblk->sb)->log; in txEnd()
911 log = JFS_SBI(tblk->sb)->log; in txUnlock()
1160 log = JFS_SBI(sb)->log; in txCommit()
1161 cd.log = log; in txCommit()
2666 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in txLazyCommit()
2794 struct jfs_log *log = mp->log; in LogSyncRelease() local
2815 struct jfs_log *log = JFS_SBI(sb)->log; in txQuiesce() local
[all …]
/linux-6.15/drivers/md/
H A Draid5-cache.c561 struct r5l_log *log = io->log; in r5l_log_endio() local
567 md_error(log->rdev->mddev, log->rdev); in r5l_log_endio()
696 log = READ_ONCE(conf->log); in r5c_disable_writeback_async()
746 log->log_start = r5l_ring_add(log, log->log_start, BLOCK_SECTORS); in r5_reserve_log_entry()
772 io->log = log; in r5l_new_meta()
811 log->current_io = r5l_new_meta(log); in r5l_get_meta()
1221 struct r5l_log *log = io->log; in __r5l_stripe_write_finished() local
1288 if (!log || !log->need_cache_flush) in r5l_flush_stripe_to_raid()
3004 log->seq = log->last_cp_seq + 1; in r5l_load_log()
3132 WRITE_ONCE(conf->log, log); in r5l_init_log()
[all …]
H A Ddm-log.c156 log = kmalloc(sizeof(*log), GFP_KERNEL); in dm_dirty_log_create()
157 if (!log) in dm_dirty_log_create()
162 kfree(log); in dm_dirty_log_create()
167 log->type = type; in dm_dirty_log_create()
169 kfree(log); in dm_dirty_log_create()
174 return log; in dm_dirty_log_create()
180 log->type->dtr(log); in dm_dirty_log_destroy()
182 kfree(log); in dm_dirty_log_destroy()
327 header_from_disk(&log->header, log->disk_header); in read_header()
330 if (log->sync != DEFAULTSYNC || log->header.magic != MIRROR_MAGIC) { in read_header()
[all …]
H A Draid5-ppl.c248 io->log = log; in ppl_new_iounit()
378 if (!log->rdev || test_bit(Faulty, &log->rdev->flags)) { in ppl_write_stripe()
401 struct ppl_log *log = io->log; in ppl_log_endio() local
430 struct ppl_log *log = io->log; in ppl_submit_iounit() local
439 if (!log->rdev || test_bit(Faulty, &log->rdev->flags)) { in ppl_submit_iounit()
461 log->rdev->ppl.sector + log->rdev->ppl.size - log->next_io_sector < in ppl_submit_iounit()
463 log->next_io_sector = log->rdev->ppl.sector; in ppl_submit_iounit()
549 struct ppl_log *log = io->log; in ppl_io_unit_finished() local
584 struct ppl_log *log = io->log; in ppl_flush_endio() local
610 struct ppl_log *log = io->log; in ppl_do_flush() local
[all …]
H A Draid5-log.h32 int r5l_start(struct r5l_log *log);
61 if (conf->log) { in log_stripe()
82 if (conf->log) in log_stripe_write_finished()
90 if (conf->log) in log_write_stripe_run()
91 r5l_write_stripe_run(conf->log); in log_write_stripe_run()
98 if (conf->log) in log_flush_stripe_to_raid()
99 r5l_flush_stripe_to_raid(conf->log); in log_flush_stripe_to_raid()
108 if (conf->log) in log_handle_flush_request()
118 if (conf->log) in log_quiesce()
119 r5l_quiesce(conf->log, quiesce); in log_quiesce()
[all …]
/linux-6.15/drivers/accel/ivpu/
H A Divpu_fw_log.c42 if (log->header_size < sizeof(*log) || log->header_size > 1024) { in fw_log_from_bo()
56 log->name, log->write_index, log->size, log->wrap_count, log->header_version, in fw_log_from_bo()
57 log->header_size, log->format, log->alignment); in fw_log_from_bo()
96 char *log_data = (void *)log + log->header_size; in fw_log_print_buffer()
97 u32 data_size = log->size - log->header_size; in fw_log_print_buffer()
101 if (log->wrap_count == log->read_wrap_count) { in fw_log_print_buffer()
106 } else if (log->wrap_count == log->read_wrap_count + 1) { in fw_log_print_buffer()
148 log->read_index = READ_ONCE(log->write_index); in ivpu_fw_log_mark_read()
149 log->read_wrap_count = READ_ONCE(log->wrap_count); in ivpu_fw_log_mark_read()
154 log->read_index = READ_ONCE(log->write_index); in ivpu_fw_log_mark_read()
[all …]
/linux-6.15/fs/xfs/
H A Dxfs_log.c1286 log->l_iclog_hsize = log->l_iclog_heads << BBSHIFT; in xlog_get_iclog_buffer_size()
1687 if (log->l_targ != log->l_mp->m_ddev_targp && in xlog_write_iclog()
2818 log->l_prev_block = log->l_curr_block; in xlog_state_switch_iclogs()
2819 log->l_prev_cycle = log->l_curr_cycle; in xlog_state_switch_iclogs()
2830 if (log->l_curr_block >= log->l_logBBsize) { in xlog_state_switch_iclogs()
2838 log->l_curr_block -= log->l_logBBsize; in xlog_state_switch_iclogs()
3275 log->l_curr_cycle, log->l_curr_block, in xlog_verify_dump_tail()
3276 log->l_prev_cycle, log->l_prev_block); in xlog_verify_dump_tail()
3281 log->l_tail_space, log->l_logsize, in xlog_verify_dump_tail()
3454 if (!log) in xlog_force_shutdown()
[all …]
H A Dxfs_log_recover.c57 struct xlog *log, in xlog_verify_bno() argument
74 struct xlog *log, in xlog_alloc_buffer() argument
81 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer()
113 struct xlog *log, in xlog_align() argument
121 struct xlog *log, in xlog_do_io() argument
153 struct xlog *log, in xlog_bread_noalign() argument
163 struct xlog *log, in xlog_bread() argument
179 struct xlog *log, in xlog_bwrite() argument
270 struct xlog *log, in xlog_find_cycle_start() argument
3429 !xfs_log_check_lsn(log->l_mp, log->l_mp->m_sb.sb_lsn)) in xlog_recover()
[all …]
H A Dxfs_log_priv.h378 min_t(int, (log)->l_logsize >> 3, BBTOB(XLOG_TOTAL_REC_SHIFT(log)) << 4)
381 (XLOG_CIL_SPACE_LIMIT(log) * 2)
487 struct xlog *log) in xlog_shutdown_wait() argument
489 wait_var_event(&log->l_opstate, xlog_is_shutdown(log)); in xlog_shutdown_wait()
495 struct xlog *log);
498 struct xlog *log);
567 xlog_cil_force(struct xlog *log) in xlog_cil_force() argument
569 xlog_cil_force_seq(log, log->l_cilp->xc_current_sequence); in xlog_cil_force()
598 struct xlog *log, in xlog_lsn_sub() argument
624 struct xlog *log, in xlog_valid_lsn() argument
[all …]
H A Dxfs_log_cil.c35 struct xlog *log) in xlog_cil_ticket_alloc() argument
57 (log->l_iclog_size - log->l_iclog_hsize))); in xlog_cil_set_iclog_hdr_count()
205 struct xlog *log) in xlog_cil_init_post_recovery() argument
207 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_init_post_recovery()
269 struct xlog *log, in xlog_cil_alloc_shadow_bufs() argument
374 struct xlog *log, in xfs_cil_prepare_item() argument
444 struct xlog *log, in xlog_cil_insert_format_items() argument
526 struct xlog *log, in xlog_cil_over_hard_limit() argument
545 struct xlog *log, in xlog_cil_insert_items() argument
1547 struct xlog *log) in xlog_cil_push_background() argument
[all …]
/linux-6.15/kernel/bpf/
H A Dlog.c19 if (!!log->ubuf != !!log->len_total) in bpf_verifier_log_attr_valid()
22 if (log->ubuf && log->level == 0) in bpf_verifier_log_attr_valid()
81 if (log->end_pos < log->len_total) { in bpf_verifier_vlog()
82 new_n = min_t(u32, log->len_total - log->end_pos, n); in bpf_verifier_vlog()
97 if (new_end - log->start_pos >= log->len_total) in bpf_verifier_vlog()
165 if (log->end_pos < log->start_pos) in bpf_vlog_reset()
166 log->start_pos = log->end_pos; in bpf_vlog_reset()
192 char *lbuf = log->kbuf, *rbuf = log->kbuf + n; in bpf_vlog_reverse_ubuf()
232 if (!log || log->level == 0 || log->level == BPF_LOG_KERNEL) in bpf_vlog_finalize()
290 if (!!log->ubuf != !!log->len_total) in bpf_vlog_finalize()
[all …]
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_guc_log.c23 log_to_guc(struct xe_guc_log *log) in log_to_guc() argument
25 return container_of(log, struct xe_guc, log); in log_to_guc()
29 log_to_gt(struct xe_guc_log *log) in log_to_gt() argument
31 return container_of(log, struct xe_gt, uc.guc.log); in log_to_gt()
35 log_to_xe(struct xe_guc_log *log) in log_to_xe() argument
37 return gt_to_xe(log_to_gt(log)); in log_to_xe()
82 snapshot->size = log->bo->size; in xe_guc_log_snapshot_alloc()
152 if (!log->bo) in xe_guc_log_snapshot_capture()
176 snapshot->level = log->level; in xe_guc_log_snapshot_capture()
232 xe_guc_log_print(log, &lp); in xe_guc_log_print_dmesg()
[all …]
/linux-6.15/fs/ntfs3/
H A Dfslog.c1340 log->oldest_lsn = log->seq_num << log->file_data_bits; in log_create()
1358 log->data_size = log->page_size - log->data_off; in log_create()
1362 log->reserved = log->data_size - log->record_header_len; in log_create()
1370 log->restart_size = log->sys_page_size - log->ra_off; in log_create()
1378 log->total_avail_pages = log->l_size - log->first_page; in log_create()
1387 log->total_avail = log->total_avail * log->data_size; in log_create()
1545 log->next_page == log->first_page ? log->l_size : in current_log_avail()
3957 log->seq_num = log->last_lsn >> log->file_data_bits; in log_replay()
3959 log->restart_size = log->sys_page_size - log->ra_off; in log_replay()
3963 log->data_size = log->page_size - log->data_off; in log_replay()
[all …]
/linux-6.15/drivers/pci/pcie/
H A Dtlp.c69 if (tlp_len > ARRAY_SIZE(log->dw)) in pcie_read_tlp_log()
70 tlp_len = ARRAY_SIZE(log->dw); in pcie_read_tlp_log()
72 memset(log, 0, sizeof(*log)); in pcie_read_tlp_log()
90 log->flit = flit; in pcie_read_tlp_log()
114 log->dw[0], log->dw[1], log->dw[2], log->dw[3]); in pcie_print_tlp_log()
116 if (log->flit) { in pcie_print_tlp_log()
119 " %#010x", log->dw[i]); in pcie_print_tlp_log()
122 if (log->prefix[0]) in pcie_print_tlp_log()
126 if (!log->prefix[i]) in pcie_print_tlp_log()
129 " %#010x", log->prefix[i]); in pcie_print_tlp_log()
[all …]
/linux-6.15/include/linux/
H A Ddm-dirty-log.h36 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti,
38 void (*dtr)(struct dm_dirty_log *log);
44 int (*presuspend)(struct dm_dirty_log *log);
45 int (*postsuspend)(struct dm_dirty_log *log);
46 int (*resume)(struct dm_dirty_log *log);
52 uint32_t (*get_region_size)(struct dm_dirty_log *log);
71 int (*in_sync)(struct dm_dirty_log *log, region_t region,
78 int (*flush)(struct dm_dirty_log *log);
108 void (*set_region_sync)(struct dm_dirty_log *log,
114 region_t (*get_sync_count)(struct dm_dirty_log *log);
[all …]
/linux-6.15/fs/
H A Dfs_parser.c104 int __fs_parse(struct p_log *log, in __fs_parse() argument
204 return fs_param_bad_value(log, param); in fs_param_is_bool()
209 return fs_param_bad_value(log, param); in fs_param_is_bool()
220 return fs_param_bad_value(log, param); in fs_param_is_u32()
224 return fs_param_bad_value(log, param); in fs_param_is_u32()
233 return fs_param_bad_value(log, param); in fs_param_is_s32()
237 return fs_param_bad_value(log, param); in fs_param_is_s32()
246 return fs_param_bad_value(log, param); in fs_param_is_u64()
250 return fs_param_bad_value(log, param); in fs_param_is_u64()
309 return fs_param_bad_value(log, param); in fs_param_is_fd()
[all …]
/linux-6.15/drivers/char/tpm/eventlog/
H A Defi.c23 struct tpm_bios_log *log; in tpm_read_log_efi() local
35 log = &chip->log; in tpm_read_log_efi()
59 log->bios_event_log = devm_kmemdup(&chip->dev, log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi()
60 if (!log->bios_event_log) { in tpm_read_log_efi()
65 log->bios_event_log_end = log->bios_event_log + log_size; in tpm_read_log_efi()
80 devm_kfree(&chip->dev, log->bios_event_log); in tpm_read_log_efi()
95 tmp = devm_krealloc(&chip->dev, log->bios_event_log, in tpm_read_log_efi()
99 devm_kfree(&chip->dev, log->bios_event_log); in tpm_read_log_efi()
104 log->bios_event_log = tmp; in tpm_read_log_efi()
111 memcpy((void *)log->bios_event_log + log_size, in tpm_read_log_efi()
[all …]
/linux-6.15/tools/perf/tests/shell/base_report/
H A Dtest_basic.sh25 $CMD_PERF report --help > $LOGS_DIR/basic_helpmsg.log 2> $LOGS_DIR/basic_helpmsg.err
53 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio > $LOGS_DIR/basic_basic.log 2> $LOGS_DIR/ba…
77 …on/check_all_patterns_found.pl "$REGEX_LINES_HEADER" "$REGEX_LINES" < $LOGS_DIR/basic_nrsamples.log
89 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio --header-only > $LOGS_DIR/basic_header.log
132 …common/check_all_patterns_found.pl "$REGEX_LINES_HEADER" "$REGEX_LINES" < $LOGS_DIR/basic_cpuut.log
144 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --pid=1 > $LOGS_DIR/basic_pid.log 2> $LOGS_…
162 …common/check_all_lines_matched.pl "$RE_LINE_EMPTY" "$RE_LINE_COMMENT" < $LOGS_DIR/basic_symbols.log
189 …D_PERF report -i $CURRENT_TEST_DIR/perf.data.1 --stdio --header-only > $LOGS_DIR/latency_header.log
192 ../common/check_all_patterns_found.pl ", context_switch = 1, " < $LOGS_DIR/latency_header.log
203 …/common/check_all_patterns_found.pl "# Overhead Latency Command" < $LOGS_DIR/latency_default.log
[all …]
/linux-6.15/Documentation/admin-guide/device-mapper/
H A Dlog-writes.rst2 dm-log-writes
31 The log would show the following:
85 mkfs.btrfs -f /dev/mapper/log
93 Every log has a mark at the end labeled "dm-log-writes-end".
109 mkfs.btrfs -f /dev/mapper/log
118 dmsetup remove log
119 replay-log --log /dev/sdc --replay /dev/sdb --end-mark fsync
129 mkfs.btrfs -f /dev/mapper/log
136 dmsetup remove log
138 replay-log --log /dev/sdc --replay /dev/sdb --end-mark mkfs
[all …]
H A Ddm-log.rst16 dm_dirty_log_type in include/linux/dm-dirty-log.h). Various different
23 disk drivers/md/dm-log.c
24 core drivers/md/dm-log.c
25 userspace drivers/md/dm-log-userspace* include/linux/dm-log-userspace.h
28 The "disk" log type
30 This log implementation commits the log state to disk. This way, the
33 The "core" log type
35 This log implementation keeps the log state in memory. The log state
38 available for storing log state.
40 The "userspace" log type
[all …]
/linux-6.15/lib/kunit/
H A Ddebugfs.c48 if (!log) in debugfs_print_result()
55 spin_lock(&log->lock); in debugfs_print_result()
58 spin_unlock(&log->lock); in debugfs_print_result()
87 debugfs_print_result(seq, suite->log); in debugfs_print_results()
174 if (suite->log) in kunit_debugfs_create_suite()
188 suite->log = stream; in kunit_debugfs_create_suite()
196 test_case->log = stream; in kunit_debugfs_create_suite()
214 string_stream_destroy(suite->log); in kunit_debugfs_create_suite()
215 suite->log = NULL; in kunit_debugfs_create_suite()
218 test_case->log = NULL; in kunit_debugfs_create_suite()
[all …]

12345678910>>...35