Lines Matching refs:ucb
930 struct uprobe_cpu_buffer *ucb; in uprobe_buffer_get() local
934 ucb = per_cpu_ptr(uprobe_cpu_buffer, cpu); in uprobe_buffer_get()
940 mutex_lock(&ucb->mutex); in uprobe_buffer_get()
942 return ucb; in uprobe_buffer_get()
945 static void uprobe_buffer_put(struct uprobe_cpu_buffer *ucb) in uprobe_buffer_put() argument
947 mutex_unlock(&ucb->mutex); in uprobe_buffer_put()
952 struct uprobe_cpu_buffer *ucb, int dsize, in __uprobe_trace_func() argument
984 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_trace_func()
991 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_trace_func() argument
1000 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); in uprobe_trace_func()
1008 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_trace_func() argument
1014 __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); in uretprobe_trace_func()
1342 struct uprobe_cpu_buffer *ucb, int dsize) in __uprobe_perf_func() argument
1386 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_perf_func()
1402 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_perf_func() argument
1408 __uprobe_perf_func(tu, 0, regs, ucb, dsize); in uprobe_perf_func()
1414 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_perf_func() argument
1416 __uprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_perf_func()
1481 struct uprobe_cpu_buffer *ucb; in uprobe_dispatcher() local
1500 ucb = uprobe_buffer_get(); in uprobe_dispatcher()
1501 store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize); in uprobe_dispatcher()
1504 ret |= uprobe_trace_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1508 ret |= uprobe_perf_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1510 uprobe_buffer_put(ucb); in uprobe_dispatcher()
1519 struct uprobe_cpu_buffer *ucb; in uretprobe_dispatcher() local
1535 ucb = uprobe_buffer_get(); in uretprobe_dispatcher()
1536 store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize); in uretprobe_dispatcher()
1539 uretprobe_trace_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1543 uretprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1545 uprobe_buffer_put(ucb); in uretprobe_dispatcher()