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
980 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_trace_func()
987 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_trace_func() argument
996 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); in uprobe_trace_func()
1004 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_trace_func() argument
1010 __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); in uretprobe_trace_func()
1338 struct uprobe_cpu_buffer *ucb, int dsize) in __uprobe_perf_func() argument
1382 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_perf_func()
1398 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_perf_func() argument
1404 __uprobe_perf_func(tu, 0, regs, ucb, dsize); in uprobe_perf_func()
1410 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_perf_func() argument
1412 __uprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_perf_func()
1477 struct uprobe_cpu_buffer *ucb; in uprobe_dispatcher() local
1496 ucb = uprobe_buffer_get(); in uprobe_dispatcher()
1497 store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize); in uprobe_dispatcher()
1500 ret |= uprobe_trace_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1504 ret |= uprobe_perf_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1506 uprobe_buffer_put(ucb); in uprobe_dispatcher()
1515 struct uprobe_cpu_buffer *ucb; in uretprobe_dispatcher() local
1531 ucb = uprobe_buffer_get(); in uretprobe_dispatcher()
1532 store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize); in uretprobe_dispatcher()
1535 uretprobe_trace_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1539 uretprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1541 uprobe_buffer_put(ucb); in uretprobe_dispatcher()