Lines Matching refs:ucb
765 struct uprobe_cpu_buffer *ucb; in uprobe_buffer_get() local
769 ucb = per_cpu_ptr(uprobe_cpu_buffer, cpu); in uprobe_buffer_get()
775 mutex_lock(&ucb->mutex); in uprobe_buffer_get()
777 return ucb; in uprobe_buffer_get()
780 static void uprobe_buffer_put(struct uprobe_cpu_buffer *ucb) in uprobe_buffer_put() argument
782 mutex_unlock(&ucb->mutex); in uprobe_buffer_put()
787 struct uprobe_cpu_buffer *ucb, int dsize, in __uprobe_trace_func() argument
822 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_trace_func()
829 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_trace_func() argument
838 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); in uprobe_trace_func()
846 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_trace_func() argument
852 __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); in uretprobe_trace_func()
1109 struct uprobe_cpu_buffer *ucb, int dsize) in __uprobe_perf_func() argument
1147 memcpy(data, ucb->buf, tu->tp.size + dsize); in __uprobe_perf_func()
1162 struct uprobe_cpu_buffer *ucb, int dsize) in uprobe_perf_func() argument
1168 __uprobe_perf_func(tu, 0, regs, ucb, dsize); in uprobe_perf_func()
1174 struct uprobe_cpu_buffer *ucb, int dsize) in uretprobe_perf_func() argument
1176 __uprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_perf_func()
1220 struct uprobe_cpu_buffer *ucb; in uprobe_dispatcher() local
1239 ucb = uprobe_buffer_get(); in uprobe_dispatcher()
1240 store_trace_args(esize, &tu->tp, regs, ucb->buf, dsize); in uprobe_dispatcher()
1243 ret |= uprobe_trace_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1247 ret |= uprobe_perf_func(tu, regs, ucb, dsize); in uprobe_dispatcher()
1249 uprobe_buffer_put(ucb); in uprobe_dispatcher()
1258 struct uprobe_cpu_buffer *ucb; in uretprobe_dispatcher() local
1274 ucb = uprobe_buffer_get(); in uretprobe_dispatcher()
1275 store_trace_args(esize, &tu->tp, regs, ucb->buf, dsize); in uretprobe_dispatcher()
1278 uretprobe_trace_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1282 uretprobe_perf_func(tu, func, regs, ucb, dsize); in uretprobe_dispatcher()
1284 uprobe_buffer_put(ucb); in uretprobe_dispatcher()