Home
last modified time | relevance | path

Searched defs:tr (Results 1 – 25 of 134) sorted by relevance

123456

/linux/kernel/trace/
H A Dtrace_irqsoff.c66 # define is_graph(tr) ((tr)->trace_flags & TRACE_ITER(DISPLAY_GRAPH)) argument
68 static inline int irqsoff_display_graph(struct trace_array *tr, int set) in irqsoff_display_graph()
72 # define is_graph(tr) false argument
99 static int func_prolog_dec(struct trace_array *tr, in func_prolog_dec()
143 struct trace_array *tr = irqsoff_trace; in irqsoff_tracer_call() local
160 static int irqsoff_display_graph(struct trace_array *tr, int set) in irqsoff_display_graph()
182 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_entry() local
219 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_return() local
277 struct trace_array *tr = irqsoff_trace; in irqsoff_print_header() local
286 __trace_function(struct trace_array *tr, in __trace_function()
[all …]
H A Dtrace_sched_wakeup.c44 # define is_graph(tr) ((tr)->trace_flags & TRACE_ITER(DISPLAY_GRAPH)) argument
46 # define is_graph(tr) false argument
68 func_prolog_preempt_disable(struct trace_array *tr, in func_prolog_preempt_disable()
102 static int wakeup_display_graph(struct trace_array *tr, int set) in wakeup_display_graph()
119 struct trace_array *tr = wakeup_trace; in wakeup_graph_entry() local
155 struct trace_array *tr = wakeup_trace; in wakeup_graph_return() local
230 struct trace_array *tr = wakeup_trace; in wakeup_tracer_call() local
246 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function()
265 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function()
278 static int wakeup_function_set(struct trace_array *tr, u32 mask, int set) in wakeup_function_set()
[all …]
H A Dtrace_functions.c56 int ftrace_allocate_ftrace_ops(struct trace_array *tr) in ftrace_allocate_ftrace_ops()
78 void ftrace_free_ftrace_ops(struct trace_array *tr) in ftrace_free_ftrace_ops()
84 int ftrace_create_function_files(struct trace_array *tr, in ftrace_create_function_files()
109 void ftrace_destroy_function_files(struct trace_array *tr) in ftrace_destroy_function_files()
134 static bool handle_func_repeats(struct trace_array *tr, u32 flags_val) in handle_func_repeats()
146 static int function_trace_init(struct trace_array *tr) in function_trace_init()
173 static void function_trace_reset(struct trace_array *tr) in function_trace_reset()
180 static void function_trace_start(struct trace_array *tr) in function_trace_start()
211 struct trace_array *tr = op->private; in function_trace_call() local
235 struct trace_array *tr = op->private; in function_args_trace_call() local
[all …]
H A Dtrace.c542 static void update_printk_trace(struct trace_array *tr) in update_printk_trace()
553 static bool update_marker_trace(struct trace_array *tr, int enabled) in update_marker_trace()
574 void trace_set_ring_buffer_expanded(struct trace_array *tr) in trace_set_ring_buffer_expanded()
585 struct trace_array *tr; in trace_array_get() local
623 int tracing_check_open_get_tr(struct trace_array *tr) in tracing_check_open_get_tr()
782 void tracer_tracing_on(struct trace_array *tr) in tracer_tracing_on()
810 static void tracing_snapshot_instance_cond(struct trace_array *tr, in tracing_snapshot_instance_cond()
846 void tracing_snapshot_instance(struct trace_array *tr) in tracing_snapshot_instance()
867 struct trace_array *tr = &global_trace; in tracing_snapshot() local
886 void tracing_snapshot_cond(struct trace_array *tr, void *cond_data) in tracing_snapshot_cond()
[all …]
H A Dtrace_events.c72 #define do_for_each_event_file(tr, file) \ argument
76 #define do_for_each_event_file_safe(tr, file) \ argument
634 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid() local
743 struct trace_array *tr; in trace_event_enable_cmd_record() local
765 struct trace_array *tr; in trace_event_enable_tgid_record() local
788 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable() local
929 static void clear_mod_events(struct trace_array *tr) in clear_mod_events()
938 static int remove_cache_mod(struct trace_array *tr, const char *mod, in remove_cache_mod()
966 static int cache_mod(struct trace_array *tr, const char *mod, int set, in cache_mod()
1016 static inline void clear_mod_events(struct trace_array *tr) { } in clear_mod_events()
[all …]
H A Dtrace_functions_graph.c107 static bool tracer_flags_is_set(struct trace_array *tr, u32 flags) in tracer_flags_is_set()
127 static int __graph_entry(struct trace_array *tr, struct ftrace_graph_ent *trace, in __graph_entry()
157 int __trace_graph_entry(struct trace_array *tr, in __trace_graph_entry()
165 int __trace_graph_retaddr_entry(struct trace_array *tr, in __trace_graph_retaddr_entry()
199 int __trace_graph_retaddr_entry(struct trace_array *tr, in __trace_graph_retaddr_entry()
209 static inline int ftrace_graph_ignore_irqs(struct trace_array *tr) in ftrace_graph_ignore_irqs()
230 struct trace_array *tr = gops->private; in graph_entry() local
309 __trace_graph_function(struct trace_array *tr, in __trace_graph_function()
327 trace_graph_function(struct trace_array *tr, in trace_graph_function()
334 void __trace_graph_return(struct trace_array *tr, in __trace_graph_return()
[all …]
H A Dtrace_nop.c37 static void start_nop_trace(struct trace_array *tr) in start_nop_trace()
42 static void stop_nop_trace(struct trace_array *tr) in stop_nop_trace()
47 static int nop_trace_init(struct trace_array *tr) in nop_trace_init()
54 static void nop_trace_reset(struct trace_array *tr) in nop_trace_reset()
64 static int nop_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in nop_set_flag()
H A Dtrace_boot.c25 trace_boot_set_instance_options(struct trace_array *tr, struct xbc_node *node) in trace_boot_set_instance_options()
83 trace_boot_enable_events(struct trace_array *tr, struct xbc_node *node) in trace_boot_enable_events()
462 trace_boot_init_one_event(struct trace_array *tr, struct xbc_node *gnode, in trace_boot_init_one_event()
518 trace_boot_init_events(struct trace_array *tr, struct xbc_node *node) in trace_boot_init_events()
554 #define trace_boot_enable_events(tr, node) do {} while (0) argument
555 #define trace_boot_init_events(tr, node) do {} while (0) argument
560 trace_boot_set_ftrace_filter(struct trace_array *tr, struct xbc_node *node) in trace_boot_set_ftrace_filter()
588 #define trace_boot_set_ftrace_filter(tr, node) do {} while (0) argument
592 trace_boot_enable_tracer(struct trace_array *tr, struct xbc_node *node) in trace_boot_enable_tracer()
612 trace_boot_init_one_instance(struct trace_array *tr, struct xbc_node *node) in trace_boot_init_one_instance()
[all …]
H A Dtrace_mmiotrace.c28 static void mmio_reset_data(struct trace_array *tr) in mmio_reset_data()
36 static int mmio_trace_init(struct trace_array *tr) in mmio_trace_init()
46 static void mmio_trace_reset(struct trace_array *tr) in mmio_trace_reset()
55 static void mmio_trace_start(struct trace_array *tr) in mmio_trace_start()
293 static void __trace_mmiotrace_rw(struct trace_array *tr, in __trace_mmiotrace_rw()
316 struct trace_array *tr = mmio_trace_array; in mmio_trace_rw() local
320 static void __trace_mmiotrace_map(struct trace_array *tr, in __trace_mmiotrace_map()
343 struct trace_array *tr = mmio_trace_array; in mmio_trace_mapping() local
H A Dtrace_hwlat.c132 struct trace_array *tr = hwlat_trace; in trace_hwlat_sample() local
201 struct trace_array *tr = hwlat_trace; in get_sample() local
314 struct trace_array *tr = hwlat_trace; in move_to_next_cpu() local
415 static int start_single_kthread(struct trace_array *tr) in start_single_kthread()
507 struct trace_array *tr = hwlat_trace; in hwlat_hotplug_workfn() local
575 static int start_per_cpu_kthreads(struct trace_array *tr) in start_per_cpu_kthreads()
679 struct trace_array *tr = hwlat_trace; in hwlat_mode_write() local
806 static void hwlat_tracer_start(struct trace_array *tr) in hwlat_tracer_start()
818 static void hwlat_tracer_stop(struct trace_array *tr) in hwlat_tracer_stop()
826 static int hwlat_tracer_init(struct trace_array *tr) in hwlat_tracer_init()
[all …]
H A Dtrace_selftest.c183 static int trace_selftest_ops(struct trace_array *tr, int cnt) in trace_selftest_ops()
358 struct trace_array *tr, in trace_selftest_startup_dynamic_tracing()
573 # define trace_selftest_startup_dynamic_tracing(trace, tr, func) ({ 0; }) argument
692 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function()
1063 struct trace_array *tr) in trace_selftest_startup_function_graph()
1196 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_irqsoff()
1245 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptoff()
1307 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptirqsoff()
1408 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_nop()
1460 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_wakeup()
[all …]
H A Dtrace.h218 struct trace_array *tr; member
500 struct trace_array *tr; in top_trace_array() local
594 struct trace_array *tr; member
701 static inline bool tracer_tracing_is_on_cpu(struct trace_array *tr, int cpu) in tracer_tracing_is_on_cpu()
813 static inline void latency_fsnotify(struct trace_array *tr) { } in latency_fsnotify()
820 static inline void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, in __trace_stack()
858 static inline void ftrace_init_trace_array(struct trace_array *tr) { } in ftrace_init_trace_array()
1167 static inline void free_fgraph_ops(struct trace_array *tr) { } in free_fgraph_ops()
1169 #define init_array_fgraph_ops(tr, ops) do { } while (0) argument
1170 #define allocate_fgraph_ops(tr, ops) ({ 0; }) argument
[all …]
H A Dtrace_printk.c379 static __always_inline bool printk_binsafe(struct trace_array *tr) in printk_binsafe()
390 int __trace_array_puts(struct trace_array *tr, unsigned long ip, in __trace_array_puts()
455 struct trace_array *tr = READ_ONCE(printk_trace); in __trace_bputs() local
611 struct trace_array *tr = READ_ONCE(printk_trace); in trace_vbprintk() local
715 int trace_array_vprintk(struct trace_array *tr, in trace_array_vprintk()
744 int trace_array_printk(struct trace_array *tr, in trace_array_printk()
775 int trace_array_init_printk(struct trace_array *tr) in trace_array_init_printk()
H A Dtrace_osnoise.c79 struct trace_array *tr; member
94 static int osnoise_instance_registered(struct trace_array *tr) in osnoise_instance_registered()
115 static int osnoise_register_instance(struct trace_array *tr) in osnoise_register_instance()
142 static void osnoise_unregister_instance(struct trace_array *tr) in osnoise_unregister_instance()
1171 struct trace_array *tr; in osnoise_stop_exception() local
1344 struct trace_array *tr; in osnoise_stop_tracing() local
1382 struct trace_array *tr; in notify_new_max_latency() local
2946 static void osnoise_tracer_start(struct trace_array *tr) in osnoise_tracer_start()
2964 static void osnoise_tracer_stop(struct trace_array *tr) in osnoise_tracer_stop()
2970 static int osnoise_tracer_init(struct trace_array *tr) in osnoise_tracer_init()
[all …]
H A Dtrace_branch.c33 struct trace_array *tr = branch_tracer; in probe_likely_condition() local
96 int enable_branch_tracing(struct trace_array *tr) in enable_branch_tracing()
124 static int branch_trace_init(struct trace_array *tr) in branch_trace_init()
129 static void branch_trace_reset(struct trace_array *tr) in branch_trace_reset()
/linux/kernel/bpf/
H A Dtrampoline.c40 struct bpf_trampoline *tr; in direct_ops_ip_lookup() local
63 struct bpf_trampoline *tr; in bpf_tramp_ftrace_ops_func() local
187 static int direct_ops_alloc(struct bpf_trampoline *tr) in direct_ops_alloc()
193 static void direct_ops_free(struct bpf_trampoline *tr) { } in direct_ops_free()
195 static struct ftrace_hash *hash_from_ip(struct bpf_trampoline *tr, void *ptr) in hash_from_ip()
215 static int direct_ops_add(struct bpf_trampoline *tr, void *addr) in direct_ops_add()
227 static int direct_ops_del(struct bpf_trampoline *tr, void *addr) in direct_ops_del()
239 static int direct_ops_mod(struct bpf_trampoline *tr, void *addr, bool lock_direct_mutex) in direct_ops_mod()
257 static int direct_ops_alloc(struct bpf_trampoline *tr) in direct_ops_alloc()
267 static void direct_ops_free(struct bpf_trampoline *tr) in direct_ops_free()
[all …]
/linux/drivers/input/touchscreen/
H A Dtouchright.c45 struct tr { struct
46 struct input_dev *dev; argument
47 struct serio *serio; argument
56 struct tr *tr = serio_get_drvdata(serio); in tr_interrupt() argument
83 struct tr *tr = serio_get_drvdata(serio); in tr_disconnect() local
101 struct tr *tr; in tr_connect() local
/linux/fs/gfs2/
H A Dlog.c94 struct gfs2_trans *tr, struct blk_plug *plug) in gfs2_ail1_start_one()
157 struct gfs2_trans *tr; in dump_ail_list() local
199 struct gfs2_trans *tr; in gfs2_ail1_flush() local
255 struct gfs2_trans *tr; in gfs2_log_update_flush_tail() local
278 static void gfs2_ail_empty_tr(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail_empty_tr()
300 static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail1_empty_one()
354 struct gfs2_trans *tr, *s; in gfs2_ail1_empty() local
374 struct gfs2_trans *tr; in gfs2_ail1_wait() local
394 static void __ail2_empty(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in __ail2_empty()
407 struct gfs2_trans *tr, *safe; in ail2_empty() local
[all …]
H A Dtrans.c28 static void gfs2_print_trans(struct gfs2_sbd *sdp, const struct gfs2_trans *tr) in gfs2_print_trans()
40 int __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp, in __gfs2_trans_begin()
117 struct gfs2_trans *tr; in gfs2_trans_begin() local
131 struct gfs2_trans *tr = current->journal_info; in gfs2_trans_end() local
199 struct gfs2_trans *tr = current->journal_info; in gfs2_trans_add_data() local
262 struct gfs2_trans *tr = current->journal_info; in gfs2_trans_add_meta() local
319 struct gfs2_trans *tr = current->journal_info; in gfs2_trans_add_revoke() local
349 void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_trans_free()
/linux/drivers/media/radio/
H A Dradio-trust.c58 struct trust *tr = kzalloc_obj(*tr); in trust_alloc() local
73 static void write_i2c(struct trust *tr, int n, ...) in write_i2c()
121 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_mute_volume() local
131 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_stereo() local
149 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_frequency() local
166 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_ctrl() local
185 struct trust *tr = container_of(isa, struct trust, isa); in trust_initialize() local
H A Dradio-timb.c43 struct timbradio *tr = video_drvdata(file); in timbradio_vidioc_g_tuner() local
50 struct timbradio *tr = video_drvdata(file); in timbradio_vidioc_s_tuner() local
57 struct timbradio *tr = video_drvdata(file); in timbradio_vidioc_s_frequency() local
64 struct timbradio *tr = video_drvdata(file); in timbradio_vidioc_g_frequency() local
90 struct timbradio *tr; in timbradio_probe() local
156 struct timbradio *tr = platform_get_drvdata(pdev); in timbradio_remove() local
/linux/include/linux/
H A Dtrace.h41 #define trace_array_puts(tr, str) \ argument
76 int trace_array_printk(struct trace_array *tr, unsigned long ip, const char *fmt, ...) in trace_array_printk()
80 static inline int trace_array_init_printk(struct trace_array *tr) in trace_array_init_printk()
84 static inline void trace_array_put(struct trace_array *tr) in trace_array_put()
91 static inline int trace_array_destroy(struct trace_array *tr) in trace_array_destroy()
/linux/drivers/mtd/
H A Dmtd_blkdevs.c45 static blk_status_t do_blktrans_request(struct mtd_blktrans_ops *tr, in do_blktrans_request()
124 struct mtd_blktrans_ops *tr = dev->tr; in mtd_blktrans_work() local
278 struct mtd_blktrans_ops *tr = new->tr; in add_mtd_blktrans_dev() local
447 struct mtd_blktrans_ops *tr; in blktrans_notify_remove() local
458 struct mtd_blktrans_ops *tr; in blktrans_notify_add() local
472 int register_mtd_blktrans(struct mtd_blktrans_ops *tr) in register_mtd_blktrans()
506 int deregister_mtd_blktrans(struct mtd_blktrans_ops *tr) in deregister_mtd_blktrans()
/linux/fs/xfs/
H A Dxfs_discard.c451 struct xfs_trim_rtdev *tr) in xfs_discard_free_rtdev_extents()
469 struct xfs_trim_rtdev *tr) in xfs_discard_rtdev_extents()
517 struct xfs_trim_rtdev *tr = priv; in xfs_trim_gather_rtextent() local
562 struct xfs_trim_rtdev tr = { in xfs_trim_rtextents() local
630 struct xfs_trim_rtgroup *tr = priv; in xfs_trim_gather_rtgroup_extent() local
679 struct xfs_trim_rtgroup tr = { in xfs_trim_rtgroup_extents() local
/linux/drivers/net/ethernet/toshiba/
H A Dtc35815.c505 struct tc35815_regs __iomem *tr = in tc_mdio_read() local
522 struct tc35815_regs __iomem *tr = in tc_mdio_write() local
548 struct tc35815_regs __iomem *tr = in tc_handle_link_change() local
725 struct tc35815_regs __iomem *tr = in tc35815_init_dev_addr() local
1183 struct tc35815_regs __iomem *tr = in tc35815_schedule_restart() local
1197 struct tc35815_regs __iomem *tr = in tc35815_tx_timeout() local
1312 struct tc35815_regs __iomem *tr = in tc35815_send_packet() local
1432 struct tc35815_regs __iomem *tr = in tc35815_interrupt() local
1621 struct tc35815_regs __iomem *tr = in tc35815_poll() local
1695 struct tc35815_regs __iomem *tr = in tc35815_check_tx_stat() local
[all …]

123456