Searched refs:tr (Results 26 - 50 of 205) sorted by relevance

123456789

/linux-master/drivers/mtd/
H A Dmtd_blkdevs.c45 static blk_status_t do_blktrans_request(struct mtd_blktrans_ops *tr, argument
54 block = blk_rq_pos(req) << 9 >> tr->blkshift;
55 nsect = blk_rq_cur_bytes(req) >> tr->blkshift;
59 if (tr->flush(dev))
63 if (tr->discard(dev, block, nsect))
68 for (; nsect > 0; nsect--, block++, buf += tr->blksize) {
69 if (tr->readsect(dev, block, buf)) {
80 if (!tr->writesect)
87 for (; nsect > 0; nsect--, block++, buf += tr->blksize) {
88 if (tr
124 struct mtd_blktrans_ops *tr = dev->tr; variable in typeref:struct:mtd_blktrans_ops
278 struct mtd_blktrans_ops *tr = new->tr; local
451 struct mtd_blktrans_ops *tr; local
462 struct mtd_blktrans_ops *tr; local
476 register_mtd_blktrans(struct mtd_blktrans_ops *tr) argument
510 deregister_mtd_blktrans(struct mtd_blktrans_ops *tr) argument
[all...]
H A Dmtdblock_ro.c37 static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) argument
48 dev->tr = tr;
53 tr->name, mtd->name);
/linux-master/kernel/trace/
H A Dtrace_selftest.c70 arch_spin_lock(&buf->tr->max_lock);
88 arch_spin_unlock(&buf->tr->max_lock);
182 static int trace_selftest_ops(struct trace_array *tr, int cnt) argument
219 ftrace_init_array_ops(tr, trace_selftest_test_global_func);
220 register_ftrace_function(tr->ops);
335 unregister_ftrace_function(tr->ops);
336 ftrace_reset_array_ops(tr);
357 struct trace_array *tr,
386 ret = tracer_init(trace, tr);
396 ret = trace_test_buffer(&tr
356 trace_selftest_startup_dynamic_tracing(struct tracer *trace, struct trace_array *tr, int (*func)(void)) argument
691 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) argument
796 trace_selftest_startup_function_graph(struct tracer *trace, struct trace_array *tr) argument
928 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr) argument
977 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr) argument
1039 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr) argument
1140 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr) argument
1192 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr) argument
1270 trace_selftest_startup_branch(struct tracer *trace, struct trace_array *tr) argument
[all...]
H A Dtrace.h211 struct trace_array *tr; member in struct:array_buffer
258 typedef bool (*cond_update_fn_t)(struct trace_array *tr, void *cond_data);
267 * tracing_snapshot_cond(tr, cond_data), the cond_data passed in is
271 * the trace_array. Because the tr->max_lock is held throughout the
290 * callback function is invoked with the tr->max_lock held. The
429 extern int trace_array_get(struct trace_array *tr);
430 extern int tracing_check_open_get_tr(struct trace_array *tr);
435 extern int tracing_set_filter_buffering(struct trace_array *tr, bool set);
436 extern int tracing_set_clock(struct trace_array *tr, const char *clockstr);
438 extern bool trace_clock_in_ns(struct trace_array *tr);
446 struct trace_array *tr; local
538 struct trace_array *tr; member in struct:trace_option_dentry
737 latency_fsnotify(struct trace_array *tr) argument
743 __trace_stack(struct trace_array *tr, unsigned int trace_ctx, int skip) argument
765 ftrace_init_trace_array(struct trace_array *tr) argument
1024 ftrace_trace_task(struct trace_array *tr) argument
1045 ftrace_trace_task(struct trace_array *tr) argument
1051 ftrace_create_function_files(struct trace_array *tr, struct dentry *parent) argument
1056 ftrace_allocate_ftrace_ops(struct trace_array *tr) argument
1060 ftrace_free_ftrace_ops(struct trace_array *tr) argument
1061 ftrace_destroy_function_files(struct trace_array *tr) argument
1063 ftrace_init_global_array_ops(struct trace_array *tr) argument
1064 ftrace_reset_array_ops(struct trace_array *tr) argument
1065 ftrace_init_tracefs(struct trace_array *tr, struct dentry *d) argument
1066 ftrace_init_tracefs_toplevel(struct trace_array *tr, struct dentry *d) argument
1067 ftrace_clear_pids(struct trace_array *tr) argument
1069 ftrace_pid_follow_fork(struct trace_array *tr, bool enable) argument
1138 clear_ftrace_function_probes(struct trace_array *tr) argument
1294 trace_branch_enable(struct trace_array *tr) argument
1306 trace_branch_enable(struct trace_array *tr) argument
1354 struct trace_array *tr; member in struct:trace_subsystem_dir
1370 trace_buffer_unlock_commit(struct trace_array *tr, struct trace_buffer *buffer, struct ring_buffer_event *event, unsigned int trace_ctx) argument
1989 tracing_snapshot_instance(struct trace_array *tr) argument
1990 tracing_alloc_snapshot_instance(struct trace_array *tr) argument
1994 tracing_arm_snapshot(struct trace_array *tr) argument
1995 tracing_disarm_snapshot(struct trace_array *tr) argument
[all...]
H A Dtrace_events.c72 #define do_for_each_event_file(tr, file) \
73 list_for_each_entry(tr, &ftrace_trace_arrays, list) { \
74 list_for_each_entry(file, &tr->events, list)
76 #define do_for_each_event_file_safe(tr, file) \
77 list_for_each_entry(tr, &ftrace_trace_arrays, list) { \
79 list_for_each_entry_safe(file, ___n, &tr->events, list)
478 struct trace_array *tr = trace_file->tr; local
483 pid_list = rcu_dereference_raw(tr->filtered_pids);
484 no_pid_list = rcu_dereference_raw(tr
568 struct trace_array *tr; local
590 struct trace_array *tr; local
613 struct trace_array *tr = file->tr; local
733 ftrace_clear_events(struct trace_array *tr) argument
748 struct trace_array *tr = data; local
763 struct trace_array *tr = data; local
772 trace_event_follow_fork(struct trace_array *tr, bool enable) argument
793 struct trace_array *tr = data; local
819 struct trace_array *tr = data; local
833 struct trace_array *tr = data; local
851 struct trace_array *tr = data; local
867 unregister_pid_events(struct trace_array *tr) argument
882 __ftrace_clear_event_pids(struct trace_array *tr, int type) argument
925 ftrace_clear_event_pids(struct trace_array *tr, int type) argument
1028 __ftrace_set_clr_event_nolock(struct trace_array *tr, const char *match, const char *sub, const char *event, int set) argument
1075 __ftrace_set_clr_event(struct trace_array *tr, const char *match, const char *sub, const char *event, int set) argument
1087 ftrace_set_clr_event(struct trace_array *tr, char *buf, int set) argument
1141 struct trace_array *tr = top_trace_array(); local
1163 trace_array_set_clr_event(struct trace_array *tr, const char *system, const char *event, bool enable) argument
1185 struct trace_array *tr = m->private; local
1224 struct trace_array *tr = m->private; local
1245 struct trace_array *tr = m->private; local
1263 struct trace_array *tr = m->private; local
1278 struct trace_array *tr = m->private; local
1312 struct trace_array *tr = m->private; local
1339 struct trace_array *tr = m->private; local
1457 struct trace_array *tr = dir->tr; local
1758 struct trace_array *tr = NULL, *iter_tr; local
1807 struct trace_array *tr = inode->i_private; local
1900 struct trace_array *tr = filp->private_data; local
1948 struct trace_array *tr = data; local
1965 register_pid_events(struct trace_array *tr) argument
1999 struct trace_array *tr = m->private; local
2233 struct trace_array *tr = inode->i_private; local
2253 struct trace_array *tr = inode->i_private; local
2274 struct trace_array *tr = inode->i_private; local
2295 struct trace_array *tr = inode->i_private; local
2360 event_subsystem_dir(struct trace_array *tr, const char *name, struct trace_event_file *file, struct eventfs_inode *parent) argument
2559 struct trace_array *tr = file->tr; local
2643 struct trace_array *tr; local
2662 struct trace_array *tr; local
2957 trace_create_new_event(struct trace_event_call *call, struct trace_array *tr) argument
3030 __trace_add_new_event(struct trace_event_call *call, struct trace_array *tr) argument
3077 __trace_early_add_new_event(struct trace_event_call *call, struct trace_array *tr) argument
3139 struct trace_array *tr; local
3288 __trace_add_event_dirs(struct trace_array *tr) argument
3303 __find_event_file(struct trace_array *tr, const char *system, const char *event) argument
3326 find_event_file(struct trace_array *tr, const char *system, const char *event) argument
3362 struct trace_array *tr = top_trace_array(); local
3445 event_enable_probe(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument
3462 event_enable_count_probe(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument
3520 event_enable_init(struct ftrace_probe_ops *ops, struct trace_array *tr, unsigned long ip, void *init_data, void **data) argument
3558 event_enable_free(struct ftrace_probe_ops *ops, struct trace_array *tr, unsigned long ip, void *data) argument
3611 event_enable_func(struct trace_array *tr, struct ftrace_hash *hash, char *glob, char *cmd, char *param, int enabled) argument
3753 __trace_early_add_event_dirs(struct trace_array *tr) argument
3773 __trace_early_add_events(struct trace_array *tr) argument
3793 __trace_remove_event_dirs(struct trace_array *tr) argument
3803 struct trace_array *tr; local
3848 create_event_toplevel_files(struct dentry *parent, struct trace_array *tr) argument
3909 event_trace_add_tracer(struct dentry *parent, struct trace_array *tr) argument
3936 early_event_add_tracer(struct dentry *parent, struct trace_array *tr) argument
3957 event_trace_del_tracer(struct trace_array *tr) argument
3991 early_enable_events(struct trace_array *tr, char *buf, bool disable_first) argument
4020 struct trace_array *tr = top_trace_array(); local
4067 struct trace_array *tr; local
4094 struct trace_array *tr; local
4190 struct trace_array *tr; local
[all...]
H A Dtrace_mmiotrace.c28 static void mmio_reset_data(struct trace_array *tr) argument
33 tracing_reset_online_cpus(&tr->array_buffer);
36 static int mmio_trace_init(struct trace_array *tr) argument
39 mmio_trace_array = tr;
41 mmio_reset_data(tr);
46 static void mmio_trace_reset(struct trace_array *tr) argument
51 mmio_reset_data(tr);
55 static void mmio_trace_start(struct trace_array *tr) argument
58 mmio_reset_data(tr);
293 static void __trace_mmiotrace_rw(struct trace_array *tr, argument
319 struct trace_array *tr = mmio_trace_array; local
324 __trace_mmiotrace_map(struct trace_array *tr, struct trace_array_cpu *data, struct mmiotrace_map *map) argument
350 struct trace_array *tr = mmio_trace_array; local
[all...]
H A Dtrace_boot.c25 trace_boot_set_instance_options(struct trace_array *tr, struct xbc_node *node) argument
39 if (trace_set_options(tr, buf) < 0)
48 tracer_tracing_on(tr);
50 tracer_tracing_off(tr);
55 if (tracing_set_clock(tr, p) < 0)
64 if (tracing_resize_ring_buffer(tr, v, RING_BUFFER_ALL_CPUS) < 0)
74 tracing_set_cpumask(tr, new_mask) < 0)
83 trace_boot_enable_events(struct trace_array *tr, struct xbc_node *node) argument
95 if (ftrace_set_clr_event(tr, buf, 1) < 0)
462 trace_boot_init_one_event(struct trace_array *tr, struc argument
518 trace_boot_init_events(struct trace_array *tr, struct xbc_node *node) argument
560 trace_boot_set_ftrace_filter(struct trace_array *tr, struct xbc_node *node) argument
592 trace_boot_enable_tracer(struct trace_array *tr, struct xbc_node *node) argument
612 trace_boot_init_one_instance(struct trace_array *tr, struct xbc_node *node) argument
624 struct trace_array *tr; local
649 struct trace_array *tr; local
[all...]
H A Dtrace_functions_graph.c100 print_graph_duration(struct trace_array *tr, unsigned long long duration,
103 int __trace_graph_entry(struct trace_array *tr, argument
109 struct trace_buffer *buffer = tr->array_buffer.buffer;
134 struct trace_array *tr = graph_array; local
161 if (!ftrace_trace_task(tr))
179 data = per_cpu_ptr(tr->array_buffer.data, cpu);
183 ret = __trace_graph_entry(tr, trace, trace_ctx);
195 __trace_graph_function(struct trace_array *tr, argument
210 __trace_graph_entry(tr, &ent, trace_ctx);
211 __trace_graph_return(tr,
215 trace_graph_function(struct trace_array *tr, unsigned long ip, unsigned long parent_ip, unsigned int trace_ctx) argument
222 __trace_graph_return(struct trace_array *tr, struct ftrace_graph_ret *trace, unsigned int trace_ctx) argument
243 struct trace_array *tr = graph_array; local
269 set_graph_array(struct trace_array *tr) argument
304 graph_trace_init(struct trace_array *tr) argument
320 graph_trace_reset(struct trace_array *tr) argument
329 graph_trace_update_thresh(struct trace_array *tr) argument
520 struct trace_array *tr = iter->tr; local
598 print_graph_duration(struct trace_array *tr, unsigned long long duration, struct trace_seq *s, u32 flags) argument
686 struct trace_array *tr = iter->tr; local
745 struct trace_array *tr = iter->tr; local
786 struct trace_array *tr = iter->tr; local
969 struct trace_array *tr = iter->tr; local
1044 struct trace_array *tr = iter->tr; local
1206 __print_graph_headers_flags(struct trace_array *tr, struct seq_file *s, u32 flags) argument
1255 struct trace_array *tr = iter->tr; local
1324 func_graph_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) argument
[all...]
H A Dtrace_kdb.c25 struct trace_array *tr; local
29 tr = iter.tr;
31 old_userobj = tr->trace_flags;
34 tr->trace_flags &= ~TRACE_ITER_SYM_USEROBJ;
82 tr->trace_flags = old_userobj;
H A Dtrace_hwlat.c132 struct trace_array *tr = hwlat_trace; local
134 struct trace_buffer *buffer = tr->array_buffer.buffer;
189 struct trace_array *tr = hwlat_trace; \
191 trace_array_printk_buf(tr->array_buffer.buffer, _THIS_IP_, msg); \
204 struct trace_array *tr = hwlat_trace; local
302 if (latency > tr->max_latency) {
303 tr->max_latency = latency;
304 latency_fsnotify(tr);
317 struct trace_array *tr = hwlat_trace; local
329 cpumask_and(current_mask, cpu_online_mask, tr
421 start_single_kthread(struct trace_array *tr) argument
513 struct trace_array *tr = hwlat_trace; local
579 start_per_cpu_kthreads(struct trace_array *tr) argument
683 struct trace_array *tr = hwlat_trace; local
810 hwlat_tracer_start(struct trace_array *tr) argument
822 hwlat_tracer_stop(struct trace_array *tr) argument
830 hwlat_tracer_init(struct trace_array *tr) argument
854 hwlat_tracer_reset(struct trace_array *tr) argument
[all...]
H A Dtrace_syscalls.c130 struct trace_array *tr = iter->tr; local
157 if (tr && tr->trace_flags & TRACE_ITER_VERBOSE)
293 struct trace_array *tr = data; local
307 trace_file = rcu_dereference_sched(tr->enter_syscall_files[syscall_nr]);
334 struct trace_array *tr = data; local
346 trace_file = rcu_dereference_sched(tr->exit_syscall_files[syscall_nr]);
371 struct trace_array *tr = file->tr; local
392 struct trace_array *tr = file->tr; local
409 struct trace_array *tr = file->tr; local
430 struct trace_array *tr = file->tr; local
[all...]
H A Dsynth_event_gen_test.c104 ret = trace_array_set_clr_event(gen_synth_test->tr,
209 ret = trace_array_set_clr_event(empty_synth_test->tr,
281 ret = trace_array_set_clr_event(create_synth_test->tr,
448 WARN_ON(trace_array_set_clr_event(gen_synth_test->tr,
458 WARN_ON(trace_array_set_clr_event(gen_synth_test->tr,
464 WARN_ON(trace_array_set_clr_event(empty_synth_test->tr,
482 trace_array_set_clr_event(gen_synth_test->tr,
485 trace_array_set_clr_event(empty_synth_test->tr,
488 trace_array_set_clr_event(create_synth_test->tr,
498 WARN_ON(trace_array_set_clr_event(gen_synth_test->tr,
[all...]
H A Dkprobe_event_gen_test.c136 ret = trace_array_set_clr_event(gen_kprobe_test->tr,
201 ret = trace_array_set_clr_event(gen_kretprobe_test->tr,
229 WARN_ON(trace_array_set_clr_event(gen_kretprobe_test->tr,
244 WARN_ON(trace_array_set_clr_event(gen_kprobe_test->tr,
258 WARN_ON(trace_array_set_clr_event(gen_kretprobe_test->tr,
/linux-master/scripts/
H A Dgen-randstruct-seed.sh4 SEED=$(od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n')
H A Dextract-ikconfig7 # The obscure use of the "tr" filter is to work around older versions of
19 if pos=`tr "$cf1\n$cf2" "\n$cf2=" < "$1" | grep -abo "^$cf2"`
33 for pos in `tr "$1\n$2" "\n$2=" < "$img" | grep -abo "^$2"`
/linux-master/tools/bootconfig/scripts/
H 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
/linux-master/fs/gfs2/
H A Dlog.c96 * @tr: The transaction to start I/O on
102 struct gfs2_trans *tr, struct blk_plug *plug)
112 list_for_each_entry_safe_reverse(bd, s, &tr->tr_ail1_list, bd_ail_st_list) {
115 gfs2_assert(sdp, bd->bd_tr == tr);
120 &tr->tr_ail2_list);
138 list_move(&bd->bd_ail_st_list, &tr->tr_ail1_list);
162 struct gfs2_trans *tr; local
166 list_for_each_entry_reverse(tr, &sdp->sd_ail1_list, tr_list) {
167 list_for_each_entry_reverse(bd, &tr->tr_ail1_list,
204 struct gfs2_trans *tr; local
260 struct gfs2_trans *tr; local
283 gfs2_ail_empty_tr(struct gfs2_sbd *sdp, struct gfs2_trans *tr, struct list_head *head) argument
305 gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr, int *max_revokes) argument
361 struct gfs2_trans *tr, *s; local
381 struct gfs2_trans *tr; local
401 __ail2_empty(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument
414 struct gfs2_trans *tr, *safe; local
565 gfs2_log_try_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, unsigned int *extra_revokes) argument
596 gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, unsigned int *extra_revokes) argument
661 struct gfs2_trans *tr = sdp->sd_log_tr; local
941 struct gfs2_trans *tr; local
1006 trans_drain(struct gfs2_trans *tr) argument
1042 struct gfs2_trans *tr = NULL; local
1210 log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument
1267 gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument
[all...]
H A Dtrans.h37 int __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp,
48 void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr);
H A Dlops.h37 struct gfs2_trans *tr)
42 gfs2_log_ops[x]->lo_before_commit(sdp, tr);
46 struct gfs2_trans *tr)
51 gfs2_log_ops[x]->lo_after_commit(sdp, tr);
36 lops_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument
45 lops_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument
/linux-master/tools/perf/scripts/python/bin/
H A Dmem-phys-addr-record17 arg=$(echo $load | tr -d ' ')
/linux-master/include/linux/mtd/
H A Dblktrans.h20 struct mtd_blktrans_ops *tr; member in struct:mtd_blktrans_dev
66 void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
74 extern int register_mtd_blktrans(struct mtd_blktrans_ops *tr);
75 extern int deregister_mtd_blktrans(struct mtd_blktrans_ops *tr);
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dkvm-recheck-refscale.sh25 sed -e 's/^\[[^]]*]//' < $i/console.log | tr -d '\015' |
/linux-master/arch/mips/kernel/syscalls/
H A Dsyscallnr.sh6 my_abis=`echo "($3)" | tr ',' '|'`
/linux-master/arch/x86/include/asm/
H A Dsuspend_32.h22 unsigned long tr; member in struct:saved_context
/linux-master/drivers/s390/crypto/
H A Dzcrypt_api.c638 struct zcrypt_track *tr,
688 cpen = (tr && tr->again_counter && tr->last_qid &&
689 AP_QID_CARD(tr->last_qid) == zc->card->id) ?
703 qpen = (tr && tr->again_counter && tr->last_qid &&
704 tr->last_qid == zq->queue->qid) ?
732 if (tr) {
637 zcrypt_rsa_modexpo(struct ap_perms *perms, struct zcrypt_track *tr, struct ica_rsa_modexpo *mex) argument
741 zcrypt_rsa_crt(struct ap_perms *perms, struct zcrypt_track *tr, struct ica_rsa_modexpo_crt *crt) argument
845 _zcrypt_send_cprb(bool userspace, struct ap_perms *perms, struct zcrypt_track *tr, struct ica_xcRB *xcrb) argument
977 struct zcrypt_track tr; local
1027 _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms, struct zcrypt_track *tr, struct ep11_urb *xcrb) argument
1181 struct zcrypt_track tr; local
1471 struct zcrypt_track tr; local
1500 struct zcrypt_track tr; local
1530 struct zcrypt_track tr; local
1560 struct zcrypt_track tr; local
1732 struct zcrypt_track tr; local
1779 struct zcrypt_track tr; local
1836 struct zcrypt_track tr; local
[all...]

Completed in 206 milliseconds

123456789