Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 49) sorted by relevance

12

/kernel/
Dnotifier.c75 unsigned long val, void *v, in notifier_call_chain() argument
93 ret = nb->notifier_call(nb, val, v); in notifier_call_chain()
177 unsigned long val, void *v, in __atomic_notifier_call_chain() argument
183 ret = notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); in __atomic_notifier_call_chain()
191 unsigned long val, void *v) in atomic_notifier_call_chain() argument
193 return __atomic_notifier_call_chain(nh, val, v, -1, NULL); in atomic_notifier_call_chain()
305 unsigned long val, void *v, in __blocking_notifier_call_chain() argument
317 ret = notifier_call_chain(&nh->head, val, v, nr_to_call, in __blocking_notifier_call_chain()
326 unsigned long val, void *v) in blocking_notifier_call_chain() argument
328 return __blocking_notifier_call_chain(nh, val, v, -1, NULL); in blocking_notifier_call_chain()
[all …]
Djump_label.c61 int v, v1; in static_key_slow_inc() local
77 for (v = atomic_read(&key->enabled); v > 0; v = v1) { in static_key_slow_inc()
78 v1 = atomic_cmpxchg(&key->enabled, v, v + 1); in static_key_slow_inc()
79 if (likely(v1 == v)) in static_key_slow_inc()
Duser_namespace.c430 static int uid_m_show(struct seq_file *seq, void *v) in uid_m_show() argument
433 struct uid_gid_extent *extent = v; in uid_m_show()
451 static int gid_m_show(struct seq_file *seq, void *v) in gid_m_show() argument
454 struct uid_gid_extent *extent = v; in gid_m_show()
472 static int projid_m_show(struct seq_file *seq, void *v) in projid_m_show() argument
475 struct uid_gid_extent *extent = v; in projid_m_show()
526 static void *m_next(struct seq_file *seq, void *v, loff_t *pos) in m_next() argument
532 static void m_stop(struct seq_file *seq, void *v) in m_stop() argument
853 int proc_setgroups_show(struct seq_file *seq, void *v) in proc_setgroups_show() argument
Dcpu.c226 static int __cpu_notify(unsigned long val, void *v, int nr_to_call, in __cpu_notify() argument
231 ret = __raw_notifier_call_chain(&cpu_chain, val, v, nr_to_call, in __cpu_notify()
237 static int cpu_notify(unsigned long val, void *v) in cpu_notify() argument
239 return __cpu_notify(val, v, -1, NULL); in cpu_notify()
260 static void cpu_notify_nofail(unsigned long val, void *v) in cpu_notify_nofail() argument
262 BUG_ON(cpu_notify(val, v)); in cpu_notify_nofail()
Ddma.c117 static int proc_dma_show(struct seq_file *m, void *v) in proc_dma_show() argument
130 static int proc_dma_show(struct seq_file *m, void *v) in proc_dma_show() argument
Dkcmp.c34 static long kptr_obfuscate(long v, int type) in kptr_obfuscate() argument
36 return (v ^ cookies[type][0]) * cookies[type][1]; in kptr_obfuscate()
Dcgroup.c2854 static int cgroup_release_agent_show(struct seq_file *seq, void *v) in cgroup_release_agent_show() argument
2865 static int cgroup_sane_behavior_show(struct seq_file *seq, void *v) in cgroup_sane_behavior_show() argument
2888 static int cgroup_root_controllers_show(struct seq_file *seq, void *v) in cgroup_root_controllers_show() argument
2898 static int cgroup_controllers_show(struct seq_file *seq, void *v) in cgroup_controllers_show() argument
2907 static int cgroup_subtree_control_show(struct seq_file *seq, void *v) in cgroup_subtree_control_show() argument
3213 static int cgroup_events_show(struct seq_file *seq, void *v) in cgroup_events_show() argument
3242 unsigned long long v; in cgroup_file_write() local
3243 ret = kstrtoull(buf, 0, &v); in cgroup_file_write()
3245 ret = cft->write_u64(css, cft, v); in cgroup_file_write()
3247 long long v; in cgroup_file_write() local
[all …]
Dexec_domain.c24 static int execdomains_proc_show(struct seq_file *m, void *v) in execdomains_proc_show() argument
Dkprobes.c2287 static void *kprobe_seq_next(struct seq_file *f, void *v, loff_t *pos) in kprobe_seq_next() argument
2295 static void kprobe_seq_stop(struct seq_file *f, void *v) in kprobe_seq_stop() argument
2300 static int show_kprobe_addr(struct seq_file *pi, void *v) in show_kprobe_addr() argument
2305 unsigned int i = *(loff_t *) v; in show_kprobe_addr()
2349 static void *kprobe_blacklist_seq_next(struct seq_file *m, void *v, loff_t *pos) in kprobe_blacklist_seq_next() argument
2351 return seq_list_next(v, &kprobe_blacklist, pos); in kprobe_blacklist_seq_next()
2354 static int kprobe_blacklist_seq_show(struct seq_file *m, void *v) in kprobe_blacklist_seq_show() argument
2357 list_entry(v, struct kprobe_blacklist_entry, list); in kprobe_blacklist_seq_show()
/kernel/trace/
Dtrace_printk.c121 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
134 if (!v || start_index == *pos) { in find_next_mod_format()
151 mod_fmt = container_of(v, typeof(*mod_fmt), fmt); in find_next_mod_format()
178 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
252 static const char **find_next(void *v, loff_t *pos) in find_next() argument
254 const char **fmt = v; in find_next()
282 return find_next_mod_format(start_index, v, fmt, pos); in find_next()
292 static void *t_next(struct seq_file *m, void * v, loff_t *pos) in t_next() argument
295 return find_next(v, pos); in t_next()
298 static int t_show(struct seq_file *m, void *v) in t_show() argument
[all …]
Dtrace_branch.c248 static int branch_stat_show(struct seq_file *m, void *v) in branch_stat_show() argument
250 struct ftrace_branch_data *p = v; in branch_stat_show()
280 annotated_branch_stat_next(void *v, int idx) in annotated_branch_stat_next() argument
282 struct ftrace_branch_data *p = v; in annotated_branch_stat_next()
370 all_branch_stat_next(void *v, int idx) in all_branch_stat_next() argument
372 struct ftrace_branch_data *p = v; in all_branch_stat_next()
Dtrace_stack.c302 t_next(struct seq_file *m, void *v, loff_t *pos) in t_next() argument
355 static int t_show(struct seq_file *m, void *v) in t_show() argument
360 if (v == SEQ_START_TOKEN) { in t_show()
372 i = *(long *)v; in t_show()
Dtrace_stat.c215 static int stat_seq_show(struct seq_file *s, void *v) in stat_seq_show() argument
218 struct stat_node *l = container_of(v, struct stat_node, node); in stat_seq_show()
220 if (v == SEQ_START_TOKEN) in stat_seq_show()
Dtrace.c2432 static void *s_next(struct seq_file *m, void *v, loff_t *pos) in s_next() argument
3031 static int s_show(struct seq_file *m, void *v) in s_show() argument
3033 struct trace_iterator *iter = v; in s_show()
3342 t_next(struct seq_file *m, void *v, loff_t *pos) in t_next() argument
3345 struct tracer *t = v; in t_next()
3375 static int t_show(struct seq_file *m, void *v) in t_show() argument
3377 struct tracer *t = v; in t_show()
3547 static int tracing_trace_options_show(struct seq_file *m, void *v) in tracing_trace_options_show() argument
3910 static void *saved_cmdlines_next(struct seq_file *m, void *v, loff_t *pos) in saved_cmdlines_next() argument
3912 unsigned int *ptr = v; in saved_cmdlines_next()
[all …]
Dtrace_events.c862 t_next(struct seq_file *m, void *v, loff_t *pos) in t_next() argument
864 struct trace_event_file *file = v; in t_next()
902 s_next(struct seq_file *m, void *v, loff_t *pos) in s_next() argument
904 struct trace_event_file *file = v; in s_next()
934 static int t_show(struct seq_file *m, void *v) in t_show() argument
936 struct trace_event_file *file = v; in t_show()
982 p_next(struct seq_file *m, void *v, loff_t *pos) in p_next() argument
995 static int p_show(struct seq_file *m, void *v) in p_show() argument
997 pid_t *pid = v; in p_show()
1162 static void *f_next(struct seq_file *m, void *v, loff_t *pos) in f_next() argument
[all …]
Dtrace_uprobe.c595 static void *probes_seq_next(struct seq_file *m, void *v, loff_t *pos) in probes_seq_next() argument
597 return seq_list_next(v, &uprobe_list, pos); in probes_seq_next()
600 static void probes_seq_stop(struct seq_file *m, void *v) in probes_seq_stop() argument
605 static int probes_seq_show(struct seq_file *m, void *v) in probes_seq_show() argument
607 struct trace_uprobe *tu = v; in probes_seq_show()
673 static int probes_profile_seq_show(struct seq_file *m, void *v) in probes_profile_seq_show() argument
675 struct trace_uprobe *tu = v; in probes_profile_seq_show()
Dtrace_kprobe.c809 static void *probes_seq_next(struct seq_file *m, void *v, loff_t *pos) in probes_seq_next() argument
811 return seq_list_next(v, &probe_list, pos); in probes_seq_next()
814 static void probes_seq_stop(struct seq_file *m, void *v) in probes_seq_stop() argument
819 static int probes_seq_show(struct seq_file *m, void *v) in probes_seq_show() argument
821 struct trace_kprobe *tk = v; in probes_seq_show()
880 static int probes_profile_seq_show(struct seq_file *m, void *v) in probes_profile_seq_show() argument
882 struct trace_kprobe *tk = v; in probes_profile_seq_show()
/kernel/locking/
Dlockdep_proc.c26 static void *l_next(struct seq_file *m, void *v, loff_t *pos) in l_next() argument
28 return seq_list_next(v, &all_lock_classes, pos); in l_next()
36 static void l_stop(struct seq_file *m, void *v) in l_stop() argument
57 static int l_show(struct seq_file *m, void *v) in l_show() argument
59 struct lock_class *class = list_entry(v, struct lock_class, lock_entry); in l_show()
63 if (v == &all_lock_classes) { in l_show()
127 static void *lc_next(struct seq_file *m, void *v, loff_t *pos) in lc_next() argument
133 static void lc_stop(struct seq_file *m, void *v) in lc_stop() argument
137 static int lc_show(struct seq_file *m, void *v) in lc_show() argument
139 struct lock_chain *chain = v; in lc_show()
[all …]
/kernel/irq/
Dproc.c40 static int show_irq_affinity(int type, struct seq_file *m, void *v) in show_irq_affinity() argument
56 static int irq_affinity_hint_proc_show(struct seq_file *m, void *v) in irq_affinity_hint_proc_show() argument
81 static int irq_affinity_proc_show(struct seq_file *m, void *v) in irq_affinity_proc_show() argument
83 return show_irq_affinity(0, m, v); in irq_affinity_proc_show()
86 static int irq_affinity_list_proc_show(struct seq_file *m, void *v) in irq_affinity_list_proc_show() argument
88 return show_irq_affinity(1, m, v); in irq_affinity_list_proc_show()
186 static int default_affinity_show(struct seq_file *m, void *v) in default_affinity_show() argument
241 static int irq_node_proc_show(struct seq_file *m, void *v) in irq_node_proc_show() argument
262 static int irq_spurious_proc_show(struct seq_file *m, void *v) in irq_spurious_proc_show() argument
443 int show_interrupts(struct seq_file *p, void *v) in show_interrupts() argument
[all …]
/kernel/rcu/
Dtree_trace.c71 static void *r_next(struct seq_file *m, void *v, loff_t *pos) in r_next() argument
77 static void r_stop(struct seq_file *m, void *v) in r_stop() argument
81 static int show_rcubarrier(struct seq_file *m, void *v) in show_rcubarrier() argument
158 static int show_rcudata(struct seq_file *m, void *v) in show_rcudata() argument
160 print_one_rcu_data(m, (struct rcu_data *)v); in show_rcudata()
184 static int show_rcuexp(struct seq_file *m, void *v) in show_rcuexp() argument
293 static int show_rcuhier(struct seq_file *m, void *v) in show_rcuhier() argument
335 static int show_rcugp(struct seq_file *m, void *v) in show_rcugp() argument
375 static int show_rcu_pending(struct seq_file *m, void *v) in show_rcu_pending() argument
377 print_one_rcu_pending(m, (struct rcu_data *)v); in show_rcu_pending()
/kernel/gcov/
Dgcc_3_4.c490 static int seq_write_gcov_u32(struct seq_file *seq, u32 v) in seq_write_gcov_u32() argument
492 return seq_write(seq, &v, sizeof(v)); in seq_write_gcov_u32()
505 static int seq_write_gcov_u64(struct seq_file *seq, u64 v) in seq_write_gcov_u64() argument
509 data[0] = (v & 0xffffffffUL); in seq_write_gcov_u64()
510 data[1] = (v >> 32); in seq_write_gcov_u64()
Dgcc_4_7.c382 static size_t store_gcov_u32(void *buffer, size_t off, u32 v) in store_gcov_u32() argument
388 *data = v; in store_gcov_u32()
406 static size_t store_gcov_u64(void *buffer, size_t off, u64 v) in store_gcov_u64() argument
413 data[0] = (v & 0xffffffffUL); in store_gcov_u64()
414 data[1] = (v >> 32); in store_gcov_u64()
/kernel/sched/
Dstats.c37 static int show_schedstat(struct seq_file *seq, void *v) in show_schedstat() argument
41 if (v == (void *)1) { in show_schedstat()
50 cpu = (unsigned long)(v - 2); in show_schedstat()
/kernel/time/
Dtimer_list.c321 static int timer_list_show(struct seq_file *m, void *v) in timer_list_show() argument
323 struct timer_list_iter *iter = v; in timer_list_show()
368 static void *timer_list_next(struct seq_file *file, void *v, loff_t *offset) in timer_list_next() argument
375 static void timer_list_stop(struct seq_file *seq, void *v) in timer_list_stop() argument
Dtimeconst.bc21 auto v;
23 v = 2^b*(d-1)/d;
24 return v;

12