/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_guc_log.c | 84 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() 493 if (!log->vma || !log->buf_addr) in guc_log_relay_map() 536 subbuf_size = log->vma->size - intel_guc_log_section_size_capture(log); in guc_log_relay_create() 630 log->vma = vma; in intel_guc_log_create() 643 log->level = __get_default_log_level(log); in intel_guc_log_create() 645 log->level, str_enabled_disabled(log->level), in intel_guc_log_create() 694 log->level = level; in intel_guc_log_set_level() [all …]
|
A D | intel_guc_log_debugfs.c | 33 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 D | intel_guc_log.h | 76 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.3-rc2/fs/jfs/ |
A D | jfs_logmgr.c | 258 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 D | jfs_txnmgr.c | 355 log = JFS_SBI(sb)->log; in txBegin() 421 ++log->logtid; in txBegin() 451 log = JFS_SBI(sb)->log; in txBeginAnon() 501 log = JFS_SBI(tblk->sb)->log; in txEnd() 906 log = JFS_SBI(tblk->sb)->log; in txUnlock() 1155 log = JFS_SBI(sb)->log; in txCommit() 1156 cd.log = log; in txCommit() 2661 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in txLazyCommit() 2788 struct jfs_log *log = mp->log; in LogSyncRelease() local 2809 struct jfs_log *log = JFS_SBI(sb)->log; in txQuiesce() local [all …]
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_log.c | 1470 log->l_iclog_hsize = log->l_iclog_heads << BBSHIFT; in xlog_get_iclog_buffer_size() 1566 if (!log) { in xlog_alloc_log() 1961 if (log->l_targ != log->l_mp->m_ddev_targp && in xlog_write_iclog() 2951 xlog_wait(&log->l_flush_wait, &log->l_icloglock); in xlog_state_get_iclog_space() 3042 xlog_grant_sub_space(log, &log->l_write_head.grant, in xfs_log_ticket_regrant() 3125 log->l_prev_block = log->l_curr_block; in xlog_state_switch_iclogs() 3126 log->l_prev_cycle = log->l_curr_cycle; in xlog_state_switch_iclogs() 3137 if (log->l_curr_block >= log->l_logBBsize) { in xlog_state_switch_iclogs() 3145 log->l_curr_block -= log->l_logBBsize; in xlog_state_switch_iclogs() 3762 if (!log) in xlog_force_shutdown() [all …]
|
A D | xfs_log_recover.c | 57 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 3371 !xfs_log_check_lsn(log->l_mp, log->l_mp->m_sb.sb_lsn)) in xlog_recover() [all …]
|
A D | xfs_log_priv.h | 374 min_t(int, (log)->l_logsize >> 3, BBTOB(XLOG_TOTAL_REC_SHIFT(log)) << 4) 377 (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); 596 xlog_cil_force(struct xlog *log) in xlog_cil_force() argument 598 xlog_cil_force_seq(log, log->l_cilp->xc_current_sequence); in xlog_cil_force() 631 struct xlog *log, in xlog_valid_lsn() argument 661 spin_lock(&log->l_icloglock); in xlog_valid_lsn() [all …]
|
A D | xfs_log_cil.c | 36 struct xlog *log) in xlog_cil_ticket_alloc() argument 58 (log->l_iclog_size - log->l_iclog_hsize))); in xlog_cil_set_iclog_hdr_count() 206 struct xlog *log) in xlog_cil_init_post_recovery() argument 208 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_init_post_recovery() 270 struct xlog *log, in xlog_cil_alloc_shadow_bufs() argument 375 struct xlog *log, in xfs_cil_prepare_item() argument 445 struct xlog *log, in xlog_cil_insert_format_items() argument 527 struct xlog *log, in xlog_cil_over_hard_limit() argument 546 struct xlog *log, in xlog_cil_insert_items() argument 1508 struct xlog *log, in xlog_cil_push_now() argument [all …]
|
A D | xfs_buf_item_recover.c | 48 struct xlog *log, in xlog_find_buffer_cancelled() argument 55 if (!log->l_buf_cancel_table) in xlog_find_buffer_cancelled() 69 struct xlog *log, in xlog_add_buffer_cancelled() argument 101 struct xlog *log, in xlog_is_buffer_cancelled() argument 118 struct xlog *log, in xlog_put_buffer_cancelled() argument 182 struct xlog *log, in xlog_recover_buf_commit_pass1() argument 541 struct xlog *log, in xlog_recover_do_dquot_buffer() argument 885 struct xlog *log, in xlog_recover_buf_commit_pass2() argument 1009 struct xlog *log) in xlog_check_buf_cancel_table() argument 1020 struct xlog *log) in xlog_alloc_buf_cancel_table() argument [all …]
|
/linux-6.3-rc2/drivers/md/ |
A D | raid5-cache.c | 399 struct r5l_log *log = conf->log; in r5c_log_required_to_flush_cache() local 452 struct r5l_log *log = conf->log; in r5c_make_stripe_write_out() local 562 struct r5l_log *log = io->log; in r5l_log_endio() local 748 log->log_start = r5l_ring_add(log, log->log_start, BLOCK_SECTORS); in r5_reserve_log_entry() 774 io->log = log; in r5l_new_meta() 1154 struct r5l_log *log = conf->log; in r5c_calculate_new_cp() local 1223 struct r5l_log *log = io->log; in __r5l_stripe_write_finished() local 1424 struct r5l_log *log = conf->log; in r5c_do_reclaim() local 1553 struct r5l_log *log = conf->log; in r5l_reclaim_thread() local 1594 struct r5l_log *log = conf->log; in r5l_log_disk_error() local [all …]
|
A D | dm-log.c | 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() 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 D | raid5-ppl.c | 248 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 D | raid5-log.h | 32 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.3-rc2/fs/ntfs3/ |
A D | fslog.c | 1321 log->oldest_lsn = log->seq_num << log->file_data_bits; in log_create() 1339 log->data_size = log->page_size - log->data_off; in log_create() 1343 log->reserved = log->data_size - log->record_header_len; in log_create() 1351 log->restart_size = log->sys_page_size - log->ra_off; in log_create() 1359 log->total_avail_pages = log->l_size - log->first_page; in log_create() 1368 log->total_avail = log->total_avail * log->data_size; in log_create() 3944 log->seq_num = log->last_lsn >> log->file_data_bits; in log_replay() 3946 log->restart_size = log->sys_page_size - log->ra_off; in log_replay() 3950 log->data_size = log->page_size - log->data_off; in log_replay() 3995 log->oldest_lsn_off = lsn_to_vbo(log, log->oldest_lsn); in log_replay() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | dm-dirty-log.h | 36 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.3-rc2/drivers/char/tpm/eventlog/ |
A D | efi.c | 23 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.3-rc2/tools/testing/selftests/bpf/ |
A D | test_verifier_log.c | 55 attr.log_buf = ptr_to_u64(log); in load() 92 memset(log, 1, buf_len); in test_log_good() 94 ret = load(log, log_len, 1); in test_log_good() 97 len = strnlen(log, buf_len); in test_log_good() 108 if (strchr(log, 1)) { in test_log_good() 128 if (log) in test_log_bad() 129 check_ones(log, LOG_SIZE, in test_log_bad() 136 char log[LOG_SIZE]; in main() local 140 memset(log, 1, LOG_SIZE); in main() 147 test_log_bad(log, LOG_SIZE, 0); in main() [all …]
|
/linux-6.3-rc2/Documentation/admin-guide/device-mapper/ |
A D | log-writes.rst | 2 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 D | dm-log.rst | 16 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.3-rc2/fs/ |
A D | fs_parser.c | 103 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-6.3-rc2/Documentation/filesystems/ |
A D | xfs-delayed-logging-design.rst | 342 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 …]
|
/linux-6.3-rc2/tools/testing/selftests/powerpc/eeh/ |
A D | eeh-functions.sh | 6 log() { function 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" 214 log "unable to find enabled vf on $pf" [all …]
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-fs-xfs | 1 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 23 The current state of the log reserve grant head. It 24 represents the total log reservation of all currently 29 What: /sys/fs/xfs/<disk>/log/write_grant_head [all …]
|
/linux-6.3-rc2/tools/testing/selftests/amd-pstate/ |
A D | gitsource.sh | 63 rm -rf $OUTFILE_GIT*.log 86 …n/time -o ../$OUTFILE_GIT.time-gitsource-$1-$2.log make test -j$MAKE_CPUS > ../$OUTFILE_GIT-perf-$… 104 avg_freq=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-freq-$1-$2.log) 108 avg_load=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-load-$1-$2.log) 111 … user $OUTFILE_GIT.time-gitsource-$1-$2.log | awk '{print $1}' | sed -e 's/user//' > $OUTFILE_GIT-… 112 time_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-time-$1-$2.log) 115 grep Joules $OUTFILE_GIT-perf-$1-$2.log | awk '{print $4}' > $OUTFILE_GIT-energy-$1-$2.log 116 en_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-energy-$1-$2.log) 156 avg_freq=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_GIT-freq-$1.log) 164 time_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-time-$1.log) [all …]
|