Home
last modified time | relevance | path

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

12345678910>>...28

/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c31 static void guc_log_copy_debuglogs_for_relay(struct intel_guc_log *log);
40 static void _guc_log_init_sizes(struct intel_guc_log *log) in _guc_log_init_sizes() argument
42 struct intel_guc *guc = log_to_guc(log); in _guc_log_init_sizes()
66 log->sizes[i].bytes = sections[i].default_val; in _guc_log_init_sizes()
69 if (log->sizes[GUC_LOG_SECTIONS_DEBUG].bytes >= SZ_1M && in _guc_log_init_sizes()
71 log->sizes[GUC_LOG_SECTIONS_CRASH].bytes = SZ_1M; in _guc_log_init_sizes()
76 if ((log->sizes[i].bytes % SZ_1M) == 0) { in _guc_log_init_sizes()
77 log->sizes[i].units = SZ_1M; in _guc_log_init_sizes()
78 log->sizes[i].flag = sections[i].flag; in _guc_log_init_sizes()
80 log->sizes[i].units = SZ_4K; in _guc_log_init_sizes()
[all …]
H A Dintel_guc_log_debugfs.c31 static u32 guc_log_dump_size(struct intel_guc_log *log) in guc_log_dump_size() argument
33 struct intel_guc *guc = log_to_guc(log); in guc_log_dump_size()
38 if (!log->vma) in guc_log_dump_size()
41 return obj_to_guc_log_dump_size(log->vma->obj); in guc_log_dump_size()
59 static u32 guc_load_err_dump_size(struct intel_guc_log *log) in guc_load_err_dump_size() argument
61 struct intel_guc *guc = log_to_guc(log); in guc_load_err_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
[all …]
H A Dintel_guc_log.h76 void intel_guc_log_init_early(struct intel_guc_log *log);
77 bool intel_guc_check_log_buf_overflow(struct intel_guc_log *log, enum guc_log_buffer_type type,
79 unsigned int intel_guc_get_log_buffer_size(struct intel_guc_log *log,
81 size_t intel_guc_get_log_buffer_offset(struct intel_guc_log *log, enum guc_log_buffer_type type);
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);
[all …]
/linux/fs/jfs/
H A Djfs_logmgr.c80 #define LOG_LOCK_INIT(log) mutex_init(&(log)->loglock) argument
81 #define LOG_LOCK(log) mutex_lock(&((log)->loglock)) argument
82 #define LOG_UNLOCK(log) mutex_unlock(&((log)->loglock)) argument
89 #define LOGGC_LOCK_INIT(log) spin_lock_init(&(log)->gclock) argument
90 #define LOGGC_LOCK(log) spin_lock_irq(&(log)->gclock) argument
91 #define LOGGC_UNLOCK(log) spin_unlock_irq(&(log)->gclock) argument
163 static int lmWriteRecord(struct jfs_log * log, struct tblock * tblk,
166 static int lmNextPage(struct jfs_log * log);
167 static int lmLogFileSystem(struct jfs_log * log, struct jfs_sb_info *sbi,
172 static int lbmLogInit(struct jfs_log * log);
[all …]
H A Djfs_txnmgr.c151 static void diLog(struct jfs_log *log, struct tblock *tblk, struct lrd *lrd,
153 static void dataLog(struct jfs_log *log, struct tblock *tblk, struct lrd *lrd,
155 static void dtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
157 static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
162 static void txLog(struct jfs_log *log, struct tblock *tblk,
166 static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
352 struct jfs_log *log; in txBegin() local
355 log = JFS_SBI(sb)->log; in txBegin()
357 if (!log) { in txBegin()
371 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBegin()
[all …]
/linux/fs/xfs/
H A Dxfs_log.c35 struct xlog *log);
41 struct xlog *log);
44 struct xlog *log,
51 struct xlog *log,
57 struct xlog *log,
62 struct xlog *log,
71 struct xlog *log);
159 struct xlog *log, in xlog_grant_return_space() argument
163 int64_t diff = xlog_lsn_sub(log, new_head, old_head); in xlog_grant_return_space()
165 xlog_grant_sub_space(&log->l_reserve_head, diff); in xlog_grant_return_space()
[all …]
H A Dxfs_log_recover.c57 struct xlog *log, in xlog_verify_bno() argument
61 if (blk_no < 0 || blk_no >= log->l_logBBsize) in xlog_verify_bno()
63 if (bbcount <= 0 || (blk_no + bbcount) > log->l_logBBsize) in xlog_verify_bno()
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()
82 xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer", in xlog_alloc_buffer()
101 if (nbblks > 1 && log->l_sectBBsize > 1) in xlog_alloc_buffer()
102 nbblks += log->l_sectBBsize; in xlog_alloc_buffer()
103 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_alloc_buffer()
113 struct xlog *log, in xlog_align() argument
[all …]
H A Dxfs_log_priv.h377 #define XLOG_CIL_SPACE_LIMIT(log) \ argument
378 min_t(int, (log)->l_logsize >> 3, BBTOB(XLOG_TOTAL_REC_SHIFT(log)) << 4)
380 #define XLOG_CIL_BLOCKING_SPACE_LIMIT(log) \ argument
381 (XLOG_CIL_SPACE_LIMIT(log) * 2)
464 xlog_recovery_needed(struct xlog *log) in xlog_recovery_needed() argument
466 return test_bit(XLOG_RECOVERY_NEEDED, &log->l_opstate); in xlog_recovery_needed()
470 xlog_in_recovery(struct xlog *log) in xlog_in_recovery() argument
472 return test_bit(XLOG_ACTIVE_RECOVERY, &log->l_opstate); in xlog_in_recovery()
476 xlog_is_shutdown(struct xlog *log) in xlog_is_shutdown() argument
478 return test_bit(XLOG_IO_ERROR, &log->l_opstate); in xlog_is_shutdown()
[all …]
H A Dxfs_log_cil.c35 struct xlog *log) in xlog_cil_ticket_alloc() argument
39 tic = xlog_ticket_alloc(log, 0, 1, 0); in xlog_cil_ticket_alloc()
53 struct xlog *log = cil->xc_log; in xlog_cil_set_iclog_hdr_count() local
56 (XLOG_CIL_BLOCKING_SPACE_LIMIT(log) / in xlog_cil_set_iclog_hdr_count()
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()
208 log->l_cilp->xc_ctx->sequence = 1; in xlog_cil_init_post_recovery()
209 xlog_cil_set_iclog_hdr_count(log->l_cilp); in xlog_cil_init_post_recovery()
269 struct xlog *log, in xlog_cil_alloc_shadow_bufs() argument
[all …]
/linux/kernel/bpf/
H A Dlog.c16 static bool bpf_verifier_log_attr_valid(const struct bpf_verifier_log *log) in bpf_verifier_log_attr_valid() argument
19 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()
24 if (log->level & ~BPF_LOG_MASK) in bpf_verifier_log_attr_valid()
26 if (log->len_total > UINT_MAX >> 2) in bpf_verifier_log_attr_valid()
31 int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level, in bpf_vlog_init() argument
34 log->level = log_level; in bpf_vlog_init()
35 log->ubuf = log_buf; in bpf_vlog_init()
36 log->len_total = log_size; in bpf_vlog_init()
39 if (!bpf_verifier_log_attr_valid(log)) in bpf_vlog_init()
[all …]
/linux/fs/ntfs3/
H A Dfslog.c1079 static inline u32 lsn_to_vbo(struct ntfs_log *log, const u64 lsn) in lsn_to_vbo() argument
1081 u32 vbo = (lsn << log->seq_num_bits) >> (log->seq_num_bits - 3); in lsn_to_vbo()
1087 static inline u32 next_page_off(struct ntfs_log *log, u32 off) in next_page_off() argument
1089 off = (off & ~log->sys_page_mask) + log->page_size; in next_page_off()
1090 return off >= log->l_size ? log->first_page : off; in next_page_off()
1093 static inline u32 lsn_to_page_off(struct ntfs_log *log, u64 lsn) in lsn_to_page_off() argument
1095 return (((u32)lsn) << 3) & log->page_mask; in lsn_to_page_off()
1098 static inline u64 vbo_to_lsn(struct ntfs_log *log, u32 off, u64 Seq) in vbo_to_lsn() argument
1100 return (off >> 3) + (Seq << log->file_data_bits); in vbo_to_lsn()
1103 static inline bool is_lsn_in_file(struct ntfs_log *log, u64 lsn) in is_lsn_in_file() argument
[all …]
/linux/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()
67 static struct xe_guc_log_snapshot *xe_guc_log_snapshot_alloc(struct xe_guc_log *log, bool atomic) in xe_guc_log_snapshot_alloc() argument
82 snapshot->size = log->bo->size; in xe_guc_log_snapshot_alloc()
142 struct xe_guc_log_snapshot *xe_guc_log_snapshot_capture(struct xe_guc_log *log, bool atomic) in xe_guc_log_snapshot_capture() argument
145 struct xe_device *xe = log_to_xe(log); in xe_guc_log_snapshot_capture()
[all …]
/linux/drivers/md/
H A Ddm-log.c154 struct dm_dirty_log *log; in dm_dirty_log_create() local
156 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()
166 log->flush_callback_fn = flush_callback_fn; in dm_dirty_log_create()
167 log->type = type; in dm_dirty_log_create()
168 if (type->ctr(log, ti, argc, argv)) { in dm_dirty_log_create()
169 kfree(log); in dm_dirty_log_create()
174 return log; in dm_dirty_log_create()
178 void dm_dirty_log_destroy(struct dm_dirty_log *log) in dm_dirty_log_destroy() argument
[all …]
H A Draid5-log.h7 int r5l_write_stripe(struct r5l_log *log, struct stripe_head *head_sh);
8 void r5l_write_stripe_run(struct r5l_log *log);
9 void r5l_flush_stripe_to_raid(struct r5l_log *log);
11 int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio);
12 void r5l_quiesce(struct r5l_log *log, int quiesce);
14 bool r5c_is_writeback(struct r5l_log *log);
21 void r5l_wake_reclaim(struct r5l_log *log, sector_t space);
24 int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh);
32 int r5l_start(struct r5l_log *log);
61 if (conf->log) { in log_stripe()
[all …]
/linux/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);
58 int (*is_clean)(struct dm_dirty_log *log, region_t region);
71 int (*in_sync)(struct dm_dirty_log *log, region_t region,
78 int (*flush)(struct dm_dirty_log *log);
86 void (*mark_region)(struct dm_dirty_log *log, region_t region);
[all …]
/linux/fs/
H A Dfs_parser.c104 int __fs_parse(struct p_log *log, in __fs_parse() argument
118 warn_plog(log, "Deprecated parameter '%s'", param->key); in __fs_parse()
125 return inval_plog(log, "Unexpected value for '%s'", in __fs_parse()
129 int ret = p->type(log, p, param, result); in __fs_parse()
194 static int fs_param_bad_value(struct p_log *log, struct fs_parameter *param) in fs_param_bad_value() argument
196 return inval_plog(log, "Bad value for '%s'", param->key); in fs_param_bad_value()
199 int fs_param_is_bool(struct p_log *log, const struct fs_parameter_spec *p, in fs_param_is_bool() 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()
215 int fs_param_is_u32(struct p_log *log, const struct fs_parameter_spec *p, in fs_param_is_u32() argument
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A Dlog-writes.rst2 dm-log-writes
5 This target takes 2 devices, one to pass all IO to normally, and one to log all
9 able to take arbitrary data from userspace to insert into the log. The data
10 that is in the WRITE requests is copied into the log to make the replay happen
16 We log things in order of completion once we are sure the write is no longer in
19 the log in a way that correlates to what is on disk and not what is in cache,
24 the FLUSH request completes we log all of the WRITEs and then the FLUSH. Only
31 The log would show the following:
52 which isn't quite what happened and wouldn't be caught during the log replay.
59 log-writes <dev_path> <log_dev_path>
[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/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/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
28 ../common/check_all_patterns_found.pl "PERF-REPORT" "NAME" "SYNOPSIS" "DESCRIPTION" "OPTIONS" "OVERHEAD\s+CALCULATION" "SEE ALSO" < $LOGS_DIR/basic_helpmsg.log
30 ../common/check_all_patterns_found.pl "input" "verbose" "show-nr-samples" "show-cpu-utilization" "threads" "comms" "pid" "tid" "dsos" "symbols" "symbol-filter" < $LOGS_DIR/basic_helpmsg.log
32 ../common/check_all_patterns_found.pl "hide-unresolved" "sort" "fields" "parent" "exclude-other" "column-widths" "field-separator" "dump-raw-trace" "children" < $LOGS_DIR/basic_helpmsg.log
34 ../common/check_all_patterns_found.pl "call-graph" "max-stack" "inverted" "ignore-callees" "pretty" "stdio" "tui" "gtk" "vmlinux" "kallsyms" "modules" < $LOGS_DIR/basic_helpmsg.log
36 ../common/check_all_patterns_found.pl "force" "symfs" "cpu" "disassembler-style" "source" "asm-raw" "show-total-period" "show-info" "branch-stack" "group" < $LOGS_DIR/basic_helpmsg.log
38 ../common/check_all_patterns_found.pl "branch-history" "objdump" "demangle" "percent-limit" "percentage" "header" "itrace" "full-source-path" "show-ref-call-graph" < $LOGS_DIR/basic_helpmsg.log
53 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio > $LOGS_DIR/basic_basic.log 2> $LOGS_DIR/basic_basic.err
60 ../common/check_all_patterns_found.pl "$REGEX_LOST_SAMPLES_INFO" "$REGEX_SAMPLES_INFO" "$REGEX_LINES_HEADER" "$REGEX_LINES" < $LOGS_DIR/basic_basic.log
72 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --show-nr-samples > $LOGS_DIR/basic_nrsamples.log
[all...]
/linux/Documentation/filesystems/xfs/
H A Dxfs-delayed-logging-design.rst40 The reason for these differences is to keep the amount of log space and CPU time
46 The method used to log an item or chain modifications together isn't
57 XFS has two types of high level transactions, defined by the type of log space
141 a "log force" to flush the outstanding committed transactions to stable storage
146 tend to use log forces to ensure modifications are on stable storage only when
160 A transaction reservation provides a guarantee that there is physical log space
164 log in the worst case. This means that if we are modifying a btree in the
179 log has this much space available before the transaction is allowed to proceed
180 so that when we come to write the dirty metadata into the log we don't run out
181 of log space half way through the write.
[all …]
/linux/tools/testing/selftests/amd-pstate/
H A Dgitsource.sh63 rm -rf $OUTFILE_GIT*.log
91 …KUP_DIR/$OUTFILE_GIT.time-gitsource-$1-$2.log make test -j$MAKE_CPUS > $BACKUP_DIR/$OUTFILE_GIT-pe…
104 … results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-des-perf-$1-$2.log
105 …perf=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-des-perf-$1-$2.log)
108 …$7}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-freq-$1-$2.log
109 avg_freq=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-freq-$1-$2.log)
112 …11}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-load-$1-$2.log
113 avg_load=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-load-$1-$2.log)
116 … user $OUTFILE_GIT.time-gitsource-$1-$2.log | awk '{print $1}' | sed -e 's/user//' > $OUTFILE_GIT-…
117 time_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-time-$1-$2.log)
[all …]
H A Dtbench.sh58 rm -rf $OUTFILE_TBENCH*.log
71 … 1000 -e power/energy-pkg/ tbench -t $TIME_LIMIT $PROCESS_NUM > $OUTFILE_TBENCH-perf-$1-$2.log 2>&1
86 … results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-des-perf-$1-$2.log
87 …f=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_TBENCH-des-perf-$1-$2.log)
90 …$7}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-freq-$1-$2.log
91 …_freq=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_TBENCH-freq-$1-$2.log)
94 …11}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-load-$1-$2.log
95 …_load=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_TBENCH-load-$1-$2.log)
98 …grep Throughput $OUTFILE_TBENCH-perf-$1-$2.log | awk '{print $2}' > $OUTFILE_TBENCH-throughput-$1-…
99 tp_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_TBENCH-throughput-$1-$2.log)
[all …]
/linux/Documentation/ABI/testing/
H 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/tools/testing/selftests/powerpc/eeh/
H A Deeh-functions.sh6 log() { function
56 log "debugfs EEH testing files are missing. Is debugfs mounted?"
68 log "$dev, Skipped: bridge"
77 log "$dev, Skipped: ahci doesn't support recovery"
87 log "$dev, Skipped: Bad initial PE state"
101 log "Error: '$dev' must be a sysfs device name (DDDD:BB:DD.F)"
125 log "$dev, waited $i/${max_wait}"
130 log "$dev, Failed to recover!"
134 log "$dev, Recovered after $i seconds"
208 log "Unable to enable VFs on $pf, skipping"
[all …]

12345678910>>...28