Home
last modified time | relevance | path

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

/kernel/power/
Dswap.c547 struct snapshot_handle *snapshot, in save_image() argument
568 ret = snapshot_read_next(snapshot); in save_image()
571 trace_android_vh_encrypt_page(data_of(*snapshot)); in save_image()
572 ret = swap_write_page(handle, data_of(*snapshot), &hb); in save_image()
686 struct snapshot_handle *snapshot, in save_image_lzo() argument
788 ret = snapshot_read_next(snapshot); in save_image_lzo()
796 data_of(*snapshot), PAGE_SIZE); in save_image_lzo()
921 struct snapshot_handle snapshot; in swsusp_write() local
940 memset(&snapshot, 0, sizeof(struct snapshot_handle)); in swsusp_write()
941 error = snapshot_read_next(&snapshot); in swsusp_write()
[all …]
DMakefile17 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/time/
Dtimekeeping.c633 void ktime_get_fast_timestamps(struct ktime_timestamps *snapshot) in ktime_get_fast_timestamps() argument
637 snapshot->real = __ktime_get_real_fast(&tk_fast_mono, &snapshot->mono); in ktime_get_fast_timestamps()
638 snapshot->boot = snapshot->mono + ktime_to_ns(data_race(tk->offs_boot)); in ktime_get_fast_timestamps()
/kernel/trace/
DKconfig505 bool "Create a snapshot trace buffer"
508 Allow tracing users to take snapshot of the current buffer using the
511 echo 1 > /sys/kernel/debug/tracing/snapshot
512 cat snapshot
515 bool "Allow snapshot to swap per CPU"
519 Allow doing a snapshot of a single CPU buffer instead of a
523 echo 1 > /sys/kernel/debug/tracing/per_cpu/cpu2/snapshot
Dtrace.c1922 if (iter->snapshot) in wait_on_pipe()
4129 if (iter->snapshot && iter->trace->use_max_tr) in s_start()
4171 if (iter->snapshot && iter->trace->use_max_tr) in s_stop()
4679 if (iter->snapshot && trace_empty(iter)) in s_show()
4735 __tracing_open(struct inode *inode, struct file *file, bool snapshot) in __tracing_open() argument
4793 if (tr->current_trace->print_max || snapshot) in __tracing_open()
4798 iter->snapshot = snapshot; in __tracing_open()
4819 if (!iter->snapshot && (tr->trace_flags & TRACE_ITER_PAUSE_ON_TRACE)) in __tracing_open()
4955 if (!iter->snapshot && tr->stop_count) in tracing_release()
7642 info->iter.snapshot = true; in snapshot_raw_open()
[all …]