Home
last modified time | relevance | path

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

12345678910>>...27

/linux/fs/jfs/
A Djfs_logmgr.c258 mp->log = log; in lmLog()
954 if (log->sync == log->syncpt) { in lmLogSync()
957 log->sync = log->lsn; in lmLogSync()
979 log->syncpt = log->sync; in lmLogSync()
1138 sbi->log = log; in lmLogOpen()
1190 JFS_SBI(sb)->log = log; in open_inline_log()
1323 log, (unsigned long long)log->base, log->size); in lmLogInit()
1333 log, (unsigned long long)log->base, log->size); in lmLogInit()
1399 log->sync = log->syncpt; in lmLogInit()
1403 log->lsn, log->syncpt, log->sync); in lmLogInit()
[all …]
A Djfs_txnmgr.c355 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()
2695 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in txLazyCommit()
2822 struct jfs_log *log = mp->log; in LogSyncRelease() local
2843 struct jfs_log *log = JFS_SBI(sb)->log; in txQuiesce() local
[all …]
/linux/drivers/md/
A Draid5-cache.c399 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
749 log->log_start = r5l_ring_add(log, log->log_start, BLOCK_SECTORS); in r5_reserve_log_entry()
775 io->log = log; in r5l_new_meta()
1155 struct r5l_log *log = conf->log; in r5c_calculate_new_cp() local
1224 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
1597 log = rcu_dereference(conf->log); in r5l_log_disk_error()
[all …]
A Ddm-log.c155 log = kmalloc(sizeof(*log), GFP_KERNEL); in dm_dirty_log_create()
156 if (!log) in dm_dirty_log_create()
161 kfree(log); in dm_dirty_log_create()
166 log->type = type; in dm_dirty_log_create()
168 kfree(log); in dm_dirty_log_create()
173 return log; in dm_dirty_log_create()
179 log->type->dtr(log); in dm_dirty_log_destroy()
181 kfree(log); in dm_dirty_log_destroy()
324 header_from_disk(&log->header, log->disk_header); in read_header()
327 if (log->sync != DEFAULTSYNC || log->header.magic != MIRROR_MAGIC) { in read_header()
[all …]
A Draid5-ppl.c248 io->log = log; in ppl_new_iounit()
377 if (!log->rdev || test_bit(Faulty, &log->rdev->flags)) { in ppl_write_stripe()
400 struct ppl_log *log = io->log; in ppl_log_endio() local
431 struct ppl_log *log = io->log; in ppl_submit_iounit() local
440 if (!log->rdev || test_bit(Faulty, &log->rdev->flags)) { in ppl_submit_iounit()
462 log->rdev->ppl.sector + log->rdev->ppl.size - log->next_io_sector < in ppl_submit_iounit()
464 log->next_io_sector = log->rdev->ppl.sector; in ppl_submit_iounit()
555 struct ppl_log *log = io->log; in ppl_io_unit_finished() local
590 struct ppl_log *log = io->log; in ppl_flush_endio() local
617 struct ppl_log *log = io->log; in ppl_do_flush() local
[all …]
A Draid5-log.h64 if (conf->log) { in log_stripe()
72 return r5c_cache_data(conf->log, sh); in log_stripe()
85 if (conf->log) in log_stripe_write_finished()
93 if (conf->log) in log_write_stripe_run()
94 r5l_write_stripe_run(conf->log); in log_write_stripe_run()
101 if (conf->log) in log_flush_stripe_to_raid()
102 r5l_flush_stripe_to_raid(conf->log); in log_flush_stripe_to_raid()
111 if (conf->log) in log_handle_flush_request()
121 if (conf->log) in log_quiesce()
122 r5l_quiesce(conf->log, quiesce); in log_quiesce()
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_log.c152 relay_reserve(log->relay.channel, log->vma->obj->base.size); in guc_move_to_next_buf()
328 if (!log->vma) in guc_log_map()
369 GEM_BUG_ON(!log->vma); in guc_log_relay_create()
456 GEM_BUG_ON(log->vma); in intel_guc_log_create()
481 log->vma = vma; in intel_guc_log_create()
483 log->level = __get_default_log_level(log); in intel_guc_log_create()
485 log->level, enableddisabled(log->level), in intel_guc_log_create()
509 GEM_BUG_ON(!log->vma); in intel_guc_log_set_level()
533 log->level = level; in intel_guc_log_set_level()
550 if (!log->vma) in intel_guc_log_relay_open()
[all …]
A Dintel_guc_log_debugfs.c32 struct intel_guc_log *log = data; in guc_log_level_get() local
34 if (!intel_guc_is_used(log_to_guc(log))) in guc_log_level_get()
37 *val = intel_guc_log_get_level(log); in guc_log_level_get()
44 struct intel_guc_log *log = data; in guc_log_level_set() local
46 if (!intel_guc_is_used(log_to_guc(log))) in guc_log_level_set()
49 return intel_guc_log_set_level(log, val); in guc_log_level_set()
63 file->private_data = log; in guc_log_relay_open()
65 return intel_guc_log_relay_open(log); in guc_log_relay_open()
87 ret = intel_guc_log_relay_start(log); in guc_log_relay_write()
89 intel_guc_log_relay_flush(log); in guc_log_relay_write()
[all …]
A Dintel_guc_log.h62 void intel_guc_log_init_early(struct intel_guc_log *log);
63 int intel_guc_log_create(struct intel_guc_log *log);
64 void intel_guc_log_destroy(struct intel_guc_log *log);
66 int intel_guc_log_set_level(struct intel_guc_log *log, u32 level);
67 bool intel_guc_log_relay_created(const struct intel_guc_log *log);
68 int intel_guc_log_relay_open(struct intel_guc_log *log);
69 int intel_guc_log_relay_start(struct intel_guc_log *log);
70 void intel_guc_log_relay_flush(struct intel_guc_log *log);
71 void intel_guc_log_relay_close(struct intel_guc_log *log);
73 void intel_guc_log_handle_flush_event(struct intel_guc_log *log);
[all …]
/linux/fs/xfs/
A Dxfs_log.c1418 log->l_iclog_hsize = log->l_iclog_heads << BBSHIFT; in xlog_get_iclog_buffer_size()
1514 if (!log) { in xlog_alloc_log()
1907 if (log->l_targ != log->l_mp->m_ddev_targp) in xlog_write_iclog()
3007 xlog_wait(&log->l_flush_wait, &log->l_icloglock); in xlog_state_get_iclog_space()
3104 xlog_grant_sub_space(log, &log->l_write_head.grant, in xfs_log_ticket_regrant()
3189 log->l_prev_block = log->l_curr_block; in xlog_state_switch_iclogs()
3190 log->l_prev_cycle = log->l_curr_cycle; in xlog_state_switch_iclogs()
3201 if (log->l_curr_block >= log->l_logBBsize) { in xlog_state_switch_iclogs()
3209 log->l_curr_block -= log->l_logBBsize; in xlog_state_switch_iclogs()
3851 if (!log || xlog_in_recovery(log)) in xlog_force_shutdown()
[all …]
A Dxfs_log_recover.c64 struct xlog *log, in xlog_verify_bno() argument
81 struct xlog *log, in xlog_alloc_buffer() argument
88 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer()
120 struct xlog *log, in xlog_align() argument
128 struct xlog *log, in xlog_do_io() argument
160 struct xlog *log, in xlog_bread_noalign() argument
170 struct xlog *log, in xlog_bread() argument
186 struct xlog *log, in xlog_bwrite() argument
277 struct xlog *log, in xlog_find_cycle_start() argument
3386 !xfs_log_check_lsn(log->l_mp, log->l_mp->m_sb.sb_lsn)) in xlog_recover()
[all …]
A Dxfs_log_priv.h374 min_t(int, (log)->l_logsize >> 3, BBTOB(XLOG_TOTAL_REC_SHIFT(log)) << 4)
377 (XLOG_CIL_SPACE_LIMIT(log) * 2)
490 struct xlog *log);
493 struct xlog *log);
503 struct xlog *log,
605 xlog_cil_force(struct xlog *log) in xlog_cil_force() argument
607 xlog_cil_force_seq(log, log->l_cilp->xc_current_sequence); in xlog_cil_force()
640 struct xlog *log, in xlog_valid_lsn() argument
670 spin_lock(&log->l_icloglock); in xlog_valid_lsn()
671 cur_cycle = log->l_curr_cycle; in xlog_valid_lsn()
[all …]
A Dxfs_log_cil.c36 struct xlog *log) in xlog_cil_ticket_alloc() argument
90 struct xlog *log) in xlog_cil_init_post_recovery() argument
92 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_init_post_recovery()
153 struct xlog *log, in xlog_cil_alloc_shadow_bufs() argument
261 struct xlog *log, in xfs_cil_prepare_item() argument
335 struct xlog *log, in xlog_cil_insert_format_items() argument
423 struct xlog *log, in xlog_cil_insert_items() argument
467 iclog_space = log->l_iclog_size - log->l_iclog_hsize; in xlog_cil_insert_items()
1207 struct xlog *log, in xlog_cil_push_now() argument
1240 struct xlog *log) in xlog_cil_empty() argument
[all …]
/linux/fs/ntfs3/
A Dfslog.c1345 log->oldest_lsn = log->seq_num << log->file_data_bits; in log_create()
1363 log->data_size = log->page_size - log->data_off; in log_create()
1367 log->reserved = log->data_size - log->record_header_len; in log_create()
1375 log->restart_size = log->sys_page_size - log->ra_off; in log_create()
1383 log->total_avail_pages = log->l_size - log->first_page; in log_create()
1392 log->total_avail = log->total_avail * log->data_size; in log_create()
3963 log->seq_num = log->last_lsn >> log->file_data_bits; in log_replay()
3965 log->restart_size = log->sys_page_size - log->ra_off; in log_replay()
3969 log->data_size = log->page_size - log->data_off; in log_replay()
4014 log->oldest_lsn_off = lsn_to_vbo(log, log->oldest_lsn); in log_replay()
[all …]
/linux/include/linux/
A Ddm-dirty-log.h35 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti,
37 void (*dtr)(struct dm_dirty_log *log);
43 int (*presuspend)(struct dm_dirty_log *log);
44 int (*postsuspend)(struct dm_dirty_log *log);
45 int (*resume)(struct dm_dirty_log *log);
51 uint32_t (*get_region_size)(struct dm_dirty_log *log);
70 int (*in_sync)(struct dm_dirty_log *log, region_t region,
77 int (*flush)(struct dm_dirty_log *log);
107 void (*set_region_sync)(struct dm_dirty_log *log,
113 region_t (*get_sync_count)(struct dm_dirty_log *log);
[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/testing/selftests/bpf/
A Dtest_verifier_log.c57 attr.log_buf = ptr_to_u64(log); in load()
94 memset(log, 1, buf_len); in test_log_good()
96 ret = load(log, log_len, 1); in test_log_good()
99 len = strnlen(log, buf_len); in test_log_good()
110 if (strchr(log, 1)) { in test_log_good()
130 if (log) in test_log_bad()
131 check_ones(log, LOG_SIZE, in test_log_bad()
138 char log[LOG_SIZE]; in main() local
142 memset(log, 1, LOG_SIZE); in main()
146 test_log_bad(log, LOG_SIZE, 0); in main()
[all …]
/linux/drivers/char/tpm/eventlog/
A Defi.c22 struct tpm_bios_log *log; in tpm_read_log_efi() local
34 log = &chip->log; in tpm_read_log_efi()
58 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi()
59 if (!log->bios_event_log) { in tpm_read_log_efi()
64 log->bios_event_log_end = log->bios_event_log + log_size; in tpm_read_log_efi()
79 kfree(log->bios_event_log); in tpm_read_log_efi()
94 tmp = krealloc(log->bios_event_log, in tpm_read_log_efi()
98 kfree(log->bios_event_log); in tpm_read_log_efi()
103 log->bios_event_log = tmp; in tpm_read_log_efi()
110 memcpy((void *)log->bios_event_log + log_size, in tpm_read_log_efi()
[all …]
/linux/Documentation/filesystems/
A Dxfs-delayed-logging-design.rst60 log wraps around.
68 metadata into the log.
78 log buffers made available by the log manager. By default there are 8 log
519 log buffer metadata used such as log header records.
724 Unpin log item
733 Moves log tail
758 Attach log vector and buffer to log item
763 <next log force>
770 write log vectors into log
781 Unpin log item
[all …]
/linux/fs/
A Dfs_parser.c103 int __fs_parse(struct p_log *log, in __fs_parse() argument
201 return fs_param_bad_value(log, param); in fs_param_is_bool()
204 return fs_param_bad_value(log, param); in fs_param_is_bool()
216 return fs_param_bad_value(log, param); in fs_param_is_u32()
226 return fs_param_bad_value(log, param); in fs_param_is_s32()
236 return fs_param_bad_value(log, param); in fs_param_is_u64()
246 return fs_param_bad_value(log, param); in fs_param_is_enum()
249 return fs_param_bad_value(log, param); in fs_param_is_enum()
259 return fs_param_bad_value(log, param); in fs_param_is_string()
268 return fs_param_bad_value(log, param); in fs_param_is_blob()
[all …]
/linux/tools/perf/tests/
A Dattr.py99 log.debug(" Event %s" % name);
145 log.warning("running '%s'" % path)
166 log.debug(" loading expected events");
240 log.debug(" compare");
252 log.debug(" ->OK")
254 log.debug(" ->FAIL");
287 log.debug(" matched")
336 global log
346 log = logging.getLogger('test')
347 log.setLevel(level)
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
A Ddebugfs.c134 if (log->end < 0) { in txstat_read_file()
142 i = log->end + 1; in txstat_read_file()
147 stat = &(log->log[i]); in txstat_read_file()
162 if (i == log->end) in txstat_read_file()
371 log = &e->txstatlog; in b43legacy_debugfs_add_device()
372 log->log = kcalloc(B43legacy_NR_LOGGED_TXSTATUS, in b43legacy_debugfs_add_device()
374 if (!log->log) { in b43legacy_debugfs_add_device()
379 log->end = -1; in b43legacy_debugfs_add_device()
434 i = log->end + 1; in b43legacy_debugfs_log_txstat()
437 log->end = i; in b43legacy_debugfs_log_txstat()
[all …]
/linux/tools/testing/selftests/powerpc/eeh/
A Deeh-functions.sh6 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/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
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 …]

Completed in 117 milliseconds

12345678910>>...27