Lines Matching defs:ubuf
2801 char __user *ubuf = u64_to_user_ptr(info->raw_tracepoint.tp_name);
2806 if (!ulen ^ !ubuf) {
2812 if (!ubuf) {
2817 if (copy_to_user(ubuf, tp_name, tp_len + 1)) {
2823 if (copy_to_user(ubuf, tp_name, ulen - 1)) {
2826 if (put_user(zero, ubuf + ulen - 1)) {
3911 char __user *ubuf = u64_to_user_ptr(attr->task_fd_query.buf);
3919 if (input_len && ubuf) {
3921 /* nothing to copy, just make ubuf NULL terminated */
3924 if (put_user(zero, ubuf)) {
3928 /* ubuf can hold the string with NULL terminator */
3929 if (copy_to_user(ubuf, buf, len + 1)) {
3933 /* ubuf cannot hold the string with NULL terminator,
3939 if (copy_to_user(ubuf, buf, input_len - 1)) {
3942 if (put_user(zero, ubuf + input_len - 1)) {