Home
last modified time | relevance | path

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

/linux-4.1.27/fs/gfs2/
Dtrans.c34 struct gfs2_trans *tr; in gfs2_trans_begin() local
43 tr = kzalloc(sizeof(struct gfs2_trans), GFP_NOFS); in gfs2_trans_begin()
44 if (!tr) in gfs2_trans_begin()
47 tr->tr_ip = _RET_IP_; in gfs2_trans_begin()
48 tr->tr_blocks = blocks; in gfs2_trans_begin()
49 tr->tr_revokes = revokes; in gfs2_trans_begin()
50 tr->tr_reserved = 1; in gfs2_trans_begin()
51 tr->tr_alloced = 1; in gfs2_trans_begin()
53 tr->tr_reserved += 6 + blocks; in gfs2_trans_begin()
55 tr->tr_reserved += gfs2_struct2blk(sdp, revokes, in gfs2_trans_begin()
[all …]
Dlog.c94 struct gfs2_trans *tr) in gfs2_ail1_start_one() argument
103 list_for_each_entry_safe_reverse(bd, s, &tr->tr_ail1_list, bd_ail_st_list) { in gfs2_ail1_start_one()
106 gfs2_assert(sdp, bd->bd_tr == tr); in gfs2_ail1_start_one()
111 list_move(&bd->bd_ail_st_list, &tr->tr_ail2_list); in gfs2_ail1_start_one()
120 list_move(&bd->bd_ail_st_list, &tr->tr_ail1_list); in gfs2_ail1_start_one()
148 struct gfs2_trans *tr; in gfs2_ail1_flush() local
155 list_for_each_entry_reverse(tr, head, tr_list) { in gfs2_ail1_flush()
158 if (gfs2_ail1_start_one(sdp, wbc, tr)) in gfs2_ail1_flush()
190 static void gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_ail1_empty_one() argument
195 list_for_each_entry_safe_reverse(bd, s, &tr->tr_ail1_list, in gfs2_ail1_empty_one()
[all …]
Dlops.c99 struct gfs2_trans *tr) in gfs2_unpin() argument
122 bd->bd_tr = tr; in gfs2_unpin()
123 list_add(&bd->bd_ail_st_list, &tr->tr_ail1_list); in gfs2_unpin()
494 static void buf_lo_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in buf_lo_before_commit() argument
498 if (tr == NULL) in buf_lo_before_commit()
500 nbuf = tr->tr_num_buf_new - tr->tr_num_buf_rm; in buf_lo_before_commit()
501 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_buf, 0); in buf_lo_before_commit()
504 static void buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in buf_lo_after_commit() argument
509 if (tr == NULL) in buf_lo_after_commit()
512 head = &tr->tr_buf; in buf_lo_after_commit()
[all …]
Dmeta_io.c226 struct gfs2_trans *tr = current->journal_info; in gfs2_meta_read() local
227 if (tr && tr->tr_touched) in gfs2_meta_read()
253 struct gfs2_trans *tr = current->journal_info; in gfs2_meta_wait() local
254 if (tr && tr->tr_touched) in gfs2_meta_wait()
264 void gfs2_remove_from_journal(struct buffer_head *bh, struct gfs2_trans *tr, int meta) in gfs2_remove_from_journal() argument
276 tr->tr_num_buf_rm++; in gfs2_remove_from_journal()
278 tr->tr_num_databuf_rm++; in gfs2_remove_from_journal()
279 tr->tr_touched = 1; in gfs2_remove_from_journal()
Dlops.h50 struct gfs2_trans *tr) in lops_before_commit() argument
55 gfs2_log_ops[x]->lo_before_commit(sdp, tr); in lops_before_commit()
59 struct gfs2_trans *tr) in lops_after_commit() argument
64 gfs2_log_ops[x]->lo_after_commit(sdp, tr); in lops_after_commit()
Dglops.c84 struct gfs2_trans tr; in gfs2_ail_empty_gl() local
86 memset(&tr, 0, sizeof(tr)); in gfs2_ail_empty_gl()
87 INIT_LIST_HEAD(&tr.tr_buf); in gfs2_ail_empty_gl()
88 INIT_LIST_HEAD(&tr.tr_databuf); in gfs2_ail_empty_gl()
89 tr.tr_revokes = atomic_read(&gl->gl_ail_count); in gfs2_ail_empty_gl()
91 if (!tr.tr_revokes) in gfs2_ail_empty_gl()
97 tr.tr_reserved = 1 + gfs2_struct2blk(sdp, tr.tr_revokes, sizeof(u64)); in gfs2_ail_empty_gl()
98 tr.tr_ip = _RET_IP_; in gfs2_ail_empty_gl()
99 if (gfs2_log_reserve(sdp, tr.tr_reserved) < 0) in gfs2_ail_empty_gl()
102 current->journal_info = &tr; in gfs2_ail_empty_gl()
[all …]
Dmeta_io.h61 struct gfs2_trans *tr, int meta);
Dincore.h55 void (*lo_before_commit) (struct gfs2_sbd *sdp, struct gfs2_trans *tr);
56 void (*lo_after_commit) (struct gfs2_sbd *sdp, struct gfs2_trans *tr);
Daops.c879 struct gfs2_trans *tr = current->journal_info; in gfs2_write_end() local
880 BUG_ON(!tr); in gfs2_write_end()
898 if (tr->tr_num_buf_new) in gfs2_write_end()
/linux-4.1.27/drivers/media/radio/
Dradio-timb.c57 struct timbradio *tr = video_drvdata(file); in timbradio_vidioc_g_tuner() local
58 return v4l2_subdev_call(tr->sd_tuner, tuner, g_tuner, v); in timbradio_vidioc_g_tuner()
64 struct timbradio *tr = video_drvdata(file); in timbradio_vidioc_s_tuner() local
65 return v4l2_subdev_call(tr->sd_tuner, tuner, s_tuner, v); in timbradio_vidioc_s_tuner()
71 struct timbradio *tr = video_drvdata(file); in timbradio_vidioc_s_frequency() local
72 return v4l2_subdev_call(tr->sd_tuner, tuner, s_frequency, f); in timbradio_vidioc_s_frequency()
78 struct timbradio *tr = video_drvdata(file); in timbradio_vidioc_g_frequency() local
79 return v4l2_subdev_call(tr->sd_tuner, tuner, g_frequency, f); in timbradio_vidioc_g_frequency()
104 struct timbradio *tr; in timbradio_probe() local
113 tr = devm_kzalloc(&pdev->dev, sizeof(*tr), GFP_KERNEL); in timbradio_probe()
[all …]
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)
73 static void write_i2c(struct trust *tr, int n, ...) in write_i2c() argument
121 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_mute_volume() local
123 tr->ioval = (tr->ioval & 0xf7) | (mute << 3); in trust_s_mute_volume()
[all …]
/linux-4.1.27/drivers/input/touchscreen/
Dtouchright.c49 struct tr { struct
60 struct tr *tr = serio_get_drvdata(serio); in tr_interrupt() local
61 struct input_dev *dev = tr->dev; in tr_interrupt()
63 tr->data[tr->idx] = data; in tr_interrupt()
65 if ((tr->data[0] & TR_FORMAT_STATUS_MASK) == TR_FORMAT_STATUS_BYTE) { in tr_interrupt()
66 if (++tr->idx == TR_LENGTH) { in tr_interrupt()
68 (tr->data[1] << 5) | (tr->data[2] >> 1)); in tr_interrupt()
70 (tr->data[3] << 5) | (tr->data[4] >> 1)); in tr_interrupt()
72 tr->data[0] & TR_FORMAT_TOUCH_BIT); in tr_interrupt()
74 tr->idx = 0; in tr_interrupt()
[all …]
/linux-4.1.27/kernel/trace/
Dtrace_irqsoff.c36 static void stop_irqsoff_tracer(struct trace_array *tr, int graph);
37 static int start_irqsoff_tracer(struct trace_array *tr, int graph);
101 static int func_prolog_dec(struct trace_array *tr, in func_prolog_dec() argument
123 *data = per_cpu_ptr(tr->trace_buffer.data, cpu); in func_prolog_dec()
141 struct trace_array *tr = irqsoff_trace; in irqsoff_tracer_call() local
145 if (!func_prolog_dec(tr, &data, &flags)) in irqsoff_tracer_call()
148 trace_function(tr, ip, parent_ip, flags, preempt_count()); in irqsoff_tracer_call()
156 irqsoff_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in irqsoff_set_flag() argument
171 tr->max_latency = 0; in irqsoff_set_flag()
179 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_entry() local
[all …]
Dtrace_sched_wakeup.c35 static void wakeup_reset(struct trace_array *tr);
36 static void __wakeup_reset(struct trace_array *tr);
77 func_prolog_preempt_disable(struct trace_array *tr, in func_prolog_preempt_disable() argument
94 *data = per_cpu_ptr(tr->trace_buffer.data, cpu); in func_prolog_preempt_disable()
116 struct trace_array *tr = wakeup_trace; in wakeup_tracer_call() local
121 if (!func_prolog_preempt_disable(tr, &data, &pc)) in wakeup_tracer_call()
125 trace_function(tr, ip, parent_ip, flags, pc); in wakeup_tracer_call()
133 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
145 ret = register_ftrace_function(tr->ops); in register_wakeup_function()
153 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
[all …]
Dtrace_selftest.c68 arch_spin_lock(&buf->tr->max_lock); in trace_test_buffer()
86 arch_spin_unlock(&buf->tr->max_lock); in trace_test_buffer()
183 static int trace_selftest_ops(struct trace_array *tr, int cnt) in trace_selftest_ops() argument
220 ftrace_init_array_ops(tr, trace_selftest_test_global_func); in trace_selftest_ops()
221 register_ftrace_function(tr->ops); in trace_selftest_ops()
302 unregister_ftrace_function(tr->ops); in trace_selftest_ops()
303 ftrace_reset_array_ops(tr); in trace_selftest_ops()
324 struct trace_array *tr, in trace_selftest_startup_dynamic_tracing() argument
353 ret = tracer_init(trace, tr); in trace_selftest_startup_dynamic_tracing()
363 ret = trace_test_buffer(&tr->trace_buffer, &count); in trace_selftest_startup_dynamic_tracing()
[all …]
Dtrace_functions.c21 static void tracing_start_function_trace(struct trace_array *tr);
22 static void tracing_stop_function_trace(struct trace_array *tr);
36 static int allocate_ftrace_ops(struct trace_array *tr) in allocate_ftrace_ops() argument
48 tr->ops = ops; in allocate_ftrace_ops()
49 ops->private = tr; in allocate_ftrace_ops()
54 int ftrace_create_function_files(struct trace_array *tr, in ftrace_create_function_files() argument
63 if (tr->flags & TRACE_ARRAY_FL_GLOBAL) in ftrace_create_function_files()
66 ret = allocate_ftrace_ops(tr); in ftrace_create_function_files()
70 ftrace_create_filter_files(tr->ops, parent); in ftrace_create_function_files()
75 void ftrace_destroy_function_files(struct trace_array *tr) in ftrace_destroy_function_files() argument
[all …]
Dtrace.c83 dummy_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in dummy_set_flag() argument
164 static int tracing_set_tracer(struct trace_array *tr, const char *buf);
271 struct trace_array *tr; in trace_array_get() local
275 list_for_each_entry(tr, &ftrace_trace_arrays, list) { in trace_array_get()
276 if (tr == this_tr) { in trace_array_get()
277 tr->ref++; in trace_array_get()
477 static void tracer_tracing_on(struct trace_array *tr) in tracer_tracing_on() argument
479 if (tr->trace_buffer.buffer) in tracer_tracing_on()
480 ring_buffer_record_on(tr->trace_buffer.buffer); in tracer_tracing_on()
489 tr->buffer_disabled = 0; in tracer_tracing_on()
[all …]
Dtrace.h164 struct trace_array *tr; member
245 extern int trace_array_get(struct trace_array *tr);
246 extern void trace_array_put(struct trace_array *tr);
254 struct trace_array *tr; in top_trace_array() local
259 tr = list_entry(ftrace_trace_arrays.prev, in top_trace_array()
260 typeof(*tr), list); in top_trace_array()
261 WARN_ON(!(tr->flags & TRACE_ARRAY_FL_GLOBAL)); in top_trace_array()
262 return tr; in top_trace_array()
358 int (*init)(struct trace_array *tr);
359 void (*reset)(struct trace_array *tr);
[all …]
Dtrace_events.c58 #define do_for_each_event_file(tr, file) \ argument
59 list_for_each_entry(tr, &ftrace_trace_arrays, list) { \
60 list_for_each_entry(file, &tr->events, list)
62 #define do_for_each_event_file_safe(tr, file) \ argument
63 list_for_each_entry(tr, &ftrace_trace_arrays, list) { \
65 list_for_each_entry_safe(file, ___n, &tr->events, list)
296 struct trace_array *tr; in trace_event_enable_cmd_record() local
299 do_for_each_event_file(tr, file) { in trace_event_enable_cmd_record()
416 static void ftrace_clear_events(struct trace_array *tr) in ftrace_clear_events() argument
421 list_for_each_entry(file, &tr->events, list) { in ftrace_clear_events()
[all …]
Dtrace_nop.c36 static void start_nop_trace(struct trace_array *tr) in start_nop_trace() argument
41 static void stop_nop_trace(struct trace_array *tr) in stop_nop_trace() argument
46 static int nop_trace_init(struct trace_array *tr) in nop_trace_init() argument
48 ctx_trace = tr; in nop_trace_init()
49 start_nop_trace(tr); in nop_trace_init()
53 static void nop_trace_reset(struct trace_array *tr) in nop_trace_reset() argument
55 stop_nop_trace(tr); in nop_trace_reset()
63 static int nop_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in nop_set_flag() argument
Dtrace_syscalls.c295 struct trace_array *tr = data; in ftrace_syscall_enter() local
311 ftrace_file = rcu_dereference_sched(tr->enter_syscall_files[syscall_nr]); in ftrace_syscall_enter()
327 buffer = tr->trace_buffer.buffer; in ftrace_syscall_enter()
343 struct trace_array *tr = data; in ftrace_syscall_exit() local
358 ftrace_file = rcu_dereference_sched(tr->exit_syscall_files[syscall_nr]); in ftrace_syscall_exit()
372 buffer = tr->trace_buffer.buffer; in ftrace_syscall_exit()
390 struct trace_array *tr = file->tr; in reg_event_syscall_enter() local
398 if (!tr->sys_refcount_enter) in reg_event_syscall_enter()
399 ret = register_trace_sys_enter(ftrace_syscall_enter, tr); in reg_event_syscall_enter()
401 rcu_assign_pointer(tr->enter_syscall_files[num], file); in reg_event_syscall_enter()
[all …]
Dtrace_mmiotrace.c29 static void mmio_reset_data(struct trace_array *tr) in mmio_reset_data() argument
34 tracing_reset_online_cpus(&tr->trace_buffer); in mmio_reset_data()
37 static int mmio_trace_init(struct trace_array *tr) in mmio_trace_init() argument
40 mmio_trace_array = tr; in mmio_trace_init()
42 mmio_reset_data(tr); in mmio_trace_init()
47 static void mmio_trace_reset(struct trace_array *tr) in mmio_trace_reset() argument
52 mmio_reset_data(tr); in mmio_trace_reset()
56 static void mmio_trace_start(struct trace_array *tr) in mmio_trace_start() argument
59 mmio_reset_data(tr); in mmio_trace_start()
297 static void __trace_mmiotrace_rw(struct trace_array *tr, in __trace_mmiotrace_rw() argument
[all …]
Dtrace_branch.c33 struct trace_array *tr = branch_tracer; in probe_likely_condition() local
52 if (unlikely(!tr)) in probe_likely_condition()
57 data = this_cpu_ptr(tr->trace_buffer.data); in probe_likely_condition()
62 buffer = tr->trace_buffer.buffer; in probe_likely_condition()
100 int enable_branch_tracing(struct trace_array *tr) in enable_branch_tracing() argument
103 branch_tracer = tr; in enable_branch_tracing()
128 static void start_branch_trace(struct trace_array *tr) in start_branch_trace() argument
130 enable_branch_tracing(tr); in start_branch_trace()
133 static void stop_branch_trace(struct trace_array *tr) in stop_branch_trace() argument
138 static int branch_trace_init(struct trace_array *tr) in branch_trace_init() argument
[all …]
Dtrace_functions_graph.c276 int __trace_graph_entry(struct trace_array *tr, in __trace_graph_entry() argument
283 struct ring_buffer *buffer = tr->trace_buffer.buffer; in __trace_graph_entry()
311 struct trace_array *tr = graph_array; in trace_graph_entry() local
340 data = per_cpu_ptr(tr->trace_buffer.data, cpu); in trace_graph_entry()
344 ret = __trace_graph_entry(tr, trace, flags, pc); in trace_graph_entry()
364 __trace_graph_function(struct trace_array *tr, in __trace_graph_function() argument
379 __trace_graph_entry(tr, &ent, flags, pc); in __trace_graph_function()
380 __trace_graph_return(tr, &ret, flags, pc); in __trace_graph_function()
384 trace_graph_function(struct trace_array *tr, in trace_graph_function() argument
388 __trace_graph_function(tr, ip, flags, pc); in trace_graph_function()
[all …]
Dtrace_events_filter.c852 struct trace_array *tr) in filter_free_subsystem_preds() argument
856 list_for_each_entry(file, &tr->events, list) { in filter_free_subsystem_preds()
877 struct trace_array *tr) in filter_free_subsystem_filters() argument
881 list_for_each_entry(file, &tr->events, list) { in filter_free_subsystem_filters()
1754 struct trace_array *tr, in replace_system_preds() argument
1765 list_for_each_entry(file, &tr->events, list) { in replace_system_preds()
1780 list_for_each_entry(file, &tr->events, list) { in replace_system_preds()
1954 struct trace_array *tr, in create_system_filter() argument
1963 err = replace_system_preds(dir, tr, ps, filter_str); in create_system_filter()
2034 struct trace_array *tr = dir->tr; in apply_subsystem_event_filter() local
[all …]
Dblktrace.c1306 static void blk_tracer_start(struct trace_array *tr) in blk_tracer_start() argument
1311 static int blk_tracer_init(struct trace_array *tr) in blk_tracer_init() argument
1313 blk_tr = tr; in blk_tracer_init()
1314 blk_tracer_start(tr); in blk_tracer_init()
1318 static void blk_tracer_stop(struct trace_array *tr) in blk_tracer_stop() argument
1323 static void blk_tracer_reset(struct trace_array *tr) in blk_tracer_reset() argument
1325 blk_tracer_stop(tr); in blk_tracer_reset()
1417 blk_tracer_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in blk_tracer_set_flag() argument
Dtrace_events_trigger.c467 clear_event_triggers(struct trace_array *tr) in clear_event_triggers() argument
471 list_for_each_entry(file, &tr->events, list) { in clear_event_triggers()
1169 struct trace_array *tr = file->tr; in event_enable_trigger_func() local
1192 event_enable_file = find_event_file(tr, system, event); in event_enable_trigger_func()
Dftrace.c5090 __init void ftrace_init_global_array_ops(struct trace_array *tr) in ftrace_init_global_array_ops() argument
5092 tr->ops = &global_ops; in ftrace_init_global_array_ops()
5093 tr->ops->private = tr; in ftrace_init_global_array_ops()
5096 void ftrace_init_array_ops(struct trace_array *tr, ftrace_func_t func) in ftrace_init_array_ops() argument
5099 if (tr->flags & TRACE_ARRAY_FL_GLOBAL) { in ftrace_init_array_ops()
5100 if (WARN_ON(tr->ops->func != ftrace_stub)) in ftrace_init_array_ops()
5102 tr->ops->func); in ftrace_init_array_ops()
5104 tr->ops->func = func; in ftrace_init_array_ops()
5105 tr->ops->private = tr; in ftrace_init_array_ops()
5108 void ftrace_reset_array_ops(struct trace_array *tr) in ftrace_reset_array_ops() argument
[all …]
Dtrace_kprobe.c1368 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) in find_trace_probe_file() argument
1372 list_for_each_entry(file, &tr->events, list) in find_trace_probe_file()
/linux-4.1.27/drivers/mtd/
Dmtd_blkdevs.c76 static int do_blktrans_request(struct mtd_blktrans_ops *tr, in do_blktrans_request() argument
83 block = blk_rq_pos(req) << 9 >> tr->blkshift; in do_blktrans_request()
84 nsect = blk_rq_cur_bytes(req) >> tr->blkshift; in do_blktrans_request()
91 return tr->flush(dev); in do_blktrans_request()
98 return tr->discard(dev, block, nsect); in do_blktrans_request()
102 for (; nsect > 0; nsect--, block++, buf += tr->blksize) in do_blktrans_request()
103 if (tr->readsect(dev, block, buf)) in do_blktrans_request()
108 if (!tr->writesect) in do_blktrans_request()
112 for (; nsect > 0; nsect--, block++, buf += tr->blksize) in do_blktrans_request()
113 if (tr->writesect(dev, block, buf)) in do_blktrans_request()
[all …]
Dmtdblock_ro.c49 static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in mtdblock_add_mtd() argument
60 dev->tr = tr; in mtdblock_add_mtd()
Dmtdblock.c340 static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in mtdblock_add_mtd() argument
351 dev->mbd.tr = tr; in mtdblock_add_mtd()
Dssfdc.c287 static void ssfdcr_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in ssfdcr_add_mtd() argument
308 ssfdc->mbd.tr = tr; in ssfdcr_add_mtd()
Dnftlcore.c48 static void nftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in nftl_add_mtd() argument
69 nftl->mbd.tr = tr; in nftl_add_mtd()
Dinftlcore.c48 static void inftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in inftl_add_mtd() argument
76 inftl->mbd.tr = tr; in inftl_add_mtd()
Drfd_ftl.c757 static void rfd_ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in rfd_ftl_add_mtd() argument
782 part->mbd.tr = tr; in rfd_ftl_add_mtd()
Dsm_ftl.c1129 static void sm_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in sm_add_mtd() argument
1180 trans->tr = tr; in sm_add_mtd()
Dftl.c1045 static void ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in ftl_add_mtd() argument
1069 partition->mbd.tr = tr; in ftl_add_mtd()
Dmtdswap.c1411 static void mtdswap_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in mtdswap_add_mtd() argument
1519 mbd_dev->tr = tr; in mtdswap_add_mtd()
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dtc35815.c506 struct tc35815_regs __iomem *tr = in tc_mdio_read() local
510 tc_writel(MD_CA_Busy | (mii_id << 5) | (regnum & 0x1f), &tr->MD_CA); in tc_mdio_read()
512 while (tc_readl(&tr->MD_CA) & MD_CA_Busy) { in tc_mdio_read()
517 return tc_readl(&tr->MD_Data) & 0xffff; in tc_mdio_read()
523 struct tc35815_regs __iomem *tr = in tc_mdio_write() local
527 tc_writel(val, &tr->MD_Data); in tc_mdio_write()
529 &tr->MD_CA); in tc_mdio_write()
531 while (tc_readl(&tr->MD_CA) & MD_CA_Busy) { in tc_mdio_write()
549 struct tc35815_regs __iomem *tr = in tc_handle_link_change() local
553 reg = tc_readl(&tr->MAC_Ctl); in tc_handle_link_change()
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c144 struct thresh_restart *tr = _tr; in threshold_restart_bank() local
147 rdmsr(tr->b->address, lo, hi); in threshold_restart_bank()
149 if (tr->b->threshold_limit < (hi & THRESHOLD_MAX)) in threshold_restart_bank()
150 tr->reset = 1; /* limit cannot be lower than err count */ in threshold_restart_bank()
152 if (tr->reset) { /* reset err count and overflow bit */ in threshold_restart_bank()
155 (THRESHOLD_MAX - tr->b->threshold_limit); in threshold_restart_bank()
156 } else if (tr->old_limit) { /* change limit w/o reset */ in threshold_restart_bank()
158 (tr->old_limit - tr->b->threshold_limit); in threshold_restart_bank()
167 if (!tr->b->interrupt_capable) in threshold_restart_bank()
170 if (tr->set_lvt_off) { in threshold_restart_bank()
[all …]
/linux-4.1.27/tools/power/cpupower/utils/
Dversion-gen.sh25 eval $(grep '^VERSION[[:space:]]*=' ../../../Makefile|tr -d ' ')
26 eval $(grep '^PATCHLEVEL[[:space:]]*=' ../../../Makefile|tr -d ' ')
27 eval $(grep '^SUBLEVEL[[:space:]]*=' ../../../Makefile|tr -d ' ')
28 eval $(grep '^EXTRAVERSION[[:space:]]*=' ../../../Makefile|tr -d ' ')
/linux-4.1.27/Documentation/spi/
Dspidev_test.c107 struct spi_ioc_transfer tr = { in transfer() local
117 tr.tx_nbits = 4; in transfer()
119 tr.tx_nbits = 2; in transfer()
121 tr.rx_nbits = 4; in transfer()
123 tr.rx_nbits = 2; in transfer()
126 tr.rx_buf = 0; in transfer()
128 tr.tx_buf = 0; in transfer()
131 ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr); in transfer()
/linux-4.1.27/include/linux/mtd/
Dblktrans.h35 struct mtd_blktrans_ops *tr; member
81 void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
89 extern int register_mtd_blktrans(struct mtd_blktrans_ops *tr);
90 extern int deregister_mtd_blktrans(struct mtd_blktrans_ops *tr);
/linux-4.1.27/drivers/net/fddi/skfp/
Dhwt.c166 u_short tr ; in hwt_read() local
171 tr = (u_short)((inpd(ADDR(B2_TI_VAL))/200) & 0xffff) ; in hwt_read()
175 if ((tr > smc->hw.t_start) || (is & IS_TIMINT)) { in hwt_read()
180 smc->hw.t_stop = smc->hw.t_start - tr ; in hwt_read()
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c245 int id, tr, ret = 0; in __ti_thermal_get_trend() local
250 ret = ti_bandgap_get_trend(bgp, id, &tr); in __ti_thermal_get_trend()
254 *trend = tr; in __ti_thermal_get_trend()
264 long tr; in ti_thermal_get_trend() local
266 ret = __ti_thermal_get_trend(thermal->devdata, &tr); in ti_thermal_get_trend()
270 if (tr > 0) in ti_thermal_get_trend()
272 else if (tr < 0) in ti_thermal_get_trend()
/linux-4.1.27/arch/cris/boot/rescue/
DMakefile32 $(OBJCOPY) $(OBJCOPYFLAGS) $(obj)/testrescue.o tr.bin
35 cat tr.bin tmp2423 >testrescue_tmp.bin
37 rm tr.bin tmp2423 testrescue_tmp.bin
/linux-4.1.27/drivers/android/
Dbinder.c1319 struct binder_transaction_data *tr, int reply) in binder_transaction() argument
1334 e->call_type = reply ? 2 : !!(tr->flags & TF_ONE_WAY); in binder_transaction()
1337 e->target_handle = tr->target.handle; in binder_transaction()
1338 e->data_size = tr->data_size; in binder_transaction()
1339 e->offsets_size = tr->offsets_size; in binder_transaction()
1380 if (tr->target.handle) { in binder_transaction()
1383 ref = binder_get_ref(proc, tr->target.handle); in binder_transaction()
1409 if (!(tr->flags & TF_ONE_WAY) && thread->transaction_stack) { in binder_transaction()
1462 (u64)tr->data.ptr.buffer, in binder_transaction()
1463 (u64)tr->data.ptr.offsets, in binder_transaction()
[all …]
/linux-4.1.27/arch/x86/include/asm/
Ddesc.h94 #define load_tr(tr) asm volatile("ltr %0"::"m" (tr)) argument
99 #define store_tr(tr) (tr = native_store_tr()) argument
238 unsigned long tr; in native_store_tr() local
240 asm volatile("str %0":"=r" (tr)); in native_store_tr()
242 return tr; in native_store_tr()
Dsuspend_32.h22 unsigned long tr; member
Dsuspend_64.h35 unsigned long tr; member
Dsvm.h148 struct vmcb_seg tr; member
Dparavirt.h273 #define store_tr(tr) ((tr) = paravirt_store_tr()) argument
/linux-4.1.27/Documentation/DocBook/media/
DMakefile293 entity=`echo $$ident | tr _ -` ; \
302 entity=`echo $$ident | tr _ -` ; \
312 entity=`echo $$ident | tr _ -` ; \
320 …`echo $$ident | sed -e "s/v4l2_mpeg_cx2341x_video_\([a-z]*_spatial_filter_type\)/\1/" | tr _ -` ; \
328 entity=`echo $$ident | tr _ - | sed s/v4l2-mpeg-vbi-ITV0/v4l2-mpeg-vbi-itv0-1/g` ; \
370 id=`echo $$ident | tr _ -` ; \
376 …id=`echo $$ident | sed -e "s/v4l2_mpeg_cx2341x_video_\([a-z]*_spatial_filter_type\)/\1/" | tr _ -`…
382 id=`echo $$ident | tr _ - | sed s/v4l2-mpeg-vbi-ITV0/v4l2-mpeg-vbi-itv0-1/g` ; \
Dnv12mt_example.gif.b6420 e5bv4aefGX9l/ZTx7+Ofn537+tr/5cZffwAGeNyA4iFoXnH+FejgcAb+xmCEzSm44IMQ3mbhQPqh
/linux-4.1.27/arch/s390/boot/
DMakefile6 tr -c '[0-9A-Za-z]' '_'`__`date | \
7 tr -c '[0-9A-Za-z]' '_'`_t
/linux-4.1.27/scripts/
Dextract-ikconfig19 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"`
Dextract-vmlinux30 for pos in `tr "$1\n$2" "\n$2=" < "$img" | grep -abo "^$2"`
Dpatch-kernel193 tr -d [:blank:] < $TMPFILE > $TMPFILE.1
Danalyze_suspend.py2040 tr.alt td {background-color:#EAF2D3;}\n\
2041 tr.avg td {background-color:#BDE34C;}\n\
/linux-4.1.27/arch/x86/crypto/
Dcamellia_glue.c819 u32 dw, tl, tr; in camellia_setup_tail() local
932 tr = subRL[10] ^ rol32(dw, 1); in camellia_setup_tail()
933 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
941 tr = subRL[7] ^ rol32(dw, 1); in camellia_setup_tail()
942 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
952 tr = subRL[18] ^ rol32(dw, 1); in camellia_setup_tail()
953 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
961 tr = subRL[15] ^ rol32(dw, 1); in camellia_setup_tail()
962 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
976 tr = subRL[26] ^ rol32(dw, 1); in camellia_setup_tail()
[all …]
/linux-4.1.27/arch/powerpc/sysdev/
Duic.c128 u32 tr, pr, mask; in uic_set_irq_type() local
154 tr = mfdcr(uic->dcrbase + UIC_TR); in uic_set_irq_type()
156 tr = (tr & mask) | (trigger << (31-src)); in uic_set_irq_type()
160 mtdcr(uic->dcrbase + UIC_TR, tr); in uic_set_irq_type()
/linux-4.1.27/security/apparmor/
DMakefile26 tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
61 tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
/linux-4.1.27/crypto/
Dcamellia_generic.c380 u32 dw, tl, tr; in camellia_setup_tail() local
481 tr = subR[10] ^ rol32(dw, 1); in camellia_setup_tail()
483 SUBKEY_R(7) = subR[6] ^ tr; in camellia_setup_tail()
490 tr = subR[7] ^ rol32(dw, 1); in camellia_setup_tail()
492 SUBKEY_R(10) = tr ^ subR[11]; in camellia_setup_tail()
503 tr = subR[18] ^ rol32(dw, 1); in camellia_setup_tail()
505 SUBKEY_R(15) = subR[14] ^ tr; in camellia_setup_tail()
512 tr = subR[15] ^ rol32(dw, 1); in camellia_setup_tail()
514 SUBKEY_R(18) = tr ^ subR[19]; in camellia_setup_tail()
531 tr = subR[26] ^ rol32(dw, 1); in camellia_setup_tail()
[all …]
Dtcrypt.c770 struct tcrypt_result *tr = req->base.data; in do_one_ahash_op() local
772 wait_for_completion(&tr->completion); in do_one_ahash_op()
773 reinit_completion(&tr->completion); in do_one_ahash_op()
774 ret = tr->err; in do_one_ahash_op()
998 struct tcrypt_result *tr = req->base.data; in do_one_acipher_op() local
1000 wait_for_completion(&tr->completion); in do_one_acipher_op()
1001 reinit_completion(&tr->completion); in do_one_acipher_op()
1002 ret = tr->err; in do_one_acipher_op()
Dtestmgr.c181 static int wait_async_op(struct tcrypt_result *tr, int ret) in wait_async_op() argument
184 wait_for_completion(&tr->completion); in wait_async_op()
185 reinit_completion(&tr->completion); in wait_async_op()
186 ret = tr->err; in wait_async_op()
/linux-4.1.27/arch/cris/arch-v10/kernel/
Dfasttimer.c647 static struct fast_timer tr[10]; variable
666 start_one_shot_timer(&tr[i], test_timeout1, i, 1000, "timeout1"); in test_timeout1()
720 start_one_shot_timer(&tr[i], test_timeout, i, 50000, "test0"); in fast_timer_test()
723 start_one_shot_timer(&tr[i], test_timeout, i, 70000, "test1"); in fast_timer_test()
726 start_one_shot_timer(&tr[i], test_timeout, i, 40000, "test2"); in fast_timer_test()
729 start_one_shot_timer(&tr[i], test_timeout, i, 60000, "test3"); in fast_timer_test()
732 start_one_shot_timer(&tr[i], test_timeout1, i, 55000, "test4xx"); in fast_timer_test()
771 struct fast_timer *t = &tr[j]; in fast_timer_test()
/linux-4.1.27/drivers/ide/
Dpmac.c517 u32 tr = kauai_lookup_timing(shasta_pio_timings, cycle_time); in pmac_ide_set_pio_mode() local
518 t = (t & ~TR_133_PIOREG_PIO_MASK) | tr; in pmac_ide_set_pio_mode()
524 u32 tr = kauai_lookup_timing(kauai_pio_timings, cycle_time); in pmac_ide_set_pio_mode() local
525 t = (t & ~TR_100_PIOREG_PIO_MASK) | tr; in pmac_ide_set_pio_mode()
612 u32 tr; in set_timings_udma_ata6() local
616 tr = kauai_lookup_timing(kauai_udma_timings, (int)t->udma); in set_timings_udma_ata6()
617 *ultra_timings = ((*ultra_timings) & ~TR_100_UDMAREG_UDMA_MASK) | tr; in set_timings_udma_ata6()
630 u32 tr; in set_timings_udma_shasta() local
634 tr = kauai_lookup_timing(shasta_udma133_timings, (int)t->udma); in set_timings_udma_shasta()
635 *ultra_timings = ((*ultra_timings) & ~TR_133_UDMAREG_UDMA_MASK) | tr; in set_timings_udma_shasta()
[all …]
/linux-4.1.27/security/selinux/ss/
Dpolicydb.c793 struct role_trans *tr, *ltr = NULL; in policydb_destroy() local
843 for (tr = p->role_tr; tr; tr = tr->next) { in policydb_destroy()
846 ltr = tr; in policydb_destroy()
2232 struct role_trans *tr, *ltr; in policydb_read() local
2389 tr = kzalloc(sizeof(*tr), GFP_KERNEL); in policydb_read()
2390 if (!tr) in policydb_read()
2393 ltr->next = tr; in policydb_read()
2395 p->role_tr = tr; in policydb_read()
2401 tr->role = le32_to_cpu(buf[0]); in policydb_read()
2402 tr->type = le32_to_cpu(buf[1]); in policydb_read()
[all …]
/linux-4.1.27/arch/cris/arch-v32/kernel/
Dfasttimer.c620 static struct fast_timer tr[10]; variable
639 start_one_shot_timer(&tr[i], test_timeout1, i, 1000, "timeout1"); in test_timeout1()
693 start_one_shot_timer(&tr[i], test_timeout, i, 50000, "test0"); in fast_timer_test()
696 start_one_shot_timer(&tr[i], test_timeout, i, 70000, "test1"); in fast_timer_test()
699 start_one_shot_timer(&tr[i], test_timeout, i, 40000, "test2"); in fast_timer_test()
702 start_one_shot_timer(&tr[i], test_timeout, i, 60000, "test3"); in fast_timer_test()
705 start_one_shot_timer(&tr[i], test_timeout1, i, 55000, "test4xx"); in fast_timer_test()
742 struct fast_timer *t = &tr[j]; in fast_timer_test()
/linux-4.1.27/drivers/mmc/card/
Dmmc_test.c526 struct mmc_test_transfer_result *tr; in mmc_test_save_transfer_result() local
531 tr = kmalloc(sizeof(struct mmc_test_transfer_result), GFP_KERNEL); in mmc_test_save_transfer_result()
532 if (!tr) in mmc_test_save_transfer_result()
535 tr->count = count; in mmc_test_save_transfer_result()
536 tr->sectors = sectors; in mmc_test_save_transfer_result()
537 tr->ts = ts; in mmc_test_save_transfer_result()
538 tr->rate = rate; in mmc_test_save_transfer_result()
539 tr->iops = iops; in mmc_test_save_transfer_result()
541 list_add_tail(&tr->link, &test->gr->tr_lst); in mmc_test_save_transfer_result()
2791 struct mmc_test_transfer_result *tr, *trs; in mmc_test_free_result() local
[all …]
/linux-4.1.27/tools/testing/selftests/ftrace/test.d/00basic/
Dbasic3.tc4 for c in `cat trace_clock | tr -d \[\]`; do
/linux-4.1.27/arch/x86/syscalls/
Dsyscalltbl.sh8 abi=`echo "$abi" | tr '[a-z]' '[A-Z]'`
Dsyscallhdr.sh5 my_abis=`echo "($3)" | tr ',' '|'`
/linux-4.1.27/arch/tile/include/arch/
Dmpipe_shm.h228 uint_reg_t tr : 1; member
329 uint_reg_t tr : 1;
/linux-4.1.27/arch/ia64/scripts/
Dcheck-gas8 res=$($OBJDUMP -r --section .data $out | fgrep 00004 | tr -s ' ' |cut -f3 -d' ')
/linux-4.1.27/arch/powerpc/kvm/
De500_mmu.c473 struct kvm_translation *tr) in kvmppc_core_vcpu_translate() argument
480 eaddr = tr->linear_address; in kvmppc_core_vcpu_translate()
481 pid = (tr->linear_address >> 32) & 0xff; in kvmppc_core_vcpu_translate()
482 as = (tr->linear_address >> 40) & 0x1; in kvmppc_core_vcpu_translate()
486 tr->valid = 0; in kvmppc_core_vcpu_translate()
490 tr->physical_address = kvmppc_mmu_xlate(vcpu, index, eaddr); in kvmppc_core_vcpu_translate()
492 tr->valid = 1; in kvmppc_core_vcpu_translate()
Dbook3s.c703 struct kvm_translation *tr) in kvm_arch_vcpu_ioctl_translate() argument
Dbooke.c1761 struct kvm_translation *tr) in kvm_arch_vcpu_ioctl_translate() argument
1765 r = kvmppc_core_vcpu_translate(vcpu, tr); in kvm_arch_vcpu_ioctl_translate()
/linux-4.1.27/arch/sh/include/asm/
Dptrace.h35 {.name = __stringify(tr##num), .offset = offsetof(struct pt_regs, tregs[num])}
/linux-4.1.27/sound/pci/au88x0/
Dau88x0_core.c573 int dirplay, int sl, unsigned int tr, int thsource) in vortex_src_setupchannel() argument
587 if ((tr & 0x10000) && (tr != 0x10000)) { in vortex_src_setupchannel()
588 tr = 0; in vortex_src_setupchannel()
591 if ((((short)tr) < 0) && (tr != 0x8000)) { in vortex_src_setupchannel()
592 tr = 0; in vortex_src_setupchannel()
595 tr = 1; in vortex_src_setupchannel()
601 tr = 0; /*ebx = 0 */ in vortex_src_setupchannel()
608 tr = 1; in vortex_src_setupchannel()
616 if (tr) in vortex_src_setupchannel()
622 if (tr) in vortex_src_setupchannel()
[all …]
/linux-4.1.27/arch/mips/mti-malta/
Dmalta-int.c386 static char *tr[8] = { variable
469 cca_bits, tr[tr_bits], mcmd[cmd_bits], in malta_be_handler()
/linux-4.1.27/drivers/net/wireless/
Dmwl8k.c807 struct mwl8k_dma_data *tr; in mwl8k_remove_dma_header() local
810 tr = (struct mwl8k_dma_data *)skb->data; in mwl8k_remove_dma_header()
811 hdrlen = ieee80211_hdrlen(tr->wh.frame_control); in mwl8k_remove_dma_header()
813 if (hdrlen != sizeof(tr->wh)) { in mwl8k_remove_dma_header()
814 if (ieee80211_is_data_qos(tr->wh.frame_control)) { in mwl8k_remove_dma_header()
815 memmove(tr->data - hdrlen, &tr->wh, hdrlen - 2); in mwl8k_remove_dma_header()
816 *((__le16 *)(tr->data - 2)) = qos; in mwl8k_remove_dma_header()
818 memmove(tr->data - hdrlen, &tr->wh, hdrlen); in mwl8k_remove_dma_header()
822 if (hdrlen != sizeof(*tr)) in mwl8k_remove_dma_header()
823 skb_pull(skb, sizeof(*tr) - hdrlen); in mwl8k_remove_dma_header()
[all …]
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dsdio.c3043 struct brcmf_trap_info tr; in brcmf_sdio_trap_info() local
3050 error = brcmf_sdiod_ramrw(bus->sdiodev, false, sh->trap_addr, (u8 *)&tr, in brcmf_sdio_trap_info()
3061 le32_to_cpu(tr.type), le32_to_cpu(tr.epc), in brcmf_sdio_trap_info()
3062 le32_to_cpu(tr.cpsr), le32_to_cpu(tr.spsr), in brcmf_sdio_trap_info()
3063 le32_to_cpu(tr.r13), le32_to_cpu(tr.r14), in brcmf_sdio_trap_info()
3064 le32_to_cpu(tr.pc), sh->trap_addr, in brcmf_sdio_trap_info()
3065 le32_to_cpu(tr.r0), le32_to_cpu(tr.r1), in brcmf_sdio_trap_info()
3066 le32_to_cpu(tr.r2), le32_to_cpu(tr.r3), in brcmf_sdio_trap_info()
3067 le32_to_cpu(tr.r4), le32_to_cpu(tr.r5), in brcmf_sdio_trap_info()
3068 le32_to_cpu(tr.r6), le32_to_cpu(tr.r7)); in brcmf_sdio_trap_info()
/linux-4.1.27/arch/blackfin/boot/
DMakefile38 cmd_mk_bin_xip = ( printf '%64s' | tr ' ' '\377' ; cat $< ) > $@
/linux-4.1.27/include/linux/
Dftrace_event.h79 struct trace_array *tr; member
368 struct trace_array *tr; member
Dkvm_host.h631 struct kvm_translation *tr);
/linux-4.1.27/arch/x86/power/
Dcpu.c76 store_tr(ctxt->tr); in __save_processor_state()
/linux-4.1.27/arch/mips/kernel/
Dgenex.S431 BUILD_HANDLER tr tr sti silent /* #13 */
/linux-4.1.27/arch/mips/include/asm/txx9/
Dtx4927.h81 u64 tr; member
Dtx3927.h27 volatile unsigned long tr[3]; member
/linux-4.1.27/arch/arm/kvm/
Dguest.c289 struct kvm_translation *tr) in kvm_arch_vcpu_ioctl_translate() argument
/linux-4.1.27/arch/arm64/kvm/
Dguest.c330 struct kvm_translation *tr) in kvm_arch_vcpu_ioctl_translate() argument
/linux-4.1.27/arch/x86/include/uapi/asm/
Dkvm.h146 struct kvm_segment tr, ldt; member
/linux-4.1.27/arch/mips/txx9/generic/
Dsetup_tx4927.c210 (unsigned long long)____raw_readq(&tx4927_sdramcptr->tr)); in tx4927_setup()
Dsetup_tx4938.c223 (unsigned long long)____raw_readq(&tx4938_sdramcptr->tr)); in tx4938_setup()
/linux-4.1.27/arch/parisc/kernel/
Dpacache.S104 movb,tr %arg0, %r28, fitmanyloop /* Re-init base addr */
147 movb,tr %arg0, %r28, fdtmanyloop /* Re-init base addr */
219 movb,tr %arg3, %r31, fimanyloop /* Re-init inner loop count */
286 movb,tr %arg3, %r31, fdmanyloop /* Re-init inner loop count */
Dentry.S643 or,COND(tr) %r23,%r0,\pte
/linux-4.1.27/drivers/scsi/
Dmesh.c641 int v, tr; in set_sdtr() local
662 tr = (ms->clk_freq + 250000) / 500000; in set_sdtr()
668 tr = ((ms->clk_freq / (v + 2)) + 199999) / 200000; in set_sdtr()
675 ms->conn_tgt, tr/10, tr%10); in set_sdtr()
/linux-4.1.27/sound/core/
Dtimer.c1675 struct snd_timer_read *tr; in snd_timer_user_params() local
1736 tr = kmalloc(params.queue_size * sizeof(*tr), in snd_timer_user_params()
1738 if (tr) { in snd_timer_user_params()
1741 tu->queue = tr; in snd_timer_user_params()
/linux-4.1.27/virt/kvm/
Dkvm_main.c2211 struct kvm_translation tr; in kvm_vcpu_ioctl() local
2214 if (copy_from_user(&tr, argp, sizeof(tr))) in kvm_vcpu_ioctl()
2216 r = kvm_arch_vcpu_ioctl_translate(vcpu, &tr); in kvm_vcpu_ioctl()
2220 if (copy_to_user(argp, &tr, sizeof(tr))) in kvm_vcpu_ioctl()
/linux-4.1.27/drivers/spi/
Dspi-fsl-espi.c271 struct fsl_espi_transfer *tr) in fsl_espi_do_trans() argument
275 struct fsl_espi_transfer *espi_trans = tr; in fsl_espi_do_trans()
/linux-4.1.27/arch/ia64/kernel/
Dmca.c855 copy_reg(const u64 *fr, u64 fnat, unsigned long *tr, unsigned long *tnat) in copy_reg() argument
858 *tr = *fr; in copy_reg()
860 tslot = ((unsigned long)tr >> 3) & 63; in copy_reg()
/linux-4.1.27/arch/x86/kvm/
Dsvm.c1158 init_sys_seg(&save->tr, SEG_TYPE_BUSY_TSS16); in init_vmcb()
1396 case VCPU_SREG_TR: return &save->tr; in svm_seg()
2641 to_vmcb->save.tr = from_vmcb->save.tr; in nested_svm_vmloadsave()
3468 save->tr.selector, save->tr.attrib, in dump_vmcb()
3469 save->tr.limit, save->tr.base); in dump_vmcb()
Dvmx.c1804 u16 tr; in kvm_read_tr_base() local
1805 asm("str %0" : "=g"(tr)); in kvm_read_tr_base()
1806 return segment_base(tr); in kvm_read_tr_base()
3943 struct kvm_segment tr; in tr_valid() local
3945 vmx_get_segment(vcpu, &tr, VCPU_SREG_TR); in tr_valid()
3947 if (tr.unusable) in tr_valid()
3949 if (tr.selector & SEGMENT_TI_MASK) /* TI = 1 */ in tr_valid()
3951 if (tr.type != 3 && tr.type != 11) /* TODO: Check if guest is in IA32e mode */ in tr_valid()
3953 if (!tr.present) in tr_valid()
Dx86.c6742 kvm_get_segment(vcpu, &sregs->tr, VCPU_SREG_TR); in kvm_arch_vcpu_ioctl_get_sregs()
6884 kvm_set_segment(vcpu, &sregs->tr, VCPU_SREG_TR); in kvm_arch_vcpu_ioctl_set_sregs()
6959 struct kvm_translation *tr) in kvm_arch_vcpu_ioctl_translate() argument
6961 unsigned long vaddr = tr->linear_address; in kvm_arch_vcpu_ioctl_translate()
6968 tr->physical_address = gpa; in kvm_arch_vcpu_ioctl_translate()
6969 tr->valid = gpa != UNMAPPED_GVA; in kvm_arch_vcpu_ioctl_translate()
6970 tr->writeable = 1; in kvm_arch_vcpu_ioctl_translate()
6971 tr->usermode = 0; in kvm_arch_vcpu_ioctl_translate()
Demulate.c2535 u16 tr, io_bitmap_ptr, perm, bit_idx = port & 0x7; in emulator_io_port_access_allowed() local
2539 ops->get_segment(ctxt, &tr, &tr_seg, &base3, VCPU_SREG_TR); in emulator_io_port_access_allowed()
/linux-4.1.27/
D.mailmap111 S.Çağlar Onur <caglar@pardus.org.tr>
/linux-4.1.27/kernel/
Dsysctl.c1886 const char *perm_tr, unsigned perm_tr_len, char *tr) in proc_get_long() argument
1923 if (tr && (len < *size)) in proc_get_long()
1924 *tr = *p; in proc_get_long()
/linux-4.1.27/arch/ia64/include/asm/
Dpal.h447 tr : 1, /* Translation regs member
691 #define pmci_proc_translation_regs_valid pme_processor.tr
/linux-4.1.27/arch/s390/kernel/
Dsclp.S227 tr 0(1,%r11),0(%r10) # translate to EBCDIC
/linux-4.1.27/arch/powerpc/include/asm/
Dkvm_ppc.h127 struct kvm_translation *tr);
/linux-4.1.27/Documentation/s390/
DDebugging390.txt820 set pf1 imm tr goto a
822 set pf2 imm tr goto b
824 set pf3 imm tr goto c
890 #cp tr i pswa 2000
959 tr i pswa <address of main>
1020 You can restart linux & trace these using the tr prog <range or value> trace
1035 tr prog 10 will trace segment translation exceptions.
1036 tr prog on its own will trace all program interruption codes.
/linux-4.1.27/Documentation/networking/
Ddl2k.txt270 cat dl2k.c | tr -d "\r" > dl2k.tmp
Dfilter.txt384 e.g. `tcpdump -iem1 -ddd port 22 | tr '\n' ','`. Note that for JIT
/linux-4.1.27/drivers/usb/gadget/udc/
Dlpc32xx_udc.c1543 u32 tr, bufferspace; in udc_ep0_out_req() local
1566 tr = udc_read_hwep(udc, EP_OUT, req->req.buf + req->req.actual, in udc_ep0_out_req()
1570 if (tr < ep0->ep.maxpacket) { in udc_ep0_out_req()
/linux-4.1.27/Documentation/filesystems/
Dcoda.txt148 11.. IInnttrroodduuccttiioonn
420 …44..11.. DDaattaa ssttrruuccttuurreess sshhaarreedd bbyy tthhee kke…
625 44..55.. ggeettaattttrr
667 44..66.. sseettaattttrr
/linux-4.1.27/arch/mips/kvm/
Dmips.c1197 struct kvm_translation *tr) in kvm_arch_vcpu_ioctl_translate() argument
/linux-4.1.27/Documentation/ia64/
Derr_inject.txt249 tr : 1,
/linux-4.1.27/Documentation/scheduler/
Dsched-deadline.txt208 Technical Report. http://disi.unitn.it/~abeni/tr-98-01.pdf
/linux-4.1.27/drivers/net/ethernet/tile/
Dtilegx.c601 if (idesc->be || idesc->me || idesc->tr || idesc->ce) { in tile_net_handle_packet()
/linux-4.1.27/arch/s390/kvm/
Dkvm-s390.c1636 struct kvm_translation *tr) in kvm_arch_vcpu_ioctl_translate() argument
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt342 struct kvm_segment tr, ldt;