Home
last modified time | relevance | path

Searched refs:tr (Results 1 – 25 of 213) sorted by relevance

123456789

/linux-6.3-rc2/kernel/bpf/
A Dtrampoline.c149 tr = kzalloc(sizeof(*tr), GFP_KERNEL); in bpf_trampoline_lookup()
150 if (!tr) in bpf_trampoline_lookup()
155 kfree(tr); in bpf_trampoline_lookup()
159 tr->fops->private = tr; in bpf_trampoline_lookup()
172 return tr; in bpf_trampoline_lookup()
466 &tr->func.model, tr->flags, tlinks, in bpf_trampoline_update()
473 WARN_ON(tr->cur_image && tr->selector == 0); in bpf_trampoline_update()
474 WARN_ON(!tr->cur_image && tr->selector); in bpf_trampoline_update()
722 if (!tr) in bpf_trampoline_link_cgroup_shim()
799 if (!tr) in bpf_trampoline_get()
[all …]
/linux-6.3-rc2/kernel/trace/
A Dtrace_irqsoff.c66 # define is_graph(tr) ((tr)->trace_flags & TRACE_ITER_DISPLAY_GRAPH) argument
172 tr->max_latency = 0; in irqsoff_display_graph()
232 if (is_graph(iter->tr)) in irqsoff_trace_open()
264 if (is_graph(tr)) in irqsoff_print_header()
275 if (is_graph(tr)) in __trace_function()
494 register_irqsoff_function(tr, is_graph(tr), 1); in irqsoff_function_set()
496 unregister_irqsoff_function(tr, is_graph(tr)); in irqsoff_function_set()
562 tr->max_latency = 0; in __irqsoff_tracer_init()
563 irqsoff_trace = tr; in __irqsoff_tracer_init()
570 if (start_irqsoff_tracer(tr, (tr->flags & TRACE_ARRAY_FL_GLOBAL && in __irqsoff_tracer_init()
[all …]
A Dtrace_functions.c68 tr->ops = ops; in ftrace_allocate_ftrace_ops()
69 ops->private = tr; in ftrace_allocate_ftrace_ops()
76 kfree(tr->ops); in ftrace_free_ftrace_ops()
77 tr->ops = NULL; in ftrace_free_ftrace_ops()
90 if (!tr->ops) in ftrace_create_function_files()
140 if (!tr->ops) in function_trace_init()
578 trace_stack(tr); in ftrace_stacktrace()
841 if (!tr) in ftrace_trace_onoff_callback()
860 if (!tr) in ftrace_stacktrace_callback()
875 if (!tr) in ftrace_dump_callback()
[all …]
A Dtrace_sched_wakeup.c44 # define is_graph(tr) ((tr)->trace_flags & TRACE_ITER_DISPLAY_GRAPH) argument
110 tr->max_latency = 0; in wakeup_display_graph()
268 register_wakeup_function(tr, is_graph(tr), 1); in wakeup_function_set()
270 unregister_wakeup_function(tr, is_graph(tr)); in wakeup_function_set()
305 if (is_graph(tr)) in __trace_function()
632 wakeup_reset(tr); in start_wakeup_tracer()
643 if (start_func_tracer(tr, is_graph(tr))) in start_wakeup_tracer()
658 stop_func_tracer(tr, is_graph(tr)); in stop_wakeup_tracer()
676 wakeup_trace = tr; in __wakeup_tracer_init()
721 wakeup_reset(tr); in wakeup_tracer_reset()
[all …]
A Dtrace.c547 if (tr && trace_array_get(tr) < 0) in tracing_check_open_get_tr()
4831 iter->tr = tr; in __tracing_open()
6406 tr->current_trace->reset(tr); in tracing_set_nop()
6491 tr->current_trace->reset(tr); in tracing_set_tracer()
6684 iter->tr = tr; in tracing_open_pipe()
7500 iter->tr = tr; in tracing_snapshot_open()
8127 info->iter.tr = tr; in tracing_buffers_open()
9012 topt->tr = tr; in create_trace_option_file()
9150 tr->current_trace->stop(tr); in rb_simple_write()
9226 buf->tr = tr; in allocate_trace_buffer()
[all …]
A Dtrace_selftest.c424 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
432 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
726 trace->reset(tr); in trace_selftest_startup_function()
949 trace->stop(tr); in trace_selftest_startup_irqsoff()
956 trace->reset(tr); in trace_selftest_startup_irqsoff()
1011 trace->stop(tr); in trace_selftest_startup_preemptoff()
1018 trace->reset(tr); in trace_selftest_startup_preemptoff()
1077 trace->stop(tr); in trace_selftest_startup_preemptirqsoff()
1098 trace->start(tr); in trace_selftest_startup_preemptirqsoff()
1107 trace->stop(tr); in trace_selftest_startup_preemptirqsoff()
[all …]
A Dtrace_events.c476 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid() local
611 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable() local
1087 if (!tr) in ftrace_set_clr_event()
1138 if (!tr) in trace_set_clr_event()
1163 if (!tr) in trace_array_set_clr_event()
1450 struct trace_array *tr = dir->tr; in system_enable_read() local
1811 dir->tr = tr; in system_tr_open()
2343 dir->tr = tr; in event_subsystem_dir()
2420 struct trace_array *tr = file->tr; in event_create_dir() local
2809 file->tr = tr; in trace_create_new_event()
[all …]
A Dtrace.h188 struct trace_array *tr; member
415 struct trace_array *tr; in top_trace_array() local
421 typeof(*tr), list); in top_trace_array()
423 return tr; in top_trace_array()
507 struct trace_array *tr; member
755 struct trace_array *tr);
757 struct trace_array *tr);
1043 struct trace_array *tr,
1047 struct trace_array *tr,
1051 struct trace_array *tr,
[all …]
A Dtrace_boot.c39 if (trace_set_options(tr, buf) < 0) in trace_boot_set_instance_options()
48 tracer_tracing_on(tr); in trace_boot_set_instance_options()
50 tracer_tracing_off(tr); in trace_boot_set_instance_options()
55 if (tracing_set_clock(tr, p) < 0) in trace_boot_set_instance_options()
615 trace_boot_init_events(tr, node); in trace_boot_init_one_instance()
624 struct trace_array *tr; in trace_boot_init_instances() local
637 if (!tr) { in trace_boot_init_instances()
642 trace_array_put(tr); in trace_boot_init_instances()
649 struct trace_array *tr; in trace_boot_init() local
655 tr = top_trace_array(); in trace_boot_init()
[all …]
A Dtrace_functions_graph.c155 if (!ftrace_trace_task(tr)) in trace_graph_entry()
265 graph_array = tr; in set_graph_array()
302 set_graph_array(tr); in graph_trace_init()
325 graph_trace_reset(tr); in graph_trace_update_thresh()
514 struct trace_array *tr = iter->tr; in print_graph_irq() local
630 struct trace_array *tr = iter->tr; in print_graph_entry_leaf() local
681 struct trace_array *tr = iter->tr; in print_graph_entry_nested() local
722 struct trace_array *tr = iter->tr; in print_graph_prologue() local
905 struct trace_array *tr = iter->tr; in print_graph_return() local
971 struct trace_array *tr = iter->tr; in print_graph_comment() local
[all …]
A Dtrace_hwlat.c302 if (latency > tr->max_latency) { in get_sample()
303 tr->max_latency = latency; in get_sample()
304 latency_fsnotify(tr); in get_sample()
705 hwlat_tracer_stop(tr); in hwlat_mode_write()
719 hwlat_tracer_start(tr); in hwlat_mode_write()
816 err = start_single_kthread(tr); in hwlat_tracer_start()
835 hwlat_trace = tr; in hwlat_tracer_init()
838 tr->max_latency = 0; in hwlat_tracer_init()
845 if (tracer_tracing_is_on(tr)) in hwlat_tracer_init()
846 hwlat_tracer_start(tr); in hwlat_tracer_init()
[all …]
A Dtrace_nop.c37 static void start_nop_trace(struct trace_array *tr) in start_nop_trace() argument
42 static void stop_nop_trace(struct trace_array *tr) in stop_nop_trace() argument
47 static int nop_trace_init(struct trace_array *tr) in nop_trace_init() argument
49 ctx_trace = tr; in nop_trace_init()
50 start_nop_trace(tr); in nop_trace_init()
54 static void nop_trace_reset(struct trace_array *tr) in nop_trace_reset() argument
56 stop_nop_trace(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() argument
A Dtrace_mmiotrace.c28 static void mmio_reset_data(struct trace_array *tr) in mmio_reset_data() argument
33 tracing_reset_online_cpus(&tr->array_buffer); in mmio_reset_data()
36 static int mmio_trace_init(struct trace_array *tr) in mmio_trace_init() argument
39 mmio_trace_array = tr; in mmio_trace_init()
41 mmio_reset_data(tr); in mmio_trace_init()
51 mmio_reset_data(tr); in mmio_trace_reset()
58 mmio_reset_data(tr); in mmio_trace_start()
319 struct trace_array *tr = mmio_trace_array; in mmio_trace_rw() local
321 __trace_mmiotrace_rw(tr, data, rw); in mmio_trace_rw()
350 struct trace_array *tr = mmio_trace_array; in mmio_trace_mapping() local
[all …]
A Dtrace_syscalls.c130 struct trace_array *tr = iter->tr; in print_syscall_enter() local
157 if (tr && tr->trace_flags & TRACE_ITER_VERBOSE) in print_syscall_enter()
371 struct trace_array *tr = file->tr; in reg_event_syscall_enter() local
383 tr->sys_refcount_enter++; in reg_event_syscall_enter()
392 struct trace_array *tr = file->tr; in unreg_event_syscall_enter() local
399 tr->sys_refcount_enter--; in unreg_event_syscall_enter()
409 struct trace_array *tr = file->tr; in reg_event_syscall_exit() local
417 if (!tr->sys_refcount_exit) in reg_event_syscall_exit()
421 tr->sys_refcount_exit++; in reg_event_syscall_exit()
430 struct trace_array *tr = file->tr; in unreg_event_syscall_exit() local
[all …]
/linux-6.3-rc2/fs/gfs2/
A Dtrans.c32 tr->tr_blocks, tr->tr_revokes, tr->tr_reserved, in gfs2_print_trans()
35 tr->tr_num_buf_new, tr->tr_num_buf_rm, in gfs2_print_trans()
36 tr->tr_num_databuf_new, tr->tr_num_databuf_rm, in gfs2_print_trans()
37 tr->tr_num_revoke); in gfs2_print_trans()
55 tr->tr_ip = ip; in __gfs2_trans_begin()
56 tr->tr_blocks = blocks; in __gfs2_trans_begin()
116 if (!tr) in gfs2_trans_begin()
141 gfs2_log_release_revokes(sdp, tr->tr_revokes - tr->tr_num_revoke); in gfs2_trans_end()
143 nbuf = tr->tr_num_buf_new + tr->tr_num_databuf_new; in gfs2_trans_end()
148 gfs2_assert_withdraw(sdp, tr->tr_num_revoke <= tr->tr_revokes)) in gfs2_trans_end()
[all …]
A Dlog.c407 gfs2_ail_empty_tr(sdp, tr, &tr->tr_ail2_list); in __ail2_empty()
667 if (tr) { in calc_reserved()
668 blocks = tr->tr_num_buf_new - tr->tr_num_buf_rm; in calc_reserved()
955 gfs2_ail_empty_tr(sdp, tr, &tr->tr_ail1_list); in gfs2_ail_drain()
956 gfs2_ail_empty_tr(sdp, tr, &tr->tr_ail2_list); in gfs2_ail_drain()
963 gfs2_ail_empty_tr(sdp, tr, &tr->tr_ail2_list); in gfs2_ail_drain()
1006 if (!tr) in trans_drain()
1067 if (tr) { in gfs2_log_flush()
1122 if (tr && !list_empty(&tr->tr_ail1_list)) { in gfs2_log_flush()
1171 if (tr && list_empty(&tr->tr_list)) in gfs2_log_flush()
[all …]
/linux-6.3-rc2/drivers/media/radio/
A Dradio-timb.c99 tr = devm_kzalloc(&pdev->dev, sizeof(*tr), GFP_KERNEL); in timbradio_probe()
100 if (!tr) { in timbradio_probe()
105 tr->pdata = *pdata; in timbradio_probe()
114 tr->video_dev.lock = &tr->lock; in timbradio_probe()
117 strscpy(tr->v4l2_dev.name, DRIVER_NAME, sizeof(tr->v4l2_dev.name)); in timbradio_probe()
122 tr->video_dev.v4l2_dev = &tr->v4l2_dev; in timbradio_probe()
124 tr->sd_tuner = v4l2_i2c_new_subdev_board(&tr->v4l2_dev, in timbradio_probe()
126 tr->sd_dsp = v4l2_i2c_new_subdev_board(&tr->v4l2_dev, in timbradio_probe()
128 if (tr->sd_tuner == NULL || tr->sd_dsp == NULL) { in timbradio_probe()
133 tr->v4l2_dev.ctrl_handler = tr->sd_dsp->ctrl_handler; in timbradio_probe()
[all …]
A Dradio-trust.c58 struct trust *tr = kzalloc(sizeof(*tr), GFP_KERNEL); in trust_alloc() local
60 return tr ? &tr->isa : NULL; in trust_alloc()
67 #define TR_DELAY do { inb(tr->isa.io); inb(tr->isa.io); inb(tr->isa.io); } while (0)
68 #define TR_SET_SCL outb(tr->ioval |= 2, tr->isa.io)
69 #define TR_CLR_SCL outb(tr->ioval &= 0xfd, tr->isa.io)
70 #define TR_SET_SDA outb(tr->ioval |= 1, tr->isa.io)
71 #define TR_CLR_SDA outb(tr->ioval &= 0xfe, tr->isa.io)
123 tr->ioval = (tr->ioval & 0xf7) | (mute << 3); in trust_s_mute_volume()
124 outb(tr->ioval, isa->io); in trust_s_mute_volume()
133 tr->ioval = (tr->ioval & 0xfb) | (!stereo << 2); in trust_s_stereo()
[all …]
/linux-6.3-rc2/drivers/input/touchscreen/
A Dtouchright.c45 struct tr { struct
56 struct tr *tr = serio_get_drvdata(serio); in tr_interrupt() argument
59 tr->data[tr->idx] = data; in tr_interrupt()
64 (tr->data[1] << 5) | (tr->data[2] >> 1)); in tr_interrupt()
66 (tr->data[3] << 5) | (tr->data[4] >> 1)); in tr_interrupt()
70 tr->idx = 0; in tr_interrupt()
83 struct tr *tr = serio_get_drvdata(serio); in tr_disconnect() local
90 kfree(tr); in tr_disconnect()
101 struct tr *tr; in tr_connect() local
105 tr = kzalloc(sizeof(struct tr), GFP_KERNEL); in tr_connect()
[all …]
/linux-6.3-rc2/drivers/mtd/
A Dmtd_blkdevs.c59 if (tr->flush(dev)) in do_blktrans_request()
124 struct mtd_blktrans_ops *tr = dev->tr; in mtd_blktrans_work() local
259 ret = dev->tr->getgeo ? dev->tr->getgeo(dev, geo) : -ENOTTY; in blktrans_getgeo()
278 struct mtd_blktrans_ops *tr = new->tr; in add_mtd_blktrans_dev() local
371 if (tr->flush) in add_mtd_blktrans_dev()
470 tr->add_mtd(tr, mtd); in blktrans_notify_add()
489 ret = register_blkdev(tr->major, tr->name); in register_mtd_blktrans()
492 tr->name, tr->major, ret); in register_mtd_blktrans()
499 tr->blkshift = ffs(tr->blksize) - 1; in register_mtd_blktrans()
507 tr->add_mtd(tr, mtd); in register_mtd_blktrans()
[all …]
/linux-6.3-rc2/drivers/s390/crypto/
A Dzcrypt_api.c685 if (tr && tr->fi.cmd) in zcrypt_rsa_modexpo()
724 cpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_modexpo()
739 qpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_modexpo()
795 if (tr && tr->fi.cmd) in zcrypt_rsa_crt()
834 cpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_crt()
849 qpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_crt()
907 if (tr && tr->fi.cmd) in _zcrypt_send_cprb()
962 cpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_cprb()
979 qpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_cprb()
1082 if (tr && tr->fi.cmd) in _zcrypt_send_ep11_cprb()
[all …]
/linux-6.3-rc2/include/linux/
A Dtrace.h41 #define trace_array_puts(tr, str) \ argument
43 str ? __trace_array_puts(tr, _THIS_IP_, str, strlen(str)) : -1; \
45 int __trace_array_puts(struct trace_array *tr, unsigned long ip,
50 int trace_array_printk(struct trace_array *tr, unsigned long ip,
52 int trace_array_init_printk(struct trace_array *tr);
53 void trace_array_put(struct trace_array *tr);
55 int trace_array_destroy(struct trace_array *tr);
75 static inline int trace_array_printk(struct trace_array *tr, unsigned long ip, in trace_array_printk() argument
80 static inline int trace_array_init_printk(struct trace_array *tr) in trace_array_init_printk() argument
84 static inline void trace_array_put(struct trace_array *tr) in trace_array_put() argument
[all …]
/linux-6.3-rc2/samples/ftrace/
A Dsample-trace-array.c20 struct trace_array *tr; variable
29 trace_array_set_clr_event(tr, "sample-subsystem", "sample_event", in trace_work_fn()
55 trace_array_printk(tr, _THIS_IP_, "trace_array_printk: count=%d\n", in simple_thread_func()
72 trace_array_set_clr_event(tr, "sample-subsystem", "sample_event", true); in simple_thread()
94 trace_array_put(tr); in simple_thread()
108 tr = trace_array_get_by_name("sample-instance"); in sample_trace_array_init()
110 if (!tr) in sample_trace_array_init()
119 trace_array_put(tr); in sample_trace_array_init()
120 trace_array_destroy(tr); in sample_trace_array_init()
135 trace_array_destroy(tr); in sample_trace_array_exit()
/linux-6.3-rc2/drivers/net/ethernet/toshiba/
A Dtc35815.c528 &tr->MD_CA); in tc_mdio_write()
575 &tr->Tx_Ctl); in tc_handle_link_change()
1190 tc_writel(0, &tr->Int_En); in tc35815_schedule_restart()
1191 tc_writel(tc_readl(&tr->DMA_Ctl) | DMA_IntMask, &tr->DMA_Ctl); in tc35815_schedule_restart()
1644 &tr->Int_Src); in tc35815_poll()
1657 tc_writel(tc_readl(&tr->DMA_Ctl) & ~DMA_IntMask, &tr->DMA_Ctl); in tc35815_poll()
2039 tc_writel(0, &tr->MAC_Ctl); in tc35815_chip_reset()
2046 tc_writel(0, &tr->Int_En); in tc35815_chip_reset()
2051 tc_writel(0, &tr->Tx_Ctl); in tc35815_chip_reset()
2052 tc_writel(0, &tr->Rx_Ctl); in tc35815_chip_reset()
[all …]
/linux-6.3-rc2/tools/bootconfig/scripts/
A Dftrace.sh55 tr=`echo $t | cut -d: -f2`
56 if [ "$tr" = "" ]; then
63 if [ $tr = "enable_event" -o $tr = "disable_event" ]; then
64 tr=`echo $t | cut -d: -f2-4`
67 tr=`echo $t | cut -d: -f2`
71 tr="$tr:$limit"
73 echo "!$name:$tr" > set_ftrace_filter

Completed in 87 milliseconds

123456789