Lines Matching refs:ucb
921 struct uprobe_cpu_buffer *ucb; in uprobe_buffer_get() local
925 ucb = per_cpu_ptr(uprobe_cpu_buffer, cpu); in uprobe_buffer_get()
931 mutex_lock(&ucb->mutex); in uprobe_buffer_get()
933 return ucb; in uprobe_buffer_get()
936 static void uprobe_buffer_put(struct uprobe_cpu_buffer *ucb) in uprobe_buffer_put() argument
938 mutex_unlock(&ucb->mutex); in uprobe_buffer_put()
943 struct uprobe_cpu_buffer *ucb, int dsize, in __uprobe_trace_func() argument
978 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_trace_func()
985 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_trace_func() argument
994 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); in uprobe_trace_func()
1002 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_trace_func() argument
1008 __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); in uretprobe_trace_func()
1340 struct uprobe_cpu_buffer *ucb, int dsize) in __uprobe_perf_func() argument
1384 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_perf_func()
1400 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_perf_func() argument
1406 __uprobe_perf_func(tu, 0, regs, ucb, dsize); in uprobe_perf_func()
1412 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_perf_func() argument
1414 __uprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_perf_func()
1478 struct uprobe_cpu_buffer *ucb; in uprobe_dispatcher() local
1497 ucb = uprobe_buffer_get(); in uprobe_dispatcher()
1498 store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize); in uprobe_dispatcher()
1501 ret |= uprobe_trace_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1505 ret |= uprobe_perf_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1507 uprobe_buffer_put(ucb); in uprobe_dispatcher()
1516 struct uprobe_cpu_buffer *ucb; in uretprobe_dispatcher() local
1532 ucb = uprobe_buffer_get(); in uretprobe_dispatcher()
1533 store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize); in uretprobe_dispatcher()
1536 uretprobe_trace_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1540 uretprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1542 uprobe_buffer_put(ucb); in uretprobe_dispatcher()