Lines Matching refs:ucb

926 	struct uprobe_cpu_buffer *ucb;  in uprobe_buffer_get()  local
930 ucb = per_cpu_ptr(uprobe_cpu_buffer, cpu); in uprobe_buffer_get()
936 mutex_lock(&ucb->mutex); in uprobe_buffer_get()
938 return ucb; in uprobe_buffer_get()
941 static void uprobe_buffer_put(struct uprobe_cpu_buffer *ucb) in uprobe_buffer_put() argument
943 mutex_unlock(&ucb->mutex); in uprobe_buffer_put()
948 struct uprobe_cpu_buffer *ucb, int dsize, in __uprobe_trace_func() argument
983 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_trace_func()
990 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_trace_func() argument
999 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); in uprobe_trace_func()
1007 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_trace_func() argument
1013 __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); in uretprobe_trace_func()
1345 struct uprobe_cpu_buffer *ucb, int dsize) in __uprobe_perf_func() argument
1389 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_perf_func()
1405 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_perf_func() argument
1411 __uprobe_perf_func(tu, 0, regs, ucb, dsize); in uprobe_perf_func()
1417 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_perf_func() argument
1419 __uprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_perf_func()
1483 struct uprobe_cpu_buffer *ucb; in uprobe_dispatcher() local
1502 ucb = uprobe_buffer_get(); in uprobe_dispatcher()
1503 store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize); in uprobe_dispatcher()
1506 ret |= uprobe_trace_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1510 ret |= uprobe_perf_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1512 uprobe_buffer_put(ucb); in uprobe_dispatcher()
1521 struct uprobe_cpu_buffer *ucb; in uretprobe_dispatcher() local
1537 ucb = uprobe_buffer_get(); in uretprobe_dispatcher()
1538 store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize); in uretprobe_dispatcher()
1541 uretprobe_trace_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1545 uretprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1547 uprobe_buffer_put(ucb); in uretprobe_dispatcher()