Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 64) sorted by relevance

123

/kernel/time/
Dclocksource-wdtest.c43 .read = wdtest_jiffies_read,
85 .read = wdtest_ktime_read,
120 j1 = clocksource_wdtest_jiffies.read(&clocksource_wdtest_jiffies); in wdtest_func()
122 j2 = clocksource_wdtest_jiffies.read(&clocksource_wdtest_jiffies); in wdtest_func()
135 j1 = clocksource_wdtest_ktime.read(&clocksource_wdtest_ktime); in wdtest_func()
137 j2 = clocksource_wdtest_ktime.read(&clocksource_wdtest_ktime); in wdtest_func()
Dsched_clock.c154 void sched_clock_register(u64 (*read)(void), int bits, unsigned long rate) in sched_clock_register()
181 new_epoch = read(); in sched_clock_register()
184 cd.actual_read_sched_clock = read; in sched_clock_register()
186 rd.read_sched_clock = read; in sched_clock_register()
224 pr_debug("Registered %pS as sched_clock source\n", read); in sched_clock_register()
Dclocksource.c230 *wdnow = watchdog->read(watchdog); in cs_watchdog_read()
231 *csnow = cs->read(cs); in cs_watchdog_read()
232 wd_end = watchdog->read(watchdog); in cs_watchdog_read()
233 wd_end2 = watchdog->read(watchdog); in cs_watchdog_read()
331 csnow_mid = cs->read(cs); in clocksource_verify_one_cpu()
359 csnow_begin = cs->read(cs); in clocksource_verify_percpu()
361 csnow_end = cs->read(cs); in clocksource_verify_percpu()
807 suspend_start = suspend_clocksource->read(suspend_clocksource); in clocksource_start_suspend_timing()
839 now = suspend_clocksource->read(suspend_clocksource); in clocksource_stop_suspend_timing()
Dtimecounter.c13 tc->cycle_last = cc->read(cc); in timecounter_init()
37 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()
Dposix-clock.c48 if (clk->ops.read) in posix_clock_read()
49 err = clk->ops.read(clk, fp->f_flags, buf, count); in posix_clock_read()
152 .read = posix_clock_read,
Djiffies.c36 .read = jiffies_read,
Dtest_udelay.c131 .read = seq_read,
/kernel/trace/
Dring_buffer_benchmark.c35 static unsigned long read; variable
101 read++; in read_event()
150 read++; in read_page()
163 read++; in read_page()
187 read = 0; in ring_buffer_consumer()
330 trace_printk("Read: %ld (by %s)\n", read, in ring_buffer_producer()
333 trace_printk("Total: %lld\n", entries + overruns + read); in ring_buffer_producer()
Dring_buffer.c305 unsigned read; /* index for next read */ member
489 unsigned long read; member
828 size_t read; in ring_buffer_nr_dirty_pages() local
832 read = local_read(&buffer->buffers[cpu]->pages_read); in ring_buffer_nr_dirty_pages()
842 if (cnt < read) { in ring_buffer_nr_dirty_pages()
843 WARN_ON_ONCE(read > cnt + 1); in ring_buffer_nr_dirty_pages()
847 return cnt - read; in ring_buffer_nr_dirty_pages()
1959 cpu_buffer->read = 0; in rb_remove_pages()
2331 cpu_buffer->reader_page->read); in rb_reader_event()
3944 if (reader->read != rb_page_commit(reader)) in rb_per_cpu_empty()
[all …]
Dtrace.c690 ssize_t read = 0; in trace_pid_write() local
729 read += ret; in trace_pid_write()
766 return read; in trace_pid_write()
1614 size_t read = 0; in trace_get_user() local
1624 read++; in trace_get_user()
1637 read++; in trace_get_user()
1645 *ppos += read; in trace_get_user()
1646 ret = read; in trace_get_user()
1662 read++; in trace_get_user()
1680 *ppos += read; in trace_get_user()
[all …]
Dtrace_stack.c370 .read = stack_max_size_read,
489 .read = seq_read,
508 .read = seq_read,
Dtrace_events.c1175 ssize_t read, ret; in ftrace_event_write() local
1187 read = trace_get_user(&parser, ubuf, cnt, ppos); in ftrace_event_write()
1189 if (read >= 0 && trace_parser_loaded((&parser))) { in ftrace_event_write()
1200 ret = read; in ftrace_event_write()
2074 .read = seq_read,
2081 .read = seq_read,
2089 .read = seq_read,
2097 .read = seq_read,
2105 .read = event_enable_read,
2113 .read = seq_read,
[all …]
Dtrace_recursion_record.c220 .read = seq_read,
Dftrace.c939 .read = ftrace_profile_read,
5046 ssize_t ret, read; in ftrace_regex_write() local
5063 read = trace_get_user(parser, ubuf, cnt, ppos); in ftrace_regex_write()
5065 if (read >= 0 && trace_parser_loaded(parser) && in ftrace_regex_write()
5074 ret = read; in ftrace_regex_write()
6148 .read = seq_read,
6155 .read = seq_read,
6162 .read = seq_read,
6170 .read = seq_read,
6536 ssize_t read, ret = 0; in ftrace_graph_write() local
[all …]
/kernel/
Dprofile.c453 ssize_t read; in read_profile() local
462 read = 0; in read_profile()
467 buf++; p++; count--; read++; in read_profile()
472 read += count; in read_profile()
473 *ppos += read; in read_profile()
474 return read; in read_profile()
Dkheaders.c46 .read = &ikheaders_read,
/kernel/locking/
Dlockdep.c353 if (hlock->read) in lock_release_holdtime()
430 return (hlock->class_idx | (hlock->read << MAX_LOCKDEP_KEYS_BITS)); in hlock_id()
1615 return (prev->read == 0) + ((next->read != 2) << 1); in __calc_dep_bit()
1630 return (next->read != 2) + ((prev->read == 0) << 1); in __calc_dep_bitb()
1662 lock->only_xr = (hlock->read == 2); in bfs_init_root()
1676 lock->only_xr = (hlock->read != 0); in bfs_init_rootb()
1981 (hlock->read == 2 || /* A -> B is -(*R)-> */ in hlock_equal()
2008 (hlock->read == 0 || /* B -> A is -(E*)-> */ in hlock_conflict()
2894 src_entry.only_xr = src->read == 0; in check_redundant()
3016 if ((next->read == 2) && prev->read) in check_deadlock()
[all …]
Dlock_events.c113 .read = lockevent_read,
/kernel/trace/rv/
Drv.c311 .read = monitor_enable_read_data,
333 .read = monitor_desc_read_data,
474 .read = seq_read,
570 .read = seq_read,
679 .read = monitoring_on_read_data,
Drv_reactors.c131 .read = seq_read,
272 .read = seq_read,
431 .read = reacting_on_read_data,
/kernel/rcu/
DKconfig.debug59 tristate "Scalability tests for read-side synchronization (RCU and others)"
66 useful comparing RCU with various read-side synchronization mechanisms.
134 too-short RCU read-side critical sections.
/kernel/bpf/
Dsysfs_btf.c26 .read = btf_vmlinux_read,
/kernel/sched/
Ddebug.c166 .read = seq_read,
214 .read = seq_read,
276 .read = seq_read,
294 .read = seq_read,
373 .read = seq_read,
/kernel/module/
Dsysfs.c109 sattr->battr.read = module_sect_read; in add_sect_attrs()
208 nattr->read = module_notes_read; in add_notes_attrs()
Dtracking.c116 .read = seq_read,

123