Searched refs:args_k (Results 1 – 1 of 1) sorted by relevance
4759 void *args_k = NULL; in sys_perfmonctl() local4814 if (likely(count && args_k == NULL)) { in sys_perfmonctl()4815 args_k = kmalloc(PFM_MAX_ARGSIZE, GFP_KERNEL); in sys_perfmonctl()4816 if (args_k == NULL) return -ENOMEM; in sys_perfmonctl()4826 if (sz && copy_from_user(args_k, arg, sz)) { in sys_perfmonctl()4838 ret = (*getsize)(args_k, &xtra_sz); in sys_perfmonctl()4879 ret = (*func)(ctx, args_k, count, task_pt_regs(current)); in sys_perfmonctl()4890 if (call_made && PFM_CMD_RW_ARG(cmd) && copy_to_user(arg, args_k, base_sz*count)) ret = -EFAULT; in sys_perfmonctl()4896 kfree(args_k); in sys_perfmonctl()