Home
last modified time | relevance | path

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

12345678910>>...33

/linux/drivers/gpu/drm/i915/gt/uc/
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 …]
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 …]
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/fs/jfs/
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 …]
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/drivers/md/
A Draid5-cache.c565 struct r5l_log *log = io->log; in r5l_log_endio() local
571 md_error(log->rdev->mddev, log->rdev); in r5l_log_endio()
700 log = READ_ONCE(conf->log); in r5c_disable_writeback_async()
750 log->log_start = r5l_ring_add(log, log->log_start, BLOCK_SECTORS); in r5_reserve_log_entry()
776 io->log = log; in r5l_new_meta()
815 log->current_io = r5l_new_meta(log); in r5l_get_meta()
1225 struct r5l_log *log = io->log; in __r5l_stripe_write_finished() local
1292 if (!log || !log->need_cache_flush) in r5l_flush_stripe_to_raid()
3009 log->seq = log->last_cp_seq + 1; in r5l_load_log()
3137 WRITE_ONCE(conf->log, log); in r5l_init_log()
[all …]
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 …]
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 …]
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/fs/xfs/
A Dxfs_log.c1285 log->l_iclog_hsize = log->l_iclog_heads << BBSHIFT; in xlog_get_iclog_buffer_size()
1686 if (log->l_targ != log->l_mp->m_ddev_targp && in xlog_write_iclog()
2819 log->l_prev_block = log->l_curr_block; in xlog_state_switch_iclogs()
2820 log->l_prev_cycle = log->l_curr_cycle; in xlog_state_switch_iclogs()
2831 if (log->l_curr_block >= log->l_logBBsize) { in xlog_state_switch_iclogs()
2839 log->l_curr_block -= log->l_logBBsize; in xlog_state_switch_iclogs()
3276 log->l_curr_cycle, log->l_curr_block, in xlog_verify_dump_tail()
3277 log->l_prev_cycle, log->l_prev_block); in xlog_verify_dump_tail()
3282 log->l_tail_space, log->l_logsize, in xlog_verify_dump_tail()
3455 if (!log) in xlog_force_shutdown()
[all …]
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
3425 !xfs_log_check_lsn(log->l_mp, log->l_mp->m_sb.sb_lsn)) in xlog_recover()
[all …]
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)
486 struct xlog *log) in xlog_shutdown_wait() argument
488 wait_var_event(&log->l_opstate, xlog_is_shutdown(log)); in xlog_shutdown_wait()
494 struct xlog *log);
497 struct xlog *log);
566 xlog_cil_force(struct xlog *log) in xlog_cil_force() argument
568 xlog_cil_force_seq(log, log->l_cilp->xc_current_sequence); in xlog_cil_force()
597 struct xlog *log, in xlog_lsn_sub() argument
623 struct xlog *log, in xlog_valid_lsn() argument
[all …]
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()
208 struct xlog *log) in xlog_cil_init_post_recovery() argument
210 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_init_post_recovery()
272 struct xlog *log, in xlog_cil_alloc_shadow_bufs() argument
377 struct xlog *log, in xfs_cil_prepare_item() argument
447 struct xlog *log, in xlog_cil_insert_format_items() argument
529 struct xlog *log, in xlog_cil_over_hard_limit() argument
548 struct xlog *log, in xlog_cil_insert_items() argument
1551 struct xlog *log) in xlog_cil_push_background() argument
[all …]
/linux/drivers/accel/ivpu/
A Divpu_fw_log.c42 if (log->header_size < sizeof(*log) || log->header_size > 1024) { in fw_log_ptr()
46 if ((char *)log + log->size > (char *)ivpu_bo_vaddr(bo) + ivpu_bo_size(bo)) { in fw_log_ptr()
51 *log_header = log; in fw_log_ptr()
52 *offset += log->size; in fw_log_ptr()
56 log->name, log->write_index, log->size, log->wrap_count, log->header_version, in fw_log_ptr()
57 log->header_size, log->format, log->alignment); in fw_log_ptr()
96 char *log_buffer = (void *)log + log->header_size; in fw_log_print_buffer()
97 u32 log_size = log->size - log->header_size; in fw_log_print_buffer()
101 if (!(log->write_index || log->wrap_count) || in fw_log_print_buffer()
102 (log->write_index == log->read_index && only_new_msgs)) { in fw_log_print_buffer()
[all …]
/linux/kernel/bpf/
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/fs/ntfs3/
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/include/linux/
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/drivers/gpu/drm/xe/
A Dxe_guc_log.c16 log_to_gt(struct xe_guc_log *log) in log_to_gt() argument
18 return container_of(log, struct xe_gt, uc.guc.log); in log_to_gt()
22 log_to_xe(struct xe_guc_log *log) in log_to_xe() argument
24 return gt_to_xe(log_to_gt(log)); in log_to_xe()
54 struct xe_device *xe = log_to_xe(log); in xe_guc_log_print()
58 xe_assert(xe, log->bo); in xe_guc_log_print()
60 size = log->bo->size; in xe_guc_log_print()
80 int xe_guc_log_init(struct xe_guc_log *log) in xe_guc_log_init() argument
82 struct xe_device *xe = log_to_xe(log); in xe_guc_log_init()
94 log->bo = bo; in xe_guc_log_init()
[all …]
/linux/fs/
A Dfs_parser.c103 int __fs_parse(struct p_log *log, in __fs_parse() argument
202 return fs_param_bad_value(log, param); in fs_param_is_bool()
207 return fs_param_bad_value(log, param); in fs_param_is_bool()
218 return fs_param_bad_value(log, param); in fs_param_is_u32()
222 return fs_param_bad_value(log, param); in fs_param_is_u32()
231 return fs_param_bad_value(log, param); in fs_param_is_s32()
235 return fs_param_bad_value(log, param); in fs_param_is_s32()
244 return fs_param_bad_value(log, param); in fs_param_is_u64()
248 return fs_param_bad_value(log, param); in fs_param_is_u64()
258 return fs_param_bad_value(log, param); in fs_param_is_enum()
[all …]
/linux/drivers/char/tpm/eventlog/
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/Documentation/admin-guide/device-mapper/
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 …]
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/tools/perf/tests/shell/base_report/
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…
72 … $CURRENT_TEST_DIR/perf.data --show-nr-samples > $LOGS_DIR/basic_nrsamples.log 2> $LOGS_DIR/basic_…
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
127 …NT_TEST_DIR/perf.data --stdio --showcpuutilization > $LOGS_DIR/basic_cpuut.log 2> $LOGS_DIR/basic_…
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_…
147 grep -P -v '^#' $LOGS_DIR/basic_pid.log | grep -P '\s+[\d\.]+%' | ../common/check_all_lines_matched…
162 …common/check_all_lines_matched.pl "$RE_LINE_EMPTY" "$RE_LINE_COMMENT" < $LOGS_DIR/basic_symbols.log
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-fs-xfs1 What: /sys/fs/xfs/<disk>/log/log_head_lsn
6 The log sequence number (LSN) of the current head of the
7 log. The LSN is exported in "cycle:basic block" format.
10 What: /sys/fs/xfs/<disk>/log/log_tail_lsn
15 The log sequence number (LSN) of the current tail of the
16 log. The LSN is exported in "cycle:basic block" format.
18 What: /sys/fs/xfs/<disk>/log/reserve_grant_head_bytes
23 The current state of the log reserve grant head. It
24 represents the total log reservation of all currently
28 What: /sys/fs/xfs/<disk>/log/write_grant_head_bytes
[all …]
/linux/Documentation/filesystems/xfs/
A Dxfs-delayed-logging-design.rst342 log wraps around.
354 until either a log buffer is filled (a log buffer can hold multiple
361 log buffers made available by the log manager. By default there are 8 log
802 log buffer metadata used such as log header records.
1007 Unpin log item
1016 Moves log tail
1041 Attach log vector and buffer to log item
1046 <next log force>
1053 write log vectors into log
1064 Unpin log item
[all …]

Completed in 85 milliseconds

12345678910>>...33