Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 – 7 of 7) sorted by relevance

/kernel/power/
Dswap.c539 struct snapshot_handle *snapshot, in save_image() argument
560 ret = snapshot_read_next(snapshot); in save_image()
563 ret = swap_write_page(handle, data_of(*snapshot), &hb); in save_image()
676 struct snapshot_handle *snapshot, in save_image_lzo() argument
781 ret = snapshot_read_next(snapshot); in save_image_lzo()
789 data_of(*snapshot), PAGE_SIZE); in save_image_lzo()
914 struct snapshot_handle snapshot; in swsusp_write() local
932 memset(&snapshot, 0, sizeof(struct snapshot_handle)); in swsusp_write()
933 error = snapshot_read_next(&snapshot); in swsusp_write()
940 header = (struct swsusp_info *)data_of(snapshot); in swsusp_write()
[all …]
DMakefile13 obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o
DKconfig84 bool "Userspace snapshot device"
/kernel/
Dtracepoint.c49 struct tp_transition_snapshot *snapshot = &tp_transition_snapshot[sync]; in tp_rcu_get_state() local
52 snapshot->rcu = get_state_synchronize_rcu(); in tp_rcu_get_state()
53 snapshot->srcu = start_poll_synchronize_srcu(&tracepoint_srcu); in tp_rcu_get_state()
54 snapshot->ongoing = true; in tp_rcu_get_state()
59 struct tp_transition_snapshot *snapshot = &tp_transition_snapshot[sync]; in tp_rcu_cond_sync() local
61 if (!snapshot->ongoing) in tp_rcu_cond_sync()
63 cond_synchronize_rcu(snapshot->rcu); in tp_rcu_cond_sync()
64 if (!poll_state_synchronize_srcu(&tracepoint_srcu, snapshot->srcu)) in tp_rcu_cond_sync()
66 snapshot->ongoing = false; in tp_rcu_cond_sync()
/kernel/trace/
DKconfig396 bool "Create a snapshot trace buffer"
399 Allow tracing users to take snapshot of the current buffer using the
402 echo 1 > /sys/kernel/debug/tracing/snapshot
403 cat snapshot
406 bool "Allow snapshot to swap per CPU"
410 Allow doing a snapshot of a single CPU buffer instead of a
414 echo 1 > /sys/kernel/debug/tracing/per_cpu/cpu2/snapshot
Dtrace.c1918 if (iter->snapshot) in wait_on_pipe()
3727 if (iter->snapshot && iter->trace->use_max_tr) in s_start()
3769 if (iter->snapshot && iter->trace->use_max_tr) in s_stop()
4283 if (iter->snapshot && trace_empty(iter)) in s_show()
4339 __tracing_open(struct inode *inode, struct file *file, bool snapshot) in __tracing_open() argument
4387 if (tr->current_trace->print_max || snapshot) in __tracing_open()
4392 iter->snapshot = snapshot; in __tracing_open()
4413 if (!iter->snapshot && (tr->trace_flags & TRACE_ITER_PAUSE_ON_TRACE)) in __tracing_open()
4537 if (!iter->snapshot && tr->stop_count) in tracing_release()
7213 info->iter.snapshot = true; in snapshot_raw_open()
[all …]
/kernel/time/
Dtimekeeping.c615 void ktime_get_fast_timestamps(struct ktime_timestamps *snapshot) in ktime_get_fast_timestamps() argument
619 snapshot->real = __ktime_get_real_fast(&tk_fast_mono, &snapshot->mono); in ktime_get_fast_timestamps()
620 snapshot->boot = snapshot->mono + ktime_to_ns(data_race(tk->offs_boot)); in ktime_get_fast_timestamps()